Skip to main content
Glama

Fire an entity input

ent_fire
Destructive

Sends map I/O inputs to server entities to open doors, toggle locks, or kill, with optional delay; verify results with ent_info or wait_for since effects occur on later frames.

Instructions

Sends a map I/O input to an entity in the server realm (Entity:Fire(input, param, delay)), e.g. Open, Close, Toggle, Lock on a door, or Kill. Returns at once ({fired, id, param, delay}): the effect happens on a later frame (after delay seconds), so check it with ent_info or wait_for. An input the entity does not know is ignored silently: no error, and nothing in the console (checked live), so always check the effect. Example: {"id": 57, "input": "Open"}. 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>",
      "input": "<input>"
    },
    "name": "ent_fire"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesEntity index.
delayNoDelay in seconds (default 0).
inputYesInput name, e.g. Open.
paramNoInput parameter (default empty).
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
idYes
nextNo
noteNo
delayNo
firedYes
paramNo
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?

With annotations only declaring openWorldHint=false and destructiveHint=true, the description adds the critical behaviors: the call returns immediately while the effect lands on a later frame after `delay`, and unknown inputs fail silently with no error or console output. It also discloses the map-loaded prerequisite and the coordinator relay concept, none of which annotations cover. The destructive examples (Kill) are consistent with destructiveHint=true.

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?

Purpose and semantics are front-loaded in the first clause, followed by return behavior, failure mode, example, and prerequisite in a logical order. It is dense with parentheticals and a live-check aside that, while useful, makes the middle slightly cluttered.

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?

Covers everything an agent needs for a five-parameter mutation tool: async effect timing, silent-ignore failure mode, verification path, example payload, and the map-loaded prerequisite. Return values are described even though an output schema exists, which is redundant but not harmful.

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%, so the schema already documents id, input, param, delay, and instance, including the coordinator relay behavior for instance. The description only adds an example invocation and implies timing semantics for delay; it does not explain what param means for specific inputs, so it stays at the baseline.

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 ('Sends a map I/O input to an entity in the server realm') and grounds it with the underlying operation Entity:Fire(input, param, delay) plus concrete examples (Open, Close, Toggle, Lock, Kill). An agent can immediately distinguish this from inspection siblings like ent_info or spawn/remove tools.

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?

Names the follow-up tools to verify effects (ent_info, wait_for) and the prerequisite (needs a loaded map via map_load). It does not explicitly exclude cases such as when to prefer ent_remove or console_exec instead of firing an input, but the usage context is clear.

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