> Documentation index: https://metorial.com/llms.txt. Every page is available as Markdown by adding .md to its URL.

# Block destructive MCP tools for everyone in your company
URL: https://metorial.com/docs/platform/guides/block-destructive-tools

Set Destructive Tools to Reject in the Tool Filters of every integration you share. Rejected tools are never sent to any AI client, so no agent can call them.

---

To block destructive tools, open each shared integration's **Tool Filters** and set **Destructive Tools** to **Reject**. Rejected tools are removed before the tool list reaches any AI client. The filter is set per integration, so repeat it for every integration you share.

**What you'll learn**

* How to reject destructive tools on an integration
* How to stop instances from widening the filter
* How to check the result

**Before you start**

* The integrations shared in your portal, listed under **Access**, **Shared Resources**
* For the CLI steps, [install `metorial-admin` and sign in](https://metorial.com/docs/build/sandboxes#install-the-tools)

## In the dashboard

### 1. Open the integration's tool filters

Open **Integrations**, then **Integrations**, select the integration, and open **Tool Filters**. Group by **Access**.

### 2. Reject destructive tools

Set **Destructive Tools** to **Reject**. Leave **Read-Only Tools** on **Allow**.

### 3. Read the Write Tools list

A tool lands in **Destructive Tools** only when its provider tagged it destructive. Untagged tools land in **Write Tools**. If one of them deletes data, set **Write Tools** to **Mixed** and clear it.

### 4. Lock the filter

Open the integration's **Settings** and turn off **Allow tool filter overrides** and **Allow custom tool filters**, so an instance of the integration cannot widen the filter.

## With the CLI

The API takes an allowlist. Name the tools to keep, and every other tool is rejected.

```bash
# Find the integration and its providers
metorial-admin integrations list --search github
metorial-admin integrations providers list --integration-id <integration-id>

# Keep only the named tools
metorial-admin integrations providers update <integration-provider-id> \
  --body '{"tool_filters":{"type":"tool_keys","keys":["list_issues","get_issue"]}}'

# Stop instances from widening the filter
metorial-admin integrations update <integration-id> \
  --can-override-tool-filters=false \
  --can-attach-custom-tool-filters=false
```

## Check it worked

List the tools a server exposes and confirm no destructive tool is in the output:

```bash
metorial-admin magic-mcp servers list --search github
metorial-admin magic-mcp servers tools <server-id>
```

A person can run `metorial tools <integration-id>` for their own integration. In an AI client, sign in again and list the tools.

## What the filter does not cover

* Metorial has no step that pauses a call for human approval. Approval prompts are a setting in Claude, ChatGPT, Codex, Claude Code and Cursor.
* There is no single organization-wide switch. To refuse a tool by name across all integrations, add middleware to an [Outpost](https://metorial.com/docs/platform/guides/keep-data-in-your-network) in your network.
* Providers add tools in new versions. Review the filters after an update.

A team that needs one destructive tool gets its own integration, shared only with that team's access group, with **Destructive Tools** set to **Mixed** and that tool selected.

## Next steps

* [Tool permissions](https://metorial.com/docs/platform/guides/tool-permissions): read-only access and how tools are classified
* [Limit which tools an agent sees](https://metorial.com/docs/platform/guides/limit-tools-to-keep-context-small): trim the list per client
* [Prompt injection and sensitive data](https://metorial.com/docs/platform/guides/prompt-injection-and-sensitive-data): alerts for suspicious tool results