Skip to main content
Glama
Knuckles-Team

Repository Manager

Pre Commit

rm_git_pre_commit

Run pre-commit Git checks and typed bulk operations securely, blocking arbitrary host commands.

Instructions

Pre commit (rm_git). Typed bulk Git operations; arbitrary host commands are prohibited.

Input Schema

NameRequiredDescriptionDefault
pathNoPath to execute in.
phaseNoStarting phase number for 'phased_push'. Default 1.
job_idNoBackground rm_git job id; required for action='status' or 'cancel'.
commandNoThe Git command to execute for 'raw' action (e.g., 'git status')
messageNoCommit message for 'commit' / 'commit_code' actions.
summaryNoFor action='status': return compact progress by default; false includes full detail.
threadsNoParallel workers for bulk operations.
projectsNoOptional comma-separated list of repository URLs to clone or directory names/paths to pull/push/add/commit.
auto_startNoFor 'phased_push': begin at the lowest phase with unpushed work instead of always 'phase', skipping the inter-phase waits of unchanged upstream phases. Default True; set False to start at 'phase'. Ignored when 'target_project' is set.
run_precommitNoFor 'commit_code': run pre-commit hooks before committing. Default True.
target_projectNoOptional specific project to push for 'phased_push'.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.5.1

TDQS

C2.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, idempotentHint=false, and openWorldHint=false. The description adds a useful constraint not covered by annotations: it only supports typed Git operations and prohibits arbitrary host commands. However, it still omits mutation effects, permissions, and reversibility details for an 11-parameter tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is short and front-loaded, but the first fragment merely repeats the title/name and the middle sentence is overly generic. The final constraint is the only sentence that clearly earns its place, leaving the overall structure underpowered for the tool's complexity.

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

Completeness1/5

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

For an 11-parameter tool with many Git-related siblings and actions referenced in the parameter schema, the description is drastically incomplete. It does not explain the action model, primary use cases, or how this tool relates to alternatives, even though an output schema exists and annotations cover safety hints.

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 parameter-level descriptions already carry the syntax and default details. The tool description adds no additional parameter meaning, but the baseline is 3 when the schema documents all parameters thoroughly.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description largely restates the tool name/title ('Pre commit (rm_git)') and then gives only a vague category ('Typed bulk Git operations'). It does not state what the pre-commit operation actually does or distinguish it from siblings such as rm_git_commit, rm_git_commit_code, or repository_manager_pre_commit.

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?

It provides no when-to-use guidance, no alternatives, and no preconditions for calling the tool. The prohibition on arbitrary host commands is a boundary, but it does not tell an agent when this tool should be selected over other Git-related siblings.

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

Deploy Server

Other Tools