Skip to main content
Glama

triage_job

Read-onlyIdempotent

Triages a failed CI job from its GitHub Actions URL, inspecting failure details to return a retry, do-not-retry, or unsure decision tied to log lines.

Instructions

Triage one failed job by its address: https://github.com/OWNER/REPO/actions/runs/RUN/job/JOB.

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": {
      "url": "<url>"
    },
    "name": "triage_job"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, openWorldHint, and idempotentHint, so the safety profile is covered. The description adds the important constraint that input is a GitHub Actions job URL, but 'Triage' remains behaviorally undefined — it doesn't say what analysis happens, what qualifies as a failed job, or what happens with an invalid or passing job URL.

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?

One sentence, front-loaded with the action and scope, followed by the required input format. Nothing is wasted and no wrapping boilerplate obscures the point.

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

Completeness3/5

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

An output schema exists, so return values need not be described. However, for a tool whose core behavior ('triage') is undefined, the definition leaves key gaps: prerequisites such as repository access or auth, behavior on non-failed or malformed job URLs, and what the triage actually examines.

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 0% and the schema only labels the field 'Url', so the description must compensate. It does so by spelling out the exact address pattern (owner/repo/actions/runs/RUN/job/JOB), which is the single most important detail for forming a valid call, though it doesn't state whether run-level or alternative URL forms are accepted.

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 gives a specific verb ('Triage') and a bounded resource ('one failed job'), scoped by a concrete identifier. It implicitly contrasts with aggregate siblings like 'failure' or 'summary' by emphasizing a single job, but never names or differentiates them explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

'one failed job' hints at single-job scope versus broader siblings, but there is no explicit statement of when to use this tool instead of 'failure', 'flaky_tests', or 'summary'. The agent must infer the selection rule.

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