Skip to main content
Glama

Dnd5e List Spells

dnd5e_list_spells
Read-onlyIdempotent

Search D&D 5e spells by name or level. Returns spell indices, names, and levels for use with get_spell to fetch full details.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "dnd5e_list_spells"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
countYesTotal number of spells available
spellsYesList of available spells

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is fully covered and the description need not restate it. Beyond that the description discloses which fields come back (indices, names, levels) and that details require a follow-up call, which is useful, but it omits whether results are truncated, paginated, or complete. With an output schema present, the return-field sentence is largely redundant.

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 short sentences, front-loaded with purpose and followed by the handoff to get_spell. No filler, no restatement of the title.

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

Completeness3/5

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

For a zero-parameter list tool with an output schema and full annotation coverage, most of the burden is already met elsewhere. The gap is that the promised search/filter behavior is unsupported by the schema, leaving the agent unclear on whether the call returns all spells or a filtered subset. That ambiguity should have been resolved in the description.

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

Parameters2/5

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

The input schema defines zero properties, yet the description advertises searching "by name or level," implying filter arguments that an agent cannot supply. A tool with no parameters starts at a baseline of 4, but here the description actively creates a false expectation about callable inputs. This is the definition's most consequential defect.

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

Purpose4/5

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

The description states a specific verb and resource ("Search D&D 5e spells") and explicitly frames the payload as a lightweight index set ("spell indices, names, and levels"), which distinguishes it from the detail-fetching sibling get_spell. The only blemish is the "by name or level" qualifier, which implies filtering capability the tool does not appear to expose. An agent still knows what the tool is for without opening the schema.

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?

It gives an explicit two-step workflow: call this to get indices, then use get_spell to fetch full details. That is actionable routing guidance and names the correct sibling. It stops short of stating when not to use it (e.g. if you already know the index) or noting that the whole spell set is returned.

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.