Skip to main content
Glama

issue_execution_receipt

Close the loop after an agent executes: issue a signed execution-price receipt from the pre-trade handle plus the settlement transaction, or settle a guarded Base/Solana swap. Use it only after the trade settled. Do not use it before execution and do not treat the verdict as principal authorization. Returns a signed receipt or settlement with FAITHFUL/DEVIATED/NOT_EXECUTED/UNDETERMINED (or settlement status), price delta, binding ids and verify URL.

Input Schema

NameRequiredDescriptionDefault
modeYes
receiptNoRequired for mode=receipt; old execution_receipt fields
decisionNoRequired for settle modes; the signed guard decision
signatureNoSolana transaction signature
swap_tx_hashNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does substantial work: it discloses the return shape (signed receipt, FAITHFUL/DEVIATED/NOT_EXECUTED/UNDETERMINED verdicts, price delta, binding ids, verify URL) and warns the verdict is not authorization to act. It does not state auth requirements, idempotency/replay behavior, or whether a receipt is persisted on failure — gaps for a signing tool.

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?

Front-loaded with the core action, then conditions, then return values — a sensible ordering in three sentences. The 'Use it only after the trade settled. Do not use it before execution' pair is mildly redundant, and the parenthetical '(or settlement status)' is a hedge that could be stated more crisply.

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?

Five parameters with nested objects, one enum, no output schema — the description compensates well by enumerating the returned fields and verdict values. It is still thin on the provenance of the 'pre-trade handle' and the 'signed guard decision', which an agent needs in order to assemble valid inputs across a multi-step flow.

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 60% and the schema already documents receipt/decision as mode-conditional and signature as a Solana signature. The description adds the mapping of modes to their inputs (pre-trade handle plus settlement transaction vs. guarded swap), but contributes no format, shape, or constraint detail for the nested receipt/decision objects beyond what the schema states.

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 opens with a specific verb+resource pair — 'issue a signed execution-price receipt' — and names both operating modes (receipt from a pre-trade handle + settlement tx, or settle a guarded Base/Solana swap). An agent can tell this is a post-execution close-out tool distinct from prepare_swap or check_trade_safety without opening the schema.

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?

It gives an explicit gate — 'Use it only after the trade settled. Do not use it before execution' — plus a negative constraint that the verdict is not principal authorization. What's missing is naming the upstream sibling (e.g. prepare_swap / begin_trade_evidence) that produces the pre-trade handle, so the agent must infer which tool precedes it.

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