Skip to main content
Glama

FMF Proof

Counter-Signed Handoff Verify

handoff_verify

A handoff the sender signed and an acknowledgement the receiver signed, checked together: same handoff, same state pin, right receiver, right order in time. Returns SENT_ONLY, APPLIED, VERIFIED or INVALID with each problem named. Holds no key, stores nothing.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "handoff_verify"
  }
}

Input Schema

NameRequiredDescriptionDefault
ackNoOptional: { handoff_id, state_pin, status (APPLIED or VERIFIED), receiver, acked_at, signature } signed by the receiver.
stateNoOptional: the state itself, to check it against the pin.
handoffNo{ handoff_id, state_pin (sha256 of the canonical state), sender, receiver, created_at, signature } signed by the sender.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the whole burden; it does well to declare that the tool holds no key and stores nothing (a stateless, side-effect-free check) and that it emits SENT_ONLY, APPLIED, VERIFIED or INVALID with problems named. It does not say whether the ack and state inputs are read-only inputs it never mutates, nor what happens when optional inputs are omitted, which is a meaningful gap for a tool with three optional parameters.

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

Conciseness5/5

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

Two sentences: the first front-loads the verification contract and the checks, the second covers the outcome set and the statelessness guarantee. Every clause carries information and there is no filler.

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

Completeness4/5

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

For a three-parameter, nested-object tool with no output schema, the description supplies the return value set and the failure reporting style ('each problem named'), which is the main thing an agent needs to interpret results. The remaining gap is the optionality semantics of ack and state, which is significant enough to keep it from a 5.

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 goes beyond it by explaining what the parameters are checked against each other — same handoff, same state pin, right receiver, right order in time — which conveys the relational semantics of handoff, ack and state that the flat schema does not. It still does not explain the effect of supplying ack without state, or vice versa.

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

Purpose4/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 pair: verifying a sender-signed handoff together with a receiver-signed acknowledgement, checking handoff identity, state pin, receiver and temporal order. That is far more than a restatement of the name. Sibling differentiation is only implicit (the 'holds no key, stores nothing' clause separates it from notary_commit/notary_reveal style tools), so it stops short of a 5.

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

Usage Guidelines3/5

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

The verification scenario is clearly implied by the description of what gets cross-checked, but there is no explicit when-to-use statement, no prerequisites, and no named alternative such as idempotency_check or delivery_dedupe. An agent can infer the situation but is not routed.

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.

Resources