Skip to main content
Glama
Qase MCP Server

Qase MCP Server

Official
by qase-tms

Delete attachment

qase_attachment_delete
DestructiveIdempotent

Deletes a Qase attachment by its hash after user confirmation, removing the file permanently while leaving existing references intact. Use it to clean up uploaded files that are no longer needed.

Instructions

Delete an attachment by its hash (from qase_attachment_upload). Anything referencing it keeps the reference but the file is gone; 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": {
      "hash": "<hash>"
    },
    "name": "qase_attachment_delete"
  }
}

Input Schema

NameRequiredDescriptionDefault
hashYesAttachment hash identifier

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?

The description adds substantial behavioral detail beyond the annotations: deletion is irreversible, references remain but the file is gone, user confirmation occurs first, and the operation costs one API call with an approximate latency. These are exactly the consequences an agent needs before invoking a destructive tool.

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?

The description is front-loaded and compact. Every sentence contributes essential information: identity of the resource, consequence of deletion, confirmation behavior, and cost.

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 single-parameter destructive tool with annotations already covering safety traits, the description supplies the remaining operational context: provenance of the hash, irreversibility, lingering references, confirmation, and timing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the parameter is already documented as an attachment hash. The description adds meaningful provenance by saying the hash comes from qase_attachment_upload, which helps the agent obtain the correct value.

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 states a specific verb and resource: delete an attachment. It also names the required identifier, the hash, and ties it to qase_attachment_upload, making the operation unambiguous.

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?

It clearly indicates when to use the tool by saying the hash comes from qase_attachment_upload and that the tool asks for confirmation first. It does not explicitly name alternatives or when not to delete, but the context is sufficient for this narrow operation.

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