Skip to main content
Glama

Verify receipts

verify_receipts
Read-onlyIdempotent

Recompute a service's full receipt hash chain and fee ledger. Any party can audit Viridis Verified from receipts alone.

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": {
      "service_id": "<service_id>"
    },
    "name": "verify_receipts"
  }
}

Input Schema

NameRequiredDescriptionDefault
service_idYesThe service id returned by register_service.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / additionalProperties
      Added value: +false
  2. Changed1 schema field changed
    • addedInput schema / properties / service_id / description
      Added value: +"The service id returned by register_service."
  3. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is fully covered. The description adds that the operation walks the entire hash chain plus fee ledger, implying a heavier, whole-history computation rather than a point lookup, but it says nothing about cost, latency, or what a partial/failed chain looks like.

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 sentences, front-loaded with the concrete action, with no redundant restatement of the title. The second sentence is slightly promotional framing rather than operational detail, but it is short and reinforces the audit purpose.

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?

With an output schema present, the description need not explain return values, and annotations cover the safety semantics, so the remaining need is minimal. It fully conveys what is recomputed; only the scale/cost implications of a full-chain verification and any failure semantics are left implicit.

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%, and the single parameter is fully documented as "The service id returned by register_service." The description only refers to "a service's" data, adding no syntax, format, or sourcing details beyond the schema; baseline 3 is appropriate.

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: "Recompute a service's full receipt hash chain and fee ledger," which is clearly distinct from a single-receipt fetch like get_receipt or aggregate reporting like service_stats. The scope is unambiguous, though it never names a sibling tool to sharpen the boundary explicitly.

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?

"Any party can audit Viridis Verified from receipts alone" implies the audit/verification use case, and the word "Recompute" signals integrity checking. However, there is no explicit when-to-use versus when-not, no mention of prerequisites (e.g., must the service be registered first), and no named alternative such as get_receipt for single-receipt lookups.

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.