Skip to main content
Glama

Remove an entity

ent_remove
Destructive

Removes a server-realm entity by index immediately; players and the world are refused, invalid IDs return not_found, and a loaded map is required.

Instructions

Removes an entity by index in the server realm (Entity:Remove, effective at once). Players and the world are refused (forbidden); an invalid id gives not_found. Result: {removed: id}. Needs a loaded map (map_load): the server and client realms do not exist at the main menu.

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": {
      "id": "<id>"
    },
    "name": "ent_remove"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesEntity index.
instanceNoOptional. Instance identifier (see instances_list). If present and different from the local instance, the call is relayed by the coordinator to that instance.

Output Schema

NameRequiredDescriptionDefault
nextNo
noteNo
removedYes
warningNo
next_callNo
answered_byNo
truncated_noteNo
version_warningNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.7

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true and openWorldHint=false; the description adds the timing ('effective at once'), the refused target classes, and the error contract ('an invalid id gives not_found'). It also discloses a non-obvious environment dependency (map must be loaded) that annotations cannot express.

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?

Front-loaded with the action and scope, then prerequisites and error behavior in a compact sequence. It is dense with parentheticals and the trailing map_load caveat could read more cleanly, but every clause carries information.

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

Completeness5/5

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

An output schema exists, so the brief 'Result: {removed: id}' is redundant but harmless. For a destructive two-parameter tool, everything an agent needs — prerequisite, refusals, effect timing, error case — is present.

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 100%, including the coordinator relay semantics for the instance parameter, so the schema carries the parameter burden. The description only echoes 'by index' and adds no format or constraint detail beyond the schema; baseline 3 applies.

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 ('Removes an entity by index'), names the underlying operation (Entity:Remove), and scopes it to the server realm with immediate effect. An agent can immediately tell this apart from ent_spawn, ent_fire, or ent_info.

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?

Explicitly states what is refused ('Players and the world are refused (forbidden)') and gives a hard prerequisite: a loaded map via map_load, since the server and client realms do not exist at the main menu. It stops short of naming an alternative tool for cases this one rejects, but the exclusion conditions are concrete.

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