Skip to main content
Glama

get_run_error_clusters

Groups failing tests in a run by error signature to identify failure patterns and triage root causes. Provide project ID and test run ID; optionally filter by test status.

Instructions

Groups failing tests in a run by error signature to identify patterns and triage failures at scale. Use this after list_testruns to drill into why a run failed — it surfaces clusters of tests sharing the same root-cause error. Filter by status to focus on definitively failed tests, flaky tests, or all. Requires projectId and testrun_id.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
statusNoFilter by test status. 'failed' shows definitively failed tests, 'flaky' shows flaky tests, 'all' (default) includes both.
projectIdYesProject ID (Required). The TestDino project identifier.
testrun_idYesTest run ID (Required). The run to cluster errors for.
Behavior4/5

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

With no annotations provided, the description must carry the behavioral burden. It discloses that the tool 'surfaces clusters of tests sharing the same root-cause error' and supports filtering by status. This gives the agent a clear understanding of the analysis behavior without side effects or safety details, which are not needed for this read-only grouping operation.

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 three sentences, each with a distinct purpose: (1) states the main function, (2) gives usage context with a preceding tool, and (3) explains the optional filter and required parameters. No unnecessary words or redundancies.

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?

The tool has 3 parameters, no annotations, and no output schema. The description covers the purpose, workflow (after list_testruns), and parameter constraints (requires projectId and testrun_id). It also implies the output (clusters of tests by error signature). This is sufficient for moderately complex tool, though it does not describe pagination or result size, which could be helpful.

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?

The input schema already provides 100% parameter descriptions, so the baseline is 3. The description adds a brief note about the status filter meaning ('failed' shows definitively failed tests, etc.), but this mostly restates the schema's enum descriptions. No additional syntax or format details are provided.

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 clearly states the tool's function: 'Groups failing tests in a run by error signature to identify patterns and triage failures at scale.' This specific verb+object+goal distinguishes it from sibling tools like get_run_details or debug_testcase, which address different aspects of test runs.

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 explicitly says 'Use this after list_testruns to drill into why a run failed,' providing clear workflow context. It also explains the status filter, but does not explicitly mention when NOT to use the tool or name alternatives beyond the sequential dependency.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/testdino-hq/testdino-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server