Skip to main content
Glama

git_twiddle_commits

Generate improved commit messages for a specified range of commits, automatically applying them or previewing as YAML when dry_run is enabled.

Instructions

Generate improved commit messages for a range and (by default) apply them. Mirrors omni-dev git commit message twiddle --auto-apply. Set dry_run = true to return the proposed amendments as YAML without applying them. The editor is never started from this tool.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dry_runNoWhen true, proposed amendments are returned without being applied. When false (or omitted), amendments are applied automatically — the MCP boundary is non-interactive and therefore forces `--auto-apply` semantics; no editor is started.
modelNoClaude model override.
rangeNoCommit range to twiddle. Defaults to `HEAD~5..HEAD` when omitted.
repo_pathNoPath to the git repository. Defaults to the current working directory.
Behavior4/5

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

With no annotations, the description discloses key behaviors: amendments are applied by default, dry_run returns YAML, and no editor is launched. This sufficiently informs the agent about the tool's operation and side effects.

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 three sentences with no redundancy. The main purpose is front-loaded, and supplementary information (dry_run, editor behavior) follows logically.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description lacks explicit mention of return values when not in dry_run mode (e.g., success message or void). Given the absence of an output schema and the tool's complexity (4 optional params), this omission reduces completeness.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3. The description adds value by contextualizing the dry_run parameter's effect and the overall workflow, though it doesn't elaborate on other parameters beyond what the schema provides.

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 generates improved commit messages for a commit range and applies them by default. The verb 'generate' and resource 'commit messages' are specific. It distinguishes from sibling git tools like git_view_commits by its unique function.

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 explains when to use dry_run vs default application and notes that the editor is never started. While it doesn't explicitly compare to sibling tools, the context is clear enough for an agent to decide when to invoke this tool.

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/rust-works/omni-dev'

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