Skip to main content
Glama

Base DeFi Intelligence (x402)

get_x402_payment_instructions

Get Base Mainnet USDC recipient wallet address and X-PAYMENT-TX header format.

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_instructions"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden. It does indicate the two pieces of information returned, but says nothing about whether authentication or payment is required to call it, whether results are static or per-request, or any rate/safety characteristics — significant gaps for a payments-related tool.

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?

One front-loaded sentence with no filler. It is slightly under-explanatory rather than verbose: 'X-PAYMENT-TX header format' is unexpanded jargon that an agent may not map to a concrete output field.

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?

With no parameters and no output schema, the description is the only source of return-value information and does name both outputs. However, for a payment-setup tool it omits the context an agent most needs — how the returned address and header are meant to be used together, and whether calling it has any cost or auth requirement.

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, so there is no parameter meaning for the description to add. Baseline 4 applies; the sentence correctly implies a parameterless, deterministic lookup.

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 ('Get') and two concrete resources: the USDC recipient wallet address on Base Mainnet and the X-PAYMENT-TX header format. An agent can tell this is a payment-configuration lookup, though it never names or contrasts with the siblings (get_base_pulse_free, discover_paid_endpoints), so differentiation is left to inference.

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

Usage Guidelines2/5

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

There is no explicit when-to-use guidance, no prerequisite statement, and no mention of alternatives. The purpose implies it is called before paying an x402 endpoint, but that workflow ordering is never stated, and nothing says whether this tool itself is free or paid.

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