Skip to main content
Glama
Qase MCP Server

Qase MCP Server

Official
by qase-tms

Delete environment

qase_environment_delete
DestructiveIdempotent

Delete a Qase environment by project code and ID after confirmation. This permanently removes it and breaks history filtering by that environment, so verify the target before proceeding.

Instructions

Delete an environment by project code and ID. Runs that referenced it lose the attribution, so filtering history by that environment stops working; this cannot be undone. 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_environment_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.2/5.0
Behavior5/5

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

Beyond the destructiveHint annotation, the description discloses the real consequence: existing runs lose their environment attribution and filtering by that environment stops working, plus the fact that it is irreversible and that a user confirmation prompt is issued first. It also quantifies the cost (one API call, ~0.4s), which no structured field provides.

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?

Four short clauses, front-loaded with the action and immediately followed by the consequence and the confirmation behavior. The trailing cost/latency sentence is mildly peripheral but still useful for planning and costs no ambiguity.

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 operation with full annotation coverage and no output schema, everything an agent needs is present: identification, side effects, irreversibility, confirmation flow, 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 coverage is 100%, so the format of `code` (e.g., DEMO) and the constraints on `id` are already documented. The description only adds a small clarification that `id` is the environment's ID rather than the schema's generic "Entity ID", so the 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?

"Delete an environment by project code and ID" states a specific verb, resource, and the two identifying keys, which cleanly separates it from qase_environment_upsert and the other *_delete siblings. An agent knows exactly what the tool does 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?

Usage is implied by the operation itself (delete an environment you no longer want), and the irreversibility note nudges toward caution. However, it never names alternatives or conditions — e.g., that upsert should be used to rename/retire rather than delete, or what to do when environments are still referenced by runs.

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