Skip to main content
Glama
Minecraft Server MCP

Minecraft Server MCP

by zkonikishi

interact-entity

Attack, activate, or apply the held item to a nearby Minecraft entity chosen by ID or name, letting the bot target mobs or NPCs within a set distance.

Instructions

Attack, activate, or use the held item on a nearby entity selected by id or name

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": {
      "action": "<action>"
    },
    "name": "interact-entity"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
actionYes
entityIdNo
maxDistanceNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.4

TDQS

B3.3/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, yet it never says that attack is destructive/harmful, that the entity must be within reach or line of sight, what happens if the target is out of range, or whether the call blocks. It conveys only that the interaction targets a nearby entity and may involve the held item, leaving the risk profile of a combat-capable tool undisclosed.

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?

A single front-loaded sentence with no filler, and the three actions lead so the agent sees the scope immediately. It is arguably too terse for the amount of undefined behavior it hides, but as structure and economy it is clean.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no annotations, no output schema, and zero parameter description coverage, the definition is thin for a four-parameter tool that can attack and mutate world state. It does cover the core operation, but an agent cannot determine range defaults, failure behavior, or return values from it.

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 description coverage is 0%, so the description must compensate, and it does partially: 'selected by id or name' maps to entityId and name, 'held item' explains use-on, and 'nearby' gives intent to maxDistance. It still leaves maxDistance's units, whether it is optional, and how each action consumes different parameters unstated.

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 three concrete actions (attack, activate, use held item) on a specific resource (a nearby entity), and the selection mechanism (id or name) is stated, so an agent knows exactly what operation this performs. It stops short of contrasting itself with siblings like find-entity or list-nearby-entities, which is the only thing separating it from a 5.

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: an agent infers this is the tool for acting on an entity once it has been located, and 'nearby' hints at a range precondition. There is no explicit when-to-use vs. when-not, no statement that find-entity should precede it, and no guidance on choosing between attack, activate, and use-on beyond the enum itself.

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