Skip to main content
Glama
Qase MCP Server

Qase MCP Server

Official
by qase-tms

Delete defect

qase_defect_delete
DestructiveIdempotent

Deletes a defect by project code and ID, including linked results, after confirmation; irreversible, so prefer resolving via upsert with id when the record should survive.

Instructions

Delete a defect by project code and ID; its links to results go with it and this cannot be undone. Usually resolving it through qase_defect_upsert with id is the right move, so the record survives. 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_defect_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 declare destructiveHint=true and idempotentHint=true, so the safety profile is covered. The description adds genuinely new behavior: cascading removal of result links, irreversibility ('cannot be undone'), an interactive confirmation step, and a cost/latency estimate of one call at ~0.4s.

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 destructive scope, then the safer alternative, then confirmation and cost. No sentence is redundant; each adds a distinct decision-relevant fact.

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 delete with annotations and no output schema, everything an agent needs is present: identifiers, cascade effects, irreversibility, the safer sibling path, confirmation behavior, and cost. Nothing material 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 description coverage is 100%, including the project code pattern and example ('DEMO'), so the schema does the heavy lifting. The description only restates that both code and ID identify the target, adding no format or edge-case guidance beyond the schema.

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 and resource ('Delete a defect') plus the exact keys that identify it ('by project code and ID'), and immediately scopes the blast radius ('its links to results go with it'). An agent can distinguish this from qase_defect_upsert or qase_triage_defect without opening another schema.

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?

Explicitly names the preferred alternative and its condition: 'Usually resolving it through qase_defect_upsert with `id` is the right move, so the record survives.' That is a clear when-not-to-use rule with the sibling named, not inferred.

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