Skip to main content
Glama

deleteStep

Destructive

Deletes a single step from a task. Deleting is permanent: it also removes ANY answers and uploads the testers already submitted for that step. A deletion that would leave a triggered-email step first is refused, because such a step is sent when a tester answers the step right before it. On a draft or scheduled beta project the change is applied immediately. On a running or paused beta project the change is STAGED: testers do not see it until commitTaskChanges publishes all staged changes (revertTaskChanges discards them; getBetaTasks with version 'unpublished' shows the staged state). While staging, these tools accept BOTH the live id and the staged id of a task or step, but always respond with the STAGED row — expect ids you did not pass in, with liveVersionId linking back to the live row. Content of finished or archived beta projects cannot be edited. On a running or paused beta project the deletion is only STAGED, and the answers are destroyed when commitTaskChanges publishes it.

Input Schema

NameRequiredDescriptionDefault
stepIdYesID of the step to delete, from getBetaTasks. Never invent ids.
taskIdYesID of the task, from getBetaTasks. Never invent ids.
productIdYesID of the beta project to query. Get valid IDs from the listProducts tool.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Goes well beyond the destructiveHint=true annotation by disclosing cascade destruction of answers and uploads, the triggered-email refusal rule, and the staging model on running/paused projects. It also warns that responses return staged rows with ids the caller did not pass in. It loses a point only for not clarifying how long staging persists or whether the refusal is checked at delete time or commit time.

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?

Front-loaded with the destructive consequence and well organized into constraint, workflow, and id behavior. However, the final sentence restates the staging point already made earlier ('On a running or paused beta project the deletion is only STAGED'), which is redundant and could be merged.

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?

For a 3-parameter mutation tool with no output schema, the description covers destruction scope, preconditions, project-state branching, the staging lifecycle, and id echo behavior. An agent has everything needed to call it correctly or to know it should defer to commitTaskChanges.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline would be 3, but the description adds real meaning not in the schema: during staging both the live id and the staged id are accepted, and the response echoes the staged id with liveVersionId linking back. That is actionable id-semantics an agent would otherwise get wrong.

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 and resource ('Deletes a single step from a task') and immediately scopes it apart from siblings like deleteTask, updateStep, or removeStepMedia by making clear it removes the step and all its submitted answers and uploads.

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 explicit when-not conditions (refused if it would leave a triggered-email step first; blocked entirely on finished or archived projects) and names the exact alternatives for the staged workflow: commitTaskChanges to publish, revertTaskChanges to discard, getBetaTasks with version 'unpublished' to inspect.

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.

Resources