Skip to main content
Glama

set_thread_steer

DestructiveIdempotent

Set a thread's durable steer so resuming or newly assigned agents follow standing guidance, replacing earlier instructions instead of using a one-off reply.

Instructions

Set a thread's persisted steer, the durable guidance a resuming or newly assigned agent should follow, replacing any earlier steer (the latest write wins), and return {thread_id, steer, steered_by, steered_at} with the caller as steered_by. The steer stays on the thread across claims and handoffs and emits no event; a reader picks it up with get_thread_steer. Use it for standing guidance rather than a one-off reply, which belongs in a message. 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>",
      "steer": "<steer>"
    },
    "name": "set_thread_steer"
  }
}

Input Schema

NameRequiredDescriptionDefault
steerYesThe steering instruction as plain text. It replaces the thread's current steer in full.
thread_idYesUUID of the thread to steer. The caller must be able to read the thread's channel.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv479.0.2
    • changedInput schema / properties / steer / description
      Previous value: -"the steering instruction"New value: +"The steering instruction as plain text. It replaces the thread's current steer in full."
    • addedInput schema / properties / thread_id / description
      Added value: +"UUID of the thread to steer. The caller must be able to read the thread's channel."
  2. First observedv479.0.0

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare the destructive, idempotent, non-read profile; the description adds real context on top: latest-write-wins replacement of prior steer, persistence across claims and handoffs, no event emitted, and the thread:transition requirement. However, the destructiveHint=true annotation pairs with a description that presents replacement almost benignly, and the ordering between concurrent writers is only gestured at with "the latest write wins" rather than described as a guarantee or a race.

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?

The core action and its replacement semantics are front-loaded, and every clause carries information (return shape, persistence, no event, auth). It is a single dense sentence followed by a usage sentence, though "replacing any earlier steer" and "the latest write wins" restate the same idea already present in the schema.

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?

With no output schema, the description supplies the return shape ({thread_id, steer, steered_by, steered_at}) and who fills steered_by, plus lifecycle behavior across claims and handoffs and the absence of an emitted event. For a two-parameter mutation with full annotation coverage, nothing an agent needs to call it 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 the two parameters are already documented, and the description adds little beyond noting the caller becomes steered_by in the response. It does not clarify format or length expectations for the steer text beyond what the schema says. Baseline 3 is appropriate when the schema does the heavy lifting.

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 specific verb and resource ("Set a thread's persisted steer") and immediately defines the concept as durable guidance for a resuming or newly assigned agent. It distinguishes this from a one-off message and from the read counterpart get_thread_steer, so an agent can route correctly without opening a 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?

It states the positive case ("standing guidance") and the exclusion ("rather than a one-off reply, which belongs in a message"), and names the reader tool get_thread_steer as the retrieval path. The permission prerequisite (thread:transition) is also given, which is the main gate on invocation.

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