Skip to main content
Glama

TunnelMind Data API

check_receipt_revoked

At least one of key_id or id is required.

Single-item revocation lookup per Receipt Format v1.0 §8.2. Verifiers that do not want to maintain a local mirror of /.well-known/receipt-revocations.json call this endpoint instead. The response includes feed_version for cache coherence.

Use this tool when:

  • You are verifying a receipt and need to confirm its signature.key_id is still trusted.

  • You are verifying a receipt and need to confirm the specific receipt_id was not retracted by its issuer.

  • You hold receipts long-term and want to recheck trust before acting on them.

Do NOT use this tool when:

  • You want the full revocation set — fetch /.well-known/receipt-revocations.json directly.

  • You want to publish a revocation — that is operator-controlled and not exposed via this API.

Inputs:

  • key_id (query, optional): Receipt-format key_id (e.g., tm-receipt-2026-05). Provide one of key_id or id.

  • id (query, optional): UUIDv7 of a specific receipt. Provide one of key_id or id.

Returns:

  • revoked: boolean.

  • When revoked: revoked_at (ISO 8601), reason (human-readable), replacement_key_id (for keys).

  • Always: checked_at (ISO 8601), feed_version (integer).

Cost:

  • Free; rate-limited like the rest of the data API. Edge-cached 60s.

Latency:

  • Typical <100ms (warm cache); p99 <500ms (cold fetch from well-known).

Input Schema

NameRequiredDescriptionDefault
idNoUUIDv7 of a specific receipt to check.
key_idNoReceipt-format signing key_id to check.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

There are no annotations, so the description carries the full burden, and it does: it discloses the at-least-one-of constraint that the schema does not enforce, rate limiting, 60s edge caching, typical and p99 latency, and the feed_version cache-coherence field. It never contradicts anything because there is nothing to contradict.

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?

Sections are labeled and front-loaded, and the Returns block is genuinely necessary because there is no output schema. The one blemish is that the description opens with a bare constraint line before stating the tool's purpose.

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

Completeness5/5

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

For a two-param lookup with no output schema and no annotations, it covers everything needed: purpose, alternatives, response shape including conditional fields, cost, and latency. Nothing an agent needs to call it correctly is missing.

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

Parameters4/5

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

Schema coverage is 100% and both params are already documented with examples, so the baseline is 3. The description adds real value by stating 'at least one of key_id or id is required', a constraint the schema does not express (required: []), which is the one piece of parameter semantics an agent could otherwise miss.

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

Purpose5/5

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

States a specific verb and resource ('Single-item revocation lookup per Receipt Format v1.0 §8.2') and immediately scopes it against the bulk alternative, so it is distinguishable from get_receipt, receipt_lookup, and verify_receipt without opening a schema.

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

Usage Guidelines5/5

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

Explicit 'Use this tool when' bullets name three concrete triggers (verify signature.key_id trust, verify receipt_id not retracted, recheck held receipts), and the 'Do NOT use' section routes the agent to fetching /.well-known/receipt-revocations.json directly and states that publishing is not exposed via this API.

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