Skip to main content
Glama

save_world_experience

Save a versioned draft world, settings and optional custom interface together. Read get_world_experience before editing and pass its versionId as expectedVersionId. Omit liveWorldId only for a new world. Provide project as the portable genesis.json manifest, with interfaceSource and controllerSource. Keep Worldstreams listing, avatar connections and chat access/moderation in settings. The existing definition argument is supported for older clients. New worlds use a unified Genesis package: local HTML/CSS/classic JS interface using window.Genesis, optional pure onEvent controllerSource, typed actions, input windows and authorized tool effects. Read get_genesis_sdk before authoring. Generated UI images use asset://ID references declared in interfaceAssets:[{id,mediaId}]. The server verifies completed workspace images and pins them with this version. Covers use project.coverImageUrl from completed generate_image media. Preview stage artwork uses the separate previewImageUrl field. Omit it to preserve or set an empty string to remove. Build responsive interfaces for touch/mobile and web. No direct external URLs, networking, parent access or eval. Reuse game packages by pinning gameId and versionId in gameBindings; game edits use the existing game proposal workflow. This does not publish or start generation. Return the saved world and preview link.

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": {
      "workspaceId": "<workspaceId>"
    },
    "name": "save_world_experience"
  }
}

Input Schema

NameRequiredDescriptionDefault
projectNo
settingsNo
definitionNo
liveWorldIdNo
workspaceIdYes
interfaceFilesNo
interfaceAssetsNo
interfaceSourceNo
previewImageUrlNo
controllerSourceNo
expectedVersionIdNo
interfaceEntryPointNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed10 schema fields changed
    • removedInput schema / additionalProperties
      Removed value: -false
    • removedInput schema / properties / interfaceAssets / items / additionalProperties
      Removed value: -false
    • removedInput schema / properties / interfaceAssets / items / properties / mediaId / $ref
      Removed value: -"#/properties/workspaceId"
    • addedInput schema / properties / interfaceAssets / items / properties / mediaId / pattern
      Added value: +"^[A-Za-z0-9_-]{1,128}$"
    • addedInput schema / properties / interfaceAssets / items / properties / mediaId / type
      Added value: +"string"
    • removedInput schema / properties / interfaceFiles / items / additionalProperties
      Removed value: -false
    • removedInput schema / properties / liveWorldId / $ref
      Removed value: -"#/properties/workspaceId"
    • addedInput schema / properties / liveWorldId / pattern
      Added value: +"^[A-Za-z0-9_-]{1,128}$"
    • addedInput schema / properties / liveWorldId / type
      Added value: +"string"
    • addedInput schema / properties / settings / propertyNames
      Added value: +{
      +  "type": "string"
      +}
  2. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already establish a non-read-only, non-destructive write, so the description's added value is in the concurrency and side-effect model: expectedVersionId optimistic locking, the server verifying completed workspace images and pinning them to this version, and the 'does not publish or start generation' guarantee. It also states hard runtime constraints (no external URLs, networking, parent access or eval) that no annotation conveys. It stops short of describing what happens on a version conflict or which permissions/workspace scope are required.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core purpose and the read-first prerequisites are front-loaded, but the remainder is a dense run of jargon-heavy sentences that bundle several distinct rules each ('New worlds use a unified Genesis package: local HTML/CSS/classic JS interface using window.Genesis, optional pure onEvent controllerSource, typed actions, input windows and authorized tool effects'). Substantively most sentences earn their place, but grouping and formatting would make it far easier to parse.

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 12-parameter write tool with no output schema and zero schema-level parameter documentation, it is unusually complete: it covers the return value ('Return the saved world and preview link'), required read-before-write flow, image/asset verification, and the legacy definition path. It falls short only on the unexplained interfaceFiles/interfaceEntryPoint parameters and on the phantom gameBindings reference.

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 description coverage is 0% across 12 parameters, so the description must carry the load, and it largely does: expectedVersionId, liveWorldId, project, interfaceSource, controllerSource, settings, interfaceAssets, previewImageUrl, definition (legacy support), and coverImageUrl are all given usage meaning. Notable gaps: interfaceFiles and interfaceEntryPoint are never explained, and gameBindings is described with no corresponding property in the input schema, which can mislead an agent assembling arguments.

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?

Opens with a specific verb and resource set: 'Save a versioned draft world, settings and optional custom interface together.' It immediately draws the boundary that matters most against siblings — 'This does not publish or start generation' — and routes game edits to 'the existing game proposal workflow', so an agent can distinguish it from save_experience_game, save_proposal, and save_hosted_world_site without opening a schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit prerequisites ('Read get_world_experience before editing and pass its versionId as expectedVersionId', 'Read get_genesis_sdk before authoring') and clear conditional branching: 'Omit liveWorldId only for a new world', omit previewImageUrl to preserve vs. empty string to remove, and reuse packages by pinning gameId/versionId in gameBindings. Alternatives are named by purpose rather than left to inference.

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.