Skip to main content
Glama
Zephyr Scale MCP Server

Zephyr Scale MCP Server

by ArtyMaximus

get_test_run_cases

Retrieve test case keys from a specified test run to identify which test cases are linked to that execution.

Instructions

Get test case keys from a test run

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": {
      "test_run_key": "<test_run_key>"
    },
    "name": "get_test_run_cases"
  }
}

Input Schema

NameRequiredDescriptionDefault
test_run_keyYesTest run key (e.g., PROJ-C123)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.5

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full disclosure burden. It does hint at the return shape by saying 'keys' rather than full case objects, but it says nothing about ordering, pagination, volume limits, required permissions, or what happens with an invalid or empty run key — significant gaps for a tool with zero annotation coverage.

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?

One short, front-loaded sentence with no filler or redundancy. It is efficient, though its brevity borders on under-specification rather than deliberate conciseness.

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

Completeness3/5

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

This is a simple read tool with one fully documented parameter and no output schema, so the description only needs modest depth. It still omits how many keys come back, whether results are complete or paginated, and how the keys relate to the run — details an agent would want since no output schema exists to explain the return value.

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?

There is a single parameter with 100% schema description coverage, including an example format (PROJ-C123), so the schema already does the work. The description adds no meaning beyond it; the baseline of 3 applies given the high coverage.

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 test case keys from a test run'. The phrase 'test case keys' narrows the scope enough that it is distinguishable from get_test_run (the run itself) and get_test_case (a single case), even though no sibling is named explicitly.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no mention of when not to use it, and no pointer to alternatives such as get_test_run or search_test_cases_by_folder. The agent must infer from the name alone that this is the enumeration step for cases belonging to a run.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.