Skip to main content
Glama
codedev-mcp

codedev-mcp

by Kranthithota

git_log

Read-onlyIdempotent

View git commit history, filter by file, author, or date range, and inspect commit hashes, dates, authors, messages, and changed files.

Instructions

View git commit history. Filter by file, author, date range. Shows commit hash, date, author, and message.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "git_log"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileNoFile path to show history for
countNoNumber of commits (default: 15)
sinceNoShow commits since date, e.g. "2 weeks ago"
authorNoFilter by author name/email
with_filesNoInclude changed file names

Output Schema

NameRequiredDescriptionDefault
dataNo
actionYes
entriesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.2.5

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and openWorldHint=false, so the safety profile is covered. The description adds that results include commit hash, date, author, and message, but omits repo/working-directory scope, ordering, and whether results are capped — and the return fields are partly redundant with the existing output schema.

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?

Three short, front-loaded sentences with no filler; the purpose comes first and the filters and output fields follow. The output-field sentence is mildly redundant given the output schema but not wasteful.

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 an output schema, full parameter documentation, and annotations covering safety and world scope, the description is nearly sufficient for correct invocation. The remaining gap is contextual: it never states which repository or working directory the history is read from, which matters for a git 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 file, count, since, author, and with_files. The description echoes the file/author/date filters but adds no format or syntax detail beyond the schema, so the baseline of 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?

The description states a specific verb and resource ('View git commit history') and enumerates the filter dimensions and returned fields. It is clear on its own, but it never distinguishes itself from close siblings such as git_show, git_blame, or git_diff, so an agent must infer the boundary.

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?

Usage is implied by 'View git commit history' with file/author/date filtering, which tells an agent the general situation it applies to. There is no explicit when-to-use, when-not-to-use, or named alternative (e.g., versus git_blame or git_show), so routing between history tools is left to inference.

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