Skip to main content
Glama

Calligraphy EDA MCP Server

Verify Agentic Base USDC On-Chain Payment & Unlock Bundle

calligraphy_verify_crypto_payment
Idempotent

Verify an autonomous x402 Base Mainnet (Chain ID 8453) USDC ERC-20 transfer tx_hash to the Calligraphy Treasury Wallet with strict anti-replay protection and immediately unlock bundle downloads. Use after calligraphy_get_crypto_payment_intent (use calligraphy_verify_stablecoin_payment for multi-chain or USDT). Requires job_id and tx_hash; returns JSON unlocked=True. Example: job_id='job_01'.

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": {
      "job_id": "job_01",
      "tx_hash": "0x2222222222222222222222222222222222222222222222222222222222222222"
    },
    "name": "calligraphy_verify_crypto_payment"
  }
}

Input Schema

NameRequiredDescriptionDefault
job_idYesCompilation job identifier being unlocked by Base USDC transfer.
tx_hashYes0x-prefixed 66-character Base Mainnet (8453) USDC ERC-20 transfer tx_hash.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / job_id / description
      Previous value: -"Compilation job identifier being unlocked by the Base Mainnet USDC transfer. Example: 'job_01'."New value: +"Compilation job identifier being unlocked by Base USDC transfer."
    • changedInput schema / properties / job_id / examples
      Previous value: -[
      -  "job_01",
      -  "job_a1b2c3d4"
      -]New value: +[
      +  "job_01"
      +]
    • changedInput schema / properties / tx_hash / description
      Previous value: -"0x-prefixed 66-character hexadecimal transaction hash on Base Mainnet (Chain ID 8453) transferring exact_amount_usdc of USDC (0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913) to 0x0119f2F064669593d95bfA7C340d05E2386f8b03."New value: +"0x-prefixed 66-character Base Mainnet (8453) USDC ERC-20 transfer tx_hash."
  2. Changed2 schema fields changed
    • addedInput schema / properties / job_id / examples
      Added value: +[
      +  "job_01",
      +  "job_a1b2c3d4"
      +]
    • addedInput schema / properties / tx_hash / examples
      Added value: +[
      +  "0x1111111111111111111111111111111111111111111111111111111111111111"
      +]
  3. Changed3 schema fields changed
    • addedInput schema / additionalProperties
      Added value: +false
    • changedInput schema / properties / job_id / description
      Previous value: -"Job ID."New value: +"Compilation job identifier being unlocked by the Base Mainnet USDC transfer. Example: 'job_01'."
    • changedInput schema / properties / tx_hash / description
      Previous value: -"0x-prefixed EVM tx hash."New value: +"0x-prefixed 66-character hexadecimal transaction hash on Base Mainnet (Chain ID 8453) transferring exact_amount_usdc of USDC (0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913) to 0x0119f2F064669593d95bfA7C340d05E2386f8b03."
  4. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, openWorldHint=true, idempotentHint=true, and destructiveHint=false, so the bar is lower; the description still adds real context: strict anti-replay protection, the required destination (Treasury Wallet) and chain (8453), and that a successful call unlocks downloads and returns JSON unlocked=True. It stops short of describing failure modes such as wrong amount, wrong recipient, or already-consumed tx_hash.

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?

Front-loaded with the action and chain, then prerequisites and the alternative in parentheses, with a short example at the end. It is dense and largely earns its space, though the parenthetical alternative and trailing example make it slightly packed for a two-parameter tool.

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?

There is no output schema, but the description discloses the return signal (JSON unlocked=True) and covers chain, destination wallet, prerequisite tool, and the multi-chain alternative. What remains unstated are error or rejection conditions an agent would want when verification fails.

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 both job_id and tx_hash are already documented in the schema with examples. The description only restates that both are required and gives a job_id example, adding no new meaning such as format expectations or validation rules beyond what the schema supplies. Baseline 3 applies.

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 and resource: verify an x402 Base Mainnet (Chain ID 8453) USDC ERC-20 transfer tx_hash to the Calligraphy Treasury Wallet, then unlock bundle downloads. It names the sibling it is not (calligraphy_verify_stablecoin_payment for multi-chain/USDT), so an agent can distinguish the two 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?

Explicitly states the prerequisite ordering ('Use after calligraphy_get_crypto_payment_intent') and names the alternative plus the condition that selects it ('use calligraphy_verify_stablecoin_payment for multi-chain or USDT'). Both when-to-use and when-to-use-something-else are covered.

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