Skip to main content
Glama

get_changelog_stats_tool

Retrieves statistics from a project's CHANGELOG.md, including entry and version counts, to help validate changelog activity and support reporting.

Instructions

Get statistics about the current CHANGELOG.md.

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

Input Schema

NameRequiredDescriptionDefault
project_rootNoProject root path (auto-detected if empty)

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden, and 'get' only weakly signals a read-only operation. It does not disclose behavior when no CHANGELOG.md exists at the resolved path, nor whether stats are computed live or from a cache; the presence of an output schema offsets the need to describe return fields.

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?

A single front-loaded sentence with no filler, hedging, or restatement of the tool name. Nothing can be trimmed without losing the resource being targeted.

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?

For a simple one-parameter read tool with full schema coverage and an output schema, the definition is nearly sufficient. The remaining gap is the failure mode when the changelog is absent and any signal separating it from the docs-stats sibling.

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?

There is one optional parameter with 100% schema description coverage, so the schema already explains project_root and its auto-detection default. The description adds no meaning beyond that, such as whether project_root is needed when the session is already scoped to a project, which is the baseline case for high-coverage schemas.

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 a specific verb and resource: get statistics about CHANGELOG.md, with the scope word 'current' clarifying which file. It does not distinguish this from the sibling get_docs_stats_tool, which is a near-identical stats operation on a different artifact, so an agent must infer the difference from names alone.

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 only implied: an agent can reasonably guess this is for inspecting changelog state rather than validating or generating it. There is no explicit 'use this when' clause, no mention of when to prefer validate_changelog_tool or get_docs_stats_tool, and no stated precondition such as requiring an existing changelog.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.