list_commits
List the last 20 committed writes to identify a change and prepare a revert.
Instructions
List recently committed writes (last 20) — for revert_write.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
List the last 20 committed writes to identify a change and prepare a revert.
List recently committed writes (last 20) — for revert_write.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Changes observed during successful MCP inspections.
v0.1.0Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description bears the behavioral disclosure burden. It usefully discloses a bounded result ("last 20"), but does not explicitly state read-only behavior, side effects, permissions, or return shape.
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?
The description is a single front-loaded sentence with no waste. The result bound and intended use are stated immediately.
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 zero-parameter list tool with no output schema, the description gives enough to know the scope and intended use, but not enough to know what the returned items look like. Since no output schema exists, the omitted return-value detail is a meaningful gap.
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?
The tool has zero parameters, so there are no parameter semantics to explain. Per the baseline for zero-parameter tools, this is adequately covered by the schema and does not require additional description detail.
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 description states a specific verb and resource: list recently committed writes, capped at the last 20. It also ties the tool to revert_write, which helps distinguish it from commit/staged-write siblings, though it does not explicitly name list_staged as the alternative.
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?
The phrase "for revert_write" gives a clear intended use case, but there is no guidance on when not to use it or what sibling to use instead. The usage is implied rather than fully specified.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.