Skip to main content
Glama

github_mcp.get_remote_status

Read-only

Compare a job's target branch against its recorded current SHA and fetch GitHub CI/check-run information to check whether remote status matches before publishing.

Instructions

Compare a job's target branch with its recorded current SHA and retrieve available GitHub CI/check-run information. Returns remote_sha, matches, ci and PR URL; network access and credentials may be needed. Does not push or retry publication.

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_remote_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

A3.7/5.0
Behavior4/5

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

Beyond the readOnly/openWorld annotations, the description adds real operational context: network access and credentials may be required, and it clarifies that publication is never retried or pushed. This is meaningful disclosure an agent needs before calling an open-world read.

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?

Two front-loaded sentences that carry purpose, return fields, credential caveat, and scope exclusion with no filler. The middle clause listing return keys is slightly dense but still compact and well ordered.

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?

An output schema exists, so return-value explanation is optional, yet the description still names the key fields. Combined with the credential/network warning and the no-push exclusion, an agent has enough to call it correctly; only the relationship to sibling status tools is unstated.

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?

There is a single required parameter with 100% schema description coverage, so the baseline is 3. The description implies the argument is a previously created job ('a job's target branch') but adds no format, lookup, or failure semantics beyond the schema's reference to create_job.

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 names a specific compound operation: comparing a job's target branch against its recorded current SHA and fetching CI/check-run data. It states the outputs (remote_sha, matches, ci, PR URL) and explicitly delimits scope with 'Does not push or retry publication.' It does not name a sibling it replaces (e.g., get_git_status or get_job_status), so the agent must infer differentiation from behavior alone.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied by the 'compare SHA' framing and the exclusion of push/retry, which tells the agent this is a diagnostic read rather than a mutation. There is no explicit 'use this when you need X instead of Y' statement and no reference to the closely related get_job_status or get_git_status siblings, leaving alternative selection to inference.

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