Skip to main content
Glama

Delete Defect

delete_defect
DestructiveIdempotent

Permanently remove a defect and all its associated matchers from Allure TestOps. Requires explicit confirmation before deletion to prevent accidental data loss.

Instructions

Permanently delete a defect and all its associated matchers.

This is a destructive operation. The confirm parameter must be set to true to actually perform the deletion.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
confirmNoSafety flag — must be set to true to confirm deletion
defect_idYesID of the defect to delete
output_formatNoOutput format: 'json' (default) or 'plain'.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNo
statusNo
defect_idNo
Behavior4/5

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

Annotations already indicate destructiveHint=true, and the description adds useful context: the operation is permanent and affects both the defect and associated matchers. There is no contradiction with annotations. The description does not cover all behavioral nuances (e.g., error handling), but it provides meaningful additional information.

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 exceptionally concise at two sentences, with no wasted words. It front-loads the core action and immediately follows with the critical usage condition, making it efficient for an agent to parse.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the low tool complexity and comprehensive schema and annotations, the description is largely complete. It covers the destructive nature and the required confirmation flag. The presence of an output schema alleviates the need to explain return values, but a brief note on prerequisites or error cases would be beneficial.

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?

The input schema has 100% description coverage, so the baseline is 3. The description emphasizes the importance of the 'confirm' parameter, which is already documented in the schema, but does not add new meaning for the other parameters ('defect_id' and 'output_format').

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 clearly states the tool's action: permanently delete a defect and all its associated matchers. This is a specific verb+resource combination that distinguishes it from siblings like 'delete_defect_matcher' (only deletes a single matcher) and 'update_defect' (modifies instead of deletes).

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?

The description provides clear guidance on the required condition: the 'confirm' parameter must be set to 'true' to actually perform the deletion. However, it does not explicitly mention when not to use this tool or suggest alternatives.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ivanostanin/lucius-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server