remove_domains
Remove domain membership for entities
Part of the DataHub MCP server. Enforce policies on this tool with Intercept, the open-source MCP proxy.
WHEN AI AGENTS USE THIS TOOL
AI agents may call remove_domains to permanently remove or destroy resources in DataHub. Without a policy, an autonomous agent could delete critical data in a loop with no way to undo the damage. Intercept blocks destructive tools by default and requires explicit human approval before enabling them.
WHY ENFORCE A POLICY ON REMOVE_DOMAINS
Without a policy, an AI agent could call remove_domains in a loop, permanently destroying resources in DataHub. There is no undo for destructive operations. Intercept blocks this tool by default and only allows it when a human explicitly approves the action.
RECOMMENDED POLICY
Destructive tools permanently remove data. Block by default. Only enable with explicit approval workflows.
tools:
remove_domains:
rules:
- action: deny
reason: "Blocked by default — enable with approval" See the full DataHub policy for all 21 tools.
DETAILS
MORE DATAHUB TOOLS
remove_tags Destructive remove_terms Destructive remove_owners Destructive remove_structured_properties Destructive search Read get_lineage Read get_dataset_queries Read get_entities Read SIMILAR DESTRUCTIVE TOOLS ON OTHER SERVERS
delete_record Airtable delete_session Appium appium_uninstallApp Appium deleteCompassComponent Atlassian Rovo deleteConfluencePage Atlassian Rovo delete_resource AWS RELATED READING
FREQUENTLY ASKED QUESTIONS
What does the remove_domains tool do?
Remove domain membership for entities. It is categorised as a Destructive tool in the DataHub MCP Server, which means it can permanently delete or destroy data. Block by default and require explicit approval.
How do I enforce a policy on remove_domains?
Add a rule in your Intercept YAML policy under the tools section for remove_domains. You can allow, deny, rate-limit, or validate arguments. Then run Intercept as a proxy in front of the DataHub MCP server.
What risk level is remove_domains?
remove_domains 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 remove_domains?
Yes. Add a rate_limit block to the remove_domains rule in your Intercept 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 remove_domains completely?
Set action: deny in the Intercept policy for remove_domains. 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 remove_domains?
remove_domains is provided by the DataHub MCP server (mcp-server-datahub). Intercept sits as a proxy in front of this server to enforce policies before tool calls reach the server.
ENFORCE POLICIES ON DATAHUB
Open source. One binary. Zero dependencies.