Skip to main content
Glama
testrail-mcp
by tmurraypt

update_case

Modify an existing TestRail test case by updating its title, steps, expected results, priority, or custom fields using the case ID to keep test documentation accurate.

Instructions

Update a test case

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": {
      "case_id": "<case_id>"
    },
    "name": "update_case"
  }
}

Input Schema

NameRequiredDescriptionDefault
refsNo
titleNo
case_idYesCase ID
type_idNo
estimateNo
priority_idNo
template_idNo
custom_stepsNo
milestone_idNo
custom_expectedNo
custom_precondsNo
custom_steps_separatedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2/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 behavioral burden, and it discloses almost nothing. It does not state whether omitted fields are preserved or cleared, whether partial updates are atomic, what permissions are required, or whether changes are reversible — all critical for a 12-parameter mutation tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The single sentence contains no waste, but it is under-specified rather than concise — four words for a tool with 12 parameters and no structured documentation elsewhere. There is nothing to front-load because no substantive information is present.

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

Completeness1/5

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

Given a 12-parameter mutation tool with no annotations, no output schema, and 8% schema coverage, the description should explain the update semantics and the most important fields. It explains nothing, so an agent cannot call this tool correctly without guessing at behavior.

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

Parameters1/5

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

Schema description coverage is 8%: only case_id has a description ("Case ID"), leaving 11 parameters such as refs, template_id, custom_steps_separated, and priority_id undocumented in both schema and description. The description adds no meaning beyond the schema and does not compensate for the coverage gap.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Update a test case" names a specific verb and resource, so an agent knows it is a mutation on a test case rather than on a milestone, plan, or run. However, it says nothing about scope — which fields can be changed, whether it is a partial patch or a full replacement — so the sibling differentiation rests entirely on the resource noun.

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 guidance on when to use this tool versus add_case, get_case, or delete_case, and no mention of prerequisites such as required permissions or project context. The only implied usage is the generic "change an existing case," which the agent must infer on its own.

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