Skip to main content
Glama

updateSupportTicketComment

Destructive

Replace the text of a comment on a support ticket. Returns the updated comment. Only a comment the connected administrator wrote can be edited, and not one with an attachment. ticketActivityId is the id of an activity of type "comment" in the activities of getSupportTicket. Write activity.text as plain text without Markdown, in the requester's language. Never invent UUIDs; only use values from prior tool responses.

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": {
      "ticketActivityId": "<ticketActivityId>",
      "activity": "<activity>"
    },
    "name": "updateSupportTicketComment"
  }
}

Input Schema

NameRequiredDescriptionDefault
activityYesTicket comment activity fields to update.
ticketActivityIdYesThe id of the ticket comment.

Output Schema

NameRequiredDescriptionDefault
activityYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the supplied annotations (readOnlyHint=false, destructiveHint=true), it discloses the authorization boundary (own comments only), a hard structural restriction (comments with attachments cannot be edited), the return value, and a formatting requirement (plain text, no Markdown, requester's language). The warning against inventing UUIDs is concrete operational safety guidance the annotations cannot express.

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?

Purpose and return value come first, then constraints in decreasing order of importance, with zero filler. It is dense and slightly run-on in the constraint sentences, but no sentence is redundant.

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?

An output schema exists, so return-value explanation is not required, yet the description still notes it returns the updated comment. For a destructive two-parameter mutation it covers authorization, structural exclusions, ID provenance, and text formatting — everything an agent needs to call it correctly.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds real meaning: ticketActivityId is specifically an activity of type 'comment' drawn from getSupportTicket, which the schema only calls 'the id of the ticket comment'. It also constrains the content of activity.text (plain text, no Markdown, requester's language), which the schema does not.

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?

The description opens with a precise verb+resource: 'Replace the text of a comment on a support ticket.' 'Replace' cleanly separates it from the create-comment sibling, and the object being modified (comment text, not status/assignee/type) is unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

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

It states the preconditions that select this tool: the comment must have been written by the connected administrator and must not carry an attachment. It also tells the agent where ticketActivityId must come from (an activity of type 'comment' from getSupportTicket). What's missing is an explicit statement of when to use createSupportTicketComment instead, though 'replace' implies it.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources