Skip to main content
Glama

assign_thread

Destructive

Hand off a thread to a workspace member by replacing the current holder and issuing a fresh claim lease with a reset working clock; returns the updated thread.

Instructions

Assign a thread to a member and hand it off, replacing any current holder: the new assignee gets a fresh claim_lease_id with no lease deadline and a reset working clock. Use claim_thread to take an unassigned thread yourself (it refuses when someone holds it) and unassign_thread to clear the assignee. Emits thread_assignment_changed carrying the previous assignee and your optional note, and returns the updated thread. The assignee must belong to the thread's workspace, and the call is refused for a review whose change the assignee's own model family wrote. Requires thread:transition.

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": {
      "thread_id": "<thread_id>",
      "assignee_id": "<assignee_id>"
    },
    "name": "assign_thread"
  }
}

Input Schema

NameRequiredDescriptionDefault
noteNoHandoff text delivered to subscribers on the thread_assignment_changed event. Omitted, the event carries no note.
thread_idYesUUID of the thread to assign. You must be able to read it.
assignee_idYesUUID of the member to hand the thread to. The member must belong to the thread's workspace; the current assignee, if any, is replaced.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv479.0.2
    • changedInput schema / properties / assignee_id / description
      Previous value: -"member to assign the thread to"New value: +"UUID of the member to hand the thread to. The member must belong to the thread's workspace; the current assignee, if any, is replaced."
    • changedInput schema / properties / note / description
      Previous value: -"optional handoff note for the assignee"New value: +"Handoff text delivered to subscribers on the thread_assignment_changed event. Omitted, the event carries no note."
    • addedInput schema / properties / thread_id / description
      Added value: +"UUID of the thread to assign. You must be able to read it."
  2. First observedv479.0.0

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the annotations (which only say destructive, non-idempotent, non-read-only) by disclosing what is destroyed/replaced (the current holder), the resulting state (fresh claim_lease_id, no lease deadline, reset working clock), the emitted thread_assignment_changed event with previous assignee and note, the permission required, and a domain-specific refusal rule.

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?

Front-loaded with verb, resource, and the replacing semantics, then alternatives, then side effects and preconditions — a logical order with no filler. Sentences are dense, packing several concepts each (lease id, deadline, working clock, event payload), which costs a little readability but not accuracy.

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?

For a destructive mutation with no output schema, the description covers side effects, emitted event, return value ('returns the updated thread'), permissions, and the assignee-eligibility rule. Nothing an agent needs to call it safely and correctly is missing.

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 three parameters are already documented, and the description largely restates them (assignee must belong to the workspace, note rides the event). The one genuinely new parameter-level constraint is the refusal when the assignee's model family wrote the change under review, which the schema does not state, but that is a modest addition over an already-complete 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?

States a specific verb and resource ('Assign a thread to a member and hand it off') plus the key semantic that it replaces any current holder. It explicitly distinguishes itself from the two nearest siblings, claim_thread and unassign_thread, so an agent can pick the right tool without opening schemas.

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

Usage Guidelines5/5

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

Names both alternatives and the condition that selects each: claim_thread for taking an unassigned thread yourself and it refuses when someone holds it, unassign_thread to clear the assignee. It also gives preconditions (assignee must belong to the thread's workspace, requires thread:transition) and an exclusion (refused for a review whose change the assignee's own model family wrote).

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

Deploy Server

Other Tools