Skip to main content
Glama
Minecraft MCP Server

Minecraft MCP Server

Get Item

getItem
Read-onlyIdempotent

Look up Minecraft item properties by ID, including stack size, durability, and enchantment categories, to inspect item details for inventory or crafting decisions.

Instructions

Get the properties of a Minecraft item by id (stack size, durability, enchantment categories, etc.). See the resource lzimul://minecraft/items for the full list.

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

Input Schema

NameRequiredDescriptionDefault
itemYesItem id, such as "minecraft:diamond_sword" or "diamond_sword"

Output Schema

NameRequiredDescriptionDefault
itemYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.1

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and a closed-world scope, so the safety profile is covered. The description adds the categories of returned data and a resource URI for the full item registry, which is useful navigational context, but it says nothing about behavior for unknown or malformed ids.

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?

Two short sentences, front-loaded with the core action, with the discovery pointer placed after it. Nothing is redundant or padded.

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?

For a single-parameter read tool with annotations and an output schema, the description covers purpose, return content, and id discovery adequately. The only gap is unspecified error behavior for invalid ids, which is minor.

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% and the single parameter already documents namespace-prefixed and bare id forms with examples. The description's "by id" phrasing plus the items-resource pointer supplements but does not materially extend the 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?

States a specific verb and resource ("Get the properties of a Minecraft item by id") and enumerates the kind of properties returned, so it is clearly distinguishable from getBlock, getEntity, and getDimension siblings by resource type.

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 implied by the verb and the id-based lookup, and the pointer to lzimul://minecraft/items helps an agent discover valid ids. However, there are no explicit when-to-use or when-not-to-use rules and no naming of alternatives.

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