Skip to main content
Glama

repo_line_history

Read-only

Shows who changed lines startLine-endLine of a file and in which task, from commits synced to Kosmodrom across all branches, newest first (linkType: message - task key in the message, branch - commit on the task branch; match=path - no line ranges for that commit). Lines shift with later edits, so results are candidates; only task-linked commits are included, up to 100 (truncated beyond).

Input Schema

NameRequiredDescriptionDefault
pathYesFile path from the repository root in the current version.
limitNoCommits in the response; default 30.
endLineNoLast line of the range, inclusive.
startLineNoFirst line of the range (1-based); without a range, all changes to the file.
repositoryIDYesRepository ID.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. Added
  4. Removed
  5. Added
  6. Removed
  7. Changed3 schema fields changed
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • removedInput schema / properties / endLine / maximum
      Removed value: -9007199254740991
    • removedInput schema / properties / startLine / maximum
      Removed value: -9007199254740991
  8. Added
  9. Removed
  10. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint=true, destructiveHint=false, openWorldHint=false), so the description adds value by disclosing linkType semantics (message vs branch), the match=path case with no line ranges, the caveat that lines shift so results are candidates, and the 100-commit truncation. It stops short of explaining the return structure or pagination beyond truncation.

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?

The action is front-loaded and every clause carries information (scope, ordering, linkType, caveat, cap). It is a single dense sentence with stacked parentheticals, which slightly hurts parseability, but there is little waste.

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?

With no output schema, the description carries the burden and does so well: it describes what is returned (who, task, commits), ordering (newest first), filtering (task-linked only), and truncation behavior. The main gap is the absence of explicit tiering against sibling tools, but for a leaf-level query tool it is close to complete.

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 the schema already documents all five parameters including startLine/endLine, limit, path, and repositoryID. The description references startLine-endLine but adds no syntax or default detail beyond what the schema provides, so the baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Shows who changed lines startLine-endLine of a file and in which task') with scope qualifiers (across all branches, task-linked commits only). This is clearly distinguished from siblings like repo_blame (line attribution) and repo_history (commit log) by the explicit line-range + task-attribution framing. An agent can select it without opening the schema.

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?

It implies when the tool applies (querying task-attributed changes on a specific line range) and states real limits ('only task-linked commits are included, up to 100'). However, it never names an alternative such as repo_blame or repo_history, nor states when-not to use it, so routing guidance is only implied.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources