Skip to main content
Glama

delete_tickets

Destructive

Soft-delete up to 100 Zendesk tickets by ID, keeping them recoverable for about 30 days so accidental removals can be restored.

Instructions

Soft-delete tickets (recoverable for ~30 days via api_request PUT deleted_tickets/restore_many?ids=...).

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": {
      "ticket_ids": "<ticket_ids>"
    },
    "name": "delete_tickets"
  }
}

Input Schema

NameRequiredDescriptionDefault
ticket_idsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=false, and openWorldHint=true, so the safety profile is covered. The description adds real value beyond that: deletion is soft, recoverable for roughly 30 days, and recoverable through a specific restore endpoint with the ids. It omits the 100-id cap and any permission requirements.

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?

One sentence with the destructive operation front-loaded and the recovery escape hatch in a parenthetical. Nothing is wasted, though the restore URL is presented without framing about when an agent should attempt it.

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?

For a one-parameter mutation tool with annotations covering the safety profile and no output schema, the description supplies what matters most: that the delete is reversible and how. Missing are permission requirements and outcome/response expectations, which keeps it from a 5.

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?

There is a single parameter, ticket_ids, with 0% schema description coverage; the plural "tickets" and the restore-URL example at least imply a batch of ids. The description adds no detail on id format, ordering, or partial-failure behavior, and the maxItems=100 constraint appears only in the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The definition names a specific verb and resource ("Soft-delete tickets") and discloses the operation's semantics rather than just restating the name. It does not explicitly distinguish itself from siblings like delete_resource or bulk_update_tickets, so it stops short of a 5.

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 soft-delete framing plus the explicit recovery route (api_request PUT deleted_tickets/restore_many?ids=...), which tells the agent how to undo the call. There is no guidance on when to prefer this over delete_resource or bulk_update_tickets, and no prerequisite/permission context.

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