Skip to main content
Glama

x402 Router

Router and registry stats

get_router_stats
Read-onlyIdempotent

Live proof numbers: registry size and freshness, LIVE endpoints, reliability buckets, uptime, settled paid requests and trial usage (aggregates only). Free.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so the safety profile is covered. The description adds value beyond that: it flags the data as live/current ('Live proof numbers', 'freshness'), states results are aggregates only (a privacy/granularity caveat), and says 'Free' (no cost incurred) — none of which appear in the structured fields.

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 dense sentence with no filler; every clause enumerates something returned. It is slightly telegraphic and list-like rather than clearly structured, but nothing is wasted.

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?

With no parameters and no output schema, the description carries the burden of describing returns and does so by enumerating the stat families. It stops short of explaining shapes or units (e.g. what a reliability bucket or uptime figure looks like), but it is sufficient for an agent to decide to call it.

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?

There are zero parameters and no input surface to document, so the baseline is 4. The description correctly implies no filtering or scoping arguments are needed by describing a single aggregate snapshot.

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 resource (router/registry stats) and enumerates its contents: registry size and freshness, LIVE endpoints, reliability buckets, uptime, settled paid requests, trial usage. 'Aggregates only' distinguishes it from per-endpoint siblings like get_endpoint_reliability, though no sibling is named explicitly.

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 implied rather than stated — an agent can infer this is a top-level overview/monitoring call rather than a per-endpoint lookup, thanks to 'aggregates only'. There is no explicit when-to-use, when-not-to-use, or named alternative among the eight siblings.

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.