Skip to main content
Glama

get_run_details

Analyze test execution health and debug failures by fetching run statistics, suite/case details, and error info. Supports batch queries and optional AI insights.

Instructions

Get detailed information about test runs. Shows test statistics (passed, failed, skipped, flaky), all test suites and cases, git metadata, and error details. Supports batch operations (comma-separated IDs, max 20). Use this to analyze test execution health or debug specific failures. Set include_ai_insights=true (single testrun_id only) to also get the run's AI Insights under ai_insights: AI failure categorization (flaky/bug/ui_change), failure clusters, new-failures cards, the error-analysis table, and the LLM-written run summary. AI payloads are generated lazily — if ai_insights sections report status "processing"/"not_generated", poll get_ai_insights(testrun_id=...) until "completed" instead of re-calling this tool. An "unavailable" section carries the upstream statusCode: a 5xx or timeout is transient (retry once via get_ai_insights), a 4xx (bad ids) is terminal.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
counterNoRun counter. A number for a single run (e.g. 47), or a comma-separated string ('47,48,49', max 20) for a batch.
projectIdYesProject ID (Required). The TestDino project identifier.
testrun_idNoTest run ID(s). Single ID or comma-separated for batch (max 20). Example: 'test_run_123' or 'run1,run2,run3'.
include_ai_insightsNoAttach the run's AI Insights (failure categorization, clusters, error-analysis table, LLM summary) under `ai_insights`. Requires a single testrun_id (not counter, not a batch). If a section reports `processing`, poll get_ai_insights(testrun_id=...) instead of re-calling this tool.
Behavior5/5

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

With no annotations, the description carries the full burden and exceeds expectations. It discloses batch limits (max 20), lazy generation of AI insights, status values ('processing'/'not_generated'), and the meaning of 'unavailable' sections including transient vs terminal upstream status codes. This gives the agent accurate expectations about side effects and retry 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?

The description is longer than typical but well-structured: main purpose first, then AI insights specifics with actionable polling guidance. Every sentence adds operational value, though the AI Insights section is dense and could arguably be split, but it is necessary for correct invocation.

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

Completeness5/5

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

With no output schema and no annotations, the description compensates thoroughly. It lists the returned data categories and details the structure of AI Insights, including failure categorization, clusters, cards, table, and summary. This provides a complete mental model for invoking the tool and interpreting results.

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 100%, so baseline is 3, but the description adds meaning beyond the schema: it clarifies that include_ai_insights requires a single testrun_id (not counter/batch) and explains the lazy-generation behavior. It doesn't fully resolve the counter vs testrun_id ambiguity, but it enriches the understanding of parameter usage.

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: 'Get detailed information about test runs' and enumerates the specific data returned (statistics, suites, cases, git metadata, error details). It distinguishes itself from siblings like get_run_error_clusters and get_ai_insights by focusing on the full run details and batch operations.

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

Usage Guidelines5/5

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

The description explicitly says 'Use this to analyze test execution health or debug specific failures.' It also provides when-not-to-use guidance by directing users to poll get_ai_insights when AI insights are still processing, rather than re-calling this tool. This clarifies the boundary between the two tools.

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