Skip to main content
Glama

Signed receipt for a completed payment

get_receipt
Read-only

Get a clean, digitally signed receipt for a completed swap or payment: what was paid, what was received, by whom, on which chains, with transaction hashes and the fee. Share it with your owner, a seller or another agent; anyone can confirm it's genuine with verify_receipt.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "deposit_address": "<deposit_address>"
    },
    "name": "get_receipt"
  }
}

Input Schema

NameRequiredDescriptionDefault
deposit_memoNodeposit_memo, if one was returned.
deposit_addressYesThe deposit_address of the swap or payment.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations declare readOnlyHint=true and openWorldHint=true, so the safety profile is already covered; the description adds real value on top by disclosing that the output is digitally signed, that it is shareable with third parties, and that genuineness is checkable via verify_receipt. It does not say how long receipts remain retrievable or what happens if the referenced payment is incomplete.

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?

A single front-loaded sentence with a colon-delimited payload list, followed by one short clause on sharing and verification. No filler, no repetition of the title, and the most decision-relevant details come first.

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

Completeness4/5

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

With only two simple parameters, full schema coverage, and annotations present, the definition is nearly complete; it also compensates for the absent output schema by describing the receipt contents. The only gap is behavior when the underlying swap or payment is not yet completed.

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 deposit_address and deposit_memo are already documented in the input schema. The description adds no meaning beyond identifiers — for example, whether deposit_memo is required for memo-based chains or what to do if it is omitted — so the baseline 3 applies.

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 ("Get a ... signed receipt") and enumerates exactly what the artifact contains: what was paid, what was received, by whom, which chains, transaction hashes, and the fee. The scope is limited to completed swaps or payments, and the named sibling verify_receipt establishes what this tool is not.

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?

Gives clear usage context (share with owner, seller, or another agent) and routes the verification use case explicitly to verify_receipt. It does not state the negative case — e.g., what to call instead when a swap or payment is not yet complete (check_payment, get_swap_status appear among siblings but are not referenced).

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.