Skip to main content
Glama

receipt_check

Payment Receipt Check — 0.02 USD per call, synchronous. Synchronous check of an already-made agent payment ($0.02 per call). Flags double charge, over/under charge, settle without response, failed-but-onchain settle, fake RLUSD, partial payment, wrong destination/tag. On warn/critical the response CTAs to Wrong-Buy Remediation $49. Retry with the same PAYMENT-SIGNATURE is not charged twice. Pay in USDC on Base via x402, or RLUSD/XRP on XRPL via x402 (XRP priced at quote time, DestinationTag required).

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": {
      "network": "<network>",
      "transaction": "<transaction>"
    },
    "name": "receipt_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
networkYese.g. eip155:8453 or xrpl:0
deliveryNo
expectedNo
transactionYesHash of the already-made payment
window_secondsNo
payment_requiredNo
payment_responseNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does substantial work: it declares price ($0.02/call), synchronous execution, supported rails (USDC on Base via x402; RLUSD/XRP on XRPL with DestinationTag required), idempotency on retry with the same PAYMENT-SIGNATURE, and a severity model of warn/critical. It omits whether the call is strictly read-only and what happens on timeout or invalid signature.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with price and mode, which is right, but the cost and synchronous nature are stated twice in the first two clauses. The long comma-separated failure taxonomy reads as keyword soup and could be tightened into a single structured list.

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

Completeness3/5

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

For a paid, 7-parameter tool with nested objects and no output schema, the payment and remediation behavior is well covered, but the response shape, severity semantics, and the meaning of the undocumented nested parameters are left to guesswork. The description is adequate but leaves real gaps an agent must hit blind.

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 29% and the description does not compensate: the nested delivery and expected objects, window_seconds, payment_required, and payment_response are entirely unexplained. The only parameter-adjacent hints are that network implies a CAIP-style identifier and XRPL requires a DestinationTag, which the schema example already conveys.

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?

States a specific verb and resource — a synchronous check of an already-made agent payment — and enumerates the concrete failure classes it detects (double charge, over/under charge, fake RLUSD, partial payment, wrong destination/tag). That is far more specific than the name alone, though it never explicitly contrasts itself with order-related siblings such as order_audit or order_stack_check.

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?

Makes the trigger condition clear (run it after a payment has already been made) and routes the agent onward: warn/critical responses CTA to Wrong-Buy Remediation at $49, naming the remediation sibling. It does not state exclusions or when a plain order_audit would be preferred instead.

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