git_reset
Unstages all staged changes in a Git repository, reverting files to an unstaged state.
Instructions
Unstages all staged changes
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo_path | Yes | Path to Git repository |
Unstages all staged changes in a Git repository, reverting files to an unstaged state.
Unstages all staged changes
| Name | Required | Description | Default |
|---|---|---|---|
| repo_path | Yes | Path to Git repository |
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations provided, description carries full burden. Only states unstaging without mentioning that working directory remains unchanged, or any side effects. Does not disclose that it is a safe operation or reversible.
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?
Single sentence, no filler, immediately communicates the action. Efficient and front-loaded.
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 Git reset operation, description is too brief. Does not clarify the mode (soft/mixed/hard) or that it only affects staging. Lacks completeness for the tool's behavior.
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?
Schema coverage is 100% for the single parameter repo_path. Description adds no extra meaning beyond schema; baseline score of 3 is appropriate.
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?
Description clearly states the action 'Unstages all staged changes' using specific verb and resource. It distinguishes from siblings like git_add and git_commit. However, it lacks nuance about what kind of reset (e.g., soft vs mixed) but for unstaging it is effective.
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?
No guidance on when to use this tool versus alternatives like git_checkout or git_reset with --hard. Lacks context for when it is appropriate and when not.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/kwanLeeFrmVi/mcp-git'
If you have feedback or need assistance with the MCP directory API, please join our Discord server