Skip to main content
Glama

List or inspect scene entities

scene_entities
Read-only

List and filter Mount & Blade II scene entities by name, prefab, tag, script, mesh, or distance, and return full XML for one entity; query live editor scenes when needed.

Instructions

Lists entities of a scene file with handles ([12], [12/0] for children), name, prefab, mesh, position, rotation (degrees), scale, tags and scripts; filters by name/prefab/tag/script/mesh or distance. entity=<handle|name> returns the entity's XML. live=true lists the scene open in the Modding Kit editor (#handles are session ids for scene_edit live=true).

Input Schema

NameRequiredDescriptionDefault
tagNoExact tag.
liveNoQuery the scene open in the running editor (default false).
meshNoSubstring of a meta mesh name (file mode).
nameNoSubstring (or /regex/) of the entity name.
nearNoOnly entities within `radius` of this [x, y, z] point.
limitNoMax rows (default 60).
sceneNoScene name, Module/scene or path (file mode).
entityNoHandle or name of one entity to show in full.
moduleNoModule to look in when the scene name is ambiguous.
offsetNoSkip rows (paging).
prefabNoSubstring of the prefab name (files: prefab or old_prefab_name; live: linked prefab instances).
radiusNoRadius in meters for `near` (default 10).
scriptNoExact script component name (file mode).
selectedNolive=true: only the editor's current selection.
recursiveNoInclude child entities (default: true when filtering, false otherwise).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A4.5/5.0
Behavior4/5

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

With readOnlyHint=true already declaring safety, the description still adds real value: handle syntax ([12], [12/0] for children), rotation expressed in degrees, the XML return for entity=, and the live-mode session-id semantics. It doesn't cover paging/limit behavior in prose (deferred to schema), but the output-shape disclosure is strong for a tool with no output schema.

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?

Three dense sentences, front-loaded with the core purpose and return columns, then the single-entity path, then live mode. No filler; every clause carries information an agent needs.

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?

For a 15-param read tool with no output schema and no enums, the description supplies the return-column list, mode semantics (file vs live), and the entity= drill-down path, fully compensating for the missing output schema.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds meaning beyond the schema: rotation is in degrees, handle vs name formats, and the composite filtering surface (name/prefab/tag/script/mesh or distance). These clarify parameter intent rather than merely restating field names.

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 ('Lists') and resource ('entities of a scene file') and enumerates the returned columns (handles, name, prefab, mesh, position, etc.). An agent can distinguish this from scene_info (scene metadata) and scene_edit (mutation) without opening a schema.

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 conditional guidance: entity=<handle|name> to get one entity's XML, live=true to query the editor's open scene, and notes the #handle linkage to scene_edit live=true. It stops short of explicitly stating when to prefer this over scene_info or when not to use it, so it's clear context rather than full routing.

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