Skip to main content
Glama

add_ticket_comment

Add a public reply or internal note to a Zendesk ticket, defaulting to an internal note for safety. Use it to document updates or respond to requesters without exposing sensitive details.

Instructions

Add a public reply or internal note to a ticket. Defaults to an internal note for safety.

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_id": "<ticket_id>",
      "body": "<body>"
    },
    "name": "add_ticket_comment"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYes
htmlNo
publicNotrue = public reply visible to requester; false = internal note.
statusNoOptionally change status in the same update (e.g. 'pending').
author_idNo
ticket_idYes
upload_tokensNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare non-read-only, non-idempotent, non-destructive, open-world behavior. The description adds genuine context beyond that: the output is visible to the requester only when public is true, and the safe default is an internal note. It omits that the call can also mutate ticket status, which is a notable side effect for a write tool.

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?

Two short sentences with the core action front-loaded and no filler. It is arguably too terse for a seven-parameter write tool, but that is a completeness issue rather than wordiness.

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

Completeness2/5

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

This is a mutation tool with seven parameters and only 29% schema description coverage, and the description does not mention the optional same-call status change, HTML body support, or attachment tokens. Given the complexity and lack of an output schema, the definition is under-informative for safe invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 29%, so the description must carry more weight, yet it only touches the visibility/default behavior around the public flag. The html, status, author_id, and upload_tokens parameters get no explanation of purpose or format anywhere except the two schema-described fields, leaving a significant gap.

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 gives a specific verb+resource ('Add a public reply or internal note to a ticket'), which is far more precise than the name alone and separates it from listing siblings like list_ticket_comments. It does not explicitly name an alternative tool, so it stops short of full sibling differentiation.

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?

The 'public reply or internal note' framing plus the safety default implies when each visibility mode applies, but there is no explicit when-to-use guidance versus update_ticket or list_ticket_comments. The agent must infer the choice from the default rather than a stated rule.

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