Skip to main content
Glama
Allure TestOps MCP

Allure TestOps MCP

update_test_case

Update an existing test case in Allure TestOps. Note: customFields replaces all custom fields—use set_test_case_custom_fields for single-field updates.

Instructions

Update an existing test case. WARNING: payload.customFields REPLACES all custom fields — any field not included will be removed. To update a single custom field safely, use set_test_case_custom_fields or bulk_set_test_case_custom_fields instead. payload.customFields supports values like { customField: { id }, id, name }.

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": {
      "id": "<id>",
      "payload": "<payload>"
    },
    "name": "update_test_case"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
payloadYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A4.2/5.0
Behavior4/5

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

No annotations exist, so the description carries the disclosure burden, and it discharges the most dangerous part well: payload.customFields is destructive-by-omission. It does not cover the remaining hazards — required permissions, whether other payload fields are merged or replaced, or what a successful response contains — so it falls short of fully replacing 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?

Three short sentences, front-loaded with the action and then the warning in caps, so the highest-risk fact is visible immediately. The final sentence about value shapes is slightly terse and could be tightened, but there is no filler.

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?

For a mutation tool with zero annotations, no output schema and a fully opaque nested payload, the definition covers the critical customFields trap but leaves the payload structure and the merge/replace behavior of non-customFields keys unaddressed. Adequate to avoid the worst mistake, not adequate to call the tool confidently.

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 coverage is 0% and payload is an untyped free-form object (additionalProperties: true), so the description is the only documentation. It usefully explains the accepted value shapes for payload.customFields ('{ customField: { id }, id, name }'), but says nothing about the other fields payload accepts or what `id` identifies, leaving most of the payload opaque.

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+resource ('Update an existing test case') and immediately scopes itself against siblings by naming set_test_case_custom_fields and bulk_set_test_case_custom_fields as the safe path for single-field edits. An agent can tell what this tool is and what it is not without inspecting any schema.

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

Usage Guidelines5/5

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

Gives an explicit when-not rule: do not use it with a partial payload.customFields, because that replaces everything; route single-field updates to the named sibling. This is exactly the when/alternatives routing that prevents wrong tool selection, and it matches the sibling names supplied.

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