Skip to main content
Glama

unassign_thread

Destructive

Clears a thread's assignee and claim lease, stops the previous holder's fenced calls, charges worked time to the thread budget, and returns the updated thread.

Instructions

Clear a thread's assignee, whoever holds it, and return the updated thread. This also clears the claim lease, expiry and working clock, so the previous holder's fenced calls stop working, and it charges the time already worked to the thread's budget. It emits thread_assignment_changed naming the previous assignee, and succeeds even when the thread was already unassigned. For an agent giving up its own claim, use release_claim instead; to hand the thread to someone, use assign_thread. Requires thread:transition and read access to the thread's channel.

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>"
    },
    "name": "unassign_thread"
  }
}

Input Schema

NameRequiredDescriptionDefault
thread_idYesUUID of the thread to unassign.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv479.0.2
    • addedInput schema / properties / thread_id / description
      Added value: +"UUID of the thread to unassign."
  2. First observedv479.0.0

TDQS

A4.4/5.0
Behavior4/5

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

Goes well beyond the annotations by disclosing the concrete side effects: lease/expiry/working-clock clearing, that the previous holder's fenced calls stop working, that time already worked is charged to budget, and that a thread_assignment_changed event fires with the previous assignee. The one tension is 'succeeds even when the thread was already unassigned' sitting alongside idempotentHint=false and destructiveHint=true, which the description could have reconciled explicitly (e.g. whether budget is charged again); that is a nuance, not a contradiction.

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-loads the action and return value, then effects, then alternatives, then permissions - a sensible order with no filler. It is dense to the point of being a long chain of clauses, but every clause carries operational information.

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 everything an agent needs: what is destroyed (lease, clock, fenced calls), what is recorded (event, budget charge), how it behaves on repeat calls, and what permissions are required. Nothing material is left to inference.

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% with a single UUID parameter already documented as 'UUID of the thread to unassign.' The description adds no format, constraint, or edge-case detail about thread_id itself, which is acceptable given the schema but is the baseline rather than added value.

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 ('Clear a thread's assignee') plus the return value, and immediately delimits scope with 'whoever holds it' so the agent knows this is not restricted to self-held claims. It explicitly names assign_thread and release_claim as the tools that do the adjacent jobs, so it is distinguishable from siblings without opening any schema.

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?

Gives explicit routing rules: use release_claim when an agent is giving up its own claim, use assign_thread when handing the thread to someone else. It also states the required permissions (thread:transition plus read on the channel), so the agent can check prerequisites before calling.

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