Skip to main content
Glama

get_git_status

Read-onlyIdempotent

Retrieve structured Git status for a project, including branch, ahead/behind counts, staged, unstaged, and untracked files.

Instructions

Structured git status: branch, ahead/behind, staged, unstaged, untracked.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
projectNoProject name/path (default: active).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv4.0.0
  2. Removedv1.0.5
  3. Addedv1.0.4
  4. Removedv1.0.2
  5. Addedv1.0.1

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so the safety profile is fully covered. The description's value-add is the field enumeration, which substitutes for the absent output schema but is not deep behavioral context (e.g., no mention of scope or working-directory assumptions).

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 front-loaded sentence with zero filler; the return fields are listed compactly and every word carries information.

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 simple read-only tool with full annotation coverage and a one-param schema, this is nearly complete; enumerating the returned fields compensates for the missing output schema. Only minor gaps (usage context) remain.

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?

Only one parameter and schema coverage is 100% – the schema already documents 'project' including its default. The description adds nothing beyond that, so the baseline 3 applies.

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+resource ('git status') and enumerates the returned fields (branch, ahead/behind, staged, unstaged, untracked), so an agent knows exactly what it produces. It doesn't differentiate from any sibling, but no sibling in the list overlaps with git status.

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, when-not-to-use, or alternative is given. The description only says what the tool returns, not when an agent should reach for it versus related tools like build_commit_summary or get_changed_symbols.

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