Skip to main content
Glama
AleBrito124356

mcp-git-historian

Search commit messages

search_commits
Read-onlyIdempotent

Search commit messages case-insensitively, optionally filtered by author and date, returning matches newest first with hash, date, author, and subject.

Instructions

Search commit messages case-insensitively, optionally filtered by author and date. Returns matches newest first (hash, date, author, subject).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum number of commits to return.
queryYesText to find in commit messages (subject or body). Literal by default: brackets, dots and stars need no escaping.
regexNoTreat query as a POSIX extended regular expression instead of literal text.
sinceNoOptional date filter, e.g. '2 weeks ago', '2025-06-01'.
authorNoOptional case-insensitive substring of the author's name or e-mail, e.g. 'alice'.
repo_pathYesAbsolute path to a local git repository, or to any folder inside one (a sub-folder scopes the analysis to it).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive/closed-world, so the safety burden is offloaded. The description usefully adds behavior the annotations cannot convey: case-insensitive matching and newest-first result ordering. Return-field enumeration is partly redundant given the output schema, but the ordering default is real added context.

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 sentences, front-loaded with the action and scope, no filler. Every clause (case-insensitivity, filters, ordering, return shape) carries 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?

With full schema coverage, rich annotations, and an output schema, the description is sufficient for correct invocation. The only shortfall is the unstated relationship to sibling query tools, which would help an agent choose between them.

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 six parameters in detail. The description's mention of author and date filtering adds no syntax or format detail beyond the schema. Baseline 3 applies when the schema does the heavy lifting.

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+resource ('Search commit messages') and adds scope detail: case-insensitive matching, optional author/date filters, newest-first ordering. It is distinct from commit_details by implication, but never names a sibling to differentiate explicitly, keeping it just below 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?

The description implies usage through the filters it mentions, but gives no explicit when-to-use or when-not-to-use guidance, and does not route the agent away from similar siblings such as commit_details or find_change. Usage is inferable, not stated.

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