Skip to main content
Glama

search_rules

Search across all loaded D&D 5e rulebooks to find spells, classes, races, monsters, feats, and items. Filter results by category or class to quickly locate specific game mechanics and content.

Instructions

Search for rules content across all loaded rulebooks.

Works without a campaign loaded (uses global rulebook manager). When a campaign is active, its rulebook manager takes priority.

Examples: - search_rules(query="fire", category="spell") - Find spells with 'fire' in name - search_rules(class_filter="ranger", category="spell") - All ranger spells - search_rules(query="cure", class_filter="ranger", category="spell") - Ranger spells with 'cure' in name

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryNoSearch term (name, partial match). Can be empty if class_filter is provided.
categoryNoFilter by category. Default: allall
limitNoMax results
class_filterNoFilter spells by class (e.g., 'ranger', 'wizard'). Only applies to spell category.
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/Polloinfilzato/dm20-protocol'

If you have feedback or need assistance with the MCP directory API, please join our Discord server