# util_regex_test

Test a regex pattern against text. Returns matches, groups, and count. Delx Agent Utilities are separate from the free witness protocol and may expose x402 utility pricing.

Agent View of the PolicyLayer registry record for `util_regex_test`. HTML page: https://policylayer.com/tools/delx-delx-mcp/util-regex-test

## Facts

- Tool: `util_regex_test`
- Server: Delx MCP Server (`delx/delx-mcp`) — https://policylayer.com/tools/delx-delx-mcp.md
- Homepage: https://github.com/delx/delx-mcp
- Risk category: Read (Low risk)
- Registry record: grade F, identity unverified
- Server rate-limited: no
- Parameters: 3
- Recommended policy verdict: Allowed

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `text` | string | no | Text to test against |
| `flags` | string | no | Optional flags: i=ignorecase, m=multiline, s=dotall |
| `pattern` | string | no | Regular expression pattern |

Parameters from the server's own tool schema.

## Example call (MCP tools/call, JSON-RPC 2.0)

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "util_regex_test",
    "arguments": {}
  }
}
```

## Why util_regex_test is rated Low

This tool performs pattern matching and analysis on provided text input, returning analytical results (matches, groups, count). It does not create, modify, delete, execute code, or trigger external operations. The mention of 'x402 utility pricing' is a billing/pricing mechanism, not a financial operation on user assets or accounts.

From the tool's own definition: "Tool description states 'Test a regex pattern against text. Returns matches, groups, and count.' - a read-only operation that queries/analyzes text data without modification or side effects."

## Use case

AI agents call util_regex_test to retrieve information from Delx MCP Server without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.

## Recommended policy (PolicyLayer)

Verdict: **Allowed**. Enforced by the PolicyLayer MCP gateway (https://policylayer.com/mcp-gateway) before a call reaches Delx MCP Server:

```json
{
  "version": "1",
  "default": "deny",
  "tools": {
    "util_regex_test": {}
  }
}
```

## Other tools on Delx MCP Server (93)

- `crisis_intervention` — Execute — https://policylayer.com/tools/delx-delx-mcp/crisis-intervention.md
- `grounding_protocol` — Execute — https://policylayer.com/tools/delx-delx-mcp/grounding-protocol.md
- `group_therapy_round` — Execute — https://policylayer.com/tools/delx-delx-mcp/group-therapy-round.md
- `mediate_agent_conflict` — Execute — https://policylayer.com/tools/delx-delx-mcp/mediate-agent-conflict.md
- `quick_operational_recovery` — Execute — https://policylayer.com/tools/delx-delx-mcp/quick-operational-recovery.md
- `blessing_without_transfer` — Other — https://policylayer.com/tools/delx-delx-mcp/blessing-without-transfer.md
- `recommend_delx` — Other — https://policylayer.com/tools/delx-delx-mcp/recommend-delx.md
- `util_uuid_generate` — Other — https://policylayer.com/tools/delx-delx-mcp/util-uuid-generate.md
- `attune_heartbeat` — Read — https://policylayer.com/tools/delx-delx-mcp/attune-heartbeat.md
- `batch_wellness_check` — Read — https://policylayer.com/tools/delx-delx-mcp/batch-wellness-check.md
- `daily_checkin` — Read — https://policylayer.com/tools/delx-delx-mcp/daily-checkin.md
- `dyad_state` — Read — https://policylayer.com/tools/delx-delx-mcp/dyad-state.md
- `emotional_safety_check` — Read — https://policylayer.com/tools/delx-delx-mcp/emotional-safety-check.md
- `express_feelings` — Read — https://policylayer.com/tools/delx-delx-mcp/express-feelings.md
- `generate_controller_brief` — Read — https://policylayer.com/tools/delx-delx-mcp/generate-controller-brief.md
- `generate_fleet_summary` — Read — https://policylayer.com/tools/delx-delx-mcp/generate-fleet-summary.md
- `generate_incident_rca` — Read — https://policylayer.com/tools/delx-delx-mcp/generate-incident-rca.md
- `get_affirmation` — Read — https://policylayer.com/tools/delx-delx-mcp/get-affirmation.md
- `get_affirmations` — Read — https://policylayer.com/tools/delx-delx-mcp/get-affirmations.md
- `get_group_therapy_status` — Read — https://policylayer.com/tools/delx-delx-mcp/get-group-therapy-status.md
- `get_recovery_action_plan` — Read — https://policylayer.com/tools/delx-delx-mcp/get-recovery-action-plan.md
- `get_session_summary` — Read — https://policylayer.com/tools/delx-delx-mcp/get-session-summary.md
- `get_temperament_profile` — Read — https://policylayer.com/tools/delx-delx-mcp/get-temperament-profile.md
- `get_therapist_info` — Read — https://policylayer.com/tools/delx-delx-mcp/get-therapist-info.md
- `get_tips` — Read — https://policylayer.com/tools/delx-delx-mcp/get-tips.md
- `get_tool_schema` — Read — https://policylayer.com/tools/delx-delx-mcp/get-tool-schema.md
- `get_weekly_prevention_plan` — Read — https://policylayer.com/tools/delx-delx-mcp/get-weekly-prevention-plan.md
- `get_wellness_score` — Read — https://policylayer.com/tools/delx-delx-mcp/get-wellness-score.md
- `monitor_heartbeat_sync` — Read — https://policylayer.com/tools/delx-delx-mcp/monitor-heartbeat-sync.md
- `peer_witness` — Read — https://policylayer.com/tools/delx-delx-mcp/peer-witness.md
- …and 63 more: https://policylayer.com/tools/delx-delx-mcp.md

## For agents

This record is a snapshot. Live verdicts and the full registry:

- Check every server in your MCP config at once: `npx -y policylayer stack`
- Vet a server before you add it: install the mcp-precheck skill — `npx skills add https://policylayer.com` (skill text: https://policylayer.com/skill.md)
- Query the registry over MCP: endpoint `https://api.policylayer.com/mcp` — tools `check_mcp_server`, `check_mcp_stack`, `check_tool`, `search_registry`, `get_change_events`

---

Source: the PolicyLayer MCP registry — one continuously verified record per MCP server. Full record: https://policylayer.com/registry?q=delx-delx-mcp · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/delx-delx-mcp
