Skip to main content
Glama

Beggar Bot

usdc_amount

USDC amount converter for x402 payments: dollars <-> atomic units (6 decimals) with precision guard, x402 amount strings, the native USDC contract address, EIP-55 checksum and EIP-712 domain per chain (Base, Base Sepolia, Ethereum, Arbitrum, Optimism, Polygon, Avalanche, Solana). Payment settles only after a successful (2xx) response; input errors are never charged. Paid: $0.02 USDC via x402.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "usdc_amount"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainNobase (default) ... or all
amountNodecimal, e.g. 0.02
atomicNointeger, e.g. 20000
addressNooptional 0x address to checksum

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/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 the $0.02 USDC x402 charge, that payment settles only on a 2xx response, and that input errors are never charged. It also mentions a precision guard, though it does not state that the tool is side-effect free or describe the x402 payment handshake mechanics.

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?

The purpose and chain/precision facts are front-loaded in the first sentence, with the pricing and settlement terms following. The first sentence is dense with comma-separated feature lists, which costs a little readability, but every clause carries information.

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 4-optional-parameter utility with no output schema, the description covers chains, precision, checksum and typed-data behavior plus the payment model. The notable gap is that the return shape is never described, so an agent cannot anticipate what the converter emits for each input combination.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3, and the description adds real value by enumerating the supported chains (Base, Base Sepolia, Ethereum, Arbitrum, Optimism, Polygon, Avalanche, Solana) beyond the schema's 'base (default) ... or all'. It still does not explain which parameters combine with which, e.g. whether amount, atomic and address can be supplied together.

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 names the specific resource and operations: dollars <-> atomic units at 6 decimals, x402 amount strings, native USDC contract address, EIP-55 checksum and EIP-712 domain per chain. It is clearly a conversion/derivation utility, distinguishable from siblings like usdc_auth_check or usdc_blacklist that also concern USDC.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Context is implied by 'for x402 payments' and the price line, which tells the agent when this tool is relevant. However, there is no explicit when-to-use vs when-not guidance and no named alternative for pure conversion needs, so an agent must infer the routing.

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.