Skip to main content
Glama

FMF Tools Business Docs

crypto_pay_uri

Crypto payment request URI + QR (EIP-681, Solana Pay, BIP-21) ($0.001 per call, paid via MPP on Tempo). Build a wallet-scannable payment request: EIP-681 (ERC-20 transfer with exact base-unit amount, or native value) for Base/Ethereum/Arbitrum/Optimism/Polygon or any chain_id + token_address, Solana Pay (USDC SPL), or BIP-21 bitcoin:. Returns the URI, an SVG QR and the base-unit amount. HTTP POST https://mpp-biz.fmf-x402.workers.dev/crypto/pay-uri. This MCP wrapper does not settle payment by itself; call with an MPP Payment Authorization header, or use mppx against the HTTP route.

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": {
      "address": "<address>"
    },
    "name": "crypto_pay_uri"
  }
}

Input Schema

NameRequiredDescriptionDefault
tokenNoUSDC (default), USDT, ETH, BTC
amountNodecimal amount, e.g. "25.50"
addressYes
networkNobase (default), ethereum, arbitrum, optimism, polygon, solana, bitcoin
chain_idNo
decimalsNo
token_addressNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does well: it discloses cost ($0.001 per call, MPP on Tempo), the exact HTTP endpoint, the auth requirement, and that the wrapper does not settle payment by itself. It also states return contents (URI, SVG QR, base-unit amount). Gaps remain on error behavior, retry/idempotency, and whether a failed or repeated call is charged.

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?

Information is front-loaded: purpose, price, then the per-standard construction rules, then the endpoint and payment caveat. Sentences are dense but each carries distinct information. Minor redundancy between the EIP-681 mention at the top and the detailed restatement in the second sentence.

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 7-parameter, multi-standard tool with no annotations and no output schema, the description covers the important pieces: what is built per network, what is returned, what it costs, and how payment is authorized. It falls just short on the two undocumented parameters (address, decimals) and on failure modes, but an agent could call this correctly from the description alone.

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 coverage is 43%, below the threshold where the schema can stand alone, so the description needs to compensate. It does add value by naming valid token values, the default network, and the meaning of chain_id/token_address for arbitrary EVM chains. However the required 'address' parameter and the 'decimals' parameter receive no explanation in either the schema or the description, and the base-unit versus decimal amount distinction is only half-explained.

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 opens with a specific verb+artifact: builds a wallet-scannable crypto payment request URI plus QR, and names the three standards (EIP-681, Solana Pay, BIP-21). An agent knows exactly what is produced. It stops short of 5 because it never contrasts itself with the sibling tools (barcode_svg, invoice_pdf), leaving that routing to inference.

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 real routing guidance: EIP-681 for Base/Ethereum/Arbitrum/Optimism/Polygon or any chain_id + token_address, Solana Pay for solana USDC, BIP-21 for bitcoin. It also states a prerequisite for actually paying (MPP Payment Authorization header, or mppx against the HTTP route). What is missing is an explicit 'use this instead of X' statement or exclusion conditions.

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