Skip to main content
Glama
github-fetcher

github-fetcher

by KurvCygnus

GitHub workflow run

github_workflow_run
Read-onlyIdempotent

Fetch a single GitHub Actions workflow run by repository and run ID, optionally including up to 100 jobs with their step statuses and conclusions.

Instructions

Read one workflow run. Set include_jobs=true to fetch up to 100 jobs with their step statuses and conclusions. Returns run fields {id, name, workflow_id, run_number, event, status, conclusion, branch, sha, created_at, updated_at, html_url}; adds {jobs[{id, name, status, conclusion, started_at, completed_at, steps[{number, name, status, conclusion}]}], jobs_truncated} when include_jobs is true.

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": {
      "repo": "<repo>",
      "run_id": "<run_id>"
    },
    "name": "github_workflow_run"
  }
}

Input Schema

NameRequiredDescriptionDefault
repoYesRepository in owner/name form
freshNoBypass the local cache
run_idYesWorkflow run id
include_jobsNoInclude up to 100 jobs and their steps

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), so the description correctly focuses on behavior beyond that: it discloses the return shape, the 100-job cap, and the jobs_truncated signal. It does not explain what the cache means or what fresh=true bypasses beyond the schema's wording.

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 sentences, front-loaded with purpose and then the opt-in expansion and return fields. The field enumeration is long but justified because no output schema exists; still, the nested brace notation is dense to parse.

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?

With no output schema, the description carries the return contract itself and does so precisely, including the truncation flag an agent needs to detect incomplete job lists. Combined with annotations covering safety, an agent has everything required to call this correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3; the description earns more by explaining what include_jobs actually produces (jobs with step statuses and conclusions, plus jobs_truncated) rather than restating the schema's 'Include up to 100 jobs and their steps'. It adds nothing for repo, run_id, or fresh, which the schema already documents.

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 opens with a specific verb and resource, 'Read one workflow run', which clearly distinguishes the singular read from the sibling listing tool github_workflow_runs. It does not name that sibling explicitly, so the differentiation is implied rather than stated.

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 only implied: an agent can infer this is for fetching a single run's details, and the include_jobs sentence tells it how to expand scope. There is no explicit when-to-use versus github_workflow_runs or github_api_get, and no stated preconditions such as required repo access.

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