Skip to main content
Glama

x402 v2 Router

x402_v2_router
Read-onlyIdempotent

Select an exactly compatible x402 v2 payment requirement without receiving private keys.; 0.003 USDC. Deterministic, evidence-bounded and signed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "client_capabilities": {
      +      "assets": [
      +        "usdc"
      +      ],
      +      "networks": [
      +        "eip155:8453"
      +      ],
      +      "schemes": [
      +        "exact"
      +      ]
      +    },
      +    "payment_requirements": {
      +      "accepts": [
      +        {
      +          "asset": "usdc",
      +          "network": "eip155:8453",
      +          "scheme": "exact"
      +        }
      +      ],
      +      "x402Version": 2
      +    }
      +  }
      +]
  2. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds two useful behavioral notes beyond that: no private keys are received, and output is 'deterministic, evidence-bounded and signed' plus a 0.003 USDC cost. That extra context is real, but 'evidence-bounded and signed' is vague enough that it does not fully cash out as concrete behavior.

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

Conciseness3/5

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

The purpose is front-loaded and the text is short, but the structure is sloppy: a semicolon splice followed by two dangling fragments ('0.003 USDC.' and 'Deterministic, evidence-bounded and signed.'). The cost note earns its place; the marketing fragment is close to filler.

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?

An output schema exists, so return values need no explanation, and the tool takes no named params. What is missing is context for a payment-routing decision: when this router applies versus its siblings, and what 'exactly compatible' means for the accepts array in practice. Adequate but with clear gaps.

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?

Parameter count is 0 and schema description coverage is 100%, so the schema carries the full contract (client_capabilities, payment_requirements). Per the rubric, zero params sets the baseline at 4; the description adds nothing here but is not required to.

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 names a specific verb and resource: 'Select an exactly compatible x402 v2 payment requirement.' An agent can tell this is a routing/selection tool for payment requirements. However, it never differentiates itself from close siblings such as payment_route_selector or x402_quote_comparator, and 'exactly compatible' plus the trailing 'evidence-bounded and signed' phrase leave the scope slightly fuzzy.

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 when-to-use guidance, no prerequisites, and no exclusions. With ~29 sibling tools, several of which (payment_route_selector, x402_quote_comparator, payment_preflight) plausibly overlap, the description provides nothing to help the agent choose this tool over them.

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