Skip to main content
Glama
codedev-mcp

codedev-mcp

by Kranthithota

git_contributors

Read-onlyIdempotent

List Git contributors ranked by commit count, with an optional file path filter to identify who changed a specific file.

Instructions

List contributors by commit count. Optionally filter by file.

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

Input Schema

NameRequiredDescriptionDefault
fileNoFile path to get contributors for

Output Schema

NameRequiredDescriptionDefault
dataNo
actionYes
entriesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.2.5

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and closed-world scope, so the safety profile is covered. The description adds that results are aggregated and ordered by commit count, which is genuinely useful behavioral context, but it says nothing about scope (working tree vs. history), limits on result size, or cost.

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 short sentences, zero filler, with the core behavior front-loaded and the optional parameter noted second. Nothing could be removed without losing information.

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 one-optional-parameter read-only tool with an output schema and full annotation coverage, the description supplies enough to invoke it correctly. The only missing piece is historical scope (does it consider full history or a range), which is a minor gap.

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% and the single optional parameter is documented as "File path to get contributors for". The description's "optionally filter by file" only confirms optionality, adding no new meaning such as whether paths are relative to repo root or how renames are handled.

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?

"List contributors by commit count" gives a specific verb (list) and resource (contributors) plus the aggregation dimension (commit count), which is more than a restatement of the name. It does not differentiate itself from nearby git_* tools such as git_log, so it falls short of a 5.

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?

"Optionally filter by file" implies the two modes of use (whole-repo vs. per-file contributor ranking), which is a reasonable usage hint. However, it never states when to prefer this over git_log or git_blame, nor any preconditions, so guidance is implied rather than explicit.

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