Skip to main content
Glama
Minecraft MCP Server

Minecraft MCP Server

Get Block

getBlock
Read-onlyIdempotent

Retrieve a block at specified coordinates in a dimension, including its properties and block states; unmodified coordinates return air.

Instructions

Get the block at the given coordinates in the given dimension, including its properties (name, hardness, light level, etc.) and its block states (for example facing=south). Each dimension has its own persisted world state; unmodified coordinates return air (minecraft:air).

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": {
      "x": "<x>",
      "y": "<y>",
      "z": "<z>"
    },
    "name": "getBlock"
  }
}

Input Schema

NameRequiredDescriptionDefault
xYesX coordinate (-30000000 to 30000000)
yYesY coordinate, within the dimension height range
zYesZ coordinate (-30000000 to 30000000)
dimensionNoDimension: "overworld" (default), "the_nether" or "the_end"overworld

Output Schema

NameRequiredDescriptionDefault
xYes
yYes
zYes
blockYes
statesYes
dimensionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.1

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already establish read-only, idempotent, non-open-world behavior, while the description adds non-obvious context that each dimension has persisted state and unmodified coordinates return minecraft:air. It also explains what block details are included, though it does not address edge cases such as unloaded chunks.

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?

It is front-loaded with the core action, then adds return detail and one important behavioral note. The sentences are compact and every clause carries useful information.

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?

With an output schema and annotations covering safety and idempotency, the description supplies the remaining essentials: single-block retrieval, included block properties and states, dimension-specific state, and default air. No critical missing piece is apparent for this read-only getter.

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 100% and already documents coordinate ranges, the dimension enum, and the default, so the baseline is 3. The description adds meaning by explaining that dimension selects a separate persisted world state and that unmodified coordinates return air, helping interpret x/y/z/dimension beyond schema syntax.

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?

It uses a specific verb 'Get' with the resource 'block' and specifies coordinates and dimension, clearly scoping retrieval to one block. The returned properties and block states further distinguish it from area or mutation siblings such as getBlocksInArea and setBlock.

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 description implies the tool is for reading one block at exact coordinates and notes dimension persistence and default air, but it does not explicitly say when to choose it over alternatives like getBlocksInArea. Usage is inferable from the purpose but not actively guided.

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