Skip to main content
Glama

git_log

Retrieve recent Git commit history, including hash, author, date, and message, for a specified repository. Ideal for investigating changes and identifying authors.

Instructions

Returns the most recent Git log entries: commit hash, author, date, and
message. Limited to max_entries (max 100). The repo path must be within
allowed roots.

Use this when investigating recent commits, looking for when a change was
made, or identifying who made modifications. Does not modify system state.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
repoYes
max_entriesNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Annotations are absent, so the description carries the full burden. It clearly discloses read-only behavior ('Does not modify system state') and constraints (max entries limit, allowed roots). This adds important context beyond the schema and compensates for the lack of annotations.

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 description is concise, with the core purpose and constraints in the first paragraph and usage guidance in the second. It is appropriately front-loaded and contains no unnecessary fluff.

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?

Given an output schema exists, the description covers essential aspects: purpose, constraints, and when to use. It does not mention errors or edge cases, but for a simple read-only log tool this is sufficient.

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 0%, so the description must compensate. It explains the max_entries limit (max 100) and the repo path constraint (must be within allowed roots), but does not fully elaborate on the repo parameter's expected format or purpose. It adds some value but leaves gaps.

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?

The description states a specific verb and resource ('Returns the most recent Git log entries'), details the content (commit hash, author, date, message), and distinguishes it from sibling git tools by focusing on history investigation. It is clear and unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explicitly states when to use the tool ('investigating recent commits, looking for when a change was made, or identifying who made modifications'). It does not explicitly name alternatives or when not to use it, but the guidance is sufficient for an agent to select it correctly.

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/Ronit-k/MCPilot'

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