Skip to main content
Glama

create_character

Generate RPG characters for tabletop games with customizable stats, classes, races, and types. Only a name is required—all other attributes use sensible defaults.

Instructions

Create a new character. Only name is required - everything else has sensible defaults.

Character types:

  • pc: Player character (default)

  • npc: Non-player character (ally or neutral)

  • enemy: Hostile creature

  • neutral: Non-hostile, non-ally

Class and race can be ANY string - use standard D&D classes/races or create custom ones. Stats can be any positive integer (not limited to 3-18).

Example (minimal - just name): { "name": "Mysterious Stranger" }

Example (full): { "name": "Valeros", "class": "Fighter", "race": "Human", "hp": 20, "maxHp": 20, "ac": 18, "level": 1, "stats": { "str": 16, "dex": 14, "con": 14, "int": 10, "wis": 12, "cha": 10 }, "characterType": "pc" }

Example (custom class/race): { "name": "Whiskers", "class": "Chronomancer", "race": "Mousefolk", "stats": { "str": 6, "dex": 18, "con": 10, "int": 16, "wis": 14, "cha": 12 } }

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesCharacter name (required)
classNoCharacter class - any string allowed (Fighter, Wizard, Chronomancer, Merchant...)Adventurer
raceNoCharacter race - any string allowed (Human, Elf, Mousefolk, Illithid...)Human
backgroundNoFolk Hero
alignmentNo
statsNo
hpNo
maxHpNo
acNo
levelNo
characterTypeNopc
factionIdNo
behaviorNo
characterClassNo
knownSpellsNo
preparedSpellsNo
resistancesNo
vulnerabilitiesNo
immunitiesNo
provisionEquipmentNoAuto-grant class-appropriate starting equipment and spells. Set to false for custom/improvised characters.
customEquipmentNoOverride default starting equipment with these items (still requires provisionEquipment: true)
startingGoldNoOverride default starting gold amount
sessionIdNo

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/Mnehmos/rpg-mcp'

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