Skip to main content
Glama

get_test_execution_failure_groups

Read-only

Return the failure groups present in a test execution, ranked by the number of failures in that execution. Each result has the TestFailureGroupContent shape, including numberOfFailures calculated only from runs in the requested test execution. Use resolve_test_execution_url first when starting from a Dashboard test-execution URL.

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": {
      "testExecutionId": "<testExecutionId>"
    },
    "name": "get_test_execution_failure_groups"
  }
}

Input Schema

NameRequiredDescriptionDefault
testExecutionIdYesGlobal numeric test execution id (returned from resolve_test_execution_url or another trusted source).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=true, so the description carries the rest and does add real context: results are ranked by failure count, and numberOfFailures is computed only from runs in the requested execution (guarding against a global-count misreading). It omits any statement about result size limits or pagination for a ranked list, which is the main remaining behavioral gap.

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?

Three sentences, front-loaded with the core contract (what is returned and how it is ranked), followed by the result-shape note and the prerequisite hint. No filler, though the TestFailureGroupContent reference is only useful to an agent that already knows that type.

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?

With no output schema, the description does the right extra work by naming the result shape and clarifying the numberOfFailures semantics. For a single-parameter read tool this is nearly sufficient; only the absence of any statement about result count limits keeps it from full marks.

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?

There is a single parameter with 100% schema description coverage, so the schema already explains testExecutionId as a global numeric id and even points at resolve_test_execution_url. The description restates that prerequisite chain but adds no new format, range, or sourcing detail. Baseline 3 applies when the schema does the heavy lifting.

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 and resource ('Return the failure groups present in a test execution') plus the ordering rule ('ranked by the number of failures in that execution'). Scope is scoped to a single execution, which implicitly separates it from siblings like get_test_failure_group (singular) and get_test_execution_run_summaries, though no sibling is named explicitly.

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?

It gives an explicit prerequisite workflow: 'Use resolve_test_execution_url first when starting from a Dashboard test-execution URL.' That tells the agent when this tool is reachable and how to obtain the required id. It stops short of naming a when-not-to-use condition or a competing sibling such as get_test_failure_group.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources