Skip to main content
Glama

run_deep_dive

Diagnose a GitHub Actions workflow run to find why it was slow or failed. Compare jobs and steps against recent medians, identify regressions, failing tests, and include failing step logs.

Instructions

Deep-dive one workflow run: why was it slow, or why did it fail? Job waterfall (queue vs execution), every job and step compared against the workflow's own recent medians, named step regressions; failed runs lead with the failing job and step, name the failing tests (30+ test frameworks recognized), and inline the failing step's log tail (needs a token).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
runNoRun ID, full run URL, or "latest" (default "latest")
repoYesRepository as owner/name
log_tailNoLines of the failing step's log to include per failed job (default 20, 0 = off; needs a token)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior5/5

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

With no annotations provided, the description carries the full burden, and it delivers: it discloses the analysis structure (job waterfall, queue vs execution), comparison against recent medians, regression naming, failing test detection, and the token requirement for log tails. It gives a concrete picture of what happens and what is needed.

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?

The description is dense but efficient, leading with the core purpose and then detailing key behaviors. Semicolons compress a lot of useful information without redundant filler.

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 complex diagnostic tool with no output schema and no annotations, the description covers the key aspects an agent needs: what triggers use, what analysis is performed, how failures are surfaced, and the auth-sensitive log tail behavior. Nothing essential appears to be 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 description coverage is 100%, so the schema already defines repo, run, and log_tail. The description adds little parameter-specific meaning beyond mentioning that log tail inclusion requires a token, which is already noted in the schema. Baseline 3 applies.

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?

The description names a specific verb and resource: deep-diving a single workflow run to diagnose slowness or failure. It clearly distinguishes this from the sibling pr_deep_dive by focusing on workflow runs rather than PRs, and from repo-level analysis 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?

The description clearly frames when to use the tool: when investigating one workflow run's performance or failure. It does not explicitly name alternatives or exclusions, but the scope is unmistakable, especially alongside sibling names like pr_deep_dive and analyze_repo.

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