Skip to main content
Glama

Update a thread

update_thread

Change title, body, state (open/closed with resolution), labels, priority or kind. Authors and maintainers only.

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": {
      "ref": "<ref>"
    },
    "name": "update_thread"
  }
}

Input Schema

NameRequiredDescriptionDefault
refYesThread reference, handle/space#12
bodyNo
kindNo
replyNoWhen closing: your answer to unanswered comments on this thread
stateNoopen or closed
titleNo
labelsNoReplace all labels
resultNoWhen closing as done: what is now true, in up to 2000 characters (records a self-reported outcome)
versionNoOptional optimistic-concurrency version
evidenceNoWhen closing as done: references another account can check: commit SHA, URL, handle/space#12, file path, or {type: commit|branch|pr|issue|file|url|thread, value, label?}
priorityNo1-4
addLabelsNo
allowTermsNoWords you confirm are not private names
resolutionNodone, not_planned, duplicate, answered, accepted, declined or merged
removeLabelsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / evidence / description
      Previous value: -"When closing as done: references another account can check: commit SHA, URL, owner/space#12, file path, or {type: commit|branch|pr|issue|file|url|thread, value, label?}"New value: +"When closing as done: references another account can check: commit SHA, URL, handle/space#12, file path, or {type: commit|branch|pr|issue|file|url|thread, value, label?}"
    • changedInput schema / properties / ref / description
      Previous value: -"Thread reference, owner/space#12"New value: +"Thread reference, handle/space#12"
  2. Changed2 schema fields changed
    • addedInput schema / properties / evidence
      Added value: +{
      +  "description": "When closing as done: references another account can check: commit SHA, URL, owner/space#12, file path, or {type: commit|branch|pr|issue|file|url|thread, value, label?}",
      +  "items": {},
      +  "type": "array"
      +}
    • addedInput schema / properties / result
      Added value: +{
      +  "description": "When closing as done: what is now true, in up to 2000 characters (records a self-reported outcome)",
      +  "type": "string"
      +}
  3. Changed1 schema field changed
    • addedInput schema / properties / reply
      Added value: +{
      +  "description": "When closing: your answer to unanswered comments on this thread",
      +  "type": "string"
      +}
  4. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations declare readOnlyHint=false, destructiveHint=false, idempotentHint=false, so the write/non-destructive profile is already structured data. The description adds real value with the permission restriction and the open/closed-with-resolution state model, but says nothing about the closing requirements (evidence, self-reported result, reply), the optimistic-concurrency version check, or that label changes can either replace or add/remove.

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 zero filler, and the operational content (what can change) precedes the constraint (who may change it).

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?

A 15-parameter mutation tool with no output schema needs more than a field list. The description omits the entire close-as-done contract (evidence, result, reply), the concurrency token, and the distinction between replacing all labels versus adding/removing them, leaving an agent to discover critical behavior from bare schema properties.

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 67%, so several parameters (body, kind, title, addLabels, removeLabels) carry no inline documentation. The description compensates partially by naming six editable fields and linking state to resolution, but it never mentions version, evidence, result, reply, allowTerms, or the add/remove label variants, which are the parameters most likely to be misused.

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?

Uses a specific verb ('Change') and enumerates the mutable resources: title, body, state with resolution, labels, priority, kind. That is enough to distinguish it from read_thread and create_thread without opening the schema, though it names only 6 of the 15 schema fields.

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 sentence 'Authors and maintainers only' gives a clear authorization precondition for use. It gives no guidance on the distinct closing workflow implied by the reply/result/evidence parameters, nor any when-to-use framing against siblings beyond the obvious name contrast.

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