get_spell

Pack: dnd5e · Endpoint: https://gateway.pipeworx.io/dnd5e/mcp

Get spell details including damage, range, duration, components, and effects. Provide spell index (e.g., “fireball”, “magic-missile”, “cure-wounds”). Returns damage dice, range, casting time, and effect descriptions.

Parameters

NameTypeRequiredDescription
indexstringyesSpell index name in kebab-case (e.g. “fireball”, “magic-missile”).

Example call

Arguments

{
  "index": "fireball"
}

curl

curl -X POST https://gateway.pipeworx.io/dnd5e/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_spell","arguments":{"index":"fireball"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('get_spell', {
  "index": "fireball"
});

More examples

{
  "index": "magic-missile"
}

Response shape

Always returns: index, name, level, school, casting_time, range, duration, concentration, ritual, components, description, classes

FieldTypeDescription
indexstringSpell index identifier
namestringSpell name
levelintegerSpell level (0-9)
schoolstringSchool of magic
casting_timestringTime required to cast spell
rangestringSpell range
durationstringSpell duration
concentrationbooleanWhether spell requires concentration
ritualbooleanWhether spell can be cast as ritual
componentsarraySpell components (V, S, M)
materialstringMaterial components required
descriptionarraySpell effect descriptions
higher_levelarrayEffects at higher spell levels
classesarrayClasses that can cast this spell
Full JSON Schema
{
  "type": "object",
  "properties": {
    "index": {
      "type": "string",
      "description": "Spell index identifier"
    },
    "name": {
      "type": "string",
      "description": "Spell name"
    },
    "level": {
      "type": "integer",
      "description": "Spell level (0-9)"
    },
    "school": {
      "type": "string",
      "description": "School of magic"
    },
    "casting_time": {
      "type": "string",
      "description": "Time required to cast spell"
    },
    "range": {
      "type": "string",
      "description": "Spell range"
    },
    "duration": {
      "type": "string",
      "description": "Spell duration"
    },
    "concentration": {
      "type": "boolean",
      "description": "Whether spell requires concentration"
    },
    "ritual": {
      "type": "boolean",
      "description": "Whether spell can be cast as ritual"
    },
    "components": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Spell components (V, S, M)"
    },
    "material": {
      "type": "string",
      "description": "Material components required"
    },
    "description": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Spell effect descriptions"
    },
    "higher_level": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Effects at higher spell levels"
    },
    "classes": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Classes that can cast this spell"
    }
  },
  "required": [
    "index",
    "name",
    "level",
    "school",
    "casting_time",
    "range",
    "duration",
    "concentration",
    "ritual",
    "components",
    "description",
    "classes"
  ]
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "dnd5e": {
      "url": "https://gateway.pipeworx.io/dnd5e/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build May 9, 2026