Skip to main content
Glama
receipt-gate

receipt-gate

Record impossibility and keep the boundary

impossible_in_scope
Idempotent

Records an impossibility receipt with the authority boundary that caused it, creating a terminal outcome separate from false success.

Instructions

Keep a receipt of impossibility together with the authority boundary that made it impossible. A terminal state of its own, standing apart from a false success.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "promise_id": "<promise_id>",
      "boundary": "<boundary>"
    },
    "name": "impossible_in_scope"
  }
}

Input Schema

NameRequiredDescriptionDefault
boundaryYes
promise_idYes

Output Schema

NameRequiredDescriptionDefault
stateYes
fulfilledYes
remainderNo
promise_idYes
rights_returnedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already establish a non-read-only, idempotent, non-destructive, open-world write. The description adds one genuinely useful trait beyond them: this is a terminal state distinct from a false success, which tells the agent the operation closes something out. It does not say whether the promise is closed, what record is written, or whether the call is reversible, so real behavioral gaps remain.

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?

Two short sentences with no filler, and the terminal-state distinction is placed in the second sentence where it reads as a qualifier. The wording is tight but leans on abstraction ('receipt of impossibility') where a plainer term would carry the same length more clearly.

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

Completeness2/5

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

An output schema exists, so return values need not be described. But for a two-parameter write tool with zero schema coverage, the description leaves both required inputs unexplained and says nothing about what state change occurs to the promise, which is the minimum an agent needs to invoke it correctly.

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

Parameters2/5

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

Both required parameters are undocumented in the schema (0% coverage). The description's word 'boundary' loosely maps to the `boundary` parameter and 'receipt' hints that something is persisted, but `promise_id` is never explained and no expected format, granularity, or content of `boundary` is given, so the description does not compensate for the coverage gap.

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

Purpose3/5

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

The description conveys that this records an impossibility outcome tied to an authority boundary, and the phrase 'standing apart from a false success' gestures at its role versus a success-reporting sibling. However, the metaphor 'keep a receipt' obscures the actual verb (record/persist an outcome) and never names the resource being closed or written to, so the agent must infer the domain object.

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?

Usage is implied rather than stated: the agent can infer it should call this when a task cannot be completed because of an authority boundary, and that it is not a success path. There is no explicit when-not guidance and no sibling named (e.g., claim_done, hand_over), so the routing decision between this and the other terminal-ish tools is left to inference.

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