Skip to main content
Glama

Git status of a repo

git_status
Read-onlyIdempotent

Run git status on a specified repository to view its working tree state, including staged, unstaged, and untracked changes.

Instructions

Run git status on a named repo

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": {
      "repo_name": "<repo_name>"
    },
    "name": "git_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
repo_nameYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.0

TDQS

C2.7/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is fully covered by structured data. The description adds nothing beyond that — no mention of what git status reports (branch, staged/unstaged changes, untracked files) or whether the call is cheap or may touch the filesystem. With annotations doing the heavy lifting, this is a minimal-value description.

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

Conciseness3/5

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

It is a single short sentence with zero filler, which is good, but the brevity reflects under-specification rather than disciplined concision. There is room to add repo_name format and output expectations without becoming bloated.

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?

This is a simple one-parameter tool with rich annotations and no output schema, so the description needn't explain return values given that git status is a well-known command. However, the missing repo_name format convention is a real gap for correct invocation, so it falls short of complete.

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 0%, so the description carries the burden of explaining repo_name, and it only says "a named repo." It does not clarify whether the value is a filesystem path, a directory name, or an identifier returned by list_gitrepos — a meaningful ambiguity for a single required parameter.

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 states a specific verb and command ("run git status") against a specific resource ("a named repo"), so an agent knows exactly what operation is performed. It does not differentiate from the closest sibling, list_gitrepos, which could plausibly be confused with this repo-inspection tool.

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?

There is no guidance on when to use this versus alternatives such as list_gitrepos or system_status, and no stated prerequisites (e.g., that the repo must already exist locally or be registered). The only implied usage is "you have a repo and want its status," which the agent must infer entirely.

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