Skip to main content
Glama
Project Scope MCP Server

Project Scope MCP Server

git_branch_status

Displays all Git branches with tracking status and current HEAD so you can inspect repository state before commits or merges.

Instructions

Display all Git branches with their tracking status and current HEAD. Useful for understanding repository state before making commits or merges.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "path": "<path>"
    },
    "name": "git_branch_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesRoot path of the git repository

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full disclosure burden. 'Display' establishes a read-only, non-mutating operation, which is the most important behavioral fact here. It says nothing about whether remote branches are included, what happens if the path is not a git repository, or how results are ordered or formatted.

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?

Two sentences, front-loaded with the action and scope before the usage note, with no padding or redundancy. The usage sentence earns its place, though it is generic enough that it could have carried more specificity.

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

Completeness3/5

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

For a simple single-parameter read tool, the key facts are present. But with no output schema, the description would ideally clarify what the returned branch/status/HEAD information looks like and whether remote tracking branches appear, so an agent can interpret results without guessing.

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 parameter and schema coverage is 100%, so the schema already documents 'path' as the repository root fully. The description adds no constraints such as whether relative paths or subdirectory paths are accepted. Baseline 3 is appropriate when the schema does the work.

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?

States a specific verb and resource: 'Display all Git branches with their tracking status and current HEAD.' This is meaningfully more specific than the name alone and separates it from git_status or git_compare_branches by emphasizing the full branch listing plus tracking and HEAD information. It doesn't explicitly name a sibling it is not, so it stops short of a 5.

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

Usage Guidelines3/5

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

'Useful for understanding repository state before making commits or merges' gives a concrete usage occasion, which is genuine guidance. However, it offers no exclusions or alternatives, and sibling tools like git_status plausibly cover overlapping 'repository state' needs without the description distinguishing between them.

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