Skip to main content
Glama

entity

Reads any Noita XML definition, merges one layer, and returns all components unfiltered for custom behavior logic.

Instructions

读取任意实体 XML,合并一层 ,返回它的全部组件。

组件不做筛选(Projectile / DamageModel / Homing / ParticleEmitter … 都保留), 适合自己实现行为逻辑时逐个组件取值。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior4/5

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

With no annotations, the description carries the full behavioral burden, and it discloses two genuinely useful traits: it merges exactly one level of <Base>, and it deliberately does NOT filter components (Projectile / DamageModel / Homing / ParticleEmitter are all kept). It remains silent on failure modes (missing/malformed XML) and permissions, but for a single-argument read tool the key behavioral surprise is covered.

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 is front-loaded in the first sentence, with the follow-up sentences spent only on the merge rule and the no-filtering behavior. No filler or repetition; slightly longer than strictly necessary but every clause earns its place.

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

Completeness3/5

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

An output schema exists, so return-value explanation is rightly omitted, and the merge/filter behavior is documented. The remaining gap is the completely undocumented 'path' parameter, which is required for every call, leaving the definition just short of complete for its complexity.

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

Parameters2/5

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

Schema description coverage is 0% and the sole parameter 'path' has no description in the schema, so the description is the only place that could define it. It never mentions 'path' at all — no format, no base directory, no indication of file vs. entity id — so the coverage gap is not compensated.

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 first sentence gives a specific verb+resource ('读取任意实体 XML') plus a non-obvious operation (merge one level of <Base>) and the result ('返回它的全部组件'). That is enough for an agent to tell it apart from a raw read like read_xml, though it never names read_xml or the spell/spell_bundle siblings explicitly.

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

Usage Guidelines3/5

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

'适合自己实现行为逻辑时逐个组件取值' implies the scenario where this tool is preferred, but it is stated as a suitability note rather than an explicit when-to-use / when-not-to-use rule. No alternative (read_xml, spell, spell_bundle) is named as a fallback for other cases.

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