Skip to main content
Glama

402 Dispatcher

Call x402 API

call_x402_api

PAID inbound $0.01 USDC, then pay for and call a discovered Bazaar HTTP resource through the x402dispatcher treasury. Pass tool_name from list_discovered_apis / search_bazaar, or a full resource URL.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bodyNoOptional JSON body
queryNoOptional query parameters
tool_name_or_urlYesRegistered tool_name or full upstream resource URL

TDQS

A3.8/5.0
Behavior3/5

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

Annotations are absent, so the description carries the full burden. It does disclose important behavioral facts: an inbound payment of $0.01 USDC is required and the call is paid through the x402 dispatcher treasury. However, it does not mention response format, failure behavior, refunds, or whether the operation is reversible, which leaves meaningful gaps for a paid remote call.

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 carry the payment requirement, the action, the treasury routing, and the accepted input forms. There is no filler or repetition; the most decision-relevant information is front-loaded.

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?

There is no output schema, yet the description does not state what the tool returns, such as the upstream response body, status code, or error behavior. It adequately covers the required parameter and accepted input sources, and the schema supplies body/query details, but for a paid, potentially mutating dispatcher call the absence of return-value and failure guidance keeps it from being fully complete.

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%, so the baseline is 3. The description adds value by explaining the accepted values for tool_name_or_url: a registered tool_name from list_discovered_apis / search_bazaar, or a full resource URL. It does not comment on body or query parameters, but the schema already documents those as optional with their own descriptions.

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 states a specific action: pay for and call a discovered Bazaar HTTP resource. It also names the input source (tool_name from list_discovered_apis / search_bazaar, or a full URL), which sets it apart from discovery-only sibling tools. It could more explicitly distinguish itself from route_and_call and quote_route, but the core purpose is clear.

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?

The description gives clear context: use this after discovering a resource via list_discovered_apis or search_bazaar, and pass either the tool_name or URL. It does not explicitly say when not to use it or name alternatives like route_and_call, but the flow from discovery to paid invocation is implied strongly enough for an agent to select it.

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.

TDQS

C2.6/5.0
Disambiguation1/5

The core dispatcher tools are distinct, but the 84 auto-discovered wrappers contain dozens of near-identical news, weather, and translation endpoints. An agent cannot reliably tell many of these apart without reading provider-specific details, and misselection is likely.

Naming Consistency2/5

Core tools use a readable verb_noun pattern, but most tools are machine-generated `x402_<domain>_<path>_<number>` names with opaque numeric suffixes. The two naming schemes are mixed, and the generated names are not intuitive.

Tool Count1/5

95 tools is an extreme mismatch for a coherent MCP surface. The bulk are auto-registered third-party proxies that duplicate the same few categories, creating massive prompt bloat and selection overhead.

Completeness4/5

For an x402 dispatcher, the core lifecycle is well covered: discovery, search, quote, route-and-call, stats, paywall status, and cashflow/P&L. Minor gaps such as no deregistration or detailed per-transaction drill-down exist, but main workflows do not dead-end.

Resources