Skip to main content
Glama

update_resource

Idempotent

Update a Zendesk object by ID, preserving unspecified conditions and actions for triggers, automations, and views; dropping dropdown options requires an explicit flag.

Instructions

Update an object by ID. For triggers/automations/views, unspecified conditions or actions are preserved (Zendesk would otherwise clear them); dropping dropdown options requires allow_option_removal.

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>",
      "data": "<data>"
    },
    "name": "update_resource"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesObject ID (or key for custom_objects).
dataYesAttributes to change (unwrapped). Arrays such as actions or a view's columns replace the existing array; for triggers, automations and views the server keeps whatever you don't send.
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).
allow_option_removalNoAllow a field update that drops dropdown options (removes their values from tickets and macros).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnly=false, destructive=false, and idempotent=true, but the description adds genuinely non-obvious behavior: unspecified conditions/actions are preserved for triggers, automations, and views where Zendesk would otherwise clear them. It also warns that dropping dropdown options removes their values from tickets and macros and must be explicitly enabled. It does not describe the response payload or what happens on invalid IDs, but the safety-relevant disclosure is strong.

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 tight sentences with the core action front-loaded and the risky edge cases grouped behind it. The parenthetical explaining why preservation matters is compact and earns its place.

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 45-value resource enum with nested data and no output schema, the description covers the highest-risk pitfalls (array replacement, preservation, destructive option removal) while the schema handles per-resource parent_id and read-only constraints. It omits any mention of what the call returns or of routing to the dedicated article/ticket tools, which are the remaining gaps.

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%, so all five parameters are already documented in the schema, including allow_option_removal's side effects and the data field's array-replacement semantics. The description restates the allow_option_removal requirement but adds little beyond what the schema says. Baseline 3 is appropriate when the schema carries the weight.

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?

States a specific verb and resource ('Update an object by ID') and immediately scopes the non-obvious behavior to particular resource types (triggers/automations/views). It does not name or differentiate itself from siblings like create_resource, delete_resource, update_ticket, or update_article, so it falls 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 Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance: nothing tells the agent when to call this versus update_ticket, update_article, create_or_update_user, or bulk_update_tickets, even though those siblings overlap. The only conditional language ('dropping dropdown options requires allow_option_removal') is a prerequisite for a parameter, not routing guidance.

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