Skip to main content
Glama

steer

Destructive

Redirect an in-flight delegation by session ID: send a new instruction to the running turn and return the redirected turn's result; retry or resume based on status.

Instructions

Redirect an in-flight delegation by sessionId: message goes to agy as a new instruction for the running turn, and the delegate call returns the redirected turn's result. Status: steered (sent), not-ready (prompt not sent yet; retry), not-running (turn already ended — resume instead), not-found (id not in this process's session history).

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": {
      "sessionId": "<sessionId>",
      "message": "<message>"
    },
    "name": "steer"
  }
}

Input Schema

NameRequiredDescriptionDefault
messageYesThe new instruction for agy.
sessionIdYesFrom delegate's "session ready: <id>" progress notification or its result. When delegate runs as an MCP task, its server-side task id works too.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.0.1

TDQS

A4.2/5.0
Behavior4/5

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

Beyond the annotations, it discloses that the message is injected as a new instruction into the running turn and that the call itself returns the redirected turn's result — an important blocking-style behavior the annotations don't convey. It also defines the not-found scope as 'this process's session history'. What it does not address is the destructiveHint=true implication: whether the running turn's prior progress or pending work is discarded when steering.

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?

A single front-loaded sentence establishes the action and target before the status taxonomy. The status enumeration is compressed but readable; the parenthetical glosses for not-ready and not-running earn their place by carrying actionable guidance.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-parameter tool with no output schema, the description covers the injected-instruction semantics and the return behavior ('the delegate call returns the redirected turn's result'), which is a real gain. It is thin only on the side effects flagged by destructiveHint and idempotentHint=false, i.e., what happens on a repeated steer or to in-flight work.

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% and both parameters are already documented in the schema, including where to obtain sessionId. The description only reinforces that message becomes a new instruction for the running turn, adding modest framing rather than new syntax or constraints, so the baseline 3 applies.

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 — 'Redirect an in-flight delegation by sessionId' — which is clearly distinct from starting a delegation (delegate) or stopping one (cancel). The 'in-flight' qualifier anchors the scope so an agent can route without opening the 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 precondition (a running turn), then routes each failure mode to an alternative action: 'retry' for not-ready and 'resume instead' for not-running. That is explicit when/when-not guidance with a named fallback, not implied usage.

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