Skip to main content
Glama

render_map

Visualize combat encounters with ASCII maps showing participant positions, obstacles, and terrain for RPG sessions.

Instructions

Render an ASCII map of the current combat state showing participant positions, obstacles, and terrain. Returns a text-based grid visualization with:

  • A-Z for friendly participants

  • 1-9 for enemies

  • █ for obstacles

  • ░ for difficult terrain

  • ☠ for defeated combatants

Example: { "encounterId": "encounter-battle-1-123456", "width": 15, "height": 15 }

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
encounterIdYesThe ID of the encounter
widthNoGrid width (default: 20)
heightNoGrid height (default: 20)
showLegendNoInclude legend explaining symbols
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