Skip to main content
Glama

DPX — Institutional Cross-Border Settlement

receipt.create

Record a tamper-evident signed receipt for an agent financial action. Call immediately after every successful settlement. Returns a receipt ID and HMAC-SHA256 signature over the canonical receipt JSON — cryptographic proof the record has not been altered. Receipts are queryable by session or agent for audit.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sandboxNoTrue if this was a sandbox settlement
tx_hashNoOn-chain transaction hash (if live)
agent_idYesAgent that executed the payment
policy_idNoPolicy ID that governed this payment
recipientNoRecipient wallet address
amount_usdYesAmount paid in USD
session_idNoTask or session ID for grouping (use the same ID for all payments in one agent run)
to_currencyNoDestination currency (default: USD)
counterpartyNoCounterparty name
task_contextNoPlain-text description of what task triggered this payment
delegation_idNoDelegation ID if acting under delegated authority
from_currencyNoSource currency (default: USD)
oracle_statusNoOracle status at time of payment (STABLE / CAUTION / UNSTABLE)
settlement_idNoSettlement ID returned by the settle tool
compliance_decisionNoCompliance decision at time of payment (PROCEED / HOLD / BLOCKED)

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already provide readOnlyHint=false, destructiveHint=false, so the description adds value by explaining that the tool creates a tamper-evident signed record and returns a receipt ID and HMAC-SHA256 signature as cryptographic proof. It also notes that receipts are queryable later. This goes beyond the annotation hints by detailing the cryptographic output and auditing capability.

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 three short sentences with no redundancy. The first sentence immediately states the core purpose, the second gives a clear usage instruction, and the third explains the return value and follow-up action (audit). Every sentence serves a distinct purpose without wasted words.

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?

Given the tool has 15 parameters, no output schema, and four annotation hints, the description covers the main aspects: purpose, when to use, return value (receipt ID and HMAC signature), and that receipts are queryable. It does not explain how to verify the HMAC or handle errors, but it is sufficient for an agent to use the tool correctly in the context of a settlement workflow. The lack of an output schema places some burden on the description, which it meets adequately.

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?

All 15 parameters are fully described in the input schema (100% coverage). The description does not add additional meaning to individual parameters beyond what is in the schema. It implies the importance of settlement_id by the usage guideline, but that is already present in the schema. With full schema coverage, a baseline 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?

The description uses a specific verb ('Record') and clearly identifies the resource ('tamper-evident signed receipt for an agent financial action'). It states the tool is for after every successful settlement, and returns a receipt ID and HMAC-SHA256 signature. This makes the purpose distinct from sibling tools like settlement tools or invoice.create, though not explicitly differentiating, the context of 'agent financial action' and post-settlement scope provides sufficient clarity.

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 explicitly says 'Call immediately after every successful settlement', which is a clear usage directive. It also mentions receipts are queryable by session or agent for audit, implying a follow-up action. However, it does not include explicit when-not-to-use or alternatives, which would elevate it to a 5.

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/5.0
Disambiguation4/5

Most tools have clearly distinct purposes, especially within their domains (e.g., analytics, compliance, ESG, forecasting). However, a few tools like route and stability.stablecoin_route or settlement.quote and fx.cost_certainty may cause confusion despite distinct descriptions, and the large number of intelligence tools (cascade, aftershock, contagion, etc.) could lead to misselection without careful reading.

Naming Consistency3/5

Naming follows a domain prefix pattern (e.g., agent.kya_register, settlement.quote, esg.score), which provides some structure. However, inconsistencies exist: some tools use underscores (batch_settle, flow_check), others are single words (route), and the mix of verb_noun and noun_verb styles (e.g., compliance.pep_screen vs market.fx) reduces predictability.

Tool Count3/5

At 71 tools, the server is very broad in scope, covering compliance, ESG, forecasting, intelligence, treasury management, and more. While each tool seems justified for the complex institutional domain, the sheer number may overwhelm agents and makes the set feel bloated. A more focused scope or tighter tool grouping would improve appropriateness.

Completeness4/5

The tool surface is remarkably comprehensive for cross-border settlement, covering end-to-end workflow from quoting, FX analysis, compliance screening, ESG scoring, forecasting, and multiple payment rails (Mercury, Ramp, SWIFT). Minor gaps exist (e.g., no tool to update a settlement after execution), but core operations are well-covered, and the addition of integration and audit trails enhances completeness.

Resources