Skip to main content
Glama

cancel_spread_order

Cancel a spread trading order by providing either the order ID or order link ID.

Instructions

Cancel a spread trading order.

Args: order_id: Order ID (either order_id or order_link_id required). order_link_id: Order link ID.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
order_idNo
order_link_idNo
Behavior2/5

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

No annotations are provided, and the description only states the cancellation action without behavioral details like idempotency, side effects, or error handling. The tool's behavior beyond the basic action is opaque.

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?

The description is very concise, with no extraneous information. However, it lacks structured formatting (e.g., bullet points or sections) that could improve readability.

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?

For a simple cancel operation with two parameters and no output schema, the description covers the basic action and parameter requirement. But it omits details about the response, confirmation, or potential errors, which are important for a complete understanding.

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?

With 0% schema description coverage, the description adds minimal value: it explains that one of order_id or order_link_id is required. However, it does not describe the format or origin of these IDs, leaving significant ambiguity.

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 explicitly states 'Cancel a spread trading order,' clearly specifying the verb and resource. Among siblings like cancel_order (for regular orders) and cancel_all_spread_orders (for all spread orders), it distinguishes itself by targeting individual spread orders.

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 is provided on when to use this tool versus alternatives such as cancel_order or cancel_all_spread_orders. The description does not mention use cases or prerequisites.

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/JohnnyWic/bybit-mcp'

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