Skip to main content
Glama

Blame

git_blame
Read-onlyIdempotent

Identify who last changed each line of a file and inspect line-level commit history for a specified range, up to 200 lines per call.

Instructions

Who last changed each line of a file (max 200 lines per call).

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": {
      "path": "<path>"
    },
    "name": "git_blame"
  }
}

Input Schema

NameRequiredDescriptionDefault
revNo
pathYes
repoNoPath to the repository (or a folder inside it). Defaults to the first allowed root.
end_lineNo
start_lineNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/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, so safety is covered. The description adds one genuinely useful behavioral fact not present in structured fields — a 200-line-per-call cap — but does not say whether exceeding it truncates or errors, nor how to page through the rest of a file.

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?

A single tight sentence with the core semantics front-loaded and the limit in parentheses. It is a fragment rather than a complete sentence, but nothing is wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a five-parameter tool with 20% schema coverage and no output schema, a one-line description leaves too much unspecified: revision semantics, line-range behavior, path format, and what the result actually contains per line. The line cap is the only real detail added.

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

Parameters2/5

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

Schema description coverage is only 20%, so the description carries the burden for rev, path, start_line and end_line, and it explains none of them. 'Each line of a file' and the 200-line cap loosely hint at line-range parameters, but formats for path/rev and how start_line/end_line interact are left entirely undocumented.

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 concrete verb-and-resource: it reports who last changed each line of a file, which is distinguishable from git_diff/git_log/git_show at a glance. It does not name any sibling explicitly, so it stops short of full differentiation.

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?

No statement of when to use this versus the sibling history tools (git_log, git_show, git_diff) or of prerequisites such as needing a valid revision. The only usage-ish information is the 200-line cap, which is a limit rather than guidance.

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

Deploy Server

Other Tools