Skip to main content
Glama

FMF Proof

Exactly-Once Outbox: record intent

outbox_intent

Record what you are about to send (its sha256) before you send it. The same intent with a different body is refused with 422.

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": "outbox_intent"
  }
}

Input Schema

NameRequiredDescriptionDefault
venueNoOptional label for where it goes.
intent_idNoYour id for this side effect.
body_sha256Nosha256 of exactly what you will send.
namespace_keyNoYour secret namespace key (32 to 200 characters). Choose it once and keep it; it opens your ledger.

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 burden. It usefully discloses one important behavior, that reusing an intent_id with a different body is refused with 422, which tells the agent this is a conflict-guarded write. It does not say what happens on a replay with an identical body (idempotent success vs. error), whether the ledger entry is permanent, or what the response contains.

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 short sentences, zero filler, with the precondition (record before sending) front-loaded ahead of the failure mode. Every sentence carries distinct information.

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

Completeness3/5

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

For a four-parameter write tool with no annotations and no output schema, the description explains the core contract and one error case but leaves the replay/idempotent path and the namespace_key prerequisite unaddressed. Adequate as a minimum, not complete.

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

Parameters3/5

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

Schema description coverage is 100%, so all four parameters are already documented, and the baseline is 3. The description links intent_id and body_sha256 together through the conflict rule, adding mild meaning, but says nothing about namespace_key scoping or the optional venue label beyond what the schema states.

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?

States a specific verb and object: record the sha256 of what you are about to send, prior to sending. An agent knows this is a pre-send ledger write. It does not differentiate itself from likely siblings such as outbox_next or delivery_dedupe, so it stops short of 5.

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

Usage Guidelines4/5

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

"before you send it" gives clear timing context: this must be called prior to the side effect it guards. There are no explicit when-not conditions and no named alternative tools for related ledger operations, so it is clear context without exclusions.

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