Skip to main content
Glama

Update Test Case

update_test_case
DestructiveIdempotent

Update a test case in Allure TestOps with partial updates. Modify name, description, steps, tags, attachments, custom fields, and more.

Instructions

Update an existing test case in Allure TestOps. ⚠️ CAUTION: Destructive.

Performs a partial update: only supplied fields are sent to the API. When provided, steps replace all existing steps, and attachments replace all existing global attachments. Omit a field to preserve its current value.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoNew name for the test case
tagsNoNew list of tags
linksNoNew list of external links. Each dict has 'name', 'url', and optional 'type'.
stepsNoNew list of steps. Each step is a dict with 'action', 'expected', and optional 'attachments' list.
issuesNoList of issue keys to ADD (e.g. ['PROJ-123']).
confirmNoMust be set to True to proceed with update. Safety measure.
automatedNoSet whether the test case is automated
status_idNoID of the test case status
project_idNoOptional override for the default Project ID.
attachmentsNoNew list of global attachments. Each dict has 'name' and 'content' (base64) or 'url'.
descriptionNoNew description
workflow_idNoID of the workflow
clear_issuesNoIf True, remove ALL issues from the test case.
preconditionNoNew precondition
test_case_idYesThe ID of the test case to update
custom_fieldsNoDictionary of custom fields to update (Name -> Value or list of values)
output_formatNoOutput format: 'json' (default) or 'plain'.
remove_issuesNoList of issue keys to REMOVE.
test_layer_idNoID of the test layer
integration_idNoOptional integration ID for issue linking (use list_integrations to find IDs). Required when multiple integrations exist and adding issues. Mutually exclusive with integration_name.
expected_resultNoGlobal expected result for the test case
test_layer_nameNoName of the test layer
integration_nameNoOptional integration name for issue linking (exact case-sensitive match). Required when multiple integrations exist and adding issues. Mutually exclusive with integration_id.
Behavior4/5

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

Annotations already indicate destructiveHint=true and idempotentHint=true. The description adds meaningful behavioral context: partial update, replacement semantics for steps and attachments, and preservation of omitted fields. It does not cover error handling or response structure, but goes beyond annotations with concrete details.

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?

The description is 86 words, front-loaded with purpose and a clear warning, followed by concise behavioral rules. Every sentence serves a distinct purpose, and the structure is efficient with no redundancy.

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?

Given the complexity (23 parameters, no output schema), the description covers the essential partial update behavior and key replacement semantics. It lacks details on return value, error states, and the confirm safety parameter, but the overall guidance is sufficient for typical usage.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% with each parameter described. The description adds value by explaining that steps and attachments replace all existing counterparts, which is not evident from individual parameter descriptions. This clarifies the cumulative behavioral impact of these parameters.

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?

The description clearly states the tool updates an existing test case in Allure TestOps, using a specific verb and resource. It distinguishes from sibling tools like create_test_case, delete_test_case, and get_test_case_details by explicitly targeting modification of existing objects.

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

Usage Guidelines4/5

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

The description provides guidance on partial update behavior: only supplied fields are sent, steps and attachments replace existing ones, omitted fields preserve current values. It also warns about destructive nature. However, it does not explicitly compare to alternatives like delete+create for full replacement, but the context is sufficient for appropriate use.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ivanostanin/lucius-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server