Skip to main content
Glama

yobalt Witness

Verify a receipt

witness_verify_receipt
Read-onlyIdempotent

Check a receipt's signature and ledger hash. Pass the receipt object, or an id of a stored receipt.

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

Input Schema

NameRequiredDescriptionDefault
idNo
receiptNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and a closed-world scope, so safety is covered. The description adds what the check actually covers (signature and ledger hash), which is useful. It says nothing about failure behavior, i.e. whether an invalid receipt yields an error or a negative result.

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, front-loaded sentences with no filler. The verification target is stated first and the input options second, which matches how an agent would read it.

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?

With no output schema, the description should say what a verification returns (a boolean, a verdict object, an error on mismatch). That gap plus the undescribed nested receipt object leaves an agent unable to fully predict the call's outcome.

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 0%, so the description carries the burden and does partially address it: it clarifies that 'id' refers to a stored receipt and that the two inputs are alternatives. It does not describe the nested receipt object's shape or what happens if both or neither argument is supplied, despite required=0.

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 resource with concrete scope: 'Check a receipt's signature and ledger hash.' That is distinguishable from a plain receipt fetch (witness_get_receipt) or a change check, though no sibling is named 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?

Usage is only implied by the purpose statement plus the note that either a receipt object or a stored receipt id may be passed. There is no explicit when-to-use versus when-to-use-alternatives guidance, and no prerequisite or exclusion statements.

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