Skip to main content
Glama

Spawn entities

spawn_entity

Spawn Minecraft entities such as cows at a chosen world location, with optional count, AI, glowing, custom name, and persistence settings.

Instructions

Spawn entities of a type, such as minecraft:cow, at a location.

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": {
      "type": "<type>",
      "location": "<location>"
    },
    "name": "spawn_entity"
  }
}

Input Schema

NameRequiredDescriptionDefault
aiNo
typeYes
countNoThe server caps it, 50 by default
worldNoWorld name or keyworld
formatNo`minimessage` reads tags like `<green>Hi`plain
glowingNo
locationYesy is height, -64 to 319 in the overworld
customNameNo
persistentNoNever despawns

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed13 schema fields changedv5.0.0
    • removedInput schema / properties / ai / description
      Removed value: -"Living entities only"
    • changedInput schema / properties / count / description
      Previous value: -"Capped at 50 by default"New value: +"The server caps it, 50 by default"
    • changedInput schema / properties / count / maximum
      Previous value: -9007199254740991New value: +1000
    • removedInput schema / properties / customName / description
      Removed value: -"Name tag"
    • 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"
    • changedInput schema / properties / location / description
      Previous value: -"A spot in a world; y is height (the overworld runs from -64 to 319)"New value: +"y is height, -64 to 319 in the overworld"
    • removedInput schema / properties / location / properties / world / description
      Removed value: -"World name"
    • addedInput schema / properties / location / properties / world / minLength
      Added value: +1
    • changedInput schema / properties / persistent / description
      Previous value: -"Don't despawn"New value: +"Never despawns"
    • removedInput schema / properties / type / description
      Removed value: -"Entity key"
    • 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. Changed5 schema fields changedv4.2.1
    • addedInput schema / properties / ai / description
      Added value: +"Living entities only"
    • addedInput schema / properties / count / description
      Added value: +"Capped at 50 by default"
    • addedInput schema / properties / customName / description
      Added value: +"Name tag"
    • addedInput schema / properties / glowing / description
      Added value: +"Glowing outline"
    • addedInput schema / properties / type / description
      Added value: +"Entity key"
  3. First observedv4.1.0

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare the safety profile (readOnlyHint=false, destructiveHint=false, idempotentHint=false), so the description only needs to add context such as what happens on failure, whether spawns are capped, or whether entities persist. It says none of that, adding only the identifier example. For a state-changing tool with a 1000-count maximum and a server-side default cap, this is a notable gap.

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 well-formed sentence with zero filler, and the key information (what is spawned, example format, where) is front-loaded. It is efficient, though arguably too thin for a nine-parameter tool.

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

Completeness2/5

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

With nine parameters, a nested location object, and no output schema, the description does not do enough: it never explains what is returned, how counts and the server cap interact, or what the AI/glowing/customName options do. An agent could call it, but with considerable guesswork.

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 56%, and the description's only parameter contribution is the type format example (`minecraft:cow`), which genuinely fills a gap since the schema merely declares type as a string. The other undocumented fields (ai, glowing, customName) get no clarification, and the nested location object's semantics come entirely from the schema.

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 gives a concrete verb and resource ('Spawn entities'), plus an example identifier format (`minecraft:cow`) and where they appear ('at a location'). That is enough to separate it from siblings like list_entities or remove_entity. It stops short of explicitly naming an alternative, so it is clear but not fully differentiated.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance, no mention of prerequisites (server running, permission level), and no pointer to alternatives such as update_entity for changing an existing entity. The only implicit signal is that this creates new entities rather than reading or removing them.

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