Skip to main content
Glama
gracexiaowork

testrail-mcp-server

testrail_delete_case

Deletes a specified TestRail test case by its case ID to remove outdated or incorrect tests from test management workflows.

Instructions

Delete a test case

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
case_idYesThe ID of the test case to delete

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/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. 'Delete' implies irreversibility, but the description never confirms whether deletion is permanent, whether it requires elevated permissions or project-admin rights, or what happens to case IDs already referenced by results. With zero annotation coverage, a destructive tool needs more than this.

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?

A single front-loaded sentence with no filler, which is structurally sound for such a simple tool. It is arguably too terse given the destructive nature, but there is no wasted wording.

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

Completeness2/5

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

For a mutation tool with no annotations and no output schema, the description omits the information an agent most needs: permanence of the delete, permission requirements, and any side effects on related results. Complete for parameter passing, inadequate for safe invocation.

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?

Only one parameter and schema description coverage is 100%, so the schema already explains case_id. The description adds nothing beyond it, which is the expected baseline when the schema does the heavy lifting.

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

Purpose4/5

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

States a specific verb (Delete) and resource (test case), and the singular 'case' plus the required case_id make it distinguishable from sibling bulk/destructive run/section tools. It stops short of explicitly differentiating itself from testrail_delete_run or testrail_delete_section, but the resource noun is unambiguous.

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?

No when-to-use guidance, no prerequisite context, and no mention of alternatives (e.g. update_case for a softer change). For a destructive operation this is a real gap – an agent gets no signal about when deletion is appropriate versus updating.

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