Skip to main content
Glama

Git Status

git_status

Reads a selected worktree's repository status without staging or committing changes, enabling inspection of local modifications before the next Git action.

Instructions

Read the selected worktree status without staging or committing changes.

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

Input Schema

NameRequiredDescriptionDefault
projectNo

Output Schema

NameRequiredDescriptionDefault
totalNo
branchNo
detailNo
changesNo
availableNo
project_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden; it does disclose that no staging or committing occurs, which is the key safety-relevant behavior. It says nothing about behavior in non-git directories, untracked-file reporting, or how 'the selected worktree' is resolved, leaving meaningful behavioral gaps for an unannotated tool.

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?

A single tight sentence with zero filler, and the operation plus its read-only constraint are both front-loaded.

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?

The tool is simple, one optional parameter, and an output schema exists so return values need not be described. However, for an unannotated tool the description should still cover the null-project default and non-repository edge cases, which it omits.

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?

The single 'project' parameter has 0% schema description coverage, so the description must compensate. 'The selected worktree' hints that the parameter selects the target, but it never names the parameter or explains what the null default resolves to, leaving the agent to guess.

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 ('Read') and resource ('worktree status') and adds a scope qualifier ('without staging or committing changes') that tells the agent this is a passive inspection tool. It is clearly distinct from the project/workspace-management siblings, though it never names one explicitly.

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?

The 'without staging or committing' clause implies the tool is for read-only status inspection, which is implicit when-to-use guidance. There is no explicit statement of when to prefer this over other inspection siblings (e.g. project_structure, context_summary) or any prerequisite such as the directory being a git repository.

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