Skip to main content
Glama

devtune_get_citation_stats

Read-onlyIdempotent

Get aggregate citation statistics for a project, including total citations, unique pages, unique domains, average position (null when no citation has a position), top-three count, and citation class totals. Returns a coverage state: an unavailable window has not been rolled up yet and carries no stats, which is not the same as a measured zero.

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

Input Schema

NameRequiredDescriptionDefault
windowDaysNoRolling window in days: 30 or 90. Defaults to 30.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the description correctly spends its budget elsewhere: it discloses that average position is null when no citation has a position and that an unavailable window returns a coverage state distinct from a measured zero. Those are genuinely non-obvious semantics an agent could otherwise misread as missing data or as a real zero; only auth/project-scoping behavior is left unstated.

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?

Two sentences, front-loaded with purpose and metrics, then the caveat about unavailable windows. The metric enumeration is long but each item maps to a returned value, so little is wasted; the phrasing of the second sentence is slightly convoluted but still compact.

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?

There is no output schema, and the description compensates by listing the returned fields and explaining the null-position and unavailable-window states. For a read-only, single-optional-parameter rollup tool, an agent has everything needed to call it and interpret the response.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and windowDays is fully documented in the schema with its enum and 30-day default, so the schema does the heavy lifting. The description adds nothing about the window parameter (not even that results are scoped by it), leaving this at the baseline for a one-parameter tool.

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?

States a specific verb and resource ('Get aggregate citation statistics for a project') and enumerates the exact metrics returned, so the agent knows this is a rollup tool rather than a per-page or per-domain listing. It never names the closely related siblings (devtune_get_citation_analysis, devtune_get_top_citation_pages/domains), so differentiation still requires inference from the name.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied by 'aggregate... for a project' plus the rolling-window framing, but there is no explicit statement of when to prefer this over devtune_get_citation_analysis or the top-citation tools, and no prerequisites are given. The one clear conditional is the coverage-state note, which is behavioral rather than a selection rule.

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