Skip to main content
Glama
bestpractical

mcp-server-rt

Official

update_ticket

Destructive

Update Request Tracker tickets: pass changed fields directly—status, owner, queue, priority, dates, subject, custom fields. Use Add/Delete link parameters to preserve existing relations.

Instructions

Update an existing ticket. Pass each property to change as a top-level parameter (e.g. Due, Status, Owner) — do NOT use a nested "fields" object. Links are changed only with the Add/Delete fields below: a bare relation name such as RefersTo, Parent or Children is refused, because RT would treat it as the complete list for that relation and silently remove every other link of the type.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
CcNoCc username(s) — replaces existing list (string or array of strings)
idYesTicket ID
DueNoDue datetime (format: "YYYY-MM-DD HH:MM:SS" in local time)
ToldNoLast Contact datetime, labeled "Told" in RT (format: "YYYY-MM-DD HH:MM:SS" in local time)
TypeNoTicket type (e.g. "ticket", "reminder")
OwnerNoNew owner username
QueueNoMove to this queue
StartsNoStarts datetime (format: "YYYY-MM-DD HH:MM:SS" in local time)
StatusNoNew status (e.g. open, resolved, rejected)
AdminCcNoAdminCc username(s) — replaces existing list (string or array of strings)
StartedNoStarted datetime (format: "YYYY-MM-DD HH:MM:SS" in local time)
SubjectNoNew subject
AddChildNoAdd Child links, keeping existing ones. One ticket ID, an array of IDs, or an external URI.
PriorityNoNew priority, as a number or as one of the labels this RT displays (e.g. Low, Medium, High). Labels are configured per queue and are case-sensitive, so use the exact label RT shows; when in doubt pass a number. RT does not reject a label it does not recognize, and does not reject a label at all on an installation with priority labels turned off: it sets the priority to 0, the lowest, and reports success. The response names the change RT made ("Priority changed from X to Y"), so check that the label it landed on is the one you asked for and tell the user if it is not.
AddParentNoAdd Parent links, keeping existing ones. One ticket ID, an array of IDs, or an external URI.
RequestorNoRequestor username(s) — replaces existing list (string or array of strings)
AddRefersToNoAdd RefersTo links, keeping existing ones. One ticket ID, an array of IDs, or an external URI.
CustomRolesNoCustom role assignments as {role_name: username_or_array}
DeleteChildNoRemove specific Child links. One ticket ID, an array of IDs, or an external URI.
DescriptionNoTicket description. This field is HTML: use <p> for paragraphs and <br /> for single line breaks, because a bare newline renders as nothing. Plain text with no markup is sent with its angle brackets escaped for you, and gains paragraphs if it has line breaks. If you send markup, write any angle bracket that is not part of it as &lt; and &gt; yourself — RT silently deletes any tag it does not allow along with the text inside it, so an address left as <bob@example.com> inside HTML is lost. A bare & is safe as typed.
AddDependsOnNoAdd DependsOn links, keeping existing ones. One ticket ID, an array of IDs, or an external URI.
CustomFieldsNoCustom field values to update, as {CF_name: value}. Each value replaces everything the field currently holds, so for a multi-value field pass an array of the complete set you want ({"Tags": ["Red", "Blue"]}) — to add to existing values, read them with get_ticket first and include them. RT silently ignores names it does not recognize, so a success response does not confirm a field was set. Use get_queue_fields to see the custom fields available on the ticket's queue and to check a field's ContentFormat before writing a multi-line or formatted value.
DeleteParentNoRemove specific Parent links. One ticket ID, an array of IDs, or an external URI.
DeleteRefersToNoRemove specific RefersTo links. One ticket ID, an array of IDs, or an external URI. To replace a link, delete the old one and add the new one.
AddDependedOnByNoAdd DependedOnBy links, keeping existing ones. One ticket ID, an array of IDs, or an external URI.
AddReferredToByNoAdd ReferredToBy links, keeping existing ones. One ticket ID, an array of IDs, or an external URI.
DeleteDependsOnNoRemove specific DependsOn links. One ticket ID, an array of IDs, or an external URI.
DeleteDependedOnByNoRemove specific DependedOnBy links. One ticket ID, an array of IDs, or an external URI.
DeleteReferredToByNoRemove specific ReferredToBy links. One ticket ID, an array of IDs, or an external URI.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed22 schema fields changedv0.3.0
    • changedInput schema / properties / AddChild / description
      Previous value: -"Add Child links without removing existing ones"New value: +"Add Child links, keeping existing ones. One ticket ID, an array of IDs, or an external URI."
    • changedInput schema / properties / AddDependedOnBy / description
      Previous value: -"Add DependedOnBy links without removing existing ones"New value: +"Add DependedOnBy links, keeping existing ones. One ticket ID, an array of IDs, or an external URI."
    • changedInput schema / properties / AddDependsOn / description
      Previous value: -"Add DependsOn links without removing existing ones"New value: +"Add DependsOn links, keeping existing ones. One ticket ID, an array of IDs, or an external URI."
    • changedInput schema / properties / AddParent / description
      Previous value: -"Add Parent links without removing existing ones"New value: +"Add Parent links, keeping existing ones. One ticket ID, an array of IDs, or an external URI."
    • changedInput schema / properties / AddReferredToBy / description
      Previous value: -"Add ReferredToBy links without removing existing ones"New value: +"Add ReferredToBy links, keeping existing ones. One ticket ID, an array of IDs, or an external URI."
    • changedInput schema / properties / AddRefersTo / description
      Previous value: -"Add RefersTo links without removing existing ones"New value: +"Add RefersTo links, keeping existing ones. One ticket ID, an array of IDs, or an external URI."
    • removedInput schema / properties / Child
      Removed value: -{
      -  "description": "Set Child links (ticket ID or array of IDs)"
      -}
    • changedInput schema / properties / CustomFields / description
      Previous value: -"Custom field values to update"New value: +"Custom field values to update, as {CF_name: value}. Each value replaces everything the field currently holds, so for a multi-value field pass an array of the complete set you want ({\"Tags\": [\"Red\", \"Blue\"]}) — to add to existing values, read them with get_ticket first and include them. RT silently ignores names it does not recognize, so a success response does not confirm a field was set. Use get_queue_fields to see the custom fields available on the ticket's queue and to check a field's ContentFormat before writing a multi-line or formatted value."
    • changedInput schema / properties / DeleteChild / description
      Previous value: -"Remove specific Child links"New value: +"Remove specific Child links. One ticket ID, an array of IDs, or an external URI."
    • changedInput schema / properties / DeleteDependedOnBy / description
      Previous value: -"Remove specific DependedOnBy links"New value: +"Remove specific DependedOnBy links. One ticket ID, an array of IDs, or an external URI."
    • changedInput schema / properties / DeleteDependsOn / description
      Previous value: -"Remove specific DependsOn links"New value: +"Remove specific DependsOn links. One ticket ID, an array of IDs, or an external URI."
    • changedInput schema / properties / DeleteParent / description
      Previous value: -"Remove specific Parent links"New value: +"Remove specific Parent links. One ticket ID, an array of IDs, or an external URI."
    • changedInput schema / properties / DeleteReferredToBy / description
      Previous value: -"Remove specific ReferredToBy links"New value: +"Remove specific ReferredToBy links. One ticket ID, an array of IDs, or an external URI."
    • changedInput schema / properties / DeleteRefersTo / description
      Previous value: -"Remove specific RefersTo links"New value: +"Remove specific RefersTo links. One ticket ID, an array of IDs, or an external URI. To replace a link, delete the old one and add the new one."
    • removedInput schema / properties / DependedOnBy
      Removed value: -{
      -  "description": "Set DependedOnBy links (ticket ID or array of IDs)"
      -}
    • removedInput schema / properties / DependsOn
      Removed value: -{
      -  "description": "Set DependsOn links (ticket ID or array of IDs)"
      -}
    • changedInput schema / properties / Description / description
      Previous value: -"Ticket description"New value: +"Ticket description. This field is HTML: use <p> for paragraphs and <br /> for single line breaks, because a bare newline renders as nothing. Plain text with no markup is sent with its angle brackets escaped for you, and gains paragraphs if it has line breaks. If you send markup, write any angle bracket that is not part of it as &lt; and &gt; yourself — RT silently deletes any tag it does not allow along with the text inside it, so an address left as <bob@example.com> inside HTML is lost. A bare & is safe as typed."
    • removedInput schema / properties / Parent
      Removed value: -{
      -  "description": "Set Parent links (ticket ID or array of IDs)"
      -}
    • changedInput schema / properties / Priority / description
      Previous value: -"New priority"New value: +"New priority, as a number or as one of the labels this RT displays (e.g. Low, Medium, High). Labels are configured per queue and are case-sensitive, so use the exact label RT shows; when in doubt pass a number. RT does not reject a label it does not recognize, and does not reject a label at all on an installation with priority labels turned off: it sets the priority to 0, the lowest, and reports success. The response names the change RT made (\"Priority changed from X to Y\"), so check that the label it landed on is the one you asked for and tell the user if it is not."
    • changedInput schema / properties / Priority / type
      Previous value: -"integer"New value: +[
      +  "integer",
      +  "string"
      +]
    • removedInput schema / properties / ReferredToBy
      Removed value: -{
      -  "description": "Set ReferredToBy links (ticket ID or array of IDs)"
      -}
    • removedInput schema / properties / RefersTo
      Removed value: -{
      -  "description": "Set RefersTo links (ticket ID or array of IDs)"
      -}
  2. First observedv0.2.1

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the destructiveHint annotation, the description and parameter docs disclose multiple silent-failure and destructive behaviors: a bare relation name causes RT to silently remove every other link of that type; unrecognized Priority labels are silently coerced to 0 with a success response; unknown CustomFields names are silently ignored; and HTML Description input silently deletes disallowed tags and their contents. This far exceeds the disclosure burden and directly prevents an agent from causing unintended data loss.

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?

Three sentences with no filler. The purpose is front-loaded, the calling convention follows, and the highest-risk failure mode (link replacement) is flagged immediately. Every sentence earns its place, and the density of useful information per word is very high.

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 29-parameter destructive mutation tool with no output schema, the documentation is nearly complete: the description covers global calling conventions and the schema covers every parameter with rich behavioral warnings. The only gaps are minor — no overall statement of what the response contains (though the Priority note references it) and no mention of permission requirements. Given the tool's complexity, this is thorough.

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 main description adds a global semantic the schema cannot convey: all properties must be top-level and a nested "fields" object is invalid. The link-handling rule (only Add/Delete variants accepted, bare relation names refused) likewise adds semantics that apply across many parameters. This lifts the score above baseline, though the per-parameter meaning is already well carried by the schema.

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 opening phrase "Update an existing ticket" states a specific verb and resource, and the contrast with create_ticket and get_ticket among siblings is clear from context. The second sentence adds the tool's distinctive calling convention (top-level parameters, no nested fields object), which sharpens what this tool is and is not.

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?

The description gives clear operational context: how to pass fields, which link names are refused, and the destructive consequence of passing a bare relation name. The parameter notes add explicit cross-tool guidance ("read them with get_ticket first", "Use get_queue_fields to check a field's ContentFormat"). It stops short of explicitly stating when not to use this tool in favor of create_ticket or add_comment, hence 4 rather than 5.

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/bestpractical/mcp-server-rt'

If you have feedback or need assistance with the MCP directory API, please join our Discord server