Skip to main content
Glama
Qase MCP Server

Qase MCP Server

Official
by qase-tms

Delete test plan

qase_plan_delete
DestructiveIdempotent

Deletes a test plan by project code and ID after confirmation; its cases and runs remain, but references to the plan ID break and deletion cannot be undone.

Instructions

Delete a test plan by project code and ID. Only the plan goes — its cases and the runs made from it stay — but anything launching it by ID breaks; this cannot be undone. To change its cases use qase_plan_upsert instead. Asks the user for confirmation first. 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_plan_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.5/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, yet the description adds genuinely new behavior: only the plan is removed while its cases and derived runs survive, external launchers referencing the ID break, the action is irreversible, a confirmation prompt is issued first, and the cost is one ~0.4s API call. None of that is recoverable from the structured fields.

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 short sentences, each doing distinct work: scope, side effects, alternative routing, confirmation and cost. The destructive consequence is front-loaded rather than buried, and there is no filler.

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 two-parameter destructive mutation with annotations present and no output schema, the definition covers everything an agent needs: address format, blast radius, irreversibility, confirmation behavior, latency, and the sibling to use for a different intent.

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% and both parameters (id, code) are fully documented with type, pattern and example, so the schema carries the semantics. The description only restates that both are required for addressing, adding no format or edge-case detail beyond it — 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?

States a specific verb ('Delete') plus resource ('a test plan') and the exact addressing key ('by project code and ID'), which distinguishes it from the other *_delete siblings and from qase_plan_upsert.

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?

Explicitly redirects the 'change the plan's cases' intent to qase_plan_upsert, which is a real routing decision an agent would otherwise likely get wrong. It stops short of naming other alternatives (e.g. deleting runs) or stating straightforward 'do not use when you only want to archive' exclusions, so it is clear context without full when-not coverage.

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