Skip to main content
Glama

Entity counts

get_entity_summary
Read-onlyIdempotent

Summarizes loaded Minecraft entities, optionally by radius or coordinates, showing totals, type counts, items, villagers, named mobs, tamed pets, and high-activity chunks; use before listing entities.

Instructions

A compact look at a world's loaded entities, or those within radius of x, y, z: totals, counts by type, items on the ground, villagers, named mobs, tamed pets, and the ten busiest chunks with block entities and hoppers. Call it before list_entities.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_entity_summary"
  }
}

Input Schema

NameRequiredDescriptionDefault
xNo
yNo
zNo
typesNoSuch as ["minecraft:item"]
worldNoWorld name or keyworld
radiusNoBlocks around x, y, z

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changedv5.0.0
    • changedInput schema / properties / radius / description
      Previous value: -"Blocks around x, y, z; give all three with it"New value: +"Blocks around x, y, z"
    • changedInput schema / properties / types / description
      Previous value: -"Count only these entity keys, such as [\"minecraft:item\"]"New value: +"Such as [\"minecraft:item\"]"
    • 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
    • removedInput schema / properties / x / description
      Removed value: -"Center X"
    • removedInput schema / properties / y / description
      Removed value: -"Center Y"
    • removedInput schema / properties / z / description
      Removed value: -"Center Z"
  2. Changed3 schema fields changedv4.2.1
    • addedInput schema / properties / x / description
      Added value: +"Center X"
    • addedInput schema / properties / y / description
      Added value: +"Center Y"
    • addedInput schema / properties / z / description
      Added value: +"Center Z"
  3. First observedv4.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so the safety profile is covered. The description adds real context beyond that by disclosing the shape of the payload (aggregate counts plus a top-ten chunk breakdown), which matters because no output schema exists. It is silent on permission requirements and on what a partial coordinate set produces.

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?

One dense but well-ordered sentence establishing scope first, then payload contents, followed by a single imperative usage line. No filler, and the most decision-relevant information (world-wide vs radius-scoped) is front-loaded.

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 six optional parameters, no output schema, and no required fields, the description does the necessary work of describing the return content and the two access modes. The remaining gaps are edge behavior: partial coordinates, how the 'types' filter interacts with the type breakdown, and what an empty or unloaded world yields.

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?

At 50% schema coverage the description needs to carry some weight, and it does partly: it explains that x/y/z define a radius scope and implies type-breakdown output. However it never explains the 'types' filter (the schema's only described parameter), the 'world' default, or the constraint that radius depends on x, y, and z being supplied.

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 ('a compact look at a world's loaded entities') and enumerates exactly what the summary contains: totals, counts by type, items, villagers, named mobs, pets, and busiest chunks. The scope clause ('or those within radius of x, y, z') plus the explicit hand-off to list_entities makes it clearly distinguishable from the sibling that returns raw entity lists.

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

Usage Guidelines4/5

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

Gives clear sequencing guidance ('Call it before list_entities'), which tells the agent this is a cheap pre-check before the expensive enumeration. It does not say when to omit the radius arguments versus use them, nor when list_entities alone would suffice, so it stops short of full when/when-not coverage.

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