Skip to main content
Glama

D&D MCP Server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
create_campaign

Create a new D&D campaign.

get_campaign_info

Get information about the current campaign.

list_campaigns

List all available campaigns.

load_campaign

Load a specific campaign.

create_character

Create a new player character.

get_character

Get detailed character information.

update_character_hp

Update character hit points.

add_item_to_character

Add an item to a character's inventory.

list_characters

List all characters in the current campaign.

create_npc

Create a new NPC.

get_npc

Get NPC information.

list_npcs

List all NPCs in the current campaign.

create_location

Create a new location.

get_location

Get location information.

list_locations

List all locations in the current campaign.

create_quest

Create a new quest.

update_quest

Update quest status or complete objectives.

list_quests

List quests, optionally filtered by status.

update_game_state

Update the current game state.

get_game_state

Get the current game state.

start_combat

Start a combat encounter.

end_combat

End the current combat encounter.

next_turn

Advance to the next turn in combat.

add_session_note

Add notes for a game session.

get_sessions

Get all session notes.

add_event

Add an event to the adventure log.

get_events

Get events from the adventure log.

roll_dice

Roll dice with D&D notation.

calculate_experience

Calculate experience points for an encounter.

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/study-flamingo/gamemaster-mcp'

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