Skip to main content
Glama

update_test_case

Idempotent

Update an existing test case by modifying only specified fields, leaving others unchanged. Returns the complete updated case with its shareable link.

Instructions

Update an existing test case. Only provided fields are updated; omitted fields remain unchanged. Returns the full updated case object including shareUrl. TIP: Use get_test_case first to see current values.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tagsNoReplace all tags with this array
stepsNoReplace all steps with this array
titleNoNew title for the case
caseIdYesInternal numeric test case id to update - NOT the user-facing "TC-N"/caseNumber. If the user gave you a "TC-N", resolve it via list_test_cases(search: "TC-N") first.
statusNoNew status. Typical values: Draft, Ready, Approved, Deprecated. Check list_test_cases meta.availableStatuses for project-specific values.
priorityNoNew priority. Typical values: Low, Medium, High, Critical. Check list_test_cases meta.availablePriorities for project-specific values.
dependsOnNoSet dependency to another numeric case ID, or null to remove dependency
descriptionNoNew description. Supports Markdown: **bold**, *italic*, ~~strikethrough~~, inline `code`, # / ## / ### headings, "- " bullet and "1. " numbered lists, [text](url) links, and "> " blockquotes. Plain text works too. Images and fenced code blocks are not supported.
customFieldsNoCustom field values (replaces all existing custom fields)
Behavior4/5

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

It discloses the partial-update behavior and states that the full updated case object including shareUrl is returned, which is useful beyond the annotations. The annotations already mark it as non-read-only, idempotent, and potentially destructive, and the description does not contradict those hints. It adds context without requiring the agent to infer behavior.

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?

Three short sentences convey purpose, behavioral nuance, return value, and a useful practical tip. There is no filler or repetition. The format is efficiently front-loaded with the essential action and semantics.

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

Completeness5/5

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

For a tool with 9 parameters and no output schema, the description includes the key guidance: partial update behavior, current value retrieval, and return shape. Since all parameters are fully documented in the schema, the description does not need to restate them. Nothing critical about calling this tool is missing.

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 the input schema already documents each parameter clearly. The description adds no per-parameter details, which is acceptable since the schema is rich. The partial-update note adds some context for all optional fields but does not reduce the need to rely on the schema for param-specific semantics.

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 identifies the operation ('Update an existing test case') with a specific verb and resource. 'Existing' distinguishes it from create_test_case and delete_test_case, and the scope is unambiguous. No ambiguity remains regarding what the tool acts on.

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 gives practical usage context, especially the tip to call get_test_case first to see current values and the partial-update semantics ('only provided fields are updated'). It does not explicitly contrast with bulk_update_cases or say when to use create instead, but the guidance is clear enough for common 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/m00nreport/mcp-server'

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