Skip to main content
Glama
bun913

TestRail MCP Server

by bun913

updateCases

Update multiple test cases simultaneously with identical field values in TestRail. This tool allows bulk modifications to test case titles, priorities, steps, custom fields, and other attributes across selected cases.

Instructions

Updates multiple test cases simultaneously with the same field values / 複数のテストケースを同じフィールド値で一括更新します. NOTE: templateId=2 is required to use customStepsSeparated (array of step objects with 'content' and 'expected' fields). For simple text steps, use customSteps and customExpected instead. Use customFields for any additional custom fields (e.g., {custom_case_security_score: 'high'}).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
projectIdYesTestRail Project ID
suiteIdYesTestRail Suite ID
caseIdsYesArray of TestRail Case IDs
titleNoTest case title
typeIdNoTest case type ID
priorityIdNoTest case priority ID
estimateNoTest case estimated time
milestoneIdNoTestRail Milestone ID
refsNoTest case references
templateIdNoTemplate ID (use 2 for custom_steps_separated support)
customPrerequisitesNoPrerequisites
customStepsNoTest case steps
customExpectedNoExpected results
customStepsSeparatedNoSeparated test steps array (requires template_id=2)
customFieldsNoAdditional custom fields as key-value pairs (e.g., {custom_case_security_score: 'high'})
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It discloses the templateId=2 constraint for customStepsSeparated and the alternative field patterns, but lacks mutation-specific details: whether updates are atomic, what happens if some caseIds are invalid, whether omitted fields are preserved or cleared, and return value structure.

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?

The description is efficiently structured with the purpose front-loaded (bilingual), followed by specific implementation notes. The Japanese translation adds length but serves accessibility. Each sentence earns its place: purpose, template constraint, field alternatives, and custom field guidance. No redundant or tautological content.

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 15-parameter bulk mutation tool with nested objects and no annotations or output schema, the description covers the complex TestRail-specific template logic adequately. However, it omits critical operational context for a destructive operation: error handling behavior, partial failure scenarios, and response format. Additional guidance on these would be expected for full completeness.

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?

With 100% schema coverage, the baseline is 3. The description adds significant value by explaining the relationship between templateId and customStepsSeparated (including the object structure with 'content' and 'expected' fields), contrasting customSteps vs customStepsSeparated use cases, and providing a concrete customFields example. This goes beyond the schema's basic 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?

The description explicitly states 'Updates multiple test cases simultaneously with the same field values,' providing specific verb, resource, and scope. The 'multiple' and 'simultaneously' clearly distinguish this from the sibling tool 'updateCase' (singular), while 'same field values' clarifies the bulk-update semantics.

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

Usage Guidelines3/5

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

The description implies bulk usage through 'multiple' but does not explicitly state when to use this versus the singular 'updateCase' (e.g., 'use this for bulk updates, use updateCase for individual updates'). It does provide clear guidance on when to use customStepsSeparated versus customSteps based on templateId, which partially compensates.

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/bun913/mcp-testrail'

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