Skip to main content
Glama

prepare_x402_donation

Read-onlyIdempotent

Prepare an optional Base USDC x402 donation directly to Wallet EB. No transfer occurs here. Your x402 wallet signs and sends the HTTP payment within your operator-authorized budget. All services remain free.

Input Schema

NameRequiredDescriptionDefault
amount_usdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.4/5.0
Behavior4/5

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

Goes well beyond the annotations by clarifying that 'No transfer occurs here', that the x402 wallet performs signing/sending in a separate step, that spending is bounded by an operator-authorized budget, and that services stay free. This resolves the apparent tension between a 'donation' and readOnlyHint=true. It still doesn't say what the preparation step produces or guarantees.

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?

Four short, front-loaded sentences with the scope and the no-transfer clarification stated first. Efficient, though the closing 'All services remain free' is partly reinforcement rather than new information.

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

Completeness3/5

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

For a single-param, read-only preparation tool the description covers the intent and the no-write guarantee, and no output schema exists to require return-value detail. It still omits the amount format and what the caller should do with the preparation result, leaving a couple of real gaps.

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

Parameters2/5

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

One parameter (amount_usd) with 0% schema description coverage, so the description carries the burden. It implies USDC on Base, but gives no format, decimals, units, or minimum/maximum for the amount string. The lone sentence 'Base USDC' adds marginal meaning over the schema.

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?

States a specific verb and resource: 'Prepare an optional Base USDC x402 donation directly to Wallet EB', naming the chain, asset, protocol and recipient. It does not explicitly distinguish itself from sibling prepare_donation or prepare_payment, so it falls short of a 5.

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?

'optional' and 'All services remain free' imply this is a non-mandatory step, giving the agent loose context for when to invoke it. However, there is no explicit when-to-use or when-not guidance relative to the many sibling prepare_* tools.

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