Skip to main content
Glama

View Nearby Blocks

minecraft_get_nearby_blocks
Read-onlyIdempotent

Scan the Minecraft world for visible non-air blocks within a configurable radius, filtering by exact block IDs to locate terrain, structures, or resources before building or navigating.

Instructions

Scans the world around the bot and lists non-air blocks it can see, closest first. This is the bot's "eyes" for terrain/structures — use it before building or navigating.

Args:

  • radius (number, 1-32): how far to scan, in blocks (default 8)

  • block_names (string[], optional): only return blocks matching these exact Minecraft block ids (e.g. ["oak_log", "stone", "chest"]). Omit to return all non-air blocks.

Returns: { count: number, blocks: [{ x, y, z, name }] } capped at 400 results.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
radiusNo
block_namesNoExact block id filter, e.g. ['diamond_ore']
Behavior4/5

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

Annotations already declare read-only, open-world, idempotent, and non-destructive behavior. The description adds meaningful details beyond this: it returns non-air blocks only, sorts closest first, caps results at 400, and specifies the radius range/default. This provides operational context but doesn't explain nuances like line-of-sight vs. loaded 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?

The description is well-structured and appropriately sized: a one-sentence overview, a purpose statement, then clearly labeled Args and Returns sections. Every sentence contributes value without redundancy.

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?

The description supplies a return-shape sketch and the 400-result cap, compensating for the lack of an output schema. It covers both optional parameters and their defaults. Minor ambiguities remain (e.g., what 'can see' means precisely and whether coordinates are absolute), but it is largely complete for a read-only scan tool.

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

Parameters5/5

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

The schema only describes block_names, leaving radius without a description. The description compensates fully: it explains radius as a block distance with min/max/default, and clarifies block_names with examples and the omission behavior ('Omit to return all non-air blocks'). This adds significant meaning beyond the raw schema.

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 clearly states the tool's function: 'Scans the world around the bot and lists non-air blocks it can see, closest first.' It uses a specific verb ('Scans') and resource ('the world around the bot'), and adds a helpful analogy ('the bot's eyes for terrain/structures') that differentiates it from sibling tools like get_block_at or find_block.

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 an explicit when-to-use instruction: 'use it before building or navigating.' However, it does not name alternative tools or state when not to use it, so it lacks full exclusion/alternative guidance that would earn a 5.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/AhmadTariq1337/minecraft-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server