Skip to main content
Glama

Embers: Tabletop RPG Toolkit

Search vault rules

vault_search_rules
Read-onlyIdempotent

Search the rules library the user has access to (stock content plus their own house rules). Use this to locate a class, race, background, feat, edge, hindrance, ancestry, ability, stunt, or extra by name, type, or ruleset. Defaults to a compact summary shape (identification + summary + categories + publisher / source); pass detail: 'full' to receive each rule's full description and embedded sub-document arrays inline.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoSubstring match on rule name (case-insensitive). Use `^name$` for an exact match.
skipNoPagination offset; pair with `limit` to walk results.
sortNoComma-separated field list. Prefix with `-` for descending (e.g. `-updatedAt,name`).
typeNoRule category to filter to.
limitNoPage size; defaults to 50 when omitted. Hard cap of 200.
stockNotrue = official/WOTC content only; false = user-authored house rules only; omit to include both.
detailNoResponse shape. 'summary' (default) returns identification + summary fields; 'full' returns the complete document shape (every field inline) that non-MCP clients receive by default.summary
rulesetNoRuleset code (e.g. '5th Edition', '5e24', 'PFRPG', 'Savage Worlds', 'Universal').

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultsNo
paginationNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already establish readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered. The description adds useful behavioral context beyond annotations: the default compact summary shape, the effect of detail='full', and that the search covers both stock content and user house rules.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three sentences with no fluff: purpose and scope come first, followed by the key output-shape behavior. Every sentence earns its place and the most decision-relevant information is front-loaded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the rich output schema, full parameter documentation, and complete annotation set, the description covers all essential context: scope, searchable content, query dimensions, and response behavior. Pagination and sort syntax are already handled in the schema, so nothing important is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds meaning for the detail parameter by specifying what summary returns (identification + summary + categories + publisher/source) and what full returns (complete documents with embedded sub-document arrays). This goes beyond the schema's brief enum descriptions.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb and resource: searching the rules library the user has access to, including stock content and house rules. It enumerates the rule types covered and the query axes (name, type, ruleset), making it easy to distinguish from sibling vault search tools like vault_search_characters or vault_search_spells.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description states when to use the tool: to locate any of the listed rule categories by name, type, or ruleset. It provides clear context about the library scope, though it does not explicitly point to alternatives such as vault_get_rule or mention when not to use this tool.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources