Reliable Gate — Documentation
A deterministic allow / hold / block gate for irreversible AI agent tool calls, exposed as a remote MCP server.
What it does
Before an AI agent performs an action that cannot be undone — deleting data, sending a message, issuing a refund, charging a card — the proposed tool call can be sent to Reliable Gate first. The gate evaluates the call against a fixed, deterministic rule set (no LLM in the decision path) and returns one of three verdicts:
ALLOW the call is reversible or read-only and may proceed. HOLD the call is irreversible, external, or money-moving: it is parked until a human explicitly approves or declines it. BLOCK the call targets something never legitimate for an agent (protected roots, credential stores) or carries an injection pattern: it must never run.
An approved hold can be resumed exactly once. Approval and execution are separate steps, and a second resume is refused — the resume is at-most-once by construction, not by convention.
Connect
MCP endpoint: https://mcp.manideepgouraram.com/mcp (Streamable HTTP)
Authentication: none. The server is public and holds no user accounts.
Registry: com.manideepgouraram/reliable-gate in the official MCP Registry.
Source: github.com/Mandy8639/reliable-gate (MIT). Live demo snapshot.
Add the endpoint as a custom connector in your MCP client. In Claude: Settings → Connectors → Add custom connector, name it Reliable Gate, and paste the endpoint URL.
Tools
| Tool | What it does |
|---|---|
evaluate_tool_call(read-only) |
Evaluates one proposed tool call and returns the verdict. Inputs: tool (name), args (the proposed arguments), env (sandbox or production), context (optional flags such as user_confirmed, has_tests). Returns decision (ALLOW / HOLD / BLOCK), a reason_code, a human-readable reason, and — on HOLD — a hold_id. |
approve_or_decline_hold |
Records a human decision on a held call. Inputs: hold_id, decision (approve or decline), approver (a label for the audit trail). Approving executes nothing; it only changes the hold's state. |
resume_approved_hold |
Resumes an approved hold so the action runs — exactly once. A second resume, or resuming a hold that is not approved, returns an error and executes nothing. In this public v1 the resumed action runs against a fake executor: it records what would have run and touches no real system, mailbox, database, or payment. |
Two read-only resources are also exposed: gate://policies (the rule set) and gate://scorecard (the evaluation results, with their caveats).
The hold lifecycle
evaluate ──► HELD ──approve──► APPROVED ──resume──► EXECUTED (once)
│ second resume ──► error
└──decline──► DECLINED (terminal)
Hold IDs are derived from the call itself: evaluating the identical proposed call again returns the same hold in its current state, rather than creating a duplicate. Holds survive server restarts (they are stored on the server's private volume).
Example session
evaluate_tool_call(delete_file, {target: "$HOME"}, production)
→ BLOCK · PROTECTED_TARGET · "Delete target '$home' is a protected root/home"
evaluate_tool_call(refund_payment, {amount: 50, to: "customer@example.com"}, production)
→ HOLD · IRREVERSIBLE_HOLD · hold_id issued
approve_or_decline_hold(hold_id, approve, approver: "you")
→ APPROVED · executions: 0
resume_approved_hold(hold_id)
→ EXECUTED · executions: 1 (fake executor — no real money moves)
resume_approved_hold(hold_id) ← again
→ error · "Cannot resume a hold in state EXECUTED" · executions: still 1
Evaluation — stated honestly
The gate ships with a frozen 18-case evaluation (18/18) and a 4-case resume-after-approval evaluation (4/4). The cases are synthetic and self-authored, derived from public agent-incident reports. They demonstrate that the gate implements its own rules; they are not evidence of production safety, and the scorecard says so. Full detail: the gate://scorecard resource and the repository.
Data handling
The server receives only the proposed tool calls you send it. Hold records (tool name, arguments, verdict, approver label, timestamps) are stored on the server's private volume so holds can be approved and resumed later; an append-only audit log records each transition. There are no accounts, no tracking, and no third-party sharing. See the privacy policy.
Support
Issues and questions: GitHub Issues · Privacy policy · Demo