Skip to main content
Glama

github_mcp.resume_job

Destructive

Recover an interrupted GitHub job by inspecting recorded state, local commits, and remote branches, then resume authorized commits or reconcile publication while rejecting divergent remotes.

Instructions

Recover an interrupted job by inspecting recorded state, local commits and remote branch where applicable. May resume authorized local commits, verify checks or reconcile publication; refuses divergent remotes. Returns current job report. Does not grant approval or blindly retry pushes.

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.resume_job"
  }
}

Input Schema

NameRequiredDescriptionDefault
job_idYesExisting interrupted job identifier.

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 interrupted job identifier."
  2. First observedv1.0.1

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already flag readOnlyHint=false, destructiveHint=true and openWorldHint=true, so the description's job is to explain the destructive surface — which it does: it may resume authorized local commits, verify checks, or reconcile publication, and it refuses divergent remotes. That is real added context about what gets touched and the safety guardrail, though the exact failure modes and whether resumption is idempotent remain unstated.

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 dense sentences with the core action front-loaded and the safety limits appended; nothing is redundant. Minor cost is that phrasing like 'reconcile publication' is opaque and could be tightened.

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 destructive, open-world recovery tool with one fully documented parameter and an output schema covering the returned job report, the description covers the key unknowns: what it may modify, its refusal condition, and what it will not do. Only edge-case behavior (partial resume failure, idempotency) is left unspecified.

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?

Only one parameter (job_id) with 100% schema description coverage, so the schema already carries the load. The description adds only the qualifier that the job must be an interrupted one, which is a marginal clarification rather than new syntax or format guidance. Baseline 3 applies.

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?

States a specific verb and resource: 'Recover an interrupted job' and enumerates the surfaces it inspects (recorded state, local commits, remote branch). The closing sentence 'Does not grant approval or blindly retry pushes' further narrows the operation, though it never names a sibling such as get_job_report or apply_patch to disambiguate.

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?

Gives clear usage context ('recover an interrupted job') plus explicit exclusions: it 'refuses divergent remotes' and 'does not grant approval or blindly retry pushes'. These are useful when-not signals, but it stops short of naming which alternative to call when the job is not interrupted or when approval is needed.

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