Skip to main content
Glama

verify_onchain_transfer

Read-onlyIdempotent

Statelessly verify any standalone on-chain USDT or USDC transfer transaction hash (tx_hash) via live blockchain JSON-RPC without requiring a pre-created PayGate invoice ID. Read-only RPC receipt inspection across polygon, bsc, base, arbitrum, ethereum, or solana confirming that expected_recipient received at least min_amount_usd in official USDT/USDC. Returns JSON with verified (boolean), network, token (USDT or USDC), amount_usd, sender, recipient, tx_hash, and reason.

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>",
      "tx_hash": "<tx_hash>",
      "min_amount_usd": "<min_amount_usd>",
      "expected_recipient": "<expected_recipient>"
    },
    "name": "verify_onchain_transfer"
  }
}

Input Schema

NameRequiredDescriptionDefault
networkYesBlockchain network where `tx_hash` was confirmed (`polygon`, `bsc`, `base`, `arbitrum`, `ethereum`, `solana`, or `bitcoin`).
tx_hashYesOn-chain transaction hash (`0x...` 66-char hex on EVM or base58 signature on Solana) to verify.
min_amount_usdYesMinimum required stablecoin transfer amount in USD (e.g. `19.0`). Transfers below this threshold return `verified: false`.
expected_recipientYesExpected recipient wallet address (`0x...` on EVM or base58 on Solana) that must have received the USDT/USDC transfer.

Output Schema

NameRequiredDescriptionDefault
tokenNo
reasonNo
networkYes
verifiedYes
amount_usdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true, idempotentHint=true, and destructiveHint=false, so safety and idempotency are covered. The description adds real behavioral context beyond that: it performs live JSON-RPC receipt inspection, requires recipient to have received at least min_amount_usd in an official stablecoin, and enumerates the return fields. It does not discuss rate limits or failure modes like RPC unavailability.

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

Conciseness5/5

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

Two dense sentences: the first covers purpose and the invoice distinction, the second covers mechanism and return shape. Front-loaded and free of redundancy.

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?

Given an output schema exists and annotations cover safety, the description is complete regarding what it does and returns. One gap: the description's network list omits `bitcoin`, which the input schema's enum includes, creating a minor inconsistency about supported networks for a tool that verifies only USDT/USDC.

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 description coverage is 100%, so the schema already documents every parameter including formats and the below-threshold behavior. The description reinforces the semantics ('expected_recipient received at least min_amount_usd') but adds little beyond the schema's own field descriptions. Baseline 3 applies when the schema does the heavy lifting.

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 begins with a specific verb and resource: 'Statelessly verify any standalone on-chain USDT or USDC transfer transaction hash.' It explicitly distinguishes itself from the sibling verify_usdt_invoice by saying 'without requiring a pre-created PayGate invoice ID,' so an agent can route correctly between the two verifiers.

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?

The when-to-use condition is clear: use this for standalone transfers lacking an invoice ID. It does not explicitly say when to prefer verify_usdt_invoice instead, but the exclusion ('without requiring a pre-created invoice ID') implies that complementary split.

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