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
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. It effectively discloses key behavioral traits: it creates a full combat encounter (implying a write/mutation operation), mentions token savings (~90%), and provides detailed examples of input formats (e.g., position shorthand). However, it doesn't explicitly state permissions, error conditions, or side effects like session initialization needs.

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 appropriately sized and front-loaded: the first sentence states the purpose, followed by key benefits (REPLACES, TOKEN SAVINGS), then examples and details. Every sentence adds value, though the long list of creature templates at the end could be slightly trimmed for better flow.

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 (7 parameters, nested objects) and no output schema, the description is quite complete. It covers purpose, usage, parameters with examples, and available options. The main gap is the lack of explicit mention of required permissions or error handling, but the example and template list provide strong contextual support.

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

Parameters4/5

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

Schema description coverage is high (86%), so the baseline is 3. The description adds significant value beyond the schema: it explains position shorthand ('"10,5" instead of {x:10, y:5, z:0}'), provides a full example with all major parameters, and lists available creature templates (which aren't in the schema as enums). This compensates well for the 14% schema gap.

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: 'Create a full combat encounter with creatures from presets and terrain patterns.' It specifies the verb ('create'), resource ('full combat encounter'), and distinguishes it from siblings by explicitly mentioning it replaces 'create_encounter + N×create_character + N×update_terrain'.

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

Usage Guidelines5/5

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

The description provides explicit usage guidelines: it states when to use this tool ('REPLACES: create_encounter + N×create_character + N×update_terrain') and includes a concrete example ('Example - Goblin Ambush:'). It also lists available creature templates, helping users understand what's possible.

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