Skip to main content
Glama

show_history

Show recent commit history. Returns commits with SHA, author, date, and message.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoNumber of commits to return. Default 20.
branchNameNoBranch name. Default current branch.
workingDirectoryNoGit repo path. Default current directory..

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior2/5

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

Without annotations, the description carries full burden for behavioral disclosure. It does not explicitly state that the tool is read-only or non-destructive, nor does it mention any side effects, permissions, or rate limits. The implied read-only nature 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 a single sentence with no unnecessary words. It front-loads the core function and lists output fields efficiently. Every word contributes to understanding.

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 the three parameters and no output schema, the description adequately covers the tool's functionality. It explains the return fields and the basic purpose. However, it could mention pagination or ordering (e.g., most recent first) which would improve completeness.

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 baseline is 3. The description adds no additional meaning beyond what is already in the schema for limit, branchName, and workingDirectory. It merely restates defaults and purpose.

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 clearly states the tool shows recent commit history with specific fields (SHA, author, date, message). It uses a specific verb (show) and resource (commit history), and distinguishes from siblings like search_history which implies searching.

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?

No explicit guidance on when to use this tool versus alternatives. The description does not mention cases where another tool (e.g., search_history) might be more appropriate, nor does it specify limitations like performance.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources