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
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden of behavioral disclosure. It effectively describes what the tool creates (POI, room network, NPCs) and the token savings benefit. However, it lacks details on permissions, error handling, or mutation impacts (e.g., overwriting existing locations), which are important for a creation tool. It adds good context but misses some behavioral traits.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is well-structured with sections like 'TOKEN SAVINGS', 'WHAT THIS TOOL DOES', and examples, making it front-loaded and easy to scan. However, the preset list is somewhat lengthy, and some sentences could be more concise (e.g., the examples are detailed but necessary). It's efficient but has minor verbosity.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity (8 parameters, no annotations, no output schema), the description is mostly complete. It covers purpose, usage, parameters, and examples, but lacks details on return values or error conditions. With no output schema, it should ideally mention what is returned (e.g., location ID), leaving a small gap in completeness.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The description adds significant meaning beyond the input schema, which has 88% coverage. It explains parameter usage through examples (e.g., 'preset' values like 'generic_tavern', 'spawnNpcs' for NPC spawning, 'customName' overrides) and lists available presets, clarifying semantics that the schema alone does not fully convey, compensating for any gaps.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose with specific verbs and resources: 'Spawn a complete location from a preset. Creates POI, room network, and optionally NPCs.' It distinguishes from siblings like 'spawn_populated_location' by emphasizing preset-based creation with token savings, and from 'generate_room_node' by handling complete location setup.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides clear context for when to use this tool: for spawning preset locations with efficiency (85% token savings). It implies alternatives like manual specification or other spawn tools but does not explicitly name when-not-to-use scenarios or direct sibling comparisons, keeping it at a 4.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

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

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