Skip to main content
Glama

Robot Actions — Remote Device Control

testrail_update_case

Update an existing TestRail test case. Any field omitted is left unchanged. ALWAYS confirm with the user via a chat bubble before calling — this writes to the customer's TestRail. IMPORTANT: labels is a REPLACE, not a merge. To add a label without losing existing ones, FIRST call testrail_get_case, READ existing labels, MERGE, THEN call this with the full new array.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
refsNoNew refs string (e.g. "PROJ-123,PROJ-124")
titleNoNew title (max 250 chars)
caseIdYesTestRail case id (C-number)
labelsNoFull new label set (REPLACE — read existing first if you want to add without removing). TestRail 7.5+ only.
typeIdNoChange type_id
priorityIdNoChange priority_id
customStepsNoNew plain-text steps
customPrecondsNoNew preconditions
customStepsSeparatedNoNew structured steps (BDD-preferred). Replaces existing.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

No annotations are present, so the description carries the full burden. It discloses mutation ('writes to the customer's TestRail'), partial-update behavior, and the destructive label REPLACE semantics. This is exactly the behavioral context an agent needs before invoking a write operation.

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 dense sentences with the action and key semantics front-loaded, the safety warning separated, and the label caveat clearly flagged with IMPORTANT. No filler or redundant restating of the schema.

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?

For a 9-parameter mutation tool with no annotations or output schema, the description covers intent, safety, partial update, and the one dangerous parameter. It does not mention return values or errors, but those are not essential for correct invocation and the schema fully documents parameters.

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%, so the baseline is 3. The description adds a global partial-update semantic and reinforces the labels REPLACE behavior and merge workflow, which goes beyond the schema's per-field descriptions.

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?

States a specific verb ('update'), resource ('existing TestRail test case'), and partial-update semantics ('Any field omitted is left unchanged'). Clearly distinct from sibling testrail_create_case and the read/list tools.

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?

Explicitly instructs to confirm with the user before calling because it writes to the customer's TestRail, and provides an explicit alternative workflow for labels: first call testrail_get_case, merge, then call. This gives strong when-to-use and when-to-use-another-tool guidance.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources