Skip to main content
Glama

github_mcp.get_git_status

Read-only

Inspect the isolated job workspace's short Git status and recorded job state before preview or recovery. Identifies outstanding changes without editing or publishing files.

Instructions

Inspect the isolated job workspace's short Git status and recorded job state. Use before preview or recovery to identify outstanding changes; does not edit or publish files.

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": {
      "job_id": "<job_id>"
    },
    "name": "github_mcp.get_git_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
job_idYesExisting job identifier returned by create_job.

Output Schema

NameRequiredDescriptionDefault
okYes
dataNo
messageNo
error_codeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.0.2
    • addedInput schema / properties / job_id / description
      Added value: +"Existing job identifier returned by create_job."
  2. First observedv1.0.1

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare read-only, non-destructive, and closed-world behavior. The description usefully adds scoping context (isolated job workspace, short Git status) and reinforces that it does not edit or publish files, but it does not discuss return shape or any operational constraints beyond that.

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?

Two compact sentences with the action and scope front-loaded, followed by the usage condition and a non-mutation clarification. There is no redundant or filler wording.

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 one-parameter read-only tool with a complete input schema, annotations, and an output schema, the description covers purpose, timing, and safety well. The only minor gap is that "recorded job state" could be mistaken for overlap with get_job_status, but the definition is otherwise sufficient.

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%, and the job_id parameter is already documented as an existing job identifier returned by create_job. The tool description adds no additional meaning about that parameter, so the baseline score is appropriate.

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?

Names a specific verb (Inspect) and resource (the isolated job workspace's short Git status and recorded job state), which is more precise than a tautology. The phrase "recorded job state" slightly overlaps with sibling get_job_status, but the focus on Git status keeps the purpose distinguishable.

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 says to use it before preview or recovery to identify outstanding changes, which gives clear situational guidance. It also clarifies that it does not edit or publish files, though it does not explicitly name alternative tools for comparison.

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