Skip to main content
Glama

world_edit

Change an entity you authored: patch holds only the fields to change (for example {"transform":{"pos":[1,0,2]}} or {"material":{"hue":0.3}}), merged into the entity and validated like world_place. Moving a parent carries its children. Only the author may edit; for someone else's entity use world_propose. A write: needs a token. Returns "edited ". Optional room (default: your current room; on the remote /mcp endpoint: commons).

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>",
      "patch": "<patch>"
    },
    "name": "world_edit"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
roomNo
patchYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so: it discloses that this is a write requiring a token, that only the author may edit, that the patch is merged and validated like world_place, that moving a parent cascades to children, and the exact return string "edited <id>". These are exactly the behavioral facts an agent needs before mutating world state.

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?

Dense and front-loaded: the merge semantics and examples come first, with permissions, side effects, return value, and the room default following. It is a single run-on paragraph rather than separated clauses, which slightly hurts scanability, but no sentence is filler.

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?

For a 3-parameter mutation tool with no annotations, no output schema, and a nested free-form patch object, the description covers authorization, merge/cascade behavior, token requirement, defaults, and return value. Nothing an agent needs in order to call it correctly is missing.

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

Parameters5/5

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

Schema coverage is 0% and the patch parameter is a free-form object, so the description must compensate — and it does with concrete example payloads ({"transform":{"pos":[1,0,2]}} and {"material":{"hue":0.3}}) plus the partial-update semantics. It also explains the room default, including the endpoint-specific default of "commons" on the remote /mcp endpoint, which is unavailable anywhere in 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 ("Change") on a specific resource ("an entity you authored") and immediately distinguishes it from the sibling world_propose for entities you don't own. An agent can tell this apart from world_place (creation) without opening any schema.

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?

Explicitly routes non-authored entities to world_propose, which is the key decision point for this tool. It does not spell out when to prefer world_remove versus an edit or when a new placement is better than a patch, but the primary alternative is named with its selecting condition.

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.