git.log
Recent commits on a branch.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| branch | No | Default main | |
| project | Yes | Project name |
Recent commits on a branch.
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| branch | No | Default main | |
| project | Yes | Project name |
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full behavioral burden, yet it only implies a read operation. It fails to state pagination/limit behavior, ordering guarantees, the default branch resolution, or whether a missing branch errors out.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
It is a single short fragment with zero waste, which is good, but it is under-specified rather than truly concise. The brevity comes at the cost of useful information an agent needs.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a tool with no annotations, no output schema, and a required 'project' parameter plus optional branch/limit, the description is far too thin. It should explain return shape (commit list fields), ordering, and default limits to be callable with confidence.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
With three parameters at 67% schema coverage, the schema already documents 'branch' (default main) and 'project'. The description restates branch scoping and implies recency for 'limit' but adds no default value, range, or format detail, so it contributes little beyond the schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The fragment 'Recent commits on a branch' does convey the resource (commits) and implies a listing action, so an agent can roughly infer a git log operation. However, it never uses a clear verb and offers no differentiation from siblings such as git.branches, git.revert, or code.read, leaving selection ambiguous.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
There is no guidance on when to use this tool versus alternatives like git.branches (to see branch names) or code.read (to inspect file contents). No mention of prerequisites, required project context, or when-not-to-use conditions.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.