Skip to main content
Glama

git_github_status

Check Git and GitHub CLI availability, versions, and authentication state to verify credentials before running GitHub operations or relying on the dashboard.

Instructions

System status: git and gh CLI availability, versions, and GitHub login state.

Use this to confirm GitHub CLI authentication before relying on github_ops or the web dashboard. Checks gh --version and gh auth status (same credentials as your interactive terminal if the MCP server runs as your user).

Returns: result.git / result.gh (version, available). When gh is installed, result.gh.auth is either 'ok' or 'not logged in'. If auth is missing, the response is still success=True with a clear message and recovery steps (install is different from not-logged-in — see error vs message).

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

Input Schema

NameRequiredDescriptionDefault
levelNobasic

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.6.5

TDQS

A4/5.0
Behavior4/5

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

With no annotations supplied, the description carries the behavioral burden and does meaningful work: it names the exact commands run (`gh --version`, `gh auth status`), discloses that credentials match the interactive terminal when the MCP server runs as the user, and warns that missing auth still yields success=True with a message rather than an error. The distinction between install-missing and not-logged-in is flagged. It stops short of saying whether the check is cached or how long it takes, which keeps it below a 5.

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

Conciseness4/5

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

Front-loaded with the purpose and the primary use case, then a clearly labeled Returns block. The Returns section partly restates what the output schema already declares, which is the main redundancy, but each sentence about the auth edge case earns its place.

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 zero-required-parameter diagnostic with an output schema, the definition is nearly sufficient: it covers what is checked, the auth outcome states, and the non-fatal failure mode. The remaining hole is the undocumented `level` parameter, which an agent cannot reason about from either source.

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% and the single parameter `level` (default 'basic') is never mentioned in the description, so its meaning and the effect of changing it are documented nowhere. The description adds no parameter-level insight to compensate for the coverage gap.

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?

The description states a specific verb-and-resource pair ('System status: git and gh CLI availability, versions, and GitHub login state') and enumerates exactly what is inspected. It also names `github_ops` and the web dashboard as the things this status gates, so an agent can place it against siblings without opening another schema.

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?

There is an explicit when-to-use rule: confirm GitHub CLI authentication before relying on `github_ops` or the web dashboard. That gives a clear trigger condition, but there is no when-not guidance (e.g. that it is a diagnostic only and performs no fixes) and no guidance for the `level` parameter's effect.

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