Skip to main content
Glama
abhinav054

git-remote-mcp

by abhinav054

git_clean

Remove untracked files from a Git working tree to clean your repository. Supports dry-run and directory removal.

Instructions

Remove untracked files from the working tree.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cwdNoOptional local working directory or repository path.
dryRunNoUse --dry-run. Set false to delete files.
directoriesNoRemove untracked directories too.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It conveys that only untracked files are affected (implying tracked files are safe), but omits that deletion is irreversible and cannot be recovered, which is the single most important behavioral fact for a destructive tool.

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

Conciseness4/5

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

A single front-loaded sentence with zero filler. It is efficient, though arguably undersized for an irreversible delete operation.

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?

For a parameterless-required destructive tool with no annotations and no output schema, the description is minimal but functional. It falls short of warning about irreversibility, which is essential context an agent needs before invoking it.

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 cwd, dryRun, and directories are already documented in the schema, including the safety-relevant dryRun default of true. The description adds nothing beyond the schema, so the baseline of 3 applies.

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?

States a specific verb ('Remove') and resource ('untracked files from the working tree'), which is enough to distinguish it from tracked-file operations like git_rm or git_restore. It does not name a sibling explicitly, so it stops short of a 5.

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?

No when-to-use guidance, no prerequisites, and no mention of alternatives or the fact that this permanently deletes data. The agent is left to infer all usage context.

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