# search_by_regex_tool

A read tool on the Obsidian MCP Server MCP server.

Agent View of the PolicyLayer registry record for `search_by_regex_tool`. HTML page: https://policylayer.com/tools/adrienthebo-obsidian-mcp/search-by-regex-tool

## Facts

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

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

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

## Why search_by_regex_tool is rated Low

Search operations retrieve data without modifying state or triggering side effects. Even though regex patterns could theoretically be complex, the tool's purpose is to find and return matching content from notes, not execute arbitrary code or modify data. This is a Read operation with low severity—misuse would return unwanted search results, not cause data loss or system compromise.

From the tool's own definition: "Tool name contains 'search' and is described as part of a suite that provides 'regex support' for 'fast searches'. The broader server description emphasizes 'reading' and 'searching' capabilities."

## Use case

AI agents call search_by_regex_tool to retrieve information from Obsidian 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 Obsidian MCP Server:

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

## Other tools on Obsidian MCP Server (26)

- `delete_note_tool` — Destructive — https://policylayer.com/tools/adrienthebo-obsidian-mcp/delete-note-tool.md
- `find_broken_links_tool` — Read — https://policylayer.com/tools/adrienthebo-obsidian-mcp/find-broken-links-tool.md
- `find_orphaned_notes_tool` — Read — https://policylayer.com/tools/adrienthebo-obsidian-mcp/find-orphaned-notes-tool.md
- `get_backlinks_tool` — Read — https://policylayer.com/tools/adrienthebo-obsidian-mcp/get-backlinks-tool.md
- `get_note_info_tool` — Read — https://policylayer.com/tools/adrienthebo-obsidian-mcp/get-note-info-tool.md
- `get_outgoing_links_tool` — Read — https://policylayer.com/tools/adrienthebo-obsidian-mcp/get-outgoing-links-tool.md
- `list_folders_tool` — Read — https://policylayer.com/tools/adrienthebo-obsidian-mcp/list-folders-tool.md
- `list_notes_tool` — Read — https://policylayer.com/tools/adrienthebo-obsidian-mcp/list-notes-tool.md
- `list_tags_tool` — Read — https://policylayer.com/tools/adrienthebo-obsidian-mcp/list-tags-tool.md
- `read_image_tool` — Read — https://policylayer.com/tools/adrienthebo-obsidian-mcp/read-image-tool.md
- `read_note_tool` — Read — https://policylayer.com/tools/adrienthebo-obsidian-mcp/read-note-tool.md
- `search_by_date_tool` — Read — https://policylayer.com/tools/adrienthebo-obsidian-mcp/search-by-date-tool.md
- `search_by_property_tool` — Read — https://policylayer.com/tools/adrienthebo-obsidian-mcp/search-by-property-tool.md
- `search_notes_tool` — Read — https://policylayer.com/tools/adrienthebo-obsidian-mcp/search-notes-tool.md
- `view_note_images_tool` — Read — https://policylayer.com/tools/adrienthebo-obsidian-mcp/view-note-images-tool.md
- `add_tags_tool` — Write — https://policylayer.com/tools/adrienthebo-obsidian-mcp/add-tags-tool.md
- `batch_update_properties_tool` — Write — https://policylayer.com/tools/adrienthebo-obsidian-mcp/batch-update-properties-tool.md
- `create_folder_tool` — Write — https://policylayer.com/tools/adrienthebo-obsidian-mcp/create-folder-tool.md
- `create_note_tool` — Write — https://policylayer.com/tools/adrienthebo-obsidian-mcp/create-note-tool.md
- `edit_note_section_tool` — Write — https://policylayer.com/tools/adrienthebo-obsidian-mcp/edit-note-section-tool.md
- `move_folder_tool` — Write — https://policylayer.com/tools/adrienthebo-obsidian-mcp/move-folder-tool.md
- `move_note_tool` — Write — https://policylayer.com/tools/adrienthebo-obsidian-mcp/move-note-tool.md
- `remove_tags_tool` — Write — https://policylayer.com/tools/adrienthebo-obsidian-mcp/remove-tags-tool.md
- `rename_note_tool` — Write — https://policylayer.com/tools/adrienthebo-obsidian-mcp/rename-note-tool.md
- `update_note_tool` — Write — https://policylayer.com/tools/adrienthebo-obsidian-mcp/update-note-tool.md
- `update_tags_tool` — Write — https://policylayer.com/tools/adrienthebo-obsidian-mcp/update-tags-tool.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=adrienthebo-obsidian-mcp · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/adrienthebo-obsidian-mcp
