Skip to main content
Glama

Abort business flow

flow.abort
Destructive

Abort a business flow cleanly without marking it as a failure. Use when a flow should stop normally due to a specific reason.

Instructions

Terminate the current business flow without treating it as business failure.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
reasonYes
messageNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okYes
serverYes
commandYes
stateYes
runIdYes
stageYes
actionIndexYes
seqYes
updatedAtYes
operationIdYes
Behavior3/5

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

Annotations already indicate destructiveHint=true, and the description adds that termination is not treated as failure. However, it does not disclose other behavioral traits like side effects or required permissions.

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?

Single sentence that communicates the core action and key distinction. No superfluous text.

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

Completeness3/5

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

Description covers the basic purpose but lacks details on parameters, usage context, and return values (output schema exists but is not summarized). Adequate for a simple tool, but incomplete for full understanding.

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

Parameters1/5

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

Schema coverage is 0% and the description provides no explanation of the 'reason' and 'message' parameters. The agent has no semantic hints beyond the schema types and constraints.

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?

Description clearly states 'terminate current business flow' and distinguishes from failure by saying 'without treating it as business failure'. This gives a specific verb and resource, but lacks explicit differentiation from siblings like flow.finish.

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?

No guidance on when to use this tool versus alternatives like flow.finish, flow.pause, etc. The phrase 'without treating it as business failure' hints at a use case but does not provide explicit context.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/liyongshun/flow-control-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server