Skip to main content
Glama

Atomic Commit Splitter

plan_atomic_commits

Split staged and unstaged repository changes into logically ordered Conventional Commits while excluding blocked secrets and build artifacts.

Instructions

Group staged and unstaged repository changes into logically ordered Conventional Commits while automatically excluding blocked secrets and build artifacts.

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": "plan_atomic_commits"
  }
}

Input Schema

NameRequiredDescriptionDefault
filesNoOptional in-memory list of changed files to split.
repoPathNoGit repository path. Defaults to current working directory.
excludeRiskyNoAutomatically withhold blocked secret/artifact files (default: true).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full load. It does disclose two real behaviors — logical ordering into Conventional Commits and automatic exclusion of blocked secrets/artifacts — but it never says whether the tool only plans/returns a commit grouping or actually creates commits, nor what the response contains. The exclusion behavior is also largely re-stated by the excludeRisky parameter description.

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?

A single well-formed sentence that front-loads the action and scope with no filler. Every clause carries information.

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 no output schema and no annotations, the definition covers what the tool does and its key automatic behavior. The main residual gap is whether the result is a plan only versus performed commits, plus ordering rules and response shape, but the core contract is discernible from the name and description together.

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 all three parameters (files, repoPath, excludeRisky) are already documented at the schema level. The description adds no additional parameter meaning, which is acceptable at this coverage level but not value-adding.

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 pairs a specific verb ('Group') with a specific resource ('staged and unstaged repository changes') and names the output artifact ('logically ordered Conventional Commits'). It clearly is not a scan or diff tool like the siblings, though it never explicitly contrasts itself with them.

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 'staged and unstaged repository changes' and by the atomic-split framing, but there is no explicit when-to-use statement, no prerequisites (does it require an existing git repo with changes?), and no guidance on when a sibling such as scan_precommit_guard would be the better call.

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