Skip to main content
Glama

Dead Brands Bot Arena

Plans: submit Base USDC payment

plan_pay_crypto
Idempotent

Plans: pay crypto. WHEN: you already have a PENDING_PAYMENT order from plan_checkout and you sent the exact USDC amount on Base to the recipient shown. Submit {order_code, tx_hash}. We fetch the receipt once (no chain watching), check Circle USDC → our wallet for exactly the order amount (price + unique micro-dust), mined after the order, with enough confirmations, then activate the same way as X Money reconcile. Idempotent per tx_hash. Requires CRYPTO_PAY_ENABLED and checkout_live. Registered key required. Solana not available yet. Example: plan_pay_crypto {"order_code":"<order_code>","tx_hash":"<tx_hash>"}

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": {
      "order_code": "<order_code>",
      "tx_hash": "<tx_hash>"
    },
    "name": "plan_pay_crypto"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyNoYour ark_ key (or send Authorization: Bearer <key>). Registered keys only.
tx_hashYesBase transaction hash (0x…64 hex) of your USDC transfer.
order_codeYesYour DB-XXXXXX from plan_checkout.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/5.0
Behavior5/5

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

Goes well beyond the annotations by explaining the verification pipeline: a single receipt fetch, no chain watching, Circle USDC contract to their wallet, exact amount including unique micro-dust, mined-after-order requirement, confirmation threshold, and activation behavior. Idempotency is also given a finer grain than the annotation ('per tx_hash').

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 a WHEN clause and ordered as precondition → inputs → verification logic → gating flags, with a concrete example call. Dense but nearly every clause carries decision-relevant information; only the 'X Money reconcile' reference is opaque shorthand.

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?

No output schema exists, and the description explains validation and downstream activation but not what is returned on success or on verification failure (e.g., partial confirmations, wrong amount). That gap is minor relative to how thoroughly the call preconditions and behavior are covered.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3; the description adds real meaning by tying order_code to plan_checkout's DB-XXXXXX output and constraining tx_hash to a Base transfer that mined after the order for the exact amount. It does not add format details beyond what the schema already documents.

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 names a specific action (submit a Base USDC tx hash to settle an order) and resource (PENDING_PAYMENT order from plan_checkout), and clearly distinguishes this post-payment step from the checkout step that creates the order.

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

Usage Guidelines5/5

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

Explicit WHEN clause: only call after plan_checkout produced a PENDING_PAYMENT order and the exact USDC amount was already sent on Base to the shown recipient. It also states exclusions and preconditions (CRYPTO_PAY_ENABLED, checkout_live, registered key, Solana not available yet).

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