Skip to main content
Glama

inspect_receipt

Read-onlyIdempotent

Check the internal consistency of a supplied Core receipt and compare an optional expected input digest. Requires Mind access. No project is inspected and no checks run.

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": {
      "receipt": "<receipt>"
    },
    "name": "inspect_receipt"
  }
}

Input Schema

NameRequiredDescriptionDefault
receiptYes
expected_input_digestNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.3/5.0
Behavior4/5

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

Annotations already establish readOnly, idempotent, closed-world, non-destructive behavior, so the bar is lower. The description adds genuinely new context beyond them: an access requirement (Mind) and an explicit statement of what it does NOT touch (no project, no checks run). The only weakness is that 'no checks run' is ambiguous next to a tool whose whole purpose is checking consistency.

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?

Three short sentences, front-loaded with the core action and followed by access and scope caveats. No filler, though the third sentence is cryptic enough that its brevity costs clarity rather than saving it.

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?

With a nested object parameter at 0% schema coverage and no output schema, the description needs to carry the load. It does not explain the receipt structure, what consistency dimensions are checked, or what a pass/fail response looks like, so an agent cannot predict outcomes from this definition alone.

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?

Schema description coverage is 0% and the required 'receipt' parameter is an undocumented nested object. The description says only that the digest is optional and 'expected', adding essentially nothing about the receipt's expected shape, what fields are validated, or what 'internal consistency' means in practice.

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+resource: 'Check the internal consistency of a supplied Core receipt' plus an optional digest comparison. An agent can tell it is a validation/verification operation rather than a fetch or upload, though the domain jargon ('Core receipt', 'Mind access') is unexplained and the closing 'no checks run' sits awkwardly beside 'check the internal consistency'.

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?

It gives a prerequisite ('Requires Mind access') and a negative scope cue ('No project is inspected'), which helps rule out project-scoped siblings. However, it never says when to prefer this over get_receipt_detail, proof.validate, or receipt.upload, leaving the routing decision to inference.

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