Skip to main content
Glama
Arjein

Polymarket MCP Server

by Arjein

cancel_all_orders

Cancel all currently active open orders sequentially on Polymarket as an emergency kill switch, immediately liquidating pending positions.

Instructions

Cancel ALL currently active open orders sequentially. Functions as an emergency kill switch.

Deploy this operation functionally to immediately liquidate all pending structural positions.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full behavioral burden. It conveys the destructive blast radius ('ALL', 'liquidate all pending positions') and ordering behavior ('sequentially'), but omits irreversibility, permission requirements, and how partial cancellations or failures are handled.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The first sentence is tight and front-loaded. The second sentence ('Deploy this operation functionally to immediately liquidate all pending structural positions') is jargon-heavy and largely restates the first, so it does not fully earn its place.

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?

An output schema exists, so return values need not be explained. However, for a zero-annotation destructive operation, the description should disclose irreversibility or failure behavior and does not, leaving an important gap.

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?

The tool takes no parameters, so per the baseline this scores 4. There is nothing for the description to clarify beyond the schema.

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?

Specific verb plus resource: 'Cancel ALL currently active open orders' clearly states what happens and the scope ('ALL'). The 'emergency kill switch' framing reinforces the distinct blast radius versus sibling tools like cancel_order and cancel_orders, though it never names those siblings explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

'Functions as an emergency kill switch' implies an when-to-use context, but usage is only implied rather than stated. There is no guidance on when NOT to use it (e.g., prefer cancel_order for a single order) nor any stated prerequisite or alternative.

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