Critical Risk →

cancel_all_orders_after

Dead man's switch: set countdown to cancel ALL your orders after timeout_seconds.

How to control cancel_all_orders_after ↓

What cancel_all_orders_after does on Kraken Pro MCP

AI agents use cancel_all_orders_after to commit financial operations through Kraken Pro MCP — usually the final step of a payment, billing, or trading workflow. A call moves real money.

Critical Risk

Why cancel_all_orders_after needs a policy

This tool affects all open financial orders on a live trading platform (Kraken Pro). Mass-cancelling orders can have significant financial consequences — exposing positions, missing hedges, or triggering market impact — making it a Financial category tool. The blast radius is critical because it acts on ALL orders simultaneously, not just a single order, and operates on a real exchange with real money.

From the tool's definition Dead man's switch: set countdown to cancel ALL your orders after `timeout_seconds`

Documented attack patterns abuse exactly the kind of access cancel_all_orders_after gives an agent:

How to control cancel_all_orders_after

PolicyLayer is an MCP gateway — it sits between your AI agents and Kraken Pro MCP, and nothing reaches the server without passing your rules. This is the rule we recommend for cancel_all_orders_after:

policy.json
{
  "version": "1",
  "default": "deny",
  "tools": {
    "cancel_all_orders_after": {
      "deny_if": [
        {
          "conditions": [],
          "on_deny": "Requires human approval."
        }
      ]
    }
  }
}

Any call to cancel_all_orders_after is blocked until a human approves it. The rest of the server keeps working.

  1. Create a free account and register Kraken Pro MCP — nothing to install.
  2. Add this policy — paste it, or build it visually.
  3. Point your MCP client (Claude, Cursor, anything) at your gateway URL.
GATE THIS TOOL →

Free to start. No card required.

Related tools and policies

Go deeper

Questions about cancel_all_orders_after

What does the cancel_all_orders_after tool do? +

Dead man's switch: set countdown to cancel ALL your orders after timeout_seconds. It is categorised as a Financial tool in the Kraken Pro MCP MCP Server, which means it involves financial transactions. Block by default and require explicit approval.

How do I enforce a policy on cancel_all_orders_after? +

Register the Kraken Pro MCP server in PolicyLayer and add a rule for cancel_all_orders_after: 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 Kraken Pro MCP. Nothing to install.

What risk level is cancel_all_orders_after? +

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

Can I rate-limit cancel_all_orders_after? +

Yes. Add a rate_limit block to the cancel_all_orders_after 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 cancel_all_orders_after completely? +

Set action: deny in the PolicyLayer policy for cancel_all_orders_after. 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 cancel_all_orders_after? +

cancel_all_orders_after is provided by the Kraken Pro MCP server (oilst/kraken-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

Enforce policy on every Kraken Pro MCP tool call.

Start from Kraken Pro MCP, add the rest of your stack, and see everything your agents can call. Then put policy on all of it.

Free to start. No card required.

17 Kraken Pro MCP tools catalogued and risk-classified — across an index of 43,000+ MCP servers.

// GET IN TOUCH

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

Message sent.

We'll get back to you soon.