Skip to main content
Glama
competlab

competlab-mcp-server

by competlab

delete_ticket

Destructive

Permanently delete a ticket and its thread after confirming it is deletable, using a read_write API key. Strategic Briefing tickets cannot be deleted; move them to dismissed instead.

Instructions

Delete a ticket and its thread. This cannot be undone. A ticket a Strategic Briefing opened cannot be deleted at all — move it to dismissed with move_ticket instead, so that what opened it does not open it again. Read deletable on the ticket first; deleting one that is not deletable is refused. Needs a read_write API key; a read key is refused and can only list and read.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ticketIdYesThe ticket's ID from list_tickets, or its number as a person writes it: '#14'
projectIdYesProject ID (from list_projects)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv4.0.1

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true, and the description adds substantial context beyond that: irreversibility ('cannot be undone'), a hard exclusion case, the refusal behavior, and an auth requirement (read_write key required; read key refused and limited to list/read).

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?

Front-loads the destructive warning in the first two short sentences, then layers exception, precondition, and auth. Dense and mostly waste-free, though the mid-sentence rationale ('so that what opened it does not open it again') is slightly verbose.

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 2-parameter destructive mutation with no output schema, the description covers the essential caveats: irreversibility, exclusion case, prerequisite check, and API key requirements. Nothing an agent needs to invoke it safely 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% with only 2 parameters, both fully documented in the schema itself (ticketId accepted as ID or '#14', projectId). The description adds no parameter-level syntax or constraints, so 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 a ticket and its thread'), and immediately notes the scope includes the thread. It differentiates from the sibling move_ticket by naming it as the alternative path for the excluded case.

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 covers when-not-to-use: a ticket opened by a Strategic Briefing cannot be deleted and must be moved to dismissed via move_ticket. It also states a precondition (read 'deletable' on the ticket first) and the consequence of ignoring it (refusal).

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