Skip to main content
Glama
Minecraft MCP Server

Minecraft MCP Server

Get Player

getPlayer
Read-onlyIdempotent

Retrieve a Minecraft player by name (case-insensitive) to inspect their position, dimension, creation time, and hotbar/backpack contents.

Instructions

Get a player by name (case-insensitive), including position, dimension, creation time and full hotbar/backpack contents.

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

Input Schema

NameRequiredDescriptionDefault
nameYesUnique player name (letters, digits and underscores)

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.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint=false, so the safety profile is covered. The description adds two traits those annotations do not: name lookup is case-insensitive, and the response includes full inventory contents rather than a summary — both materially affect how an agent calls and consumes the tool.

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?

A single sentence with no filler, front-loading the verb and lookup key before the returned fields. Nothing could be removed without losing information.

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 one required parameter, an output schema, and annotations covering the safety profile, the description needs only to state the lookup key and payload, which it does. The only gap is behavior on a missing or unknown player, which is left unstated.

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%, so the baseline is 3, but the description adds matching semantics the schema omits: the name is resolved case-insensitively. The schema's pattern and 'unique player name' text say nothing about case folding, so this is genuine added meaning.

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?

The description names a specific verb and resource ('Get a player by name') and enumerates the payload the caller receives: position, dimension, creation time, and hotbar/backpack contents. That distinguishes it from the generic getEntity and from getInventory, though it never explicitly contrasts itself with those siblings.

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?

Usage is only implied — the phrase 'by name' suggests a lookup when you already know the player's name, but there is no explicit when-to-use statement, no when-not condition, and no pointer to alternatives such as getEntity or getInventory.

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