Skip to main content
Glama

Ink & Torch

Get a map's room key

room_key
Read-onlyIdempotent

Get the numbered room key for a map: a name and a few lines for each room, written for a game master to read at the table. Anyone gets the first three rooms. With a Pro code it gives every room and a d8 wandering encounter table. Pass the same type, size and seed as the map.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "seed": "<seed>"
    },
    "name": "room_key"
  }
}

Input Schema

NameRequiredDescriptionDefault
seedYesAny word or number. The same type, size and seed always make the same map. Leave it out for a new map.
sizeNosmall is 24 by 18 squares, medium 36 by 27, large 48 by 36, xl 64 by 48. xl is Pro.medium
typeNoWhat kind of map. Free: dungeon, cave, tavern (a tavern or house), forest. Pro: sewer, ship, tower, village, town.dungeon
floorNoWhich floor to give back when floors is more than 1.
floorsNoPro. Dungeons and towers can have 2 or 3 floors joined by stairs.
pro_codeNoAn Ink & Torch Pro code, 16 letters and numbers. Only needed for Pro maps and extras. Leave it out for free maps.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the bar is lower, and the description still adds meaningful behavior: content is truncated to three rooms for anonymous callers, a Pro code unlocks the full key plus an encounter table, and the output is written in table-ready prose for a game master. It does not say what happens with an invalid or expired Pro code.

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?

Four short sentences, front-loaded with what you get and what it costs, with no filler beyond the useful "read at the table" framing. Each sentence carries distinct information: payload, free tier, Pro tier, parameter contract.

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 correctly carries the return-shape burden (room names plus a few lines each, encounter table on Pro). For a 6-parameter tool it covers gating and parameter reuse well; the only gap is failure behavior for an invalid Pro code or a size/type combination that requires Pro.

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 coverage is 100%, so the baseline is 3. The description adds cross-tool meaning by telling the caller to pass the same type, size and seed as the originating map, which the per-property descriptions do not frame as a consistency requirement. The remaining Pro/floor behavior is already documented in the schema.

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

Purpose4/5

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

"Get the numbered room key for a map" gives a specific verb and resource, and the description goes further by naming the payload ("a name and a few lines for each room"), which clearly separates it from make_map or vtt_file. It stops short of naming a sibling explicitly, so the differentiation is implicit rather than stated.

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?

It establishes real preconditions: the map already exists, and the caller must reuse the same type, size and seed. The free vs Pro split is spelled out (first three rooms vs all rooms plus a d8 encounter table). There is no explicit "do not use this when..." guidance or named alternative, which keeps it from a 5.

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.