get_language_stats
Retrieve language usage statistics to analyze codebase composition and guide AI-driven development decisions.
Instructions
Get language usage stats
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No |
Retrieve language usage statistics to analyze codebase composition and guide AI-driven development decisions.
Get language usage stats
| Name | Required | Description | Default |
|---|---|---|---|
| body | No |
Changes observed during successful MCP inspections.
v0.1.1Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full behavioral burden. It doesn't disclose whether this is a read-only aggregate, whether it requires auth, what time window it covers, or how expensive the call is. For a stats-query tool with zero annotation coverage, this is a notable gap.
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?
It's a single short sentence with no wasted clauses, so it's concise. But brevity here reflects under-specification rather than disciplined front-loading of meaningful detail.
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 tool with an undocumented nested body parameter, no annotations, and no output schema, the description should explain the input shape, the metric scope, and the return concept. None of that is present, so an agent lacks the information needed to call it correctly.
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?
Schema coverage is 0% and the single 'body' parameter is a free-form object with additionalProperties: true and no documented fields. The description says nothing about what to pass in that body, leaving the parameter entirely opaque.
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 'Get language usage stats' restates the tool name (get_language_stats) almost verbatim, making it a near-tautology. It doesn't specify what 'language' means here (programming language? natural language?), what 'stats' includes, or how it differs from nearby siblings like get_usage_stats or get_agent_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?
No guidance on when to use this tool versus the many sibling stat/history tools. Without any context or exclusions, an agent can't route reliably between get_language_stats, get_usage_stats, and get_agent_stats.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.