Skip to main content
Glama
google

Chrome Enterprise Premium MCP Server

Official
by google

create_regex_detector

Creates a DLP regular expression detector, a building block whose resource name is referenced in Chrome DLP rule conditions.

Instructions

Creates a new DLP regular expression detector. Detectors are building blocks for DLP rules. After creating a detector, you must reference its resource name in a 'create_chrome_dlp_rule' condition (e.g., using the 'matches_detector' function).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
customerIdNoThe Chrome customer ID (e.g. C012345)
expressionYesA regular expression to match.
descriptionNoAn optional description for the detector.
displayNameYesThe display name for the detector.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
detectorYes
Behavior3/5

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

With no annotations provided, the description carries the full burden. It discloses the creation action and the need to use the detector in a rule, but does not mention side effects, permissions, idempotency, or error conditions. This is adequate but not rich.

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

Conciseness5/5

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

Two sentences, no extraneous words. The purpose is front-loaded and every sentence earns its place.

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?

Given the tool's moderate complexity (4 parameters, output schema exists), the description is complete enough: it explains what the tool does, how the object is used, and the schema covers parameters. Missing a brief note on output or return value, but output schema presumably covers that.

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

Parameters3/5

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

Schema coverage is 100%, so the baseline is 3. The description adds value by explaining that 'expression' is a regular expression and that the detector is used later, but it does not add parameter-specific details beyond what the schema already provides.

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 clearly states the verb ('Creates'), the resource ('DLP regular expression detector'), and distinguishes from sibling tools like create_url_list_detector and create_word_list_detector by specifying 'regular expression'.

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

Usage Guidelines4/5

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

It explains that detectors are building blocks for DLP rules and that after creation you must reference the resource name in a rule condition. This provides clear context, though it does not explicitly state when not to use this tool versus alternatives.

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/google/chrome-enterprise-premium-mcp'

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