Skip to main content
Glama
g-tiwari

@g-tiwari/mcp-testrail

by g-tiwari

delete_cases

Delete multiple test cases in one request by specifying the project ID and case IDs. Clean up test suites by removing selected cases without manual deletion.

Instructions

Bulk delete multiple test cases

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
case_idsYesArray of case IDs to delete
suite_idNoSuite ID (required for multi-suite projects)
project_idYesProject ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.3/5.0
Behavior2/5

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

There are no annotations, so the description carries full responsibility for behavioral disclosure. It conveys that deletion is bulk and destructive, but it does not state that deletion is permanent, whether it cascades to related records like test results, whether permissions are required, or how the optional suite_id affects behavior. For a destructive operation, this is a significant transparency gap.

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 very short and front-loaded, stating the action and object immediately. 'Bulk' and 'multiple' are slightly redundant, so it is not perfectly economical, but there is no filler or unnecessary detail.

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 destructive bulk operation with no output schema and no annotations, the description is too thin. It does not explain return behavior, confirmations, error conditions, the meaning of suite_id in multi-suite projects, or the permanence of deletion. An agent invoking this tool has little context to anticipate side effects or handle failures.

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 description coverage is 100%, so the schema already documents project_id, case_ids, and suite_id. The description adds no new parameter-level meaning beyond signaling bulk deletion; the baseline of 3 is appropriate because structured documentation handles the parameter semantics.

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 clearly identifies the verb ('delete'), the resource ('test cases'), and the scope ('bulk/multiple'), so an agent can distinguish it from the singular sibling delete_case and from update-type case tools. The resource and action are unambiguous even without opening the schema.

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 use when deleting multiple test cases at once, but it gives no explicit guidance on when to prefer this tool over delete_case or when the optional suite_id is needed. It does not mention any alternatives or exclusions, leaving the agent to infer the usage boundary from sibling names.

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