Skip to main content
Glama

x402 catalog statistics

catalog_stats
Read-onlyIdempotent

Get an overview of the whole monitored x402 catalog: how many endpoints are monitored, how many fall into each verdict (proceed, caution, avoid, free, insufficient_data), and when scores were last computed. Use it for context or reporting, for example to tell a user how much of the x402 ecosystem passes checks. Endpoints from a seller listing thousands of near-identical endpoints are counted once as bulk_listing until each has its own grade, and endpoints of a seller whose whole site has been down for over a day count as seller_offline. It says nothing about any single endpoint: use check_endpoint for one endpoint, top_endpoints for a ranked list, or check_payment before paying. Read-only, free, no parameters.

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": "catalog_stats"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
forTeamsNoShort note about team plans (per-agent keys, spend limits, audit trail)
scoredAtYesWhen scores were last computed
byVerdictYesEndpoint count per verdict
endpointsYesEndpoints monitored

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / $schema
      Added value: +"http://json-schema.org/draft-07/schema#"
  2. First observed

TDQS

A4.6/5.0
Behavior4/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 goes beyond them with genuine aggregation semantics that an agent could not infer elsewhere: bulk_listing collapsing of near-identical seller listings and seller_offline handling for sellers down over a day. It does not discuss freshness/staleness beyond 'when scores were last computed' or any rate limits, which keeps it from a 5.

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?

The payload is front-loaded — purpose first, then counting caveats, then routing to alternatives — and every sentence carries information. The trailing 'Read-only, free, no parameters' partially duplicates the annotations and empty schema, which is the only real waste in an otherwise tight definition.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With an output schema present, the description need not enumerate return fields, and it still explains what the counts mean and how edge cases are aggregated. For a zero-parameter, read-only, idempotent statistics tool, everything an agent needs to call it correctly and interpret the result is present.

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 the baseline of 4 applies; the closing 'no parameters' restates the empty schema rather than adding meaning. Nothing in the schema is left ambiguous, so there is no gap for the description to compensate for.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/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 ('Get an overview of the whole monitored x402 catalog') and enumerates exactly what is reported: endpoint count, verdict breakdown (proceed, caution, avoid, free, insufficient_data), and last-scored timing. It explicitly separates itself from single-endpoint tools, so an agent can distinguish it from check_endpoint or top_endpoints without inspecting either schema.

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

Usage Guidelines5/5

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

It states the use case ('context or reporting, for example to tell a user how much of the x402 ecosystem passes checks') and then explicitly excludes the wrong use ('It says nothing about any single endpoint'), routing to check_endpoint for one endpoint, top_endpoints for a ranked list, and check_payment before paying. When-to-use, when-not-to-use, and alternatives are all present.

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.