Skip to main content
Glama

prepare_cancel_spot_grid

Starts closing a running spot grid bot by fetching its live state and returning a confirmation token, the first step before canceling the order.

Instructions

STEP 1 of 2 to close a running spot grid bot. Fetches the bot's live state for the summary and returns a confirmation token.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bu_order_idYes
Behavior3/5

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

The description mentions it 'fetches the bot's live state' and 'returns a confirmation token,' which suggests read-only behavior, but it does not explicitly state whether it has side effects, requires authentication, or has rate limits. With no annotations provided, the description carries the full burden, and while it provides some insight, it leaves ambiguity about operational behavior.

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?

Two concise sentences with no fluff, front-loading the key 'STEP 1 of 2' context. Every word serves a purpose, making it efficient and easily scannable.

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

Completeness2/5

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

The description is sparse given that there is no output schema and no annotations. It fails to explain how the returned token should be used, what the summary contains, or how to handle errors. The parameter is undefined, and there is no mention of the second step or how to proceed after obtaining the token.

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?

The single parameter bu_order_id has no schema description (0% coverage), and the description does not explain its meaning or format. The agent must infer from the parameter name alone, which is insufficient.

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 clearly states the tool's role as 'STEP 1 of 2 to close a running spot grid bot,' identifying the specific resource (spot grid bot) and action (prepare cancel). It also distinguishes from sibling tools like cancel_order by framing it as a preparation step that fetches state and returns a token.

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?

The description only implies it is part of a two-step process but does not explicitly state when to use this tool versus alternatives (e.g., cancel_order, prepare_cancel_all_orders). It lacks guidance on when not to use it or how it relates to confirm_action.

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/alejandrorodm/MCP-Pionex'

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