Skip to main content
Glama

x402 payment guide

get_x402_payment_guide
Read-onlyIdempotent

Explains how an agent pays the exact USDC amount on Base for a paid Lumi route, including payTo, USDC contract, PayAI facilitator, and 402 retry headers; it does not sign or send payments.

Instructions

Explain how an agent pays the exact USDC amount on Base (eip155:8453) for a paid Lumi route, including payTo, USDC contract, PayAI facilitator, and 402 retry headers. This tool never signs or sends a payment.

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": "get_x402_payment_guide"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly, non-destructive, idempotent, and closed-world, so the safety bar is lower; the description still adds real value by explicitly stating it never signs or sends a payment, which directly answers an agent's concern about spending funds. It also discloses the substance of the guide's content. It stops short of saying whether the guide is static documentation or reflects live facilitator/settlement state.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, zero filler. The resource and chain come first, the covered topics second, and the no-signing disclaimer last as the most important boundary. Nothing redundant.

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 parameterless, read-only informational tool with no output schema and full annotation coverage, the description is essentially sufficient — it says what the guide explains and that no transaction occurs. The one gap is not indicating the return form (static reference text vs. dynamically generated instructions), which without an output schema would help the agent know what to expect.

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?

The tool takes zero parameters and the description correctly makes no attempt to describe inputs, so there is nothing to mis-specify. Baseline 4 applies for a parameterless tool.

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 uses a specific verb ('Explain') plus a precise resource: the x402 payment flow on Base (eip155:8453), and enumerates the topics covered (payTo, USDC contract, PayAI facilitator, 402 retry headers). It does not name a sibling to differentiate against — e.g. list_x402_apis — but the informational 'guide' framing is clearly distinct from listing or health-checking tools.

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: an agent infers it should read this before attempting a paid Lumi route, but the description never says 'call this before paying' or points to a sibling for route discovery. The line 'never signs or sends a payment' functions as a soft exclusion, clarifying that this tool is not the payment action itself, but no explicit alternative is offered.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.