Skip to main content
Glama

create_receipt

Generate a tamper-evident EIP-712 action receipt for an agent decision.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYesDescription of the action
metadataNoAdditional metadata stringified JSON

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It hints at a write operation ('Generate') and mentions tamper-evidence and EIP-712, but says nothing about persistence, required auth, idempotency, or what becomes of the produced receipt — thin coverage for a mutation tool with no annotation support.

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?

A single tight sentence that front-loads the verb and states the key distinguishing attributes (tamper-evident, EIP-712). No filler, though it stops short of the extra routing sentence a 5 would need.

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?

Two parameters, no annotations, and no output schema, yet the description never explains what a caller receives back or how the receipt relates to the verify_attestation and canonicalize siblings. For a tool in a cryptographic workflow, an agent lacks enough to use it confidently in sequence.

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%, so both parameters (action, metadata) are already documented in the schema. The description adds no format, cardinality, or constraint details beyond that, making the baseline 3 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?

Clear specific verb 'Generate' plus a precise resource: a tamper-evident EIP-712 action receipt bound to an agent decision. It is unambiguous on its own, but it does no work to distinguish itself from the closely related sibling verify_attestation, so it falls short of 5.

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

Usage Guidelines2/5

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

There is no guidance on when to generate a receipt versus when to use verify_attestation or canonicalize, and no stated preconditions. The agent is left to infer the workflow entirely.

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