# kb_search

Full-text search over the persistent knowledge base via SQLite FTS5.

Agent View of the PolicyLayer registry record for `kb_search`. HTML page: https://policylayer.com/tools/0x67108864-persistent-kb-mcp/kb-search

## Facts

- Tool: `kb_search`
- Server: Persistent Kb (`0x67108864/persistent-kb-mcp`) — https://policylayer.com/tools/0x67108864-persistent-kb-mcp.md
- Homepage: https://github.com/0x67108864/persistent-kb-mcp
- Risk category: Read (Low risk)
- Registry record: grade D, 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": "kb_search",
    "arguments": {}
  }
}
```

## Why kb_search is rated Low

This tool retrieves and searches existing knowledge base entries without creating, modifying, or deleting data. Full-text search is a standard read operation that queries data and returns results. No side effects or irreversible actions are possible from this search functionality.

From the tool's own definition: "Tool name 'kb_search' and description 'Full-text search over the persistent knowledge base via SQLite FTS5' indicate a read-only query operation with no data modification or deletion capability."

## Use case

AI agents call kb_search to retrieve information from Persistent Kb 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 Persistent Kb:

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

## Other tools on Persistent Kb (4)

- `kb_list` — Read — https://policylayer.com/tools/0x67108864-persistent-kb-mcp/kb-list.md
- `kb_show` — Read — https://policylayer.com/tools/0x67108864-persistent-kb-mcp/kb-show.md
- `kb_add` — Write — https://policylayer.com/tools/0x67108864-persistent-kb-mcp/kb-add.md
- `kb_tag` — Write — https://policylayer.com/tools/0x67108864-persistent-kb-mcp/kb-tag.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=0x67108864-persistent-kb-mcp · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/0x67108864-persistent-kb-mcp
