Skip to main content
Glama

Autonomous 0-DRC PCB Routing Foundry & Hardware MCP Server

Verify On-Chain Stablecoin Payment

calligraphy_verify_stablecoin_payment
Idempotent

Verify a multi-chain ERC-20 USDT or USDC transfer (Base, Arbitrum, Polygon, or Ethereum) sent to a job's BIP-44 watch-only deposit_address and unlock the bundle. Use for multi-chain or USDT payments (use calligraphy_verify_crypto_payment for x402 Base USDC treasury transfers). Requires job_id and tx_hash; returns JSON unlocked=True. Example: job_id='job_01', token='USDC', network='base'.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "token": "USDC",
      "job_id": "job_01",
      "network": "base",
      "tx_hash": "0x1111111111111111111111111111111111111111111111111111111111111111"
    },
    "name": "calligraphy_verify_stablecoin_payment"
  }
}

Input Schema

NameRequiredDescriptionDefault
tokenNoERC-20 stablecoin symbol transferred ('USDC' or 'USDT', 6 decimals).USDT
job_idYesTarget compilation job identifier awaiting on-chain payment unlock.
networkNoEVM settlement network: base, arbitrum, polygon, or ethereum.base
tx_hashYes0x-prefixed 66-character hexadecimal EVM transaction hash of ERC-20 transfer.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • changedInput schema / properties / job_id / description
      Previous value: -"Target compilation job identifier awaiting payment unlock. Example: 'job_01'."New value: +"Target compilation job identifier awaiting on-chain payment unlock."
    • changedInput schema / properties / job_id / examples
      Previous value: -[
      -  "job_01",
      -  "job_a1b2c3d4"
      -]New value: +[
      +  "job_01"
      +]
    • changedInput schema / properties / network / description
      Previous value: -"EVM network where the transaction was mined: 'base' (Chain ID 8453), 'arbitrum' (42161), 'polygon' (137), or 'ethereum' (1)."New value: +"EVM settlement network: base, arbitrum, polygon, or ethereum."
    • changedInput schema / properties / network / examples
      Previous value: -[
      -  "base",
      -  "ethereum"
      -]New value: +[
      +  "base"
      +]
    • changedInput schema / properties / token / examples
      Previous value: -[
      -  "USDC",
      -  "USDT"
      -]New value: +[
      +  "USDC"
      +]
    • changedInput schema / properties / tx_hash / description
      Previous value: -"0x-prefixed 66-character hexadecimal EVM transaction hash of the confirmed ERC-20 Transfer event. Example: '0x1111111111111111111111111111111111111111111111111111111111111111'."New value: +"0x-prefixed 66-character hexadecimal EVM transaction hash of ERC-20 transfer."
  2. Changed4 schema fields changed
    • addedInput schema / properties / job_id / examples
      Added value: +[
      +  "job_01",
      +  "job_a1b2c3d4"
      +]
    • addedInput schema / properties / network / examples
      Added value: +[
      +  "base",
      +  "ethereum"
      +]
    • addedInput schema / properties / token / examples
      Added value: +[
      +  "USDC",
      +  "USDT"
      +]
    • addedInput schema / properties / tx_hash / examples
      Added value: +[
      +  "0x1111111111111111111111111111111111111111111111111111111111111111"
      +]
  3. Changed5 schema fields changed
    • addedInput schema / additionalProperties
      Added value: +false
    • changedInput schema / properties / job_id / description
      Previous value: -"Job ID."New value: +"Target compilation job identifier awaiting payment unlock. Example: 'job_01'."
    • changedInput schema / properties / network / description
      Previous value: -"EVM network."New value: +"EVM network where the transaction was mined: 'base' (Chain ID 8453), 'arbitrum' (42161), 'polygon' (137), or 'ethereum' (1)."
    • changedInput schema / properties / token / description
      Previous value: -"Token symbol."New value: +"ERC-20 stablecoin symbol transferred ('USDC' or 'USDT', 6 decimals)."
    • changedInput schema / properties / tx_hash / description
      Previous value: -"0x-prefixed EVM tx hash."New value: +"0x-prefixed 66-character hexadecimal EVM transaction hash of the confirmed ERC-20 Transfer event. Example: '0x1111111111111111111111111111111111111111111111111111111111111111'."
  4. Changed5 schema fields changed
    • changedInput schema / examples
      Previous value: -[
      -  {
      -    "job_id": "job_a1b2c3d4e5f6",
      -    "network": "base",
      -    "token": "USDC",
      -    "tx_hash": "0x1111111111111111111111111111111111111111111111111111111111111111"
      -  }
      -]New value: +[
      +  {
      +    "job_id": "job_01",
      +    "network": "base",
      +    "token": "USDC",
      +    "tx_hash": "0x1111111111111111111111111111111111111111111111111111111111111111"
      +  }
      +]
    • removedInput schema / properties / job_id / examples
      Removed value: -[
      -  "job_a1b2c3d4e5f6"
      -]
    • removedInput schema / properties / network / examples
      Removed value: -[
      -  "base"
      -]
    • removedInput schema / properties / token / examples
      Removed value: -[
      -  "USDC"
      -]
    • removedInput schema / properties / tx_hash / examples
      Removed value: -[
      -  "0x1111111111111111111111111111111111111111111111111111111111111111"
      -]
  5. Changed9 schema fields changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "job_id": "job_a1b2c3d4e5f6",
      +    "network": "base",
      +    "token": "USDC",
      +    "tx_hash": "0x1111111111111111111111111111111111111111111111111111111111111111"
      +  }
      +]
    • changedInput schema / properties / job_id / description
      Previous value: -"Job ID returned by calligraphy_compile_board"New value: +"Job ID."
    • addedInput schema / properties / job_id / examples
      Added value: +[
      +  "job_a1b2c3d4e5f6"
      +]
    • changedInput schema / properties / network / description
      Previous value: -"EVM settlement network (`base` recommended for near-zero gas & Coinbase treasury)"New value: +"EVM network."
    • addedInput schema / properties / network / examples
      Added value: +[
      +  "base"
      +]
    • changedInput schema / properties / token / description
      Previous value: -"Stablecoin symbol (`USDT` or `USDC`)"New value: +"Token symbol."
    • addedInput schema / properties / token / examples
      Added value: +[
      +  "USDC"
      +]
    • changedInput schema / properties / tx_hash / description
      Previous value: -"0x-prefixed 64-character hex EVM transaction hash"New value: +"0x-prefixed EVM tx hash."
    • addedInput schema / properties / tx_hash / examples
      Added value: +[
      +  "0x1111111111111111111111111111111111111111111111111111111111111111"
      +]
  6. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare this is a mutation (readOnlyHint=false) that is idempotent and non-destructive, but the description adds real context beyond them: it unlocks a bundle, ties verification to a job's BIP-44 watch-only deposit_address, and discloses the response shape (JSON unlocked=True). It does not cover failure behavior — wrong amount, insufficient confirmations, already-used tx_hash, or what happens when verification fails — which is why it stops 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.

Conciseness5/5

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

Three tightly packed sentences: purpose and side effect first, sibling disambiguation second, required inputs and return value last, plus a compact example. No filler and no repetition of the title.

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?

With no output schema, the description usefully supplies the return contract (JSON unlocked=True), and it names the networks and token set an agent needs. For a payment-verification mutation it would be stronger if it stated confirmation/amount matching requirements and whether a failed verification is safe to retry, but nothing essential for a correct call 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 description coverage is 100% and includes enums, defaults, and examples for token, network, job_id, and tx_hash, so the baseline is 3. The description mainly restates the required pair and repeats one example; the only genuinely added meaning is the link between job_id and the BIP-44 deposit_address derivation.

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 specific verb (Verify) and resource (multi-chain ERC-20 USDT/USDC transfer) across named networks, and adds the consequential side effect (unlock the bundle). It explicitly contrasts with calligraphy_verify_crypto_payment, which handles x402 Base USDC treasury transfers, so an agent can discriminate without opening either schema.

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?

Gives both an inclusion rule ('Use for multi-chain or USDT payments') and an explicit alternative with the condition that selects it ('use calligraphy_verify_crypto_payment for x402 Base USDC treasury transfers'). It also states the two required inputs, leaving little to inference.

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.