Skip to main content
Glama

use_spell_slot

Track spell slot usage in D&D 5e campaigns by decrementing available slots for a character at a specified level, returning remaining count after validation.

Instructions

Use a spell slot, decrementing available slots for the given level.

Validates that the character has slots at this level and that at least one is still available. Returns remaining slot count.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
character_name_or_idYesCharacter name, ID, or player name
slot_levelYesSpell slot level to use (1-9)
player_idNoPlayer ID for permission check (omit for single-player DM mode)
Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Polloinfilzato/dm20-protocol'

If you have feedback or need assistance with the MCP directory API, please join our Discord server