Skip to main content
Glama

Place blocks

set_blocks
Destructive

Place up to 64 individual blocks or fill a defined box with a block, using replace, keep-air, or replace-type modes, with optional physics and undo support.

Instructions

Place up to 64 single blocks, or fill a box between two corners, inclusive. A block is a key or state: minecraft:oak_stairs[facing=east]. Box modes: replace sets all, keep fills only air, replace_type changes only blocks of type replace. undo_change can put it back until the server stops. Read the box with get_block first, and confirm big changes.

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_blocks"
  }
}

Input Schema

NameRequiredDescriptionDefault
boxNo
worldNoWorld name or keyworld
blocksNo
physicsNoSand falls, water flows

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed41 schema fields changedv5.0.0
    • removedInput schema / properties / blocks / description
      Removed value: -"Single blocks at x, y, z"
    • removedInput schema / properties / blocks / items / properties / x / maximum
      Removed value: -9007199254740991
    • removedInput schema / properties / blocks / items / properties / x / minimum
      Removed value: --9007199254740991
    • addedInput schema / properties / blocks / items / properties / x / multipleOf
      Added value: +1
    • changedInput schema / properties / blocks / items / properties / x / type
      Previous value: -"integer"New value: +"number"
    • removedInput schema / properties / blocks / items / properties / y / maximum
      Removed value: -9007199254740991
    • removedInput schema / properties / blocks / items / properties / y / minimum
      Removed value: --9007199254740991
    • addedInput schema / properties / blocks / items / properties / y / multipleOf
      Added value: +1
    • changedInput schema / properties / blocks / items / properties / y / type
      Previous value: -"integer"New value: +"number"
    • removedInput schema / properties / blocks / items / properties / z / maximum
      Removed value: -9007199254740991
    • removedInput schema / properties / blocks / items / properties / z / minimum
      Removed value: --9007199254740991
    • addedInput schema / properties / blocks / items / properties / z / multipleOf
      Added value: +1
    • changedInput schema / properties / blocks / items / properties / z / type
      Previous value: -"integer"New value: +"number"
    • removedInput schema / properties / box / description
      Removed value: -"Fill between two corners, inclusive"
    • removedInput schema / properties / box / properties / from / properties / x / maximum
      Removed value: -9007199254740991
    • removedInput schema / properties / box / properties / from / properties / x / minimum
      Removed value: --9007199254740991
    • addedInput schema / properties / box / properties / from / properties / x / multipleOf
      Added value: +1
    • changedInput schema / properties / box / properties / from / properties / x / type
      Previous value: -"integer"New value: +"number"
    • removedInput schema / properties / box / properties / from / properties / y / maximum
      Removed value: -9007199254740991
    • removedInput schema / properties / box / properties / from / properties / y / minimum
      Removed value: --9007199254740991
    • addedInput schema / properties / box / properties / from / properties / y / multipleOf
      Added value: +1
    • changedInput schema / properties / box / properties / from / properties / y / type
      Previous value: -"integer"New value: +"number"
    • removedInput schema / properties / box / properties / from / properties / z / maximum
      Removed value: -9007199254740991
    • removedInput schema / properties / box / properties / from / properties / z / minimum
      Removed value: --9007199254740991
    • addedInput schema / properties / box / properties / from / properties / z / multipleOf
      Added value: +1
    • changedInput schema / properties / box / properties / from / properties / z / type
      Previous value: -"integer"New value: +"number"
    • removedInput schema / properties / box / properties / replace / description
      Removed value: -"For replace_type: the block type to change"
    • removedInput schema / properties / box / properties / to / properties / x / maximum
      Removed value: -9007199254740991
    • removedInput schema / properties / box / properties / to / properties / x / minimum
      Removed value: --9007199254740991
    • addedInput schema / properties / box / properties / to / properties / x / multipleOf
      Added value: +1
    • changedInput schema / properties / box / properties / to / properties / x / type
      Previous value: -"integer"New value: +"number"
    • removedInput schema / properties / box / properties / to / properties / y / maximum
      Removed value: -9007199254740991
    • removedInput schema / properties / box / properties / to / properties / y / minimum
      Removed value: --9007199254740991
    • addedInput schema / properties / box / properties / to / properties / y / multipleOf
      Added value: +1
    • changedInput schema / properties / box / properties / to / properties / y / type
      Previous value: -"integer"New value: +"number"
    • removedInput schema / properties / box / properties / to / properties / z / maximum
      Removed value: -9007199254740991
    • removedInput schema / properties / box / properties / to / properties / z / minimum
      Removed value: --9007199254740991
    • addedInput schema / properties / box / properties / to / properties / z / multipleOf
      Added value: +1
    • changedInput schema / properties / box / properties / to / properties / z / type
      Previous value: -"integer"New value: +"number"
    • 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. Changed3 schema fields changedv4.2.1
    • addedInput schema / properties / blocks / description
      Added value: +"Single blocks at x, y, z"
    • addedInput schema / properties / box / description
      Added value: +"Fill between two corners, inclusive"
    • addedInput schema / properties / physics / description
      Added value: +"Sand falls, water flows"
  3. First observedv4.1.0

TDQS

A4.4/5.0
Behavior4/5

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

The destructive annotation already marks this as a mutation, but the description adds important context beyond annotations: the 64-block limit, inclusive box behavior, the three fill modes, and that undo_change can restore the change only until the server stops. It does not cover permissions, failure behavior, or concurrent modification concerns.

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

Conciseness5/5

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

The description is compact and front-loaded, opening with the core action and then giving mode semantics and safety guidance. Every sentence adds information, with no filler or repetition.

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 destructive block-mutation tool with no output schema, the description covers the essential operational semantics, destructive scope, undo window, and a read-first precaution. It could be more complete by mentioning permission requirements or failure cases, but the core invocation context is present.

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 50%, and the description meaningfully supplements the schema by explaining the block string format, the 64-block array cap, and the semantics of each box mode. It does not explain the world or physics parameters, although physics is described in the schema itself.

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?

The description states a specific verb and resource ('Place up to 64 single blocks, or fill a box') and clearly explains both operational modes. It is readily distinguishable from sibling read tools like get_block and mutation/recovery tools like undo_change.

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?

It gives useful procedural guidance: read the box with get_block first and confirm big changes. It also implies the choice between single-block placement and box filling, though it does not explicitly state when to prefer one over the other beyond the mechanical description.

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