Skip to main content
Glama

Get test case

get_test_case
Read-only

Get one test case with full field values, including STEPS fields. Requires project 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>",
      "caseId": "<caseId>"
    },
    "name": "get_test_case"
  }
}

Input Schema

NameRequiredDescriptionDefault
caseIdYesTest case id to read.
projectYesProject id the test case belongs to. Numeric project id as returned by get_projects (the number in the app URL); a project name is not accepted.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / project / description
      Previous value: -"Project id the test case belongs to. Numeric id from get_projects (same as in the app URL); not the project name."New value: +"Project id the test case 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

A4.1/5.0
Behavior5/5

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

Annotations already establish read-only, non-destructive behavior, and the description adds substantial context: it explains field-value semantics, the displayValue versus value distinction, what update_test_case accepts, and the FIELD_IMAGES_WOULD_BE_REMOVED refusal. That is valuable behavioral detail beyond the annotations.

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 definition is front-loaded with purpose and stays compact, with no filler. It is dense in places, particularly the semicolon-heavy value/displayValue sentence, and briefly repeats the schema's required parameters.

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 must carry return-value semantics, and it does explain full field values, STEPS, and the critical displayValue/value distinction. It does not describe the overall response shape or missing-case behavior, but it covers the key ambiguity an agent needs to use the result correctly.

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?

Schema description coverage is 100%, so project and caseId are already fully documented in the input schema. The description repeats that both are required but adds no additional syntax or constraints for those two input parameters; the displayValue/value discussion concerns returned field values rather than the input parameters.

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?

Opens with a specific verb and singular resource: "Get one test case with full field values, including STEPS fields." This clearly distinguishes it from plural list/search siblings even though those siblings are not named.

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?

The definition implies use for a single known test case by requiring project and caseId, and it references update_test_case in the value/displayValue explanation. However, it gives no explicit when-to-use guidance versus get_test_cases, search_test_cases, or get_case_by_automation_key.

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.