Skip to main content
Glama
codedev-mcp

codedev-mcp

by Kranthithota

git_blame

Read-onlyIdempotent

Identify who last modified each line of a file and when by retrieving Git blame history for a specified file path, with optional start and end line limits.

Instructions

Show git blame for a file. See who last modified each line and when.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "file": "<file>"
    },
    "name": "git_blame"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileYesFile path to blame (required)
end_lineNoEnd line number
start_lineNoStart line number

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 openWorldHint=false, so the safety profile is covered. The description adds what the result represents (last modifier and timestamp per line) but says nothing about behavior for untracked files, binary files, rename detection, or how start_line/end_line narrow the output.

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, verb-first and front-loaded, with zero filler. Every clause adds information about the tool's output.

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 and parameters are fully described, so the description only needs to frame purpose and usage, which it does. The one gap is unmentioned semantics for the optional line-range parameters, which matters for a blame tool but is minor against otherwise rich structured data.

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 all three parameters are already documented, which sets the baseline at 3. The description adds no extra meaning about line ranges, inclusive/exclusive bounds, or default coverage when start_line and end_line are omitted.

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 ("Show git blame for a file") and clarifies the returned content as per-line authorship and timing. It is clearly distinct from history-oriented siblings like git_log or git_show, though it does not name them explicitly.

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?

The description implies usage (find who last touched each line) but never states when to prefer this over git_log, git_diff, or git_show, nor any preconditions such as needing a tracked file. Adequate but leaves routing to inference.

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