Skip to main content
Glama

Robot Actions — Remote Device Control

testrail_create_case

Create a new TestRail test case under the given sectionId. Returns the new case id + browse URL. ALWAYS confirm with the user via a chat bubble before calling — this writes to the customer's TestRail project. Use customStepsSeparated for BDD-shaped tests (each step gets action + expected result), customSteps for plain-text. Set refs to the originating Jira/AzDO story key (e.g. 'PROJ-123') so TestRail shows the linkback chip.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
refsNoComma-separated reference keys (e.g. "PROJ-123,PROJ-124") shown as chips
titleYesCase title (max 250 chars, will be trimmed)
typeIdNoCase type_id (tenant-specific; omit for default)
sectionIdYesTestRail section id to create the case under
priorityIdNoPriority id (1-4 in stock TestRail; tenants may customise)
customStepsNoPlain-text steps (TestRail "Text" template)
customPrecondsNoPreconditions text
customStepsSeparatedNoStructured steps (TestRail "Steps + Expected Result" template) — preferred for BDD

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the full behavioral burden. It explicitly discloses the mutation side effect ('writes to the customer's TestRail project'), mandates user confirmation, and reports the return value. It does not discuss duplicate handling, permissions, or rate limits, but those are less critical for a create 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?

Four sentences, front-loaded with purpose, then return value, confirmation requirement, and parameter guidance. No filler; the most critical write-side-effect warning is placed early.

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 8 parameters, no annotations, and no output schema, the description covers the essentials: what it does, what it returns, and the required confirmation. Combined with the well-described input schema, an agent has enough to call it correctly; only provenance of sectionId and fully optional parameter details are left to the schema/siblings.

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 coverage is 100%, so the baseline is 3. The description adds some operational color (customStepsSeparated for BDD-shaped tests, customSteps for plain-text, refs as the originating Jira/AzDO key), but the schema already describes these fields and even marks customStepsSeparated as preferred for BDD, so the net added value is modest.

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 opens with a specific verb and resource: 'Create a new TestRail test case under the given sectionId.' This clearly differentiates it from sibling tools like testrail_update_case, testrail_list_cases, and testrail_get_case, and even states the return value (id + browse URL).

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?

It gives concrete context for when to call: to create a new case in a specified section, and it warns that this writes to the customer's project, requiring chat confirmation. It does not explicitly name alternatives such as testrail_update_case for modifying existing cases, but the create-vs-update distinction is strongly implied by the wording.

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