Skip to main content
Glama

Git Cherry-Pick

git_cherry_pick
Destructive

Apply selected Git commits onto the current branch, then continue or abort the operation to resolve conflicts and complete the transfer.

Instructions

Cherry-pick: start, continue, or abort.

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

Input Schema

NameRequiredDescriptionDefault
refsNo
actionNostart
mainlineNo
strategyNo
no_commitNo
repo_pathNoAbsolute path to the local Git repository. If omitted, falls back to the server default set via the GIT_REPO_PATH environment variable or --repo-path CLI argument.
record_originNo
response_formatNoOutput format for the response.markdown
strategy_optionsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.2

TDQS

D1.9/5.0
Behavior2/5

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

Annotations already declare destructiveHint=true, idempotentHint=false, and readOnlyHint=false, so the safety profile is covered. The description adds nothing on top of that: it does not say that abort discards in-progress state, that start can halt on conflicts requiring continue, or how the operation behaves on failure.

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?

It is a single short sentence with no padding, so nothing is wasted. However, the terseness comes at the cost of substance; this is under-specification rather than disciplined brevity, and there is no front-loaded explanation of what the operation does.

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?

A destructive, multi-phase Git operation with 9 parameters, low schema coverage, and no output schema demands far more than one fragment. Nothing about conflict recovery, required permissions, ref formats, or expected results is provided, so the definition is not sufficient to invoke the tool reliably.

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

Parameters1/5

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

With 9 parameters and only 22% schema description coverage, the description must compensate, and it does not. Key parameters like refs, mainline (required for merge commits), strategy, strategy_options, and no_commit are entirely unexplained, leaving the agent to guess their meaning and formats.

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?

"Cherry-pick: start, continue, or abort" essentially restates the tool name and the action enum already present in the schema. It never says what a cherry-pick does here (applying commits from other refs onto the current branch) or what the refs parameter means, so an agent learns nothing beyond the title.

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 (clean working tree, conflict handling), and no routing against plausible siblings such as git_merge, git_rebase, or git_rewrite. The start/continue/abort trio faintly implies a multi-step workflow but never explains which state applies when.

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