search_rulebook

Full-text search the True Dungeon rulebook. Ranked hits include the page path — pass that path to get_rulebook_page to read the content. Prefer this over list_rulebook_pages for rule questions.

Server TDC MCP Server truedungeoncompanion/mcp
Category Read
Risk class Low
Parameters 00 required

What search_rulebook does on TDC MCP Server

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

Why search_rulebook needs a policy

This is a search/query tool that retrieves information without side effects. It searches an existing rulebook index and returns ranked results with metadata (page paths), enabling users to discover relevant content. The actual content retrieval is delegated to a separate Read operation (get_rulebook_page). No data is modified, executed, or destroyed.

From the tool's definition Tool performs 'Full-text search' and returns 'Ranked hits' with page paths for lookup. No creation, modification, deletion, or execution of external operations. User must separately call get_rulebook_page to retrieve actual content.

Questions about search_rulebook

What does the search_rulebook tool do? +

Full-text search the True Dungeon rulebook. Ranked hits include the page path — pass that path to get_rulebook_page to read the content. Prefer this over list_rulebook_pages for rule questions. It is categorised as a Read tool in the TDC MCP Server MCP Server, which means it retrieves data without modifying state.

How do I enforce a policy on search_rulebook? +

Register the TDC MCP Server MCP server in PolicyLayer and add a rule for search_rulebook: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches TDC MCP Server. Nothing to install.

What risk level is search_rulebook? +

search_rulebook is a Read tool with low risk. Read-only tools are generally safe to allow by default.

Can I rate-limit search_rulebook? +

Yes. Add a rate_limit block to the search_rulebook rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.

How do I block search_rulebook completely? +

Set action: deny in the PolicyLayer policy for search_rulebook. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.

What MCP server provides search_rulebook? +

search_rulebook is provided by the TDC MCP Server MCP server (truedungeoncompanion/mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

// LOOK UP ANOTHER SERVER

Every MCP server has a record like this.

Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.