Skip to main content
Glama

Git Bisect

git_bisect
Destructive

Start, mark, and reset a Git bisect to locate the commit that introduced a bug, testing revisions as good, bad, or skipped and optionally running a command.

Instructions

Bisect: start, good, bad, skip, run, or reset.

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_bisect"
  }
}

Input Schema

NameRequiredDescriptionDefault
refNo
actionNostart
bad_refNo
commandNo
good_refNo
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.
command_argsNo
response_formatNoOutput format for the response.markdown

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.2

TDQS

D1.7/5.0
Behavior2/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false, and idempotentHint=false, so the safety profile is covered structurally. The description adds nothing beyond that: it does not mention that bisect changes HEAD/detached state, that an unfinished bisect must be reset, or that 'run' executes arbitrary commands on the repo.

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

Conciseness2/5

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

It is short, but short here means under-specified rather than efficient: a single fragment that spends its only words repeating structured data while omitting everything an agent needs. There is no front-loaded statement of purpose or sequencing.

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 8-parameter, stateful, destructive tool with no output schema and no required parameters, the description is essentially empty. An agent cannot determine correct invocation order, parameter meaning, or side effects from this definition alone.

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 only 25% across 8 parameters; only repo_path and response_format are documented in the schema. The description's enumeration of action values duplicates the enum rather than explaining it, and it says nothing about ref, good_ref, bad_ref, command, or command_args — the parameters that actually determine behavior.

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?

"Bisect: start, good, bad, skip, run, or reset." restates the tool name and then repeats the enum values already present in the schema. It conveys that this is a git bisect operation but never states what bisect does or what any individual action accomplishes, so an agent must already know git bisect semantics to use it.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines1/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No when-to-use, when-not-to-use, or prerequisite guidance at all. It does not say that 'start' must precede 'good'/'bad'/'skip', that 'run' executes a command, or that 'reset' ends the session and cleans up state.

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