New Your team’s decisions, in one playbook every coding agent works from. Never answer your agent twice

flash_cancel_order

Cancel a resting order (limit/twap/trigger). Signs the cancel message with your funder wallet. Requires the funder private key for the order's chain.

SERVERFlash SOURCE@definitive-fi/flash-mcp
Critical RISK CLASS
Category Destructive
Parameters 22 required
Recommended Hiddensee the rule below
Registry record Grade F, identity unverified Pull the record →

This record as markdown: /tools/definitive-fi-flash-mcp/flash-cancel-order.md

What flash_cancel_order does on Flash

AI agents call flash_cancel_order to permanently remove resources in Flash, typically in cleanup and lifecycle workflows. It does its job in a single call, and there is no undo.

ParameterTypeRequiredDescription
chain string Yes The chain the order is on (selects which wallet signs)
orderId string Yes The order id to cancel

Parameters from the server's own tool schema.

Why flash_cancel_order is rated Critical

This tool cancels orders, which is an irreversible operation that destroys/removes existing financial orders from the system. While superficially it might appear as Write (modifying state), the cancellation of a resting order cannot be undone—once cancelled, the order is gone. Combined with the Financial context (trading orders), this is Destructive.

From the tool's definition Tool name: flash_cancel_order. Description states it 'Cancel[s] a resting order' and 'Signs the cancel message with your funder wallet.' Requires private key access. The tool irreversibly cancels existing financial orders.

Questions about flash_cancel_order

What does the flash_cancel_order tool do? +

Cancel a resting order (limit/twap/trigger). Signs the cancel message with your funder wallet. Requires the funder private key for the order's chain. It is categorised as a Destructive tool in the Flash MCP Server, which means it can permanently delete or destroy data. Block by default and require explicit approval.

What parameters does flash_cancel_order accept? +

flash_cancel_order accepts 2 parameters: chain, orderId. Required: chain, orderId. The full parameter table on this page comes from the server's own tool schema.

How do I enforce a policy on flash_cancel_order? +

Register the Flash MCP server in PolicyLayer and add a rule for flash_cancel_order: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Flash. Nothing to install.

What risk level is flash_cancel_order? +

flash_cancel_order is a Destructive tool with critical risk. Critical-risk tools should be blocked by default and only enabled with explicit human approval.

Can I rate-limit flash_cancel_order? +

Yes. Add a rate_limit block to the flash_cancel_order rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.

How do I block flash_cancel_order completely? +

Set action: deny in the PolicyLayer policy for flash_cancel_order. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.

What MCP server provides flash_cancel_order? +

flash_cancel_order is provided by the Flash MCP server (@definitive-fi/flash-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

More on Flash, and thousands of servers like it.

// THE MCP REGISTRY

PolicyLayer tracks 44,603 MCP servers and 515,000+ tools.

Every server has a live record: who publishes it, whether it answers without auth, its risk grade, every tool classified, the recommended policy. This page is one line of Flash's. Pull the full record:

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.