Skip to main content
Glama

Prepwell

Draw the map for a session

prep_session_map
Read-onlyIdempotent

Draws the map for a tabletop RPG session. Draws a real battle map (fantasy maps by Ink & Torch, starship deck plans by Hull & Hatch) on a square grid, by code, and gives back the picture, every numbered area with exactly which areas connect and by what kind of door (secret doors included), where the party comes in, the encounter budget for the game system and party, and the JSON shape a session for this map uses. Free here: dungeon, cave, floorplan (tavern or house), forest, and the courier, trader and derelict starships.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "prep_session_map"
  }
}

Input Schema

NameRequiredDescriptionDefault
seedNoAny word. The same seed and settings always draw the same map.
hoursNoSession length in hours. Default 3.
systemNodnd5e2024 (D&D 5e, 2024 rules), pf2e, shadowdark, osr, mothership or traveller. Read from the request if left out.
requestNoThe GM's few words: who the party is, what they're after, where. Example: 'level 3, they owe a smuggler money, flooded temple, 3 hours'.
map_typeNoPick the map yourself. Left out, it's picked from the request (a temple is a dungeon, a mine is a cave, a derelict is a Hull & Hatch derelict).
party_sizeNoNumber of player characters. Default 4.
party_levelNoParty level. Read from the request if left out, else 3.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds substantive behavior beyond that: the output is a real rendered image plus a structured area/door graph, and results are deterministic per seed and settings. The 'Free here' list also hints at tiering for other map types, though it never states latency or what happens for unsupported combinations.

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?

Two sentences, purpose front-loaded, no filler or marketing padding. The second sentence is long and comma-heavy, packing several distinct facts (image, connectivity, doors, entry point, budget, JSON shape) into one breath, which slightly hurts scanability.

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?

With no output schema, the description carries the return-value burden and does so thoroughly — image, area graph, entry point, encounter budget, and session JSON shape are all named. For a seven-parameter generative tool the remaining gap is small: what the caller gets for disallowed or premium map types is unstated.

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 100%, so the baseline is 3, and the description earns an extra point by adding meaning the schema lacks: which map_type values are free, that the map is drawn on a square grid, and the Ink & Torch / Hull & Hatch provenance that separates fantasy from starship plans. It still leaves the non-free enum values (sewer, tower, village, town, corvette, barge, station) unexplained.

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?

Names a specific verb and resource ('Draws the map for a tabletop RPG session') and then enumerates exactly what is produced — image, numbered areas with connections and door types, party entry point, encounter budget, session JSON shape. That is far more precise than the sibling names check_session or list_map_types and lets an agent distinguish generation from inspection.

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

Usage Guidelines3/5

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

Gives useful scoping context ('Free here: dungeon, cave, floorplan, forest...') and says map_type can be left for the tool to infer from the request, which is real selection guidance. It never says when to use this versus check_session or list_map_types, nor any preconditions, so usage is only implied.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.