Skip to main content
Glama
Qase MCP Server

Qase MCP Server

Official
by qase-tms

Delete test result

qase_result_delete
DestructiveIdempotent

Deletes a single test result from a Qase run using project code, run ID, and result hash; confirms first and leaves the case and other results unchanged.

Instructions

Delete one result from a run, by run ID and result hash. The case and the rest of the run are untouched; pass rates shift and this cannot be undone. To discard a whole run use qase_run_delete. 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>",
      "run_id": "<run_id>",
      "hash": "<hash>"
    },
    "name": "qase_result_delete"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeYesProject code, e.g. DEMO
hashYesResult hash to delete
run_idYesEntity ID

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 destructiveHint and idempotentHint, but the description goes well beyond them: it scopes the blast radius ('the case and the rest of the run are untouched'), notes the downstream effect on pass rates, states irreversibility, describes the confirmation prompt, and gives a cost/latency estimate. That is exactly the context an agent needs before committing a destructive write.

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, front-loaded with the action and scope before the sibling redirect and the cost note. Every sentence carries distinct information with no restatement of the name or title.

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 three-parameter destructive tool with no output schema, the description covers action, scope, side effects, irreversibility, confirmation behavior, alternative, and latency. There is no material gap an agent would need to fill before calling it.

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 all three parameters are already documented, and the description adds only that the hash identifies the specific result. The 'code' project parameter is never mentioned in prose, so the description neither compensates for nor improves on the schema. 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 and resource ('Delete one result from a run') and narrows scope precisely with 'by run ID and result hash'. It also explicitly distinguishes itself from qase_run_delete, so an agent can separate the two without inspecting either 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?

Gives an explicit alternative and the condition that selects it ('To discard a whole run use qase_run_delete'), plus an operational precondition ('Asks the user for confirmation first'). Nothing about when to reach for this tool is left to inference.

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