Skip to main content
Glama
isina-nej
by isina-nej

Git stash

git_stash
Destructive

Manage git stashes by listing, pushing, and dropping entries. Note that pop and drop permanently remove stashes.

Instructions

Stash list/push/pop/drop. pop/drop are destructive.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYes
indexNo
actionNolist
messageNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.8.0

TDQS

B3.1/5.0
Behavior4/5

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

The description explicitly calls out that pop and drop are destructive, adding specificity beyond the generic destructiveHint annotation. It also implies list and push are non-destructive, which is useful behavioral context, though it does not describe other side effects like working-directory changes.

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?

The description is very short and front-loads the core operations, with the destructive warning placed second. It is concise with no filler, though the fragment 'Stash list/push/pop/drop' is slightly telegraphic.

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

Completeness2/5

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

With four parameters, no schema descriptions, and a destructive-capable tool, the description is too sparse to fully guide invocation. It omits how path/index/message are used, what each action does, and any prerequisites or side effects beyond the destructive warning.

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

Parameters2/5

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

Schema description coverage is 0%, so the description carries the burden of explaining parameters. It only surfaces the valid action values (list/push/pop/drop) but does not explain the meaning of path, index, or message, nor the relationships between action and these parameters.

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 names the Git stash resource and the four supported operations (list/push/pop/drop), which is clear enough for an agent to identify what the tool does. It does not explicitly differentiate this tool from sibling Git tools, but the action list makes the purpose reasonably unambiguous.

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?

There is no guidance about when to use this tool versus alternatives like git_show, git_checkout, or other git tools, nor any conditions for choosing list vs push vs pop/drop. The description implies stash management but does not state any usage context or exclusions.

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