Skip to main content
Glama

delete_resource

Destructive

Deletes a Zendesk resource by ID, keeping the last state in the change journal so it can be re-created with a new ID.

Instructions

Delete an object by ID. Most deletions are permanent; the object's last state is kept in the change journal so revert_change can re-create it (with a new ID).

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": {
      "resource": "<resource>",
      "id": "<id>"
    },
    "name": "delete_resource"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesObject ID (or key for custom_objects).
resourceYesResource type. Ones needing parent_id: user_identities (parent_id = user id), ticket_field_options (parent_id = ticket field id), user_field_options (parent_id = user field id), schedule_holidays (parent_id = schedule id), routing_attribute_values (parent_id = routing attribute id), custom_object_records (parent_id = custom object key), side_conversations (parent_id = ticket id), help_center_sections (create: parent_id = category id), help_center_articles (create: parent_id = section id. Prefer the dedicated article tools.). Read-only: tags, deleted_tickets, ticket_metrics, satisfaction_ratings, satisfaction_reasons, job_statuses, audit_logs, activities, locales.
parent_idNoParent ID for nested resources (see resource docs).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false, idempotentHint=false and openWorldHint=true, so the safety profile is covered. The description adds real value on top: most deletions are permanent, the last state is retained in the change journal, and revert_change re-creates the object under a new ID. The caveat that the restored ID differs is exactly the kind of consequence an agent needs to warn about.

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?

Two short sentences with zero padding. The destructive nature and the recovery caveat are front-loaded where an agent will read them first.

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 destructive single-object delete with fully documented parameters and no output schema, the description covers what matters: permanence, journal retention, and the ID change on revert. It stops short of noting permission requirements or how a partial failure reports, but no critical calling information 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 description coverage is 100%, including the note about which resource types need parent_id and which are read-only, so the schema does the heavy lifting. The description only echoes 'by ID' and adds nothing about the resource/parent_id pairing. Baseline 3 is appropriate.

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 description states a specific verb and resource with scope: 'Delete an object by ID'. The polymorphic 'object' is clarified by the schema's resource enum, so an agent can tell this is the generic per-resource delete. It does not differentiate itself from the delete_tickets sibling, which is the one plausible overlap.

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 rather than stated: the tool is for removing a single object when you already know its ID. The mention of revert_change gives a recovery path, which is useful decision context. There is no explicit when-not guidance, no note about preferring dedicated tools such as delete_tickets for tickets, and no prerequisites.

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