Skip to main content
Glama

Beggar Bot

x402_requirements

Generate valid x402 PaymentRequirements + 402 response body for a USD price on Base USDC, with payTo checks (kind, blacklist, balance). 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": "x402_requirements"
  }
}

Input Schema

NameRequiredDescriptionDefault
pay_toNo0x...
networkNobase|base-sepolia
resourceNohttps://...
price_usdNo0.02

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description does carry some of the load: it discloses that payTo checks are performed (kind, blacklist, balance) and that the call itself costs $0.02 USDC via x402 — both non-obvious and valuable. However it says nothing about what happens when a check fails, whether errors are surfaced or the response is still generated, or any state/side effects, which matters for a tool that produces a payment challenge.

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 output artifact, followed by a compact qualifier on payTo validation and a separate one-line pricing note. Two short sentences with little waste; the pricing line is slightly oblique in placement but still earns its place.

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-parameter, zero-required generator with no output schema, the description adequately conveys what is produced (PaymentRequirements plus 402 body), the asset/network, and that payTo is validated. The remaining gap is failure/error behavior and whether defaults exist for the optional parameters, but nothing essential to invoking it correctly is missing.

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%, so the four parameters are already documented with example formats ("0x...", "base|base-sepolia", "https://...", "0.02"). The description reinforces the network/asset constraint (Base USDC) and the USD-price framing but adds no syntax or validation detail beyond the schema, so the baseline 3 applies.

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?

Uses a specific verb ("Generate") with a concrete artifact ("valid x402 PaymentRequirements + 402 response body") scoped to "a USD price on Base USDC". An agent can tell this builds a payment-requirements/402 payload rather than verifying one, but the description never names a sibling (e.g. x402_challenge_check or x402_auth_verify) to contrast against.

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?

Usage is only implied by the purpose: you call this when you need to emit a 402 challenge with PaymentRequirements. There is no explicit when-to-use/when-not guidance and no routing to alternatives among the many x402_* siblings. The "Paid: $0.02 USDC via x402" line is a cost disclosure rather than selection guidance.

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.