Skip to main content
Glama

fill

Populates an inclusive 3D box with a single block, optionally using air to clear it; processes from bottom to top so support blocks are placed first.

Instructions

Fill a box (inclusive corners) with one block, like /fill. Use "air" to clear. Iterates y from bottom to top so supports come first.

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>",
      "block": "<block>"
    },
    "name": "fill"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYes
fromYes
modeNo
blockYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full load and does add real behavior: iteration goes bottom-to-top so supports come first, which explains placement ordering. It omits whether existing blocks are overwritten (mutating/destructive), how the 'mode' choice changes behavior, and whether large volumes are rejected or rate-limited.

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?

Three short sentences, front-loaded with the core action, then the clearing case, then the ordering nuance. No filler; each sentence adds a distinct fact.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 4-parameter mutation tool with no annotations, no output schema, and 0% schema description coverage, the description leaves significant holes: the undocumented 'mode' parameter, no statement of overwrite semantics or volume limits, and no hint at what a call returns.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must compensate and only partly does: it clarifies that 'from'/'to' are inclusive corners of a box and that 'block' takes a single block id (with 'air' as the clearing value). The 'mode' enum (place/setblock) is never mentioned, and coordinate or block-format conventions are left implicit.

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: fill a box with one block, with the /fill analogy anchoring the semantics for anyone who knows Minecraft commands. The parenthetical '(inclusive corners)' pins down the geometric convention. It does not distinguish itself from set_blocks, which plausibly overlaps, so it stops short of a 5.

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?

'Use "air" to clear' gives one concrete usage pattern that sets it apart from a plain placement call. However, there is no explicit guidance on when to pick this over set_blocks or clear_world, nor any stated prerequisites or size limits for large boxes.

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