Skip to main content
Glama

Change an entity

update_entity
Destructive

Modify a non-player Minecraft entity by UUID: rename it, toggle AI, glowing, gravity or invulnerability, set health or fire ticks, teleport, push, or edit tags.

Instructions

Rename, toggle AI, glowing, gravity, or invulnerability, set health (0 kills) or fire, teleport, push, or tag an entity. Not for players.

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

Input Schema

NameRequiredDescriptionDefault
aiNo
uuidYes
worldNoWorld name or keyworld
formatNo`minimessage` reads tags like `<green>Hi`plain
healthNo2 per heart
silentNo
addTagsNo
glowingNo
gravityNo
locationNoTeleport here
velocityNoBlocks per tick
fireTicksNo20 a second
customNameNo
persistentNo
removeTagsNo
invulnerableNo
customNameVisibleNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed22 schema fields changedv5.0.0
    • removedInput schema / properties / addTags / description
      Removed value: -"Scoreboard tags"
    • removedInput schema / properties / ai / description
      Removed value: -"Living entities only"
    • removedInput schema / properties / customName / description
      Removed value: -"Name tag"
    • removedInput schema / properties / customNameVisible / description
      Removed value: -"Name always shown"
    • changedInput schema / properties / fireTicks / description
      Previous value: -"20 per second; 0 puts it out"New value: +"20 a second"
    • changedInput schema / properties / fireTicks / maximum
      Previous value: -9007199254740991New value: +1000000
    • changedInput schema / properties / fireTicks / minimum
      Previous value: --9007199254740991New value: +0
    • changedInput schema / properties / format / description
      Previous value: -"`minimessage` reads tags like `<green>Hi` or `<bold>`; `plain` sends the text as is"New value: +"`minimessage` reads tags like `<green>Hi`"
    • removedInput schema / properties / glowing / description
      Removed value: -"Glowing outline"
    • removedInput schema / properties / gravity / description
      Removed value: -"false floats"
    • changedInput schema / properties / health / description
      Previous value: -"Living only; 2 per heart, up to its max"New value: +"2 per heart"
    • removedInput schema / properties / invulnerable / description
      Removed value: -"Takes no damage"
    • removedInput schema / properties / location / properties / world / description
      Removed value: -"World name"
    • addedInput schema / properties / location / properties / world / minLength
      Added value: +1
    • removedInput schema / properties / persistent / description
      Removed value: -"Never despawns"
    • removedInput schema / properties / removeTags / description
      Removed value: -"Scoreboard tags"
    • removedInput schema / properties / silent / description
      Removed value: -"No sounds"
    • removedInput schema / properties / uuid / description
      Removed value: -"Entity UUID"
    • addedInput schema / properties / uuid / minLength
      Added value: +1
    • changedInput schema / properties / velocity / description
      Previous value: -"Blocks per tick; y is up"New value: +"Blocks per tick"
    • changedInput schema / properties / world / description
      Previous value: -"World name, such as `world`, `world_nether`, `world_the_end`, or a key like `minecraft:the_nether`"New value: +"World name or key"
    • addedInput schema / properties / world / minLength
      Added value: +1
  2. Changed14 schema fields changedv4.2.1
    • addedInput schema / properties / addTags / description
      Added value: +"Scoreboard tags"
    • addedInput schema / properties / ai / description
      Added value: +"Living entities only"
    • addedInput schema / properties / customName / description
      Added value: +"Name tag"
    • addedInput schema / properties / customNameVisible / description
      Added value: +"Name always shown"
    • addedInput schema / properties / fireTicks / description
      Added value: +"20 per second; 0 puts it out"
    • addedInput schema / properties / glowing / description
      Added value: +"Glowing outline"
    • addedInput schema / properties / gravity / description
      Added value: +"false floats"
    • addedInput schema / properties / health / description
      Added value: +"Living only; 2 per heart, up to its max"
    • addedInput schema / properties / invulnerable / description
      Added value: +"Takes no damage"
    • addedInput schema / properties / persistent / description
      Added value: +"Never despawns"
    • addedInput schema / properties / removeTags / description
      Added value: +"Scoreboard tags"
    • addedInput schema / properties / silent / description
      Added value: +"No sounds"
    • addedInput schema / properties / uuid / description
      Added value: +"Entity UUID"
    • addedInput schema / properties / velocity / description
      Added value: +"Blocks per tick; y is up"
  3. First observedv4.1.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false, and idempotentHint=false, so the safety profile is covered. The description adds some behavior such as 'health (0 kills)' and teleport/push/tag, but it does not explain permissions, reversibility, how omitted fields behave, or error behavior for this 17-parameter mutation.

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?

The single-sentence list is front-loaded and wastes no words, which is appropriate for a tool with many capabilities. The density makes it less scannable for 17 parameters, but it remains efficient.

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?

Given 17 parameters, low schema coverage, nested objects, and no output schema, the description provides only a high-level inventory of operations. It omits several parameters and side-effect details needed for confident mutation, though annotations do cover the destructive safety profile.

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 description coverage is only 35%, so the description must compensate, and it maps several operations to parameters: ai, glowing, gravity, invulnerable, health, fireTicks, location, velocity, and addTags/removeTags. However, it leaves world, format, silent, persistent, customNameVisible, and the required uuid role unexplained.

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 uses specific update verbs and enumerates the mutable properties (rename, AI, glowing, gravity, health, teleport, push, tags) on an entity resource. The exclusion 'Not for players' helps distinguish it from player-focused tools, though it does not differentiate from sibling entity tools like spawn_entity or remove_entity.

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 explicit usage guidance is the exclusion 'Not for players'; it does not state when to use update_entity versus spawn_entity, remove_entity, or other alternatives. An agent can infer it is for modifying existing entities, but no preconditions or alternative-selection rules are given.

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