Skip to main content
Glama
Zephyr Scale MCP Server

Zephyr Scale MCP Server

by ArtyMaximus

add_test_cases_to_run

Add test cases to an existing test run by specifying the run key and an array of test case keys.

Instructions

Add test cases to an existing 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>",
      "test_case_keys": "<test_case_keys>"
    },
    "name": "add_test_cases_to_run"
  }
}

Input Schema

NameRequiredDescriptionDefault
test_run_keyYesTest run key (e.g., PROJ-C161)
test_case_keysYesArray of test case keys to add to the test run

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.5

TDQS

B3.1/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden and does not meet it. It does not disclose what happens to duplicate cases, whether the add is idempotent or additive, whether permissions or run state matter, or what the mutation returns.

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?

A single front-loaded sentence with no filler or redundancy. It is efficient, though the brevity reflects underspecification rather than tight editing of rich content.

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?

For a two-parameter mutation with a fully covered schema and no output schema, the description covers the core action adequately. Missing are edge-case behavior (duplicates, run state) and the return shape, which are minor given the simple surface.

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 both parameters (test_run_key with a PROJ-C161 example, and test_case_keys as a string array) are already fully documented. The description adds no format, batching, or limit semantics beyond the schema, so the 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?

The description gives a specific verb ('Add') and resource ('test cases') with a clear target ('an existing test run'), which separates it from create_test_run (makes a run) and get_test_run_cases (reads cases). It stops short of naming or contrasting any sibling 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: nothing says when to prefer this over create_test_run, how to handle an unknown run key, or whether cases can be added to a completed run. The word 'existing' is the only implied precondition.

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