Skip to main content
Glama

Get test run case details

get_run_case_details
Read-only

Get one case's details inside a test run, including test steps (steps[].position is the step number record_test_result and stepPosition use), step sub-fields, each recorded result's files (results[].files), each result's own note (results[].comment) and what was recorded per step (results[].steps: status, comment, files). steps is on the latest result only (other results carry stepCount); resultId selects another result's steps and note with longer comments. Comments are cut (commentTruncated) and the steps block is size-limited: when stepsTruncated is true, stepsFrom = nextStepsFrom returns the rest. Requires project, runId and caseId. displayValue is a TEXT field's plain text, with an image shown as [image: file name]. value is the stored value (plain text or a rich-text document) and is what update_test_case accepts; displayValue is not accepted back, and plain text sent to a field with images is refused (FIELD_IMAGES_WOULD_BE_REMOVED).

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": {
      "project": "<project>",
      "runId": "<runId>",
      "caseId": "<caseId>"
    },
    "name": "get_run_case_details"
  }
}

Input Schema

NameRequiredDescriptionDefault
runIdYesTest run id.
caseIdYesTest case id within the run.
projectYesProject id the run belongs to. Numeric project id as returned by get_projects (the number in the app URL); a project name is not accepted.
resultIdNoOptional: a result of this case in this run (results[].resultId) whose steps to return instead of the latest result's, with comments up to 4000 characters.
stepsFromNoOptional: the first step number to return (default 1); pass nextStepsFrom from a truncated answer to read the rest.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / project / description
      Previous value: -"Project id the run belongs to. Numeric id from get_projects (same as in the app URL); not the project name."New value: +"Project id the run belongs to. Numeric project id as returned by get_projects (the number in the app URL); a project name is not accepted."
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Beyond the readOnly/openWorld annotations, the description discloses truncation behavior (commentTruncated, stepsTruncated with nextStepsFrom), comment length limits for the resultId path, and the specific FIELD_IMAGES_WOULD_BE_REMOVED failure mode. That is substantial behavioral context for a read tool, though it never states the overall size limits in concrete numbers.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is front-loaded with purpose, but the body is a dense run-on sentence with nested parentheticals (steps[].position, results[].steps, field-value semantics) that strains scanning. Little is wasted, but the structure could be broken into bullets or shorter sentences.

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, the description carries the full burden and does so: it explains the exact return shape, which fields live on the latest result only, how pagination continues, and the displayValue vs value distinction needed to feed update_test_case. Nothing essential for correct invocation is missing.

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 already 100%, so the baseline is 3, but the description adds cross-tool meaning: resultId is tied to results[].resultId and to longer comments (4000 chars), and stepsFrom is tied to nextStepsFrom in a truncated answer. project/runId/caseId are covered by the schema, so this is additive rather than duplicative.

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 opening sentence states a specific verb and resource ('Get one case's details inside a test run') and enumerates the returned content (steps, results[].files, comments), which distinguishes it from a plain case fetch such as get_test_case. However, it never explicitly names the sibling it differs from, leaving that inference to the agent.

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?

Usage guidance is embedded rather than stated: resultId is described as the way to reach another result's steps, and stepsFrom/nextStepsFrom is described as the pagination loop. There is no explicit when-to-use-this-vs-alternatives statement, so the agent must infer that get_test_case is for the case definition and this tool is for run-scoped results.

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.