Skip to main content
Glama

Check GitButler Availability

git_but_check
Read-onlyIdempotent

Detects whether the GitButler but CLI is available and advises when to prefer but mcp/but commands or run but teardown before using git-mcp on GitButler-managed repositories.

Instructions

Detects whether the GitButler but CLI is available and returns guidance on whether to prefer but mcp / but commands over git-mcp tools. When but is present, agents should prefer GitButler for version control and run but teardown before using git-mcp tools on a GitButler-managed repository.

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

Input Schema

NameRequiredDescriptionDefault
response_formatNoOutput format for the response.markdown

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.2

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds real behavioral context beyond that: the tool returns routing guidance, and it warns that `but teardown` is required before git-mcp tools touch a GitButler-managed repo. It does not describe the shape of the returned guidance, but no output schema exists to cover that either.

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

Conciseness5/5

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

Two sentences, front-loaded with the detection purpose, followed by the actionable consequence. No filler, no restatement of the title, and the teardown caveat is placed where an agent will read it before acting.

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

Completeness4/5

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

For a zero-required-parameter probe with no output schema, the description covers what the tool determines and what the agent should do with the answer. The only gap is that it does not sketch what the returned guidance looks like (e.g. a boolean plus a recommended next command), which would help an agent parse the markdown/json response.

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?

There is a single optional parameter with 100% schema description coverage and an enum, so the schema fully documents `response_format`. The description adds nothing about it, which is acceptable at full coverage but earns only the baseline.

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 a specific verb and resource: detecting whether the GitButler `but` CLI is available. It also states the tool's secondary output (guidance on preferring `but mcp` / `but` over git-mcp tools), which distinguishes it from generic git tools. It stops short of naming sibling probes like git_jj_check or git_entire_check as the parallel checks for other backends.

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

Usage Guidelines4/5

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

It gives concrete downstream guidance: when `but` is present, prefer GitButler for version control and run `but teardown` before using git-mcp tools on a GitButler-managed repository. That is clear conditional behavior, though it never explicitly says when to call this probe itself (e.g. at session start or before any git-mcp operation).

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