Skip to main content
Glama
Minecraft MCP Server

Minecraft MCP Server

Get Entity

getEntity
Read-onlyIdempotent

Retrieve an entity or player by UUID to inspect type, position, dimension, creation time, and full hotbar/backpack contents.

Instructions

Get an entity or player by UUID, including its type, position, dimension, creation time and full hotbar/backpack contents. Use getInventory or setInventory to change items.

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": {
      "id": "<id>"
    },
    "name": "getEntity"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesEntity UUID returned by createEntity or createPlayer

Output Schema

NameRequiredDescriptionDefault
xYes
yYes
zYes
idYes
kindYes
nameYes
typeYes
categoryYes
createdAtYes
dimensionYes
inventoryYes
usedSlotsYes
totalSlotsYes
typeDisplayNameYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.1

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and openWorldHint=false, so safety is covered. The description adds that results include full hotbar/backpack contents, hinting at potentially large payloads, but says nothing about error behavior for unknown UUIDs or differences between player and non-player entities.

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

Conciseness4/5

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

Two tight sentences with the resource and return contents front-loaded. The trailing redirect to getInventory/setInventory is useful but slightly misplaced for a read-only tool, costing a bit of crispness.

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?

With an output schema present, the description needn't document return structure, and the annotations carry the safety profile. What remains useful but absent is failure behavior for invalid UUIDs and any note on payload size when inventory contents are large.

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

Parameters3/5

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

Schema coverage is 100% for the single required 'id' parameter, and the schema already explains it is an entity UUID from createEntity/createPlayer. The description's 'by UUID' restates the schema rather than adding format or sourcing detail beyond it, so the baseline 3 applies.

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 (get an entity or player by UUID) and enumerates the returned fields: type, position, dimension, creation time, and inventory contents. It covers both entity and player lookups, which implicitly distinguishes it from siblings like getPlayer and getEntityPosition, though it never names them.

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 only routing hint is 'Use getInventory or setInventory to change items,' which clarifies this tool is for reading, not mutation. There is no guidance on when to prefer getEntity versus getPlayer, getEntityPosition, or getDimensionEntities for overlapping lookups.

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