Skip to main content
Glama

setup_tactical_encounter

Create full RPG combat encounters with preset creatures and terrain patterns in a single call, replacing multiple API requests to save tokens.

Instructions

Create a full combat encounter with creatures from presets and terrain patterns.

REPLACES: create_encounter + N×create_character + N×update_terrain (6-12 calls → 1 call) TOKEN SAVINGS: ~90%

Creature templates: "goblin", "goblin:archer", "skeleton:warrior", "orc:berserker" Position shorthand: "10,5" instead of {x:10, y:5, z:0}

Example - Goblin Ambush: { "seed": "goblin-ambush", "participants": [ { "template": "goblin:warrior", "position": "5,5" }, { "template": "goblin:warrior", "position": "7,5" }, { "template": "goblin:archer", "position": "6,2" }, { "template": "hobgoblin:captain", "name": "Grishnak", "position": "6,3" } ], "terrain": { "obstacles": ["3,3", "3,4", "8,3", "8,4"], "difficultTerrain": ["5,6", "6,6", "7,6"] }, "partyPositions": ["10,10", "11,10", "10,11", "11,11"] }

Available creature templates: goblin, goblin:warrior, goblin:archer, goblin:boss, goblin:shaman, skeleton, skeleton:warrior, skeleton:archer, zombie, zombie:brute, orc, orc:warrior, orc:berserker, hobgoblin, hobgoblin:captain, wolf, dire_wolf, bandit, bandit_captain, ogre, troll, and more.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
seedYesSeed for deterministic combat
participantsYesEnemy creatures to spawn
terrainNoTerrain configuration
partyPositionsNoStarting positions for party members
partyIdNoParty ID to auto-add party members
gridSizeNoGrid dimensions
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