Skip to main content
Glama

ap_delete_step

ap_delete_step
Destructive

Delete a step from a flow. Prefer ap_update_step to modify — delete destroys sample data.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
flowIdYesThe id of the flow
stepNameYesThe name of the step to delete. Use ap_flow_structure to get valid values.
displayNameNoShort approval prompt shown to the user (e.g. "Delete Send Email step"). Must include what the action does and the target name.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, so the safety profile is covered; the description nevertheless adds the non-obvious consequence that deletion destroys sample data, which is exactly the kind of side effect an agent needs. It does not mention irreversibility or permission requirements, so it stops short of 5.

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 short sentences: the action first, the routing caution second. No filler, and the most decision-relevant information is front-loaded.

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, no-output-schema tool, the description plus annotations cover the essential picture: what it removes, that it is destructive, and the safer alternative. Additional detail on cascading effects on branches or reversibility would complete it, but nothing critical is missing.

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 100%, including the hint to resolve valid step names via ap_flow_structure, so the schema carries the parameter burden. The description adds no syntax or format detail beyond it, making the baseline 3 correct.

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 ('Delete a step from a flow') and explicitly distinguishes itself from the sibling ap_update_step, so an agent can route without opening either schema. The scope (a step, not a flow or branch) is unambiguous.

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?

Gives a clear preference rule: use ap_update_step to modify rather than deleting. It supplies the alternative and the reason, but does not spell out when deletion itself is the correct choice (e.g. removing an obsolete step) or any prerequisites such as needing the flow locked.

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