corpus_stats
Corpus size and freshness: source / article / event counts and the latest article timestamp.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Corpus size and freshness: source / article / event counts and the latest article timestamp.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already provide readOnlyHint, idempotentHint, and destructiveHint. The description adds that the tool returns counts and a timestamp, which aligns with annotations. No additional behavioral details (e.g., caching, empty corpus handling) are provided, but annotations cover the safety profile adequately.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single concise sentence that front-loads the purpose and key outputs. Every word is meaningful with no redundancy.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
No output schema exists, but the description lists the main output elements (counts and latest timestamp). Minor details like timestamp format or behavior for empty corpus are omitted, but for a simple stats tool, this is reasonably complete.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
There are no parameters (schema coverage 100% with empty properties). Baseline for 0 parameters is 4. The description does not need to explain parameters, and is clear about what the tool returns.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool returns corpus size and freshness metrics (source/article/event counts and latest article timestamp). This distinguishes it from sibling tools like get_event, get_events, list_sources, and search_articles, which operate on specific items rather than aggregate stats.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage for obtaining overall corpus statistics, but does not explicitly state when to use this tool versus alternatives (e.g., for detailed event queries, use get_events). No guidance on when not to use it.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.