Skip to main content
Glama
Zephyr Scale MCP Server

Zephyr Scale MCP Server

by ArtyMaximus

update_test_case_step

Updates a specific step in a STEP_BY_STEP test case, including descriptions, expected results, test data, and embedded images for accurate test documentation.

Instructions

Update a specific step in a STEP_BY_STEP test case (useful for adding images to step descriptions)

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_case_key": "<test_case_key>",
      "step_index": "<step_index>"
    },
    "name": "update_test_case_step"
  }
}

Input Schema

NameRequiredDescriptionDefault
testDataNoNew test data for the step (optional)
step_indexYesIndex of the step to update (1-based - first step is 1, second step is 2, etc.)
descriptionNoNew description for the step (can include HTML tags for images)
test_case_keyYesTest case key to update (e.g., COMM-T734)
expectedResultNoNew expected result for the step (optional)

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?

No annotations are supplied, so the description carries the full disclosure burden for a mutation operation. It does not say whether the update is partial or replaces the whole step, what happens to fields not supplied, whether the step is re-indexed, or what permissions are needed — all material for a write tool.

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 the key scope qualifier first and no filler. The trailing parenthetical is mildly redundant with the schema's note that descriptions accept HTML, but it is compact and harmless.

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

Completeness2/5

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

For a five-parameter mutation tool with no annotations and no output schema, the description should cover partial-vs-full update semantics and the expected result. Neither is addressed, leaving the agent to guess at the most consequential behavior of the call.

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 every parameter is already documented, including that description can contain HTML for images and that step_index is 1-based. The description adds essentially nothing beyond the schema (its image hint duplicates the description field's own note), so the baseline of 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 states a specific verb and resource ('Update a specific step') and scopes it to 'a STEP_BY_STEP test case', which implicitly separates it from the BDD sibling. It does not name update_test_case_bdd or update_test_case explicitly, so the differentiation is left partly to inference.

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 parenthetical '(useful for adding images to step descriptions)' gives an illustrative use case, which is a real hint about when to reach for this tool. There is no statement of when not to use it, no prerequisites (e.g. the test case must be STEP_BY_STEP, not BDD), and no guidance about the sibling update tools.

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