Skip to main content
Glama

Start a new run

new_game
Destructive

Start a new run in a world and make it current, then read the intro to the player in your own words (the narrator tone is for you). A world with a run in progress refuses until the player confirms starting anew (then abandon: true). A run is generated: 6 floors by default, permadeath, ~20–30 minutes.

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": "new_game"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoInternal save name: leave it out
seedNoFixed seed, for a replayable game (same seed = same floors)
classNoWho the player is this run — a class name, 1-3 or "random". Ask the player first when the world has several (without it the engine replies with the question to ask)
worldNofantasy (default), scifi, postapo, corporate, or the id of a world the player built
floorsNoNumber of floors, 2-20 (default 6; 8 for a longer run); 0 or left out = default
playerNoThe hero's name
abandonNoOnly after the player confirmed starting anew: ends the run in progress in this world (scored as abandoned)
hardcoreNoEven labelled potions/scrolls/wands get shuffled per-run looks (the old NetHack way). Default off

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / floors / description
      Previous value: -"Number of floors (default 6; 8 for a longer run)"New value: +"Number of floors, 2-20 (default 6; 8 for a longer run); 0 or left out = default"
    • changedInput schema / properties / floors / minimum
      Previous value: -2New value: +0
  2. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations only declare destructive/non-idempotent/non-read-only; the description adds the behavior that matters: an existing run blocks the call until player confirmation, abandonment is recorded as scored-abandoned, the run is generated with 6 floors by default, permadeath applies, and a run lasts roughly 20-30 minutes. That is substantial context an agent cannot get from the annotations.

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 sentences, front-loaded with the action, then blocking/confirmation semantics, then run characteristics. Dense and purposeful, though the confirmation sentence compresses two ideas ('refuses until confirms' and 'then abandon: true') into one parenthetical that reads slightly telegraphically.

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?

All 8 optional parameters are documented in the schema, and the description covers the remaining gaps for a mutation tool: the blocking condition, how to recover from it, the fact that the engine may reply with a question instead of starting, and what a generated run looks like. With no output schema, the note that the intro is narrated by the agent itself is exactly the missing return-handling guidance.

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 coverage is 100% and the per-parameter descriptions already explain seed, class, world, floors, player, abandon and hardcore in detail, so the description cannot add much. It reinforces only the abandon confirmation condition and the default floor count. Baseline 3 is appropriate when the schema does the heavy lifting.

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 and resource ('Start a new run in a world and make it current') plus a follow-up obligation (read the intro in your own words). This clearly separates it from continuing siblings like play/advance, and the parenthetical that narrator tone is for the agent removes the main ambiguity about what the intro is for.

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 concrete when-to-use conditions: it is the entry point for a fresh run, it refuses if a run is in progress until the player confirms, and confirm is signalled with abandon: true. It also says to ask the player for a class when the world has several. It does not explicitly name sibling alternatives such as advance or play for continuing an existing run, so it stops short of full routing guidance.

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