Skip to main content
Glama

agent_run_steering

Steer a running TeamShared Cloud Agent run mid-execution.

The agent reads the message at its next model round, as a user turn. A run that is not running refuses it: use agent_run_followup instead. Only runs in the caller's own run-control slice can be steered.

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

Input Schema

NameRequiredDescriptionDefault
run_idNoTeamShared run UUID or Cursor run-… id
messageYesWhat the running agent should do differently, in plain words
cursor_agent_idNoTeamShared agent id (ts-…, latest run)

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations present, the description carries the full burden and does substantial work: it discloses delivery timing (next model round), the injection shape (user turn), failure behavior for non-running runs, and an authorization scoping rule. It does not say what happens if the run finishes before the message is read, or whether steering is idempotent across repeated calls.

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?

Four short lines, front-loaded with the core action, then delivery semantics, then the fallback, then the authorization constraint. No filler and no repetition of schema content.

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

Completeness4/5

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

An output schema exists, so return values need not be explained, and the description covers timing, refusal behavior, and access scoping. Missing pieces are the run_id/cursor_agent_id selection rule and what happens when the target run has already terminated — both relevant for a mutation-like steering call with no annotations.

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 both addressing parameters and the message field are already documented; the description adds useful meaning only for the message parameter (read at the next model round, as a user turn). It leaves the run_id vs. cursor_agent_id addressing choice unexplained, which is the main semantic decision a caller faces.

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 (steer) and resource (a running TeamShared Cloud Agent run) plus a precise temporal scope (mid-execution). The second sentence clarifies the mechanism — the agent consumes it at its next model round as a user turn — which distinguishes it unambiguously from lifecycle siblings like agent_run_start or agent_run_cancel.

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 an explicit when-not and the named alternative: a run that is not running refuses it, so use agent_run_followup. It also states an eligibility constraint upfront (only runs in the caller's own run-control slice), so an agent can pre-screen before invoking.

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.