Skip to main content
Glama

github_mcp.run_checks

Destructive

Runs locally configured checks against a prepared job snapshot and records results, requiring a preview and trusted local authorization before executing host commands (not OS-sandboxed).

Instructions

Run locally configured checks against a prepared job snapshot and record results. Requires preview first; configured host commands run only with trusted local authorization and are not OS-sandboxed. Returns passed, check results and isolation information; does not grant approval or publish.

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

Input Schema

NameRequiredDescriptionDefault
job_idYesExisting job identifier with a prepared final tree.

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 with a prepared final tree."
  2. First observedv1.0.1

TDQS

A4.4/5.0
Behavior5/5

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

Goes well beyond the annotations: it discloses that configured host commands execute only under trusted local authorization, that they are not OS-sandboxed, and that the tool neither grants approval nor publishes. These are exactly the risk facts an agent needs given destructiveHint=true and openWorldHint=true.

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?

Three dense sentences, front-loaded with the action, then the prerequisite/risk, then the return and non-effects. The return summary is slightly redundant with the existing output schema, but nothing else is wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive, open-world execution tool, the description covers the prerequisite, the authorization model, the isolation caveat, and the boundaries of its effect, while an output schema carries the return shape. Nothing material is missing.

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 coverage is 100% and the single job_id parameter is already documented as requiring a prepared final tree. The description reinforces that with 'prepared job snapshot' and the preview prerequisite but adds no format or constraint details beyond the schema.

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 — running locally configured checks against a prepared job snapshot and recording results — and bounds the scope by naming what it does not do ('does not grant approval or publish'), which separates it from publish_branch and the preview tools.

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 an explicit prerequisite ('Requires preview first'), which tells the agent the correct sequencing relative to preview_job. It does not name an alternative for the case where a preview has not been run, so the routing guidance is clear but not exhaustive.

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