Skip to main content
Glama

AgenticRail Gate - sequence enforcement and verifiable audit receipts for AI agent compliance

verify_receipt

CALL THIS AFTER A SEQUENCE SEALS, and after any DENY, passing the sequence_id RETURNED by evaluate_step. An enforced run that is never verified has produced evidence nobody has checked. Fetch the verification report for an AgenticRail sequence and report whether its receipt chain is intact. Demo- sequences need no key; other sequences need Authorization: Bearer . Returns the verification_status (VERIFIED_INTACT / CHAIN_BROKEN / …) plus the per-receipt signature, chain-hash, and independent-archive checks. This is the same evidence a third party can verify offline against the published Ed25519 keys — no need to trust AgenticRail.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sequence_idYesThe sequence to verify. Use a 'demo-' sequence for keyless verification.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full behavioral burden. It discloses that this is a fetch/report operation, names the returned verification_status values, lists the per-receipt checks, and explains the offline verification context—far beyond a minimal description.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is front-loaded with when-to-call, then moves to return values and trust context. It is longer than strictly necessary—the line about evidence nobody has checked is motivational—but each part adds substantive guidance for correct usage.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple one-parameter tool with no output schema, the description fully compensates: it explains the input source, the auth requirement, the result fields, the status ranges, and why the evidence is independently useful. An agent has enough information to invoke it correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, and the description adds meaning by saying the sequence_id is the one RETURNED by evaluate_step and explaining demo- versus keyed sequences. The schema already covers sequence_id, but the origin and keyless demo- semantics update the agent; slightly more detail would push to 5.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource: 'Fetch the verification report for an AgenticRail sequence' and checks whether the receipt chain is intact. It is clearly distinct from evaluate_step, which produces the sequence_id, so an agent can select the right tool.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicit when-to-use guidance is front-loaded: call after a sequence seals and after any DENY, using the sequence_id returned by evaluate_step. It also gives the demo-keyless vs. Bearer-auth distinction for choosing how to invoke it.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.