Skip to main content
Glama
mcp-server-git

mcp-server-git

by Arnabdaz

git_log

Retrieves and displays commit history for a Git repository, letting you inspect recent changes by specifying repo path and optional max count.

Instructions

Shows the commit logs

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": {
      "repo_path": "<repo_path>"
    },
    "name": "git_log"
  }
}

Input Schema

NameRequiredDescriptionDefault
max_countNo
repo_pathYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.6.2

TDQS

C2.6/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. 'Shows the commit logs' implies a read-only operation, but it doesn't specify output format, pagination behavior, error conditions, or any constraints like authentication needs or rate limits. This leaves significant gaps in understanding how the tool behaves.

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 extremely concise with just three words, front-loading the core purpose without any wasted text. While this brevity may lead to underspecification, it's structurally efficient and earns its place by stating the essential action.

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?

Given the tool's moderate complexity (2 parameters, no output schema, no annotations), the description is incomplete. It lacks details on parameter usage, output format, behavioral traits, and differentiation from siblings, making it inadequate for an AI agent to reliably invoke the tool without additional context or assumptions.

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?

With 0% schema description coverage for the two parameters (repo_path and max_count), the description adds no meaning beyond what the schema provides. It doesn't explain what repo_path expects (e.g., local path, URL), what max_count defaults to or its range, or how they affect the output, failing to compensate for the schema's lack of descriptions.

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

Purpose3/5

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

The description 'Shows the commit logs' clearly states the verb ('shows') and resource ('commit logs'), making the basic purpose understandable. However, it doesn't differentiate from sibling tools like git_show or git_status, which might also display commit-related information, leaving some ambiguity about its specific scope.

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. With siblings like git_show (which might show specific commits) and git_status (which shows working tree status), there's no indication of when git_log is preferred, leaving usage context entirely implicit.

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