Skip to main content
Glama

level_up_character

Increase a character's level in D&D 5e campaigns, handling HP calculation, class features, spell slots, ability score improvements, and multiclassing automatically.

Instructions

Level up a character by one level.

Increments level, calculates HP increase, adds class features, updates spell slots for casters, handles ASI at appropriate levels, and manages subclass selection. Requires a rulebook to be loaded.

Multiclass: if class_name is a class the character doesn't have yet, this acts as a multiclass dip — adding that class at level 1.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
name_or_idYesCharacter name, ID, or player name
class_nameNoWhich class to level up (for multiclass characters). If omitted, levels up primary class.
hp_methodNoHP increase method: 'average' (default, PHB standard) or 'roll'average
asi_choicesNoJSON dict for ASI: {"strength": 2} or {"strength": 1, "dexterity": 1}
subclassNoSubclass to select (at subclass level, typically 3)
new_spellsNoJSON list of new spells learned: ["fireball", "counterspell"]
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