Skip to main content
Glama

Autonomous 0-DRC PCB Routing Foundry & Hardware MCP Server

Get Agentic Base USDC Payment Intent (HTTP 402 / x402)

calligraphy_get_crypto_payment_intent
Read-onlyIdempotent

Retrieve the machine-readable HTTP 402 / x402 Base Mainnet (Chain ID 8453) USDC payment intent for an unpaid job_id so an autonomous wallet (AgentKit, OpenClaw, EVM signer) can settle on-chain without a browser. Call after calligraphy_compile_board for Base USDC treasury settlement. Requires job_id; returns JSON recipient_wallet and erc681_uri. 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"
    },
    "name": "calligraphy_get_crypto_payment_intent"
  }
}

Input Schema

NameRequiredDescriptionDefault
job_idYesTarget compilation job identifier requiring Base USDC x402 settlement.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / job_id / description
      Previous value: -"Target compilation job identifier (returned by calligraphy_compile_board) requiring HTTP 402 / x402 Base USDC settlement. Example: 'job_01'."New value: +"Target compilation job identifier requiring Base USDC x402 settlement."
    • changedInput schema / properties / job_id / examples
      Previous value: -[
      -  "job_01",
      -  "job_a1b2c3d4"
      -]New value: +[
      +  "job_01"
      +]
  2. Changed1 schema field changed
    • addedInput schema / properties / job_id / examples
      Added value: +[
      +  "job_01",
      +  "job_a1b2c3d4"
      +]
  3. Changed2 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 (returned by calligraphy_compile_board) requiring HTTP 402 / x402 Base USDC settlement. Example: 'job_01'."
  4. Changed2 schema fields changed
    • changedInput schema / examples
      Previous value: -[
      -  {
      -    "job_id": "job_a1b2c3d4e5f6"
      -  }
      -]New value: +[
      +  {
      +    "job_id": "job_01"
      +  }
      +]
    • removedInput schema / properties / job_id / examples
      Removed value: -[
      -  "job_a1b2c3d4e5f6"
      -]
  5. Added

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered. The description adds useful domain behavior the annotations cannot convey: it is an x402 machine-readable intent consumable by an autonomous wallet without a browser, and it applies only to unpaid jobs. With annotations carrying the read-only/idempotency load mount, a 3 is apt.

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 protocol/chain/token scope, then prerequisite, then return shape and example — every sentence carries information. The trailing example duplicates the schema's own 'examples' entry, which is minor redundancy, and the acronym density (x402, AgentKit, OpenClaw, erc681) is heavy but purposeful.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, and the description compensates by naming the returned fields (recipient_wallet, erc681_uri) as JSON. Combined with the single required parameter, the chain/token context, and the prerequisite step, an agent has everything needed to call it correctly.

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 the single job_id parameter is documented in the schema as the compilation job identifier. The description only restates 'Requires job_id' without adding format, lookup, or failure semantics beyond the schema, which is the expected baseline for full coverage.

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 gives a precise verb ('Retrieve') and resource ('HTTP 402 / x402 Base Mainnet USDC payment intent'), plus the chain ID and token, which separates it from generic payment siblings such as calligraphy_verify_crypto_payment or calligraphy_create_coinbase_checkout. It stops short of naming an alternative explicitly, so an agent must infer the boundary from protocol/chain wording rather than a direct contrast.

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?

States a clear prerequisite and sequencing: 'Call after calligraphy_compile_board for Base USDC treasury settlement', and scopes it to 'an unpaid job_id'. It does not say what to do when the intent is already paid or when to prefer the verify tool instead, so exclusions are implied rather than spelled out.

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.