Skip to main content
Glama
Minecraft MCP Server

Minecraft MCP Server

Fill Blocks

fillBlocks
DestructiveIdempotent

Fill an inclusive box between two coordinates with a block type, optionally overwriting existing blocks or clearing the region using air.

Instructions

Fill an inclusive box in one dimension with one block type and optional states. Corners may be supplied in any order. By default only air coordinates are filled; set overwrite to true to replace existing blocks. Use "minecraft:air" with overwrite to clear a region. The maximum volume per request is 16,384 blocks.

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": {
      "from": "<from>",
      "to": "<to>",
      "blockType": "<blockType>"
    },
    "name": "fillBlocks"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYes
fromYes
blockTypeYesBlock id, such as "minecraft:stone" or "stone"; states are optional, for example "oak_stairs[facing=south]"
dimensionNoDimension: "overworld" (default), "the_nether" or "the_end"overworld
overwriteNoReplace existing non-air blocks when true; default false fills air only

Output Schema

NameRequiredDescriptionDefault
toYes
fromYes
blockYes
placedYes
statesYes
volumeYes
changedYes
removedYes
skippedYes
blockTypeYes
dimensionYes
overwriteYes
displayNameYes
modifiedBlockCountYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.1

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the safety profile is known; the description adds real value beyond that by explaining the default is non-destructive (air-only), that destruction is opt-in via overwrite, and that the hard ceiling is 16,384 blocks per request — a limit absent from the schema.

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?

Four short sentences, each carrying distinct information — core action, corner ordering, default-vs-overwrite behavior, and volume ceiling — with the primary action front-loaded and no filler.

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?

An output schema exists so return values need no explanation, and the description covers the mutation semantics, default, and size constraint. It leaves unstated what happens on a partial or failed fill (e.g., whether the operation is atomic), which matters for a destructive bulk write.

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 coverage is 60%, and the description compensates with two genuinely additive facts: corners from/to may be supplied in any order (not stated in the schema) and the maximum volume per request. The overwrite semantics it restates are already present in the schema's own description, so some duplication remains.

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 and resource — fill an inclusive box in one dimension with one block type and optional states — which is precise enough to distinguish it from single-block siblings like setBlock and read siblings like getBlocksInArea 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?

Gives clear conditional guidance: default fills air only, set overwrite=true to replace existing blocks, and pair "minecraft:air" with overwrite to clear a region. It does not explicitly route to a sibling for single-block edits, so it stops short of full when/when-not guidance.

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