Skip to main content
Glama

reproduce_ci_failure

Extract a minimal local repro command, working directory, environment, and cleaned error tail from a failing GitHub Actions run without executing code.

Instructions

Extract a minimal 1-line local repro command, working directory, env, and cleaned error tail from a failing GitHub Actions run (read-only, never executes).

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": "reproduce_ci_failure"
  }
}

Input Schema

NameRequiredDescriptionDefault
prNoOptional PR number to inspect failing checks
repoNoOptional OWNER/REPO
run_idNoGitHub Actions workflow run ID
log_fileNoOptional local failed-log file path
workflow_dirNo.github/workflows

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and it discloses the two most important traits: the tool is read-only and 'never executes' the repro command it produces. It stops short of covering auth/permission requirements (GitHub access) or failure modes when a log or run cannot be found.

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

Conciseness5/5

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

A single tightly packed sentence with the action and the delivered artifacts front-loaded and the safety caveat parenthesized at the end. Nothing is redundant.

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?

No output schema exists, and the description effectively enumerates the return payload (repro command, working dir, env, error tail), which covers the agent's main need. What remains unstated is prerequisite access and how the five optional inputs combine to locate the failure.

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 description coverage is 80%, so the schema already documents each parameter. The description adds no meaning about how run_id, log_file, pr, or repo differ or interact, so it neither compensates for nor enhances the structured data beyond the baseline.

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 ('Extract') against a specific resource ('a failing GitHub Actions run') and enumerates what is produced: a 1-line repro command, working directory, env, and cleaned error tail. An agent knows exactly what it gets back without opening any schema.

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?

The context 'from a failing GitHub Actions run' implies when to reach for it, but there is no explicit when-to-use/when-not guidance. With five all-optional inputs (pr, repo, run_id, log_file), the description never says which combination is expected or preferred, leaving the agent to infer the selection logic.

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

Deploy Server

Other Tools