Skip to main content
Glama

get_testcase_details

Retrieve detailed test case information including error messages, code snippets, test steps, console logs, and artifacts to debug test failures effectively.

Instructions

Get detailed information about a specific test case. You can identify the test case in two ways: 1) By testcase_id (can be used alone), or 2) By testcase_name combined with testrun_id (required because test cases can have the same name across different test runs). Returns error message, code snippet, file location, test steps per attempt, console logs, and artifacts (screenshots, videos, traces). Use steps_filter='failed_only' to return only steps that errored, stripping passing setup/hook steps. Use this to debug why a test failed or understand how it executed. Example: 'Get test case details for "Verify user can logout and login" in testrun #43'.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
by_titleNo(deprecated — use testcase_name) Test case title (partial match, case-insensitive). Retained for backward compatibility.
projectIdYesProject ID (Required). The TestDino project identifier.
testcaseidNo(deprecated — use testcase_id) Test case ID. Retained for backward compatibility.
testrun_idNoSingle test run ID to filter results. Example: 'test_run_6901b2abc6b187e63f536a6b'.
testcase_idNoTest case ID. Can be used alone to get test case details. Example: 'test_case_123'.
by_fulltitleNoFull test case title including suite path (partial match, case-insensitive). Example: 'auth.spec.js > Login > Verify user can logout and login'.
steps_filterNoFilter steps in each attempt. Use 'failed_only' to return only steps with errors, stripping passing setup and hook steps.
by_testrun_idNo(deprecated — use testrun_id) Single test run ID to filter results. Retained for backward compatibility.
history_limitNoMax number of history entries to return (max: 100, default: 10).
testcase_nameNoTest case title (partial match, case-insensitive). Must be combined with testrun_id when used alone. Example: 'Verify user can logout and login'.
by_testrun_idsNoMultiple test run IDs (comma-separated, max 20). Example: 'test_run_abc,test_run_def'.
include_historyNoInclude historical executions of the same test case when searching by name. Default: false.
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It reveals key behaviors: the two identification methods, the requirement to pair testcase_name with testrun_id due to duplicate names, the detailed return payload, and the effect of steps_filter='failed_only' in stripping passing steps. This is strong disclosure, though it omits potential rate limits or auth requirements, which are not critical for a read 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 a tight paragraph that front-loads the purpose, then efficiently covers identification methods, return contents, the filter option, and a usage example. Every sentence adds necessary information without redundancy, making it concise and well-structured.

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?

Despite having 12 parameters and no output schema, the description provides a complete overview of the main workflows: how to identify a test case, what data to expect, and how to narrow results. It does not cover deprecated parameters or history settings, but those are fully documented in the schema. The description is sufficient for correct tool selection and invocation.

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 description coverage is 100%, so the baseline is 3. The description adds valuable semantics beyond the schema by explaining when testcase_id can be used alone versus when testcase_name must be combined with testrun_id, and by clarifying the effect of steps_filter. This helps the agent correctly assemble parameters, raising the score above baseline.

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 clearly states the tool's purpose with a specific verb and resource: 'Get detailed information about a specific test case.' It lists the returned data types (error message, code snippet, logs, artifacts), which helps distinguish it from generic list tools. However, it does not explicitly differentiate itself from sibling tools like debug_testcase, so it misses the top score for sibling distinction.

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 gives practical usage context: 'Use this to debug why a test failed or understand how it executed' and includes a concrete example. It does not mention alternatives or exclusions, but the context is sufficiently clear for an agent to know when this tool is appropriate.

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