Skip to main content
Glama

repo_history

Read-only

Returns the commit history of a ref, file or directory, like git log, paginated: message, author, dates, parents, task keys from the message (taskKeys) and linked tasks (tasks); hasMore marks a next page.

Input Schema

NameRequiredDescriptionDefault
refNoBranch, tag or sha; defaults to the default branch.
pageNoPage number, from 1.
pathNoFile or directory from the repository root; defaults to the whole ref.
perPageNoCommits per page; default 30.
repositoryIDYesRepository ID.

Schema Changelog

Changes observed during successful MCP inspections.

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

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds real value on top by disclosing the pagination mechanic ('hasMore marks a next page') and the shape of returned fields. It omits auth/rate-limit details, hence not a 5.

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 front-loaded sentence naming the core action first, then the returned fields and pagination flag. It is dense but waste-free; the field enumeration is slightly list-like but each item is informative.

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 return-shape burden and does so well, enumerating returned fields (message, author, dates, parents, taskKeys, tasks) plus the hasMore pagination signal. Missing only ordering guarantees and error behavior, so it is nearly complete for a read-only history tool.

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 ref, page, perPage, path and repositoryID. The description restates the target as 'ref, file or directory' but adds no syntax or semantics (e.g. ordering, sha format) beyond the schema, so the baseline 3 applies.

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 ('returns the commit history of a ref, file or directory') and grounds it with the 'like git log' analogy, which is immediately legible. It scopes the target (ref vs file vs directory) clearly, though it never names the closest siblings (repo_line_history, repo_blame) to disambiguate at the line level.

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 git log analogy implies when this is the right tool and the schema defaults (ref defaults to default branch, path defaults to whole ref) are surfaced, giving implicit usage context. However there is no explicit when-to-use/when-not guidance and no routing to alternatives like repo_line_history or repo_blame.

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