Skip to main content
Glama

gblin-treasury-risk-regime

receipts.get

Read-onlyIdempotent

Receipt #index from GBLIN's receipts log, re-signed (Ed25519 is deterministic) with a fresh inclusion proof, the current signed checkpoint and the latest on-chain anchor. Free.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
indexYesReceipt index in the log (0-based; current size at GET /log/checkpoint)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
leafYesbase64 SHA256(0x00 || canonical)
rootYesbase64 Merkle root at tree_size
indexYes
anchorYesLatest daily EAS anchor of the tree root on Base and whether it already covers this receipt
formatYes
payloadYesThe signed, canonicalized record (gblin-canonical-json/1)
signatureYesbase64 Ed25519 over 'gblin-receipt/v1\n' + canonical
tree_sizeYes
checkpointYesC2SP signed note (origin, size, root)
provenanceYesWhat the receipt does and does not prove
verifier_keyYesC2SP note verifier key: origin+hash+base64(0x01||pub)
inclusion_proofYes

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, and non-destructive behavior. The description adds behavioral context beyond annotations: it explains the re-signing process (Ed25519 deterministic), inclusion proof, signed checkpoint, and on-chain anchor. This enriches the agent's understanding of the tool's output without contradicting any annotation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single sentence that front-loads the primary action ('Receipt #index from GBLIN's receipts log') and packs in all necessary details (re-signing, proofs, checkpoint, anchor, cost). There is no wasted text; it is both concise and structurally effective.

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?

Given the tool's simplicity (one parameter), the presence of an output schema (so return values need not be described), and the provided behavioral details (re-signing with proofs and checkpoint), the description is complete. It covers what the tool does, what it returns, and even notes it is free.

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 coverage is 100% for the single parameter 'index', which is fully described in the schema with context (0-based, current size at GET /log/checkpoint). The description adds no additional semantic meaning beyond the schema, so the baseline score of 3 is appropriate.

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?

Description states the tool retrieves a receipt by index from GBLIN's receipts log, and specifies that it returns a re-signed receipt with a fresh inclusion proof, current signed checkpoint, and on-chain anchor. This clearly distinguishes it from siblings like receipts.verify or receipts.seal, which perform different operations.

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?

The description does not explicitly describe when to use this tool versus alternatives. It implies usage by stating it fetches from the log, but does not mention when not to use it or contrast with similar tools like receipts.verify. There is no explicit guidance on choosing among siblings.

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.

TDQS

A4.2/5.0
Disambiguation5/5

Each tool has a distinct purpose: coherence.report for metrics, protocol.info/stats for protocol data, receipts.get/seal/verify for receipt lifecycle, risk.regime for live risk, and risk.attestation_sample for testing. No two tools overlap in functionality.

Naming Consistency3/5

The dot-separated prefix pattern is consistent, but the second part mixes verbs (report, get, seal, verify) with nouns (info, stats, attestation_sample, regime). This inconsistency could confuse agents expecting a uniform verb-object structure.

Tool Count5/5

With 8 tools, the server covers its stated domain (risk regime, protocol info, receipts) without bloat. Each tool serves a clear, non-redundant role, fitting the typical 3-15 tool range.

Completeness5/5

The toolkit covers all core operations: querying risk, retrieving protocol info/stats, managing receipts (create, retrieve, verify), and providing a test sample. No essential functionality appears missing for the described free-tier scope.