Skip to main content
Glama

verify_usdc_order

Check an order USDC payment on-chain (Solana: by signature or reference scan; Ethereum: by tx_hash after confirmations) and receive the signed credit token when paid.

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": {
      "chain": "<chain>",
      "order_id": "<order_id>",
      "pack": "<pack>",
      "order_token": "<order_token>",
      "expires_at": "<expires_at>"
    },
    "name": "verify_usdc_order"
  }
}

Input Schema

NameRequiredDescriptionDefault
packYes
chainYes
tx_hashNoEthereum transaction hash
order_idYes
signatureNoSolana transaction signature (optional)
expires_atYes
order_tokenYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does disclose real behavior — Solana verification by signature or reference scan, Ethereum by tx_hash after confirmations, and the conditional outcome of receiving a signed credit token when paid — but says nothing about auth requirements, behavior when unpaid, retry/idempotency, or error states.

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?

A single dense sentence, front-loaded with the action and the chain-specific branching in parentheses. Nothing is redundant, though the parenthetical packs several distinct behaviors into one clause.

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 7-parameter, 5-required cross-chain tool with no output schema and no annotations, the description covers the verification paths and the returned credit token but omits what pack/order_token/expires_at mean and what the agent should expect on failure or partial payment.

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 only 29%, so the description must compensate. It clarifies signature (Solana) and tx_hash (Ethereum) and ties them to the chain enum, but three required parameters (pack, order_token, expires_at) and order_id receive no explanation anywhere, leaving half the surface undocumented.

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 (check/verify) and resource (an order's USDC payment on-chain), and splits behavior by chain (Solana vs Ethereum). An agent can distinguish it from build_usdc_solana_tx (builds the tx) and create_usdc_order (creates the order) without opening any schema, though it never names those siblings explicitly.

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

Usage Guidelines3/5

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

Usage is implied rather than stated: the chain-specific verification paths and the 'after confirmations' condition for Ethereum hint at when it applies, but there is no explicit when-to-use/when-not or pointer to alternatives such as create_usdc_order or build_usdc_solana_tx.

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