Skip to main content
Glama
Ray0907

Git MCP Server

by Ray0907

list_commits

Retrieve commit history from Git repositories with filtering options for branch, author, date range, file path, and pagination controls.

Instructions

List commits in a repository. Filter by branch, path, date range, or author.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
repoYesRepository identifier (GitLab: "group/project" or ID, GitHub: "owner/repo")
refNoBranch name or commit SHA to list commits from
pathNoFile path to filter commits
sinceNoOnly commits after this date (ISO 8601 format)
untilNoOnly commits before this date (ISO 8601 format)
authorNoFilter by author email or name
with_statsNoInclude commit stats (additions, deletions)
pageNoPage number (default: 1)
per_pageNoItems per page (default: 20, max: 100)
Behavior2/5

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

With no annotations provided, the description carries full burden but offers minimal behavioral information. It mentions filtering capabilities but doesn't disclose pagination behavior (implied by parameters), rate limits, authentication requirements, whether it's read-only, or what the output format looks like. For a 9-parameter tool with no annotation coverage, this is insufficient.

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?

The description is perfectly concise - one sentence that states the core purpose and enumerates filtering options. Every word earns its place with zero redundancy or unnecessary elaboration.

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 9-parameter tool with no annotations and no output schema, the description is inadequate. It doesn't explain the return format, pagination behavior, authentication requirements, or error conditions. While the schema covers parameter documentation well, the overall context for proper tool invocation is incomplete.

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 parameters thoroughly. The description adds marginal value by listing the filterable dimensions (branch, path, date range, author) which maps to some parameters, but doesn't provide additional context beyond what's in the schema descriptions.

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?

The description clearly states the verb 'list' and resource 'commits in a repository', making the purpose immediately understandable. It distinguishes from siblings like list_branches or list_issues by specifying commits, but doesn't explicitly differentiate from other commit-related tools (none exist in the sibling list).

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?

The description provides no guidance on when to use this tool versus alternatives. It doesn't mention prerequisites, compare with search_code for commit searching, or indicate when filtering is appropriate versus using other list tools. Usage context is implied but not explicit.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Ray0907/git-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server