Skip to main content
Glama
antarpreetsinghbajwa

cep-mcp-server

create_regex_detector

Build a regex detector to identify sensitive data patterns in Chrome. Reference the detector in DLP rule conditions to enforce data protection.

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?

No annotations are provided, so the description carries the full burden. It discloses that the tool creates a detector and that the resulting resource name is used in DLP rules, adding lifecycle context. However, it does not mention side effects, validation rules, permissions, or error behavior, leaving notable gaps for a creation tool.

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?

The description is two sentences, front-loaded with the core purpose, then adds essential workflow context. Every sentence earns its place; there is no fluff or repetition.

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?

The tool has a moderate complexity (4 params, output schema exists). The description explains the tool's role in the DLP rule-building workflow and the need to use the returned resource name in create_chrome_dlp_rule. It does not detail the output structure, but the presence of an output schema reduces that need. Overall, it is sufficiently complete for an agent to decide and invoke.

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?

The input schema has 100% parameter description coverage, so the description does not need to explain parameters. The description does not add extra parameter-level semantics beyond what the schema already provides, aligning with the baseline score of 3.

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 states the specific action: 'Creates a new DLP regular expression detector.' This clearly identifies the resource (regex detector) and distinguishes it from sibling tools like create_url_list_detector and create_word_list_detector by the 'regular expression' modifier.

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?

The description provides clear context on how to use the created detector: 'After creating a detector, you must reference its resource name in a create_chrome_dlp_rule condition.' It implies this tool is the starting point for building DLP rules with regex patterns, though it does not explicitly name alternative detectors or state when not to use it.

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