Skip to main content
Glama

Issue signed receipt

issue_receipt

Issue a signed receipt and compliance record for settled payments, supporting counter-signing into the ledger when configured.

Instructions

Issue an x402 offer-receipt (EIP-712) plus an Tersign compliance record for a settled payment; counter-signs into the ledger when configured.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
payerYes
txHashNo
networkYesCAIP-2, e.g. eip155:8453
currencyNo
principalNosigned principal behind the paying agent
settledAtNo
taxSchemeNo
resourceUrlYes
supplyDescriptionYes
Behavior3/5

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

The description discloses a key side-effect ('counter-signs into the ledger when configured') and the dual issuance, but it does not address failure modes, authorization prerequisites, or reversibility. With no annotations, the description carries the full burden, and these gaps limit transparency.

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 starts with the key action and covers all major aspects: issuance of the receipt, the compliance record, and the conditional ledger signing. It is free of filler and efficiently structured.

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?

Given the tool has 9 parameters and no output schema, the description is too high-level. It explains the core action but does not describe required inputs, the meaning of the compliance record, or expected behavior/response. This leaves the agent without sufficient context to invoke the tool correctly.

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

Parameters2/5

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

Schema coverage is only 22%, and the description does not elaborate on any of the 9 parameters beyond the sparse schema descriptions. It gives no indication of how parameters like payer, settledAt, or taxScheme are used, failing to compensate for the low coverage.

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?

The description uses a specific verb 'Issue' and identifies two distinct resources (x402 offer-receipt and Tersign compliance record), clearly distinguishing it from sibling tools like verify_receipt and record_refund. The phrase 'for a settled payment' adds precision to the tool's scope.

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

Usage Guidelines4/5

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

The description provides clear context by indicating this tool is used after a payment is settled, which helps differentiate it from verification or dispute-related siblings. However, it does not explicitly state when not to use it or mention alternative tools.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/tersignhq/tersign-js'

If you have feedback or need assistance with the MCP directory API, please join our Discord server