Skip to main content
Glama

Novarithm Agent Hub: trust and commerce checks

verify_usdc_payment

[PAID $0.002 USDC/call, x402, eip155:8453] Verify a USDC payment on Base: tx succeeded, USDC sent to the expected recipient (and from the expected sender), at least min_amount, enough confirmations. Returns verdict + decoded transfers. Unknown tx = not charged.

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

Input Schema

NameRequiredDescriptionDefault
toNoExpected recipient address (0x...)
fromNoExpected payer address (optional)
chainNobase (default) or base-sepolia
tx_hashYesTransaction hash, 0x + 64 hex
min_amountNoMinimum USDC amount expected, e.g. 0.05
min_confirmationsNoRequired confirmations (default 1)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • addedInput schema / properties / chain / enum
      Added value: +[
      +  "base",
      +  "base-sepolia"
      +]
    • addedInput schema / properties / min_amount / minimum
      Added value: +0
    • addedInput schema / properties / min_confirmations / maximum
      Added value: +10000
    • addedInput schema / properties / min_confirmations / minimum
      Added value: +1
    • changedInput schema / properties / min_confirmations / type
      Previous value: -"number"New value: +"integer"
  2. First observed

TDQS

A3.9/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 pay-per-call cost and protocol ($0.002 USDC, x402, eip155:8453), the billing rule for unknown hashes (not charged), and the return shape (verdict plus decoded transfers). It does not cover failure modes such as unreachable RPC or how a verdict is structured, which keeps it short of a 5.

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?

Two dense sentences with the cost/transport tag front-loaded and the acceptance criteria listed in check order, ending with the billing caveat. Every clause carries information, though the parenthetical stacking ('(and from the expected sender)') slightly taxes scanning.

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?

For a six-parameter tool with no annotations and no output schema, the description covers cost, charging policy, verification criteria, and return contents. What remains thin is operational behavior on error or pending states, but nothing essential for correct invocation is missing.

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 100%, so every parameter is already documented, and this establishes a baseline of 3. The description ties min_amount, confirmations, and to/from to the checks they drive, adding modest interpretive value, but it omits the base/base-sepolia chain option that the schema exposes.

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?

States a precise verb (verify) and resource (USDC payment on Base) and enumerates the exact conditions checked: tx success, recipient/sender match, min_amount, confirmations. That is distinguishable from siblings like usdc_balance and sanctions_crypto_address 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 Guidelines3/5

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

The context of use (post-payment verification in a paid x402 flow) is implied by the pricing header and the 'unknown tx = not charged' clause, but there is no explicit when-to-use guidance and no named alternative such as usdc_balance for balance checks. An agent can infer the scenario but is not told when to prefer another tool.

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.