Skip to main content
Glama
blofin

blofin-mcp

Official
by blofin

cancel_tpsl

Cancel take-profit and stop-loss orders by providing instrument ID and TPSL ID. Accepts a JSON array of cancel objects.

Instructions

Cancel take-profit/stop-loss orders. Accepts a JSON array of cancel objects.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ordersYesJSON array string of cancel objects. Each needs: instId, tpslId. Optional: clientOrderId. E.g. [{"instId":"BTC-USDT","tpslId":"123"}]
Behavior2/5

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

No annotations are provided, so the description carries full burden. It lacks disclosure of key behaviors like idempotency, effect on existing orders, or error handling. Only parameter structure is explained.

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 sentences that are direct and free of unnecessary information. The structure is efficient for its purpose.

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?

Without an output schema or annotations, the description is minimal. It covers the input but omits outcome details (success/failure, return format). For a basic cancel operation, it is borderline adequate but not comprehensive.

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% with the description of the 'orders' parameter being detailed: it specifies required fields (instId, tpslId), optional field (clientOrderId), and provides an example, adding value beyond schema types.

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 verb 'cancel' and resource 'take-profit/stop-loss orders', differentiating from siblings like cancel_order and cancel_algo_order. However, it could be more specific about the scope.

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 explicit guidance on when to use this tool versus alternatives such as cancel_order or cancel_algo_order. The description does not provide context for selection.

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/blofin/blofin-mcp'

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