Skip to main content
Glama

Buy what your agent needs ($0.02)

x402_buy

Paid ($0.02 via x402 in USDC on Base, Solana, Algorand or Stellar, or RLUSD on the XRP Ledger, inside the call): say what your agent needs ("weather forecast for Amsterdam tomorrow", "BTC price", "EUR to USD rate") and Fizzl buys the right paid x402 API, the one x402 Doctor has seen paying out day after day at a fair price (up to $0.01), fills in its input, pays it from its own wallet and returns the answer, checked by TypeSafe Jev, with which service it came from and a signed receipt. Nothing is charged when no seller delivers. To see first what it would buy, call x402_pick (free).

Input Schema

NameRequiredDescriptionDefault
needYesWhat your agent needs, in a sentence, with the details (place, symbol, query)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Goes far beyond the annotations: discloses the price ($0.02), currency and chains (USDC on Base/Solana/Algorand/Stellar, RLUSD on XRP Ledger), the seller-price cap (up to $0.01), that payment comes from its own wallet inside the call, the no-delivery no-charge guarantee, and the signed receipt. This is exactly the payment/permission context an agent needs before invoking a spend.

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 content is dense but earns its place; every clause adds a behavioral fact (price, chains, cap, refund policy, receipt). It is one long sentence, so it is heavier to parse than ideal, and the purpose verb arrives after the payment preamble.

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?

With no output schema, the description still specifies what comes back: the answer, the service it came from, and a signed receipt. Combined with the refund policy and sibling routing, 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.

Parameters4/5

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

Schema coverage is 100% and documents the single `need` parameter, so the baseline is high. The description adds value with concrete examples ("weather forecast for Amsterdam tomorrow", "BTC price", "EUR to USD rate") that show the expected granularity and detail level.

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: it buys the right paid x402 API on the agent's behalf, fills in its input, pays, and returns the answer. This is clearly distinguishable from the sibling x402_pick, which is described as the free preview of the same decision.

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?

Explicitly routes the agent to x402_pick ("To see first what it would buy, call x402_pick (free)"), giving a clear condition for choosing the alternative. It lacks an explicit when-not-to-use statement, but the sibling routing is unambiguous.

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.