Skip to main content
Glama

Embers: Tabletop RPG Toolkit

Search vault spells

vault_search_spells
Read-onlyIdempotent

Search the spell library the user has access to (stock spells plus their own house spells). Use this to locate a spell or power by name, ruleset, or type. Defaults to a compact summary shape (identification + summary + level + school + classes + categories + publisher / source); pass detail: 'full' to receive each spell's full description inline.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoSubstring match on spell 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`).
typeNoSpell type (the ruleset's name for a spell).
limitNoPage size; defaults to 50 when omitted. Hard cap of 200.
stockNotrue = official content only; false = user-authored 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, from list_rulesets.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultsNo
paginationNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / ruleset / description
      Previous value: -"Ruleset code (e.g. '5th Edition', '5e24', 'PFRPG', 'Savage Worlds', 'Universal')."New value: +"Ruleset code, from list_rulesets."
    • changedInput schema / properties / type / description
      Previous value: -"Spell type. 5e / 5e24 use 'Spell'; Savage Worlds uses 'Power'."New value: +"Spell type (the ruleset's name for a spell)."
  2. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already cover the read-only, idempotent, non-destructive profile, so the bar is lower. The description still adds real context: the library scope (stock + house content) and the default compact response shape with an opt-in for full descriptions.

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?

Two front-loaded sentences with no waste: scope first, then use case, then the response-shape toggle. Every clause earns its place.

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?

With an output schema present and full parameter coverage, the description needn't explain return values. It completes the picture by stating which content is searchable and the default response shape, which is enough for correct invocation.

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

Parameters3/5

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

Schema description coverage is 100%, and the schema already documents the `detail` enum thoroughly ('summary' vs 'full'), name matching, and pagination. The description largely restates the `detail` behavior and adds little parameter meaning beyond the schema, so baseline 3 applies.

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?

States a specific verb+resource ('search the spell library') and pins down scope precisely: stock spells plus the user's own house spells. This distinguishes it cleanly from siblings like vault_get_spell (single fetch) and vault_search_items/rules.

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?

Gives a clear use case ('locate a spell or power by name, ruleset, or type') and routes to the full-detail mode. It stops short of naming the retrieval alternative (vault_get_spell) or stating when search is the wrong choice, so it's clear context but no explicit exclusions.

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