Skip to main content
Glama

x402_dnd5e_get_v1_spells

Fetch D&D 5e spell reference data from /v1/spells for character sheets, encounter tools, and rules lookups.

Instructions

dnd5e — D&D 5e API: monsters, spells, classes, equipment reference data [GET /v1/spells] $0.005 USDC on eip155:8453+137+42161+480. Example: /v1/spells

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

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

Input Schema

NameRequiredDescriptionDefault
bodyNoJSON body for POST/PUT/PATCH/DELETE
queryNoQuery parameters, e.g. {base:'USD', quote:'EUR'}
restartNoExplicitly re-run a previously failed/unknown operation. Never set for unknown outcomes unless you know the paid call did not complete.
operationIdNoDurable operation id for this intent. Supply a stable id (e.g. your job/run id) to dedupe retries; omit to derive one from the arguments.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

C2.5/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden, and it does add genuinely useful context: the call is paid ($0.005 USDC) and settles on specific eip155 chains. Beyond pricing, though, it says nothing about what the response contains, whether results are paginated, or how the paid-call retry semantics implied by the restart/operationId parameters behave.

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

Conciseness3/5

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

It is a single compact line and front-loads the service family, but it spends words on generic boilerplate — four chain IDs and an "Example: /v1/spells" that merely repeats the bracketed path — while omitting the information an agent actually needs.

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

Completeness2/5

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

With no output schema, no annotations, and four generic wrapper parameters, the description would need to explain the shape of a spell record and how to target a specific spell. It does neither, leaving the agent to guess at the return contract for a paid endpoint.

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%, so the four parameters (body, query, restart, operationId) are already documented in the schema, which sets the baseline at 3. The description adds no parameter meaning of its own and does not explain how query filters would apply to a spells listing.

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

Purpose3/5

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

The description names the resource family ("D&D 5e API: monsters, spells, classes, equipment reference data") and includes the concrete path [GET /v1/spells], so an attentive agent can infer this returns spell reference data. However, the prose lists four resource types that each have their own sibling tool, so the text itself does not clearly single out spells, and it never distinguishes a full spell list from a single-spell lookup despite the existence of slug-style siblings.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no mention of when not to use it, and no reference to the sibling endpoints for classes, equipment, or monsters. The only hint is the bracketed endpoint path, which the agent must interpret on its own.

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

Deploy Server

Other Tools