Get statistics
get_statsSeverity, the most common weaknesses, vendors and CNAs of the CVEs published in a recent window.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| range | No | The window, ending now. | 30d |
get_statsSeverity, the most common weaknesses, vendors and CNAs of the CVEs published in a recent window.
| Name | Required | Description | Default |
|---|---|---|---|
| range | No | The window, ending now. | 30d |
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare read-only, idempotent, non-destructive, closed-world behavior, so the description does not need to restate safety. It adds that the aggregate is over a recent window of published CVEs, but it does not disclose top-N limits, aggregation method, or output shape.
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?
One compact sentence fragment lists the returned dimensions without filler and is front-loaded with the core content. The fragmentary form is acceptable for a simple stats tool but leaves no verb framing.
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?
For a one-parameter aggregate tool with no output schema, naming the dimensions is useful, but the definition does not explain result structure, how many vendors or weaknesses are returned, or how it differs from close siblings. That leaves material ambiguity for invocation and result interpretation.
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?
The single range parameter has full schema coverage including enum values and its own description, so the schema carries most parameter meaning. The description's 'recent window' only loosely echoes the range parameter and adds no enum or format detail beyond the schema.
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?
Names the resource (CVEs published in a recent window) and enumerates four aggregate dimensions, so an agent knows it returns aggregate statistics rather than individual CVEs. It does not distinguish itself from close siblings such as get_summary or get_weekly_digest, so it misses the top score.
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?
There is no explicit when-to-use or when-not-to-use guidance, and no named alternative despite get_summary and get_weekly_digest covering adjacent aggregate or reporting use cases. The publication-window phrase implies a reporting use case but does not help an agent choose among siblings.
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.