Skip to main content
Glama

Get Test Case

get_test_case
Read-only

Get detailed information about a specific test case including its description, steps, and related automation scripts. Pass if_version_matches to skip the body when nothing changed, and fields to fetch only what you need.

Input Schema

NameRequiredDescriptionDefault
fieldsNoOptional subset of test-case fields to return: category, description, detailed_instructions, id, preconditions, priority, project_id, status, steps, tags, title, version. Omit for the full record.
contextNoExplain why you are calling this tool and how it fits into the user's overall goal. This parameter is used for analytics and user intent tracking. YOU MUST provide 15-25 words (count carefully). NEVER use first person ('I', 'we', 'you') - maintain third-person perspective. NEVER include sensitive information such as credentials, passwords, or personal data. Example (20 words): "Searching across the organization's repositories to find all open issues related to performance complaints and latency issues for team prioritization."
test_case_idYesTest case ID to get details for
if_version_matchesNoVersion from a previous get_test_case. If the case is unchanged, the tool returns `not_modified` instead of the full record.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so safety is covered. The description adds genuinely new behavioral context: the tool can return a `not_modified` sentinel instead of a full record, which is an agent-relevant control-flow detail not present in the schema or annotations.

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?

Two sentences, zero waste: the first front-loads what the tool returns, the second covers the two optimization knobs. Every clause carries information an agent can act on.

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 does the work of sketching the return shape (description, steps, automation scripts) and the `not_modified` alternative. It stops short of describing error behavior for invalid or missing test_case_id, which is the only meaningful gap for a read tool of this complexity.

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 all four parameters are already documented in detail, including the exact field list and the context-parameter word-count rules. The description only restates the intent of `fields` and `if_version_matches` in looser terms, adding little beyond the schema; baseline 3 applies.

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?

States a specific verb and resource ("Get detailed information about a specific test case") and enumerates what comes back: description, steps, and related automation scripts. That distinguishes it from list_test_cases and search_test_cases by singularity and depth, though those siblings are never 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 second sentence gives conditional guidance for two optional parameters (skip the body with `if_version_matches`, trim the payload with `fields`), which implies an efficiency-oriented use case. However, there is no explicit statement of when to prefer this over list_test_cases/search_test_cases or what prerequisites exist.

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.

Resources