Skip to main content
Glama

Remove step

remove_step
Destructive

Delete a single step from an orchestration by its step_id. Every field that named it (another step's next_step_id, a route, a branch, a loop body, the entry) is cleared, and the answer lists what was cleared.

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": {
      "orch_id": "<orch_id>",
      "step_id": "<step_id>"
    },
    "name": "remove_step"
  }
}

Input Schema

NameRequiredDescriptionDefault
orch_idYes
step_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true, and the description goes well beyond that by naming the blast radius: every field referencing the step (next_step_id, routes, branches, loop body, entry) is cleared. It also discloses the response shape ("the answer lists what was cleared"), which is the key context for a destructive call with no output schema.

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?

Two tight sentences: the action and its target come first, the side effects and return value second. Nothing is redundant and no sentence is filler.

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 destructive two-parameter tool with no output schema, the definition covers the action, the cascade, and the response. It stops short of stating irreversibility or what happens if the step_id does not exist, which are the remaining gaps an agent would want.

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 description coverage is 0%, so the description must carry the parameter meaning. It clarifies that step_id targets a single existing step, but orch_id is never explained and no format or scoping detail is added for either parameter.

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 gives a specific verb and resource ("Delete a single step from an orchestration") plus the identifier used to select it ("by its step_id"). The verb alone separates it from add_single_step, update_step, and the other add_* siblings without needing 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 Guidelines2/5

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

There is no explicit when-to-use or when-not-to-use guidance and no mention of alternatives such as update_step for modifying rather than removing a step. The cascade note is behavioral, not routing guidance, so the agent must infer that this is the removal path.

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.