Skip to main content
Glama
antarpreetsinghbajwa

cep-mcp-server

create_chrome_dlp_rule

Create a Chrome DLP rule to protect an org unit's data by controlling browser uploads, downloads, printing, and URL navigation. Supports BLOCK, WARN, AUDIT actions, with restrictions on active blocking.

Instructions

Creates a new Chrome DLP rule for a specific Organizational Unit. Applies browser-level protection (uploads, downloads, printing). For safety reasons, this MCP tool is disabled from creating 'ACTIVE' rules with a 'BLOCK' action. You can create 'INACTIVE' 'BLOCK' rules and enable them later in the UI, or create 'ACTIVE' 'WARN' or 'AUDIT' rules.

To ensure technical accuracy and verify trigger compatibility, you should retrieve the full technical reference using 'get_document' for '11-dlp-rule-reference' before using this tool.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
stateNoRule state (defaults to ACTIVE): - ACTIVE: The rule is currently enforced. - INACTIVE: The rule is saved but not currently enforced.
actionYesAction to take when the rule is triggered. AUDIT mode is silent and logs events without notifying or blocking the user.
triggersYesList of Chrome triggers: - FILE_UPLOAD: Scanning files that are uploaded. - FILE_DOWNLOAD: Scanning files that are downloaded. - WEB_CONTENT_UPLOAD: Scanning text that is copy-pasted. - PRINT: Scanning pages that are printed. - URL_NAVIGATION: Scanning URLs when visited.
orgUnitIdYesThe target Organizational Unit ID
customerIdNoThe Chrome customer ID (e.g. C012345).
dataMaskingNoData masking configurations (supports custom regular expressions and data masking detectors). The 'dataMasking' parameter is only supported with the 'URL_NAVIGATION' trigger and 'WARN' or 'AUDIT' actions. Currently, only custom regular expressions and data masking detectors are supported for data masking (word lists and URL lists are not supported).
descriptionNoDescription of the rule.
displayNameYesThe display name of the rule. Will be automatically prefixed with '🤖 '.
saveContentNoWhether to save the content that triggered the rule.
customMessageNoCustom message to display to the user. The 'customMessage' parameter is supported with 'BLOCK' and 'WARN' actions, and must be 300 characters or less. Only <a> tags with href attributes are allowed.
blockScreenshotNoWhether to block screenshots when the rule is triggered. The 'blockScreenshot' parameter (which also restricts screen-sharing) is only supported with the 'URL_NAVIGATION' trigger and 'WARN' or 'AUDIT' actions.
contentConditionNoContent CEL condition string evaluating text, detector, file, or URL content (e.g. all_content.contains('secret')). Retrieve '11-dlp-rule-reference' for syntax.
contextConditionNoContext CEL condition string evaluating CAA posture requirements (e.g. access_levels.meets_access_requirements(['accessPolicies/123/accessLevels/level'])). Retrieve '11-dlp-rule-reference' for syntax.
watermarkMessageNoWatermark message to display when the rule is triggered. The 'watermarkMessage' parameter is only supported with the 'URL_NAVIGATION' trigger and 'WARN' or 'AUDIT' actions, and must be 60 characters or less.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dlpRuleYes
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the burden of behavioral disclosure. It importantly reveals that the tool is disabled from creating 'ACTIVE' rules with a 'BLOCK' action, which is a significant safety behavior. It also hints at trigger compatibility issues by recommending reference retrieval, though it does not enumerate all constraints.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is four sentences, each adding distinct value: purpose, protection scope, safety restriction, and prerequisite. It is front-loaded with the core action and remains efficient without unnecessary fluff.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool with 14 parameters, nested objects, and an output schema, the description gives enough context to select and invoke the tool correctly. It covers purpose, key safety limitations, and directs to a reference for technical details. The output schema makes return-value documentation unnecessary.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema already covers 100% of parameters with detailed descriptions, so the baseline is 3. The description adds value beyond the schema by specifying the cross-parameter constraint that ACTIVE+BLOCK is forbidden and offering alternatives. This helps the agent avoid invalid combinations that the schema alone might not make obvious.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description starts with a clear action and resource: 'Creates a new Chrome DLP rule for a specific Organizational Unit.' It distinguishes this from sibling tools like create_regex_detector or list_dlp_rules by explicitly focusing on DLP rule creation with browser-level protection.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides explicit usage guidance: it warns against creating ACTIVE BLOCK rules and offers clear alternatives (INACTIVE BLOCK rules, ACTIVE WARN/AUDIT rules). It also directs the agent to retrieve '11-dlp-rule-reference' via get_document before using, which is a concrete prerequisite and usage pointer.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/antarpreetsinghbajwa/cep-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server