Skip to main content
Glama

Directory and crawler status

directory_stats
Read-only

How big the directory is, what it is made of, and whether the crawler is keeping up. stale is active feeds not read successfully in a day; due is a backlog that should drain within a tick or two. Answer this before concluding a feed is missing — it may simply not have been crawled yet.

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

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, so safety/auth burden is low, yet the description still adds real semantic content by defining the 'stale' and 'due' fields and their time windows (a day, 'a tick or two'). It does not describe freshness of the numbers themselves or how often they refresh, which is minor given the read-only, open-world annotation.

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?

Three short sentences: contents first, field definitions second, usage rule last. No filler and no repetition of the title or annotations; every sentence carries information the agent would otherwise lack.

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 output schema, the description carries the burden of explaining returns, and it names the key signals (size, composition, stale, due) with definitions. It omits the actual response shape and any other fields the payload may contain, so an agent is not fully prepared for the return value, but the essential interpretation cues are 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 no parameters, which is the baseline-4 case; there is nothing the description could add about inputs. Nothing in the text contradicts the empty schema.

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 concretely what the tool reports: directory size ('how big'), composition ('what it is made of'), and crawler progress ('whether the crawler is keeping up'). That is far more specific than the title alone and clearly distinct from every sibling (none of which report directory/crawler state), though it never gives an explicit verb like 'returns' or 'reports'.

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?

It gives an explicit trigger and ordering rule: 'Answer this before concluding a feed is missing — it may simply not have been crawled yet.' That tells the agent when to call it relative to concluding a feed is absent. It does not name which sibling to consult afterwards (e.g. get_feed or search), so the guidance stops short of full routing.

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