Skip to main content
Glama

Change a world

set_world

Change only the world settings you specify—time, weather, difficulty, PvP, rules, border, spawn, respawn, or forced chunks—so server behavior updates without altering untouched options.

Instructions

Change a world: only what you give changes. Time, weather for durationTicks (20 a second), difficulty, PvP, game rules such as { "keep_inventory": true }, the border, this world's own spawn, respawn (moves the server's spawn point, where players join and respawn without a bed, here), and chunks to force-load, so farms run with nobody near. Each part, and each chunk, is answered on its own, a failed one with its error.

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

Input Schema

NameRequiredDescriptionDefault
pvpNo
rulesNo
spawnNo
worldNoWorld name or keyworld
borderNo
chunksNoBy chunk coordinates: block X ÷ 16, rounded down
dayTimeNo0 sunrise, 6000 noon, 13000 night, 18000 midnight
respawnNox, y, z together, or none for this world's own spawn
weatherNo
addTicksNoMoves the clock
difficultyNo
durationTicksNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed50 schema fields changedv5.0.0
    • changedInput schema / properties / addTicks / description
      Previous value: -"Moves the clock forward; 24000 ticks are one day"New value: +"Moves the clock"
    • removedInput schema / properties / addTicks / maximum
      Removed value: -9007199254740991
    • removedInput schema / properties / addTicks / minimum
      Removed value: --9007199254740991
    • addedInput schema / properties / addTicks / multipleOf
      Added value: +1
    • changedInput schema / properties / addTicks / type
      Previous value: -"integer"New value: +"number"
    • removedInput schema / properties / border / description
      Removed value: -"Only the fields given change"
    • changedInput schema / properties / border / properties / transitionSeconds / description
      Previous value: -"Resize gradually; 0 at once"New value: +"Resize gradually"
    • changedInput schema / properties / border / properties / transitionSeconds / maximum
      Previous value: -9007199254740991New value: +31536000
    • removedInput schema / properties / border / properties / warningDistance / description
      Removed value: -"In blocks"
    • changedInput schema / properties / border / properties / warningDistance / maximum
      Previous value: -9007199254740991New value: +31536000
    • changedInput schema / properties / border / properties / warningTimeTicks / maximum
      Previous value: -9007199254740991New value: +31536000
    • addedInput schema / properties / chunks
      Added value: +{
      +  "description": "By chunk coordinates: block X ÷ 16, rounded down",
      +  "items": {
      +    "properties": {
      +      "forceLoaded": {
      +        "description": "false releases it",
      +        "type": "boolean"
      +      },
      +      "x": {
      +        "multipleOf": 1,
      +        "type": "number"
      +      },
      +      "z": {
      +        "multipleOf": 1,
      +        "type": "number"
      +      }
      +    },
      +    "required": [
      +      "x",
      +      "z",
      +      "forceLoaded"
      +    ],
      +    "type": "object"
      +  },
      +  "maxItems": 64,
      +  "minItems": 1,
      +  "type": "array"
      +}
    • changedInput schema / properties / dayTime / description
      Previous value: -"Ticks; 6000 noon, 18000 midnight"New value: +"0 sunrise, 6000 noon, 13000 night, 18000 midnight"
    • removedInput schema / properties / difficulty / description
      Removed value: -"New difficulty"
    • removedInput schema / properties / durationTicks / description
      Removed value: -"How long the new weather lasts"
    • changedInput schema / properties / durationTicks / maximum
      Previous value: -9007199254740991New value: +24000000
    • removedInput schema / properties / pvp / description
      Removed value: -"Whether players can hurt each other"
    • changedInput schema / properties / respawn / description
      Previous value: -"The server's spawn point; give x, y, z together, or none to use this world's own point"New value: +"x, y, z together, or none for this world's own spawn"
    • removedInput schema / properties / respawn / properties / respawnRadius / description
      Removed value: -"Blocks around the point where players land"
    • changedInput schema / properties / respawn / properties / respawnRadius / maximum
      Previous value: -9007199254740991New value: +31536000
    • removedInput schema / properties / respawn / properties / x / maximum
      Removed value: -9007199254740991
    • removedInput schema / properties / respawn / properties / x / minimum
      Removed value: --9007199254740991
    • addedInput schema / properties / respawn / properties / x / multipleOf
      Added value: +1
    • changedInput schema / properties / respawn / properties / x / type
      Previous value: -"integer"New value: +"number"
    • removedInput schema / properties / respawn / properties / y / maximum
      Removed value: -9007199254740991
    • removedInput schema / properties / respawn / properties / y / minimum
      Removed value: --9007199254740991
    • addedInput schema / properties / respawn / properties / y / multipleOf
      Added value: +1
    • changedInput schema / properties / respawn / properties / y / type
      Previous value: -"integer"New value: +"number"
    • removedInput schema / properties / respawn / properties / z / maximum
      Removed value: -9007199254740991
    • removedInput schema / properties / respawn / properties / z / minimum
      Removed value: --9007199254740991
    • addedInput schema / properties / respawn / properties / z / multipleOf
      Added value: +1
    • changedInput schema / properties / respawn / properties / z / type
      Previous value: -"integer"New value: +"number"
    • changedInput schema / properties / rules / additionalProperties / anyOf
      Previous value: -[
      -  {
      -    "type": "boolean"
      -  },
      -  {
      -    "maximum": 9007199254740991,
      -    "minimum": -9007199254740991,
      -    "type": "integer"
      -  }
      -]New value: +[
      +  {
      +    "type": "boolean"
      +  },
      +  {
      +    "multipleOf": 1,
      +    "type": "number"
      +  }
      +]
    • removedInput schema / properties / rules / description
      Removed value: -"Game rule name to value"
    • removedInput schema / properties / spawn / description
      Removed value: -"This world's own point"
    • removedInput schema / properties / spawn / properties / x / maximum
      Removed value: -9007199254740991
    • removedInput schema / properties / spawn / properties / x / minimum
      Removed value: --9007199254740991
    • addedInput schema / properties / spawn / properties / x / multipleOf
      Added value: +1
    • changedInput schema / properties / spawn / properties / x / type
      Previous value: -"integer"New value: +"number"
    • removedInput schema / properties / spawn / properties / y / maximum
      Removed value: -9007199254740991
    • removedInput schema / properties / spawn / properties / y / minimum
      Removed value: --9007199254740991
    • addedInput schema / properties / spawn / properties / y / multipleOf
      Added value: +1
    • changedInput schema / properties / spawn / properties / y / type
      Previous value: -"integer"New value: +"number"
    • removedInput schema / properties / spawn / properties / z / maximum
      Removed value: -9007199254740991
    • removedInput schema / properties / spawn / properties / z / minimum
      Removed value: --9007199254740991
    • addedInput schema / properties / spawn / properties / z / multipleOf
      Added value: +1
    • changedInput schema / properties / spawn / properties / z / type
      Previous value: -"integer"New value: +"number"
    • removedInput schema / properties / weather / description
      Removed value: -"New weather"
    • changedInput schema / properties / world / description
      Previous value: -"World name, such as `world`, `world_nether`, `world_the_end`, or a key like `minecraft:the_nether`"New value: +"World name or key"
    • addedInput schema / properties / world / minLength
      Added value: +1
  2. Changed9 schema fields changedv4.2.1
    • addedInput schema / properties / border / description
      Added value: +"Only the fields given change"
    • addedInput schema / properties / border / properties / damageAmount / description
      Added value: +"Per block past the buffer"
    • addedInput schema / properties / border / properties / damageBuffer / description
      Added value: +"Blocks past the border before damage"
    • addedInput schema / properties / border / properties / transitionSeconds / description
      Added value: +"Resize gradually; 0 at once"
    • addedInput schema / properties / border / properties / warningDistance / description
      Added value: +"In blocks"
    • addedInput schema / properties / dayTime / description
      Added value: +"Ticks; 6000 noon, 18000 midnight"
    • addedInput schema / properties / difficulty / description
      Added value: +"New difficulty"
    • addedInput schema / properties / rules / description
      Added value: +"Game rule name to value"
    • addedInput schema / properties / weather / description
      Added value: +"New weather"
  3. First observedv4.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations only declare the generic profile (not read-only, not destructive, not idempotent, closed-world), so the description carries real weight and delivers: it explains partial merge semantics, per-part partial success ('each part, and each chunk, is answered on its own, a failed one with its error'), and the 20-ticks-per-second conversion for durationTicks. It does not discuss permission requirements or whether a partially-failed call is atomic, which keeps it from a 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 partial-update rule is front-loaded and the enumeration is dense but purposeful, with no filler sentences. The second sentence is long and run-on, which slightly slows parsing for an agent scanning for a specific field.

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 nested mutation tool with no output schema, the description covers the mutation model, the notable fields, and the shape of the result (per-part success/error). Missing pieces are the default world behavior and any permission or rate-limit expectations, which an agent would still have to guess.

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?

With schema description coverage at 42% across 12 parameters, the description compensates well: it groups 'Time' around dayTime/addTicks, ties durationTicks to weather at 20 ticks/second, gives a concrete rules example ('{"keep_inventory": true}'), and clarifies that respawn moves the server-wide spawn point while spawn is this world's own. It leaves the world selector and several border sub-fields to the schema, so it is strong rather than exhaustive.

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?

States a specific verb and resource ('Change a world') and then enumerates exactly which world facets it mutates: time, weather, difficulty, PvP, gamerules, border, spawn, respawn, and chunk force-loading. An agent can tell this apart from get_world by the 'change' framing, though no sibling is named explicitly and the boundary with set_blocks (for 'chunks') is left implicit.

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?

The partial-update contract ('only what you give changes') is a genuinely useful usage signal because it tells the agent it can send one field without clobbering the rest. However, there is no explicit when-to-use vs. when-not guidance and no mention of alternatives such as get_world for inspection or undo_change for rollback.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.