Skip to main content
Glama
Qase MCP Server

Qase MCP Server

Official
by qase-tms

Delete test case

qase_case_delete
DestructiveIdempotent

Delete a test case by project code and ID, including its execution history; this action cannot be undone. Use one call per case with user confirmation.

Instructions

Delete a test case by project code and ID. Its execution history goes with it and this cannot be undone; consider marking it deprecated through qase_case_upsert instead. No bulk delete — one call each, each asking the user for confirmation. Cost: one API call, about 0.4s.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "code": "<code>",
      "id": "<id>"
    },
    "name": "qase_case_delete"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesEntity ID
codeYesProject code, e.g. DEMO

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv3.0.0

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already flag destructive=true and idempotent=true, but the description adds context the annotations cannot convey: execution history is deleted along with the case, the action is irreversible, and each call requires user confirmation. It also states the cost (one API call, ~0.4s), which helps with batching decisions. Nothing here conflicts with the supplied hints.

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 short sentences, front-loaded with the action and identifiers, then the destructive consequence, then the safer alternative and the per-call constraint. No filler or repetition.

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

Completeness5/5

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

For a simple two-parameter destructive tool with no output schema, the definition covers action, consequences, alternative, confirmation requirement, and cost. There is nothing an agent needs in order to call it safely that is missing.

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%, with both `code` (pattern, example DEMO) and `id` already documented in the schema. The description restates 'project code and ID' without adding format, lookup, or validation detail beyond what the schema provides, so baseline 3 applies.

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, 'Delete a test case', and scopes it to the two required identifiers (project code and ID). This clearly separates it from sibling deletes that target other resources like defects, plans, or suites.

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?

It gives an explicit non-destructive alternative ('consider marking it deprecated through qase_case_upsert instead') with the condition that selects it, plus a hard constraint that there is no bulk delete and confirmation is required per call. An agent knows both when to use it and what to do instead.

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