Skip to main content
Glama

spawn_preset_location

Generate complete RPG locations from presets by creating POIs, room networks, and optional NPCs at specified world coordinates.

Instructions

Spawn a complete location from a preset. Creates POI, room network, and optionally NPCs.

TOKEN SAVINGS: ~85% vs manual specification

WHAT THIS TOOL DOES:

  1. Creates a POI at specified world coordinates

  2. Creates a room network with all preset rooms

  3. Links the POI to the network

  4. Optionally spawns preset NPCs

Example - Spawn a tavern: { "preset": "generic_tavern", "worldId": "world-1", "x": 50, "y": 75 }

Example - Spawn dungeon entrance with NPCs: { "preset": "dungeon_entrance", "worldId": "world-1", "x": 100, "y": 200, "spawnNpcs": true }

Example - Custom name: { "preset": "forest_clearing", "worldId": "world-1", "x": 25, "y": 30, "customName": "Whispering Glade" }

Available presets:

  • Taverns: generic_tavern, rough_tavern

  • Dungeons: dungeon_entrance, cave_entrance

  • Urban: town_square

  • Wilderness: forest_clearing, roadside_camp

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
presetYesLocation preset ID (e.g., "generic_tavern")
worldIdYesWorld ID to spawn in
xYesX coordinate on world map
yYesY coordinate on world map
customNameNoOverride default location name
spawnNpcsNoIf true, spawn preset NPCs in their rooms
discoveryStateNoInitial discovery statediscovered
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