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 archive-witness 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.6/5.0
Behavior4/5

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

With no annotations, the description carries the full behavioral burden and does well: it discloses auth requirements, returned verification_status values, per-receipt checks, and the offline trust model. It stops short of stating that the operation is read-only/non-destructive or mentioning rate limits, so it is not fully complete.

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 trigger is front-loaded in all caps, and the structure moves logically from when-to-call to auth to return details. It is somewhat expansive with motivational and trust framing, but those sentences still add useful context for a verification tool.

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?

There is no output schema, so the description must explain what comes back, and it does: verification_status plus per-receipt signature, chain-hash, and archive-witness checks. Combined with auth and trust context, it is complete enough for an agent to call and interpret the result.

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%, so the baseline is 3. The description adds integration meaning by saying the sequence_id is returned by evaluate_step and repeats the demo- keyless verification context, which helps the agent source the value correctly.

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?

States a specific verb and resource: fetch the verification report for an AgenticRail sequence and report whether its receipt chain is intact. It clearly distinguishes this from evaluate_step by positioning verification as a post-seal, post-deny check on evidence already produced.

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?

Explicitly says when to call: after a sequence seals and after any DENY, passing the sequence_id returned by evaluate_step. It also gives the conditional auth requirement for demo versus non-demo sequences, leaving little ambiguity about invocation context.

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.