Skip to main content
Glama

failure

Read-onlyIdempotent

Retrieve the retry decision, supporting evidence, and re-run outcome for a collected CI job issue by job ID.

Instructions

The decision for one collected failure, with its evidence and what happened when it was re-run.

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

Input Schema

NameRequiredDescriptionDefault
job_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, openWorldHint=false, and idempotentHint=true, so the safety profile is covered. The description adds only a content hint — decision, evidence, re-run outcome — and does not discuss pagination, permissions, rate limits, or other behavior beyond the annotations.

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?

It is a single compact sentence with no filler, and the core object — one collected failure — is front-loaded. The wording is slightly awkward as a sentence fragment and 'decision' is vague, but it is not verbose.

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?

The tool is simple and has an output schema, so the description need not explain the return shape in detail. It still omits input-parameter context and when-to-use guidance, leaving an agent to infer how job_id selects the failure and when this tool is preferable to its siblings.

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

Parameters2/5

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

Schema coverage is 0% and the description never mentions job_id, so it adds no meaning beyond the schema’s property name. The phrase 'one collected failure' weakly implies that an identifier selects a failure or job, but it does not explain that identifier or where to obtain it.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

It names the resource and the returned content (decision, evidence, re-run outcome), but it does not use an action verb, so it reads more like a return-value summary than a tool purpose. It also gives no sibling differentiation against flaky_tests, summary, or triage_job.

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?

There is no explicit when-to-use guidance, prerequisite, or comparison to sibling tools. At best, 'one collected failure' implies a single-failure retrieval, but the agent must infer that from the description.

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