Skip to main content
Glama

Label the ways out

label_exits

Label the ways out of the room the player is in (or has been in), so the player can say them ("the rusted hatch"): use it in a world's own room, or to relabel. Free; kept with the run. A direction in a label must be the real one.

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": {
      "exits": "<exits>"
    },
    "name": "label_exits"
  }
}

Input Schema

NameRequiredDescriptionDefault
gameNoInternal save name: leave it out (the current run is used)
roomNoRoom id; omit for the current room
exitsYesBy letter: {"A": "the rusted hatch", "B": "the lift shaft"}

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations declare readOnlyHint=false, idempotentHint=false and destructiveHint=false, and the description adds real context beyond them: the operation is "Free" and the result is "kept with the run" (persistence), plus a validation rule that any direction in a label must be the real one. It does not explain what happens to labels not listed in a call, which would matter for a mutation tool.

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 clauses, front-loaded with the purpose and the player-facing rationale, with the operational caveats (free, persisted) and the direction constraint following. The telegraphic phrasing is terse but nothing is wasted.

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?

For a three-parameter mutation tool with full schema coverage and no output schema, the definition covers purpose, scope, cost/persistence, and the key validity constraint on directions. Only the effect of relabeling an existing exit set is left implicit.

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 already 100%, so the baseline is 3, but the description adds meaning on top: it clarifies the room parameter's scope (the room the player is in or has been in) and supplies a concrete label example ("the rusted hatch") matching the letter-to-label map. It also states a semantic constraint on directions that the schema does not encode.

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?

The description states a specific verb and resource: label the exits of the room the player is in or has been in, so the player can speak a phrase like "the rusted hatch". That is concrete and distinct from the room-naming sibling, though it never names an alternative tool explicitly.

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?

"use it in a world's own room, or to relabel" gives a partial when-to-use condition, but it does not say when to avoid this tool or which sibling to reach for instead (e.g., name_room). The guidance is implied rather than stated.

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