Skip to main content
Glama

Name a room

name_room

Name and describe the room the player just entered when the engine says UNNAMED ROOM (the world's scaffold left it to you). Free; saved with the run, so revisits read the same. Fit the band, tone and exits it lists; don't reuse a recent name. Returns CHECK lines if the words name a direction with no way out, the wrong number of ways out, or a stair the room doesn't have; naming it again replaces the words.

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": {
      "name": "<name>",
      "description": "<description>"
    },
    "name": "name_room"
  }
}

Input Schema

NameRequiredDescriptionDefault
gameNoInternal save name: leave it out (the current run is used)
nameYesA few words: "The Drowned Chapel"
roomNoRoom id; omit for the current room
exitsNoA label for each way out, by its letter: {"A": "the broken doorway", "B": "the flooded culvert"} — a few words the player can say
descriptionYesOne or two sentences, with what the real ways out look like ("a broken doorway, a flooded stair down"); a direction, if any, must be the real one; no ways out beyond the real ones

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Adds substantial context beyond the annotations: the call is free, the result persists with the run so revisits stay consistent, and failures surface as CHECK lines for impossible exits, wrong exit counts, or a non-existent stair. The note that re-naming 'replaces the words' is mildly at odds with idempotentHint=false but reads as an intended replacement semantic rather than a contradiction.

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?

Three tight sentences with the trigger front-loaded and the validation behavior last, no wasted clauses. A few phrasings are cryptic ('Fit the band, tone and exits it lists'), which costs a little readability.

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

Completeness5/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 still explains the return contract (CHECK lines and their triggers) and the persistence model, which is what an agent needs to call this confidently. Coverage is complete for a five-parameter, nested-object tool.

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

Parameters3/5

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

Schema description coverage is 100%, so the schema already documents all five parameters including the nested exits map. The description reinforces the content constraints (exits must be real, descriptions must match actual ways out) and adds the 'don't reuse a recent name' rule, which is modest added meaning rather than a rewrite of the schema.

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?

States a specific verb+resource ('Name and describe the room') and pins the exact trigger condition ('when the engine says UNNAMED ROOM'), so an agent knows precisely which state calls for this tool rather than look, examine, or world_form.

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?

Gives a clear activation condition (engine emits UNNAMED ROOM, scaffold left it to you) and an explicit negative constraint ('don't reuse a recent name') plus a fit requirement for tone and exits. It does not name an alternative sibling for the case where the room is already named, so it falls short of full when/when-not routing.

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.

Resources