Skip to main content
Glama

Save a world draft

world_save

Save (merge) words and picks into a world and check it. Send any part of the form's "world" object (leave out the '_is' notes), or spot patches with dotted keys: {"monsters.m03.damage": "frost", "rooms.r07": null} (null clears a line). On the first save pass request = the player's own words for what they want. Returns what's still missing or wrong, each naming its line. Every save leaves the world a draft until it is reviewed and confirmed.

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": {
      "id": "<id>",
      "world": "<world>"
    },
    "name": "world_save"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesWorld id: 2-32 lowercase letters, digits or _ (e.g. "sunken_city")
worldYesPart or all of the form's world object, or dotted spot patches
requestNoThe player's request in their own words (first save; the review holds the world to it)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations only say this is a non-readonly, non-idempotent, non-destructive write. The description goes further: it discloses merge semantics, that null in a dotted patch clears a line, that the response enumerates missing/wrong lines, and that state remains a draft after each call. It does not cover rate limits or failure modes, keeping it at 4 rather than 5.

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?

The core action and the patch example are front-loaded, and the inline JSON patch example earns its space by demonstrating dotted keys and null clearing. The '_is' notes aside is cryptic and slightly wasteful, and the final sentence about drafts could be tighter.

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 nested free-form object parameter with no output schema, the description does the necessary work: it explains how to pass partial objects and spot patches and what the call returns (lines still missing or wrong). The gaps are minor—no indication of error behavior for an invalid `id` or conflicting patches.

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 baseline is 3. The description does add genuine meaning—dotted-key spot patches, null-clearing, omitting the '_is' notes, and the first-save semantics of `request`—but the `_is` reference is undefined jargon and the exact expected object shape is left to the form.

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?

"Save (merge) words and picks into a world and check it" gives a specific verb plus resource and clarifies that the call both merges a partial object and validates it. The closing line about drafts until reviewed and confirmed implicitly separates it from world_review/world_confirm, though it never names them.

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?

The description tells the agent when to include `request` ("on the first save pass request = the player's own words") and establishes the workflow position: every save leaves a draft until reviewed and confirmed. It stops short of explicitly routing to world_review or world_confirm by name, so alternatives are 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