Skip to main content
Glama

Arc payment check

arc_payment_check

Did that Arc payment really land? Payer, recipient, amount in both of Arc's transfer forms (the ERC-20 view and the native log), confirmation and gas, checked against what you expected. $0.003 per call over x402 (USDC on Arc, Base or Solana, or XNT on X1). Call once without payment for the terms, sign them with your own wallet, call again with payment.

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": "<tx>"
    },
    "name": "arc_payment_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNooptional expected recipient
txYes0x transaction hash on Arc
expectNooptional expected amount in USDC, e.g. 1.50
paymentNoa signed x402 payment (the base64 payload you would put in PAYMENT-SIGNATURE). Pass it and the purchase completes inside this tool call.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/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 well: it discloses the price ($0.003 per call), the payment rails accepted (x402 USDC on Arc/Base/Solana, XNT on X1), and the two-phase purchase behavior. It omits what happens on a mismatch (error vs. verdict) and whether the paid call is idempotent on retry.

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?

Three tight sentences, front-loaded with the core question and followed by what is verified, then the payment mechanics. The rhetorical opening costs a few words but orients the agent quickly; nothing is redundant.

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 paid verification tool with no output schema and no annotations, the description covers the inputs' intent, the returned fields, and the full payment lifecycle. The main remaining gap is result semantics — whether a failed check returns an error or a structured mismatch verdict.

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 baseline is 3, but the description adds real meaning: it explains the `payment` parameter as part of a two-call handshake and frames `to`/`expect` as the expectations the on-chain data is compared against. It does not clarify how `expect` handles decimals or partial tolerance beyond the schema's example.

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?

The description states a specific verb and resource: verify that an Arc payment landed, covering payer, recipient, amount, confirmation and gas. It is clearly distinct from generic reads like arc_contract_read, though it never explicitly contrasts itself with the closest sibling, x402_inspect, so an agent must infer the boundary.

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?

It gives concrete operating guidance for the paid flow: call once without `payment` to get terms, sign with your own wallet, call again with `payment`. It also implies the check use case ('checked against what you expected') but names no exclusions or alternative tools for simpler transaction lookups.

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