Skip to main content
Glama

Contributor summary

contributor_summary
Read-onlyIdempotent

Count commits per author over a chosen time window, ranked by activity, to identify who is contributing to a repository. Restrict results by repository or path.

Instructions

Count commits per author on HEAD in the last N days, most active first. Optionally restricted to a path.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
daysNoSize of the time window in days.
pathNoRestrict to this file or directory.
repoNoRepository name or absolute path from the allowlist. Defaults to the first configured repo.
limitNoMaximum number of results (1-100).
includeMergesNoCount merge commits too.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
repoYesName of the repository that was queried.
windowDaysYes
contributorsYes
totalCommitsYes
scanTruncatedYes
contributorCountYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, so safety is covered. The description adds genuinely useful behavior beyond that: the count is scoped to HEAD only and results are sorted most-active-first, though it says nothing about pagination or what happens when the window is empty.

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?

Two compact sentences with zero filler, and the HEAD scope plus ordering are front-loaded where an agent will see them first.

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?

An output schema exists, so return values needn't be explained, and annotations carry the safety profile. The description supplies the two behavioral facts an agent most needs (HEAD-only, sorted descending); only cross-tool routing guidance is absent.

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 description coverage is 100%, so every parameter is already documented in the schema; the baseline is 3. The description only restates days and path semantics (time window, path restriction) without adding format or edge-case detail.

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+resource (count commits per author) with clear scope (on HEAD, last N days) and ordering (most active first). It is distinguishable in kind from siblings like commit_search or file_history, though it does not explicitly name which sibling to prefer.

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

Usage Guidelines2/5

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

There is no when-to-use guidance and no mention of alternatives such as recent_activity or commit_search, which could overlap. The optional path restriction is noted but no condition selects this tool over its siblings.

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