Skip to main content
Glama
qa-triage-mcp
by mnawaz6935

Get run failures

get_run_failures
Read-only

Retrieve every failed or errored test from a specified CI run, defaulting to the latest run, to support failure triage.

Instructions

Every failed or errored test in one run (latest by default).

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

Input Schema

NameRequiredDescriptionDefault
limitNo
run_idNoRun id from list_runs. Leave empty for the latest run.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.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=true and openWorldHint=false, so the safety profile is covered. The description adds the meaningful constraint that results are scoped to one run and default to the latest, but says nothing about ordering, truncation at the limit, or pagination behavior.

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?

A single nine-word sentence with zero waste and the scoping constraint front-loaded. It is arguably terse to the point of omitting useful detail, but nothing present is filler.

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?

With an output schema present, return shape needn't be explained, and the read-only nature is annotated. Still, the definition leaves gaps around the undocumented limit parameter and result truncation for what is a filtered list tool.

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 50%: run_id is documented in the schema, but limit (max 200) has no description anywhere. The description's '(latest by default)' reinforces run_id semantics but adds nothing about what limit controls or how results are capped.

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 names a specific resource and scope: failed and errored tests within a single run, defaulting to the latest. An agent can tell this is a per-run failure listing rather than an aggregate view. It does not explicitly distinguish itself from sibling cluster_failures, which likely covers similar data grouped differently.

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 parenthetical '(latest by default)' implies a common usage mode and the schema points to list_runs for run ids, so usage is inferable. However, there is no explicit guidance on when to choose this over cluster_failures, compare_runs, or test_history.

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