23 tools. 5 can modify or destroy data without limits.
1 destructive tool with no built-in limits. Policy required.
Last updated:
Destructive tools (delete_document_by_id) permanently delete resources. There is no undo. An agent calling these in a retry loop causes irreversible damage.
Write operations (insert_document_by_id, replace_document_by_id, upsert_document_by_id) modify state. Without rate limits, an agent can make hundreds of changes in seconds — faster than any human can review or revert.
Execute tools (run_sql_plus_plus_query) trigger processes with side effects. Builds, notifications, workflows — all fired without throttling.
Intercept sits between your agent and Couchbase. Every tool call checked against your policy before it executes — so your agent can do its job without breaking things.
npx -y @policylayer/intercept scan -- npx -y @couchbase-mcp-server delete_document_by_id:
rules:
- action: deny Destructive tools should never be available to autonomous agents without human approval.
insert_document_by_id:
rules:
- rate_limit: 30/hour Prevents bulk unintended modifications from agents caught in loops.
get_buckets_in_cluster:
rules:
- rate_limit: 60/minute Controls API costs and prevents retry loops from exhausting upstream rate limits.
Yes. The Couchbase server exposes 1 destructive tools including delete_document_by_id. These permanently remove resources with no undo. Intercept blocks destructive tools by default so they never reach the upstream server.
The Couchbase server has 3 write tools including insert_document_by_id, replace_document_by_id, upsert_document_by_id. Set rate limits in your policy file -- for example, rate_limit: 10/hour prevents an agent from making more than 10 modifications per hour. Intercept enforces this at the transport layer.
23 tools across 4 categories: Destructive, Execute, Read, Write. 18 are read-only. 5 can modify, create, or delete data.
One line change. Instead of running the Couchbase server directly, prefix it with Intercept: intercept -c couchbase.yaml -- npx -y @@couchbase-mcp-server. Download a pre-built policy from policylayer.com/policies/couchbase and adjust the limits to match your use case.
Starter policies available for each. Same risk classification, same one-command setup.
Set budgets, approvals, and hard limits across MCP servers.
npx -y @policylayer/intercept init