Skip to main content
Glama

replan_workflow_steering

Withdraw one exact never-started root headless Fresh worker and link a same-assignment retry, preserving assignment, permissions, finite caps, decisions, and sibling evidence.

Instructions

Withdraw one exact never-started root headless Fresh worker and link a same-assignment retry.

Requires workflow-steering-replan.v1, schema 2/current ledger_epoch, the engine-issued replan target and withdrawal witness, and the existing interaction/cancellation authority. A managed worker cannot invoke this control. The source must be configured headless and fixed Fresh. The original launch must acknowledge the exact generation as never started, and matching releases must finish before replacement. The queued conversation issuance remains charged. Preserve assignment, configured candidate, permissions, finite cap, node/visit, accepted decisions and sibling evidence. Already issued work refuses; a spawn race remains unknown and cannot authorize replacement or a late cancellation signal. No graph edit, alternate candidate, automatic repair, allowance grant or poststart containment authority is added. Replay the same request after response loss; an expired epoch never dispatches.

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": {
      "workflow_run_id": "<workflow_run_id>",
      "request": "<request>"
    },
    "name": "replan_workflow_steering"
  }
}

Input Schema

NameRequiredDescriptionDefault
requestYes
workflow_run_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.0.14

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and largely meets it: it discloses authority requirements, the headless/fixed-Fresh source constraint, what is preserved (assignment, candidate, permissions, cap, node/visit, accepted decisions), and that the queued conversation issuance 'remains charged.' Failure semantics are covered too (already-issued refuses, spawn race stays unknown, expired epoch never dispatches). Deductions for opaque vocabulary that leaves reversibility and actual effect on the withdrawn worker ambiguous.

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?

Placed under conciseness given the density: the core action is front-loaded in sentence one, then constraints, then failure modes, then replay. Every sentence adds a distinct constraint rather than restating the name.

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?

For a high-risk control operation with no annotations, the description covers preconditions, preserved invariants, refusal cases and idempotency, and an output schema already documents the return value. The remaining hole is the shape of the 'request' payload, which is left entirely unexplained.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and the single non-obvious parameter is a free-form object with additionalProperties true and no documented fields. The description adds nothing about what 'request' must contain beyond 'replay the same request after response loss,' and workflow_run_id is self-evident from its name. At this coverage level the description was expected to compensate and does not.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The opening sentence states a concrete verb pair and target: withdraw a specific never-started root headless worker and link a same-assignment retry. The negative clause ('No graph edit, alternate candidate, automatic repair, allowance grant') draws a boundary around the operation. It never names a sibling such as steer_workflow, recover_workflow or cancel_workflow, so the agent must infer the distinction from jargon-heavy terminology.

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

Usage Guidelines4/5

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

Preconditions and exclusions are stated in unusual density: required protocol/schema version, engine-issued replan target and withdrawal witness, 'a managed worker cannot invoke this control,' and 'already issued work refuses.' It also tells the caller to replay on response loss. What it lacks is any positive routing guidance toward an alternative tool when these preconditions fail.

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