# cancel_order

Cancel a pending or open order.

Agent View of the PolicyLayer registry record for `cancel_order`. HTML page: https://policylayer.com/tools/abhijeetmohanan-growwmcp/cancel-order

## Facts

- Tool: `cancel_order`
- Server: Groww MCP Server (`abhijeetmohanan/growwmcp`) — https://policylayer.com/tools/abhijeetmohanan-growwmcp.md
- Homepage: https://github.com/abhijeetmohanan/growwmcp
- Risk category: Destructive (Critical risk)
- Registry record: grade F, identity unverified
- Server rate-limited: no
- Parameters: 0
- Recommended policy verdict: Hidden

## Example call (MCP tools/call, JSON-RPC 2.0)

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "cancel_order",
    "arguments": {}
  }
}
```

## Why cancel_order is rated Critical

Cancelling an order is a destructive operation because it permanently terminates an active trading instruction. While not directly moving money like Financial tools, it irreversibly modifies the state of a financial position by removing an open order. This falls into Destructive (irreversibly deletes or overwrites data) rather than Write (reversible modifications).

From the tool's own definition: "The tool name is 'cancel_order' and the description states it 'Cancel[s] a pending or open order.' Cancellation of orders is an irreversible action that cannot be undone—once cancelled, the order state is destroyed and must be recreated from scratch if the…"

## Use case

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

## Recommended policy (PolicyLayer)

Verdict: **Hidden**. Enforced by the PolicyLayer MCP gateway (https://policylayer.com/mcp-gateway) before a call reaches Groww MCP Server:

```json
{
  "version": "1",
  "default": "deny",
  "hide": [
    "cancel_order"
  ]
}
```

## Other tools on Groww MCP Server (30)

- `calculate_order_margin` — Financial — https://policylayer.com/tools/abhijeetmohanan-growwmcp/calculate-order-margin.md
- `modify_order` — Financial — https://policylayer.com/tools/abhijeetmohanan-growwmcp/modify-order.md
- `place_order` — Financial — https://policylayer.com/tools/abhijeetmohanan-growwmcp/place-order.md
- `subscribe_ltp` — Financial — https://policylayer.com/tools/abhijeetmohanan-growwmcp/subscribe-ltp.md
- `get_active_subscriptions` — Read — https://policylayer.com/tools/abhijeetmohanan-growwmcp/get-active-subscriptions.md
- `get_all_instruments_summary` — Read — https://policylayer.com/tools/abhijeetmohanan-growwmcp/get-all-instruments-summary.md
- `get_available_margin` — Read — https://policylayer.com/tools/abhijeetmohanan-growwmcp/get-available-margin.md
- `get_historical_candles` — Read — https://policylayer.com/tools/abhijeetmohanan-growwmcp/get-historical-candles.md
- `get_holdings` — Read — https://policylayer.com/tools/abhijeetmohanan-growwmcp/get-holdings.md
- `get_index_value` — Read — https://policylayer.com/tools/abhijeetmohanan-growwmcp/get-index-value.md
- `get_live_ltp` — Read — https://policylayer.com/tools/abhijeetmohanan-growwmcp/get-live-ltp.md
- `get_ltp` — Read — https://policylayer.com/tools/abhijeetmohanan-growwmcp/get-ltp.md
- `get_market_depth` — Read — https://policylayer.com/tools/abhijeetmohanan-growwmcp/get-market-depth.md
- `get_ohlc` — Read — https://policylayer.com/tools/abhijeetmohanan-growwmcp/get-ohlc.md
- `get_order_detail` — Read — https://policylayer.com/tools/abhijeetmohanan-growwmcp/get-order-detail.md
- `get_order_list` — Read — https://policylayer.com/tools/abhijeetmohanan-growwmcp/get-order-list.md
- `get_order_status` — Read — https://policylayer.com/tools/abhijeetmohanan-growwmcp/get-order-status.md
- `get_position_by_symbol` — Read — https://policylayer.com/tools/abhijeetmohanan-growwmcp/get-position-by-symbol.md
- `get_positions` — Read — https://policylayer.com/tools/abhijeetmohanan-growwmcp/get-positions.md
- `get_quote` — Read — https://policylayer.com/tools/abhijeetmohanan-growwmcp/get-quote.md
- `get_trades_for_order` — Read — https://policylayer.com/tools/abhijeetmohanan-growwmcp/get-trades-for-order.md
- `search_instrument_by_exchange_token` — Read — https://policylayer.com/tools/abhijeetmohanan-growwmcp/search-instrument-by-exchange-token.md
- `search_instrument_by_groww_symbol` — Read — https://policylayer.com/tools/abhijeetmohanan-growwmcp/search-instrument-by-groww-symbol.md
- `search_instrument_by_trading_symbol` — Read — https://policylayer.com/tools/abhijeetmohanan-growwmcp/search-instrument-by-trading-symbol.md
- `search_instruments` — Read — https://policylayer.com/tools/abhijeetmohanan-growwmcp/search-instruments.md
- `subscribe_index_value` — Read — https://policylayer.com/tools/abhijeetmohanan-growwmcp/subscribe-index-value.md
- `subscribe_market_depth` — Read — https://policylayer.com/tools/abhijeetmohanan-growwmcp/subscribe-market-depth.md
- `subscribe_order_updates` — Read — https://policylayer.com/tools/abhijeetmohanan-growwmcp/subscribe-order-updates.md
- `subscribe_position_updates` — Read — https://policylayer.com/tools/abhijeetmohanan-growwmcp/subscribe-position-updates.md
- `unsubscribe_ltp` — Read — https://policylayer.com/tools/abhijeetmohanan-growwmcp/unsubscribe-ltp.md

## For agents

This record is a snapshot. Live verdicts and the full registry:

- Check every server in your MCP config at once: `npx -y policylayer stack`
- Vet a server before you add it: install the mcp-precheck skill — `npx skills add https://policylayer.com` (skill text: https://policylayer.com/skill.md)
- Query the registry over MCP: endpoint `https://api.policylayer.com/mcp` — tools `check_mcp_server`, `check_mcp_stack`, `check_tool`, `search_registry`, `get_change_events`

---

Source: the PolicyLayer MCP registry — one continuously verified record per MCP server. Full record: https://policylayer.com/registry?q=abhijeetmohanan-growwmcp · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/abhijeetmohanan-growwmcp
