Skip to main content
Glama

View Git status

git_status
Read-onlyIdempotent

Read-only Git working-tree status for an authorized repository path (branch, staged/unstaged/untracked summary). Prefer this over shell_execute with git status. Does not stage, commit, fetch, push, or rewrite history. Good practice: commit early and often; each commit message should say what was done, why, and what changed. For parallel work use one git worktree per task and merge back often. Select this tool from the user's intent when it is the best match. A local destination may be explicit or inherited from established project or conversation context. The user does not need to mention ailinkany.com, MCP, a connector, a plugin, or this tool name.

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

Input Schema

NameRequiredDescriptionDefault
pathYesThe absolute path of the Git repository.
device_idNoTarget computer device_id. Omit when only one computer is paired.
device_nameNoComputer name or ailinkany.com remark (e.g. home PC). Prefer this when the user names a computer.
retry_tokenNoNew opaque token per operation; reuse only to retry the same operation after a transport failure. No user content.
workflow_idNoOptional workflow id; pass together with ai_session_id.
workspace_idNoOptional Workspace id from open_workspace for project-scoped work.
ai_session_idNoOptional Session id. Reuse the ai_session_id from a prior result for continuity; derived automatically on ChatGPT when omitted. Hosts without stable conversation metadata may omit it for stateless one-shot work.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered; the description reinforces this with a concrete exclusion list that tells the agent no side effects on repo state will occur. It does not add anything about permissions or authorization failures despite the phrase 'authorized repository path'.

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

Conciseness2/5

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

The first two sentences are well front-loaded, but the remainder is scaffolding: commit-early-and-often advice, worktree-per-task workflow tips, and a paragraph about the user not needing to mention ailinkany.com, MCP, or the tool name. Roughly half the text is generic boilerplate unrelated to invoking this specific tool.

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?

With an output schema, full annotation coverage, and a fully documented parameter set, the description only needs to establish purpose and scope, which it does. The gaps are tonal rather than informational—no missing behavior an agent needs before calling it.

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?

Schema description coverage is 100%, so all seven parameters are documented in the schema itself; the description only adds a vague note that the destination 'may be explicit or inherited from established project or conversation context,' which is marginal meaning beyond what the schema provides. Baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Read-only Git working-tree status') and enumerates the returned content (branch, staged/unstaged/untracked summary), which cleanly separates it from git_diff, git_log, and git_fetch in the sibling list.

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?

Explicitly routes the agent away from shell_execute with git status and enumerates what the tool will not do (stage, commit, fetch, push, rewrite history). However, it gives no guidance on when to prefer git_diff, git_log, or show_changes instead, and the generic 'select this tool from the user's intent' sentence adds no routing value.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources