Skip to main content
Glama
Agent Tools (x402 + MCP + A2A directory)

Agent Tools (x402 + MCP + A2A directory)

Official

Ecosystem statistics and reports

directory_stats
Read-onlyIdempotent

Retrieve daily ecosystem statistics and reports—counts, findings, probe outcomes, and top searches—filtered by MCP, x402, A2A view, topic, or month.

Instructions

Daily ecosystem statistics and reports from our probes (not live directory counts).

The published daily snapshot: counts (indexed, reachable, protocol-verified, ready), findings, probe outcomes, top searches by distinct searchers; or one topic page; or one monthly report. For a quick live count of listings use stats. With an account key the topic and search lists are complete; without one they are shortened. Read-only.

Args: view: "all", "mcp", "x402" or "a2a". topic: Optional topic word (e.g. "payment", "weather") for that topic instead. month: Optional "YYYY-MM" for that monthly report instead. api_key: Optional; defaults to AGENT_TOOLS_API_KEY.

Returns: The summary, topic or monthly report as JSON (CC BY 4.0), with its snapshot date; on an HTTP error {"error": "http_error", ...}.

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

Input Schema

NameRequiredDescriptionDefault
viewNoall
monthNo
topicNo
api_keyNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.2

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, openWorldHint and destructiveHint=false, so the safety profile is covered. The description still adds real behavioral context the annotations lack: the data is a daily snapshot rather than live, auth alters completeness of lists, and HTTP failures surface as {"error": "http_error", ...}. It does not mention pagination or freshness lag beyond 'daily'.

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?

Front-loads the key distinction (snapshot vs live) in the first sentence and uses Args/Returns blocks for scannability. Slightly verbose in the enumeration of counts, but every line carries information.

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?

Covers purpose, alternative tool, auth effects, all four parameters, and error behavior; an output schema exists so the brief Returns note is sufficient. An agent has everything needed to invoke it correctly on the first attempt.

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 0%, so the description must carry the burden and largely does: it gives the enum-like view values ("all", "mcp", "x402", "a2a"), example topic words, the "YYYY-MM" format for month, and the env-var default for api_key. The gap is precedence — it never says whether topic or month overrides view when several are supplied.

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?

States exactly what it returns: daily ecosystem statistics and reports from probes, explicitly 'not live directory counts', and enumerates the three content shapes (summary, topic page, monthly report). This distinguishes it cleanly from the `stats` sibling that provides live counts.

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?

Gives an explicit routing rule: for a quick live count of listings use `stats`, otherwise use this for the published daily snapshot. It also states the condition that changes results — with an account key topic/search lists are complete, without one they are shortened.

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