Skip to main content
Glama

x402_get_config

Retrieve the current x402 payment configuration, including payment address, network, and facilitator URL, to verify or troubleshoot endpoint payment settings.

Instructions

Get the current x402 configuration including payment address, network, and facilitator URL

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does disclose the content of the returned config (payment address, network, facilitator URL), which signals a read-only global settings fetch, but says nothing about permissions needed, whether the values are cached or live, or whether any fields may be absent/unset.

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?

A single front-loaded sentence naming the action first and the returned fields second. Nothing is redundant and nothing needs trimming.

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 zero-argument configuration getter with no output schema, the description should sketch the return payload, and it does list three concrete fields. It falls slightly short of complete since the enumeration may not be exhaustive and no context is given about when config values might change.

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, which is the baseline 4 case. The description's field list describes the return payload rather than inputs, so there is no parameter ambiguity to compensate for.

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 ('Get the current x402 configuration') and enumerates what the configuration contains: payment address, network, facilitator URL. This clearly separates it from siblings like x402_list_networks or x402_update_endpoint_price, though it doesn't explicitly name an alternative.

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 verb 'Get' – an agent can infer this is a read of global configuration rather than per-endpoint state. There is no statement of when to prefer it over siblings or of any prerequisites such as authentication.

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