Skip to main content
Glama

Register effect on an entity

attach_to_entity

Adds a particle effect to a client entity's particle_effects with a short name so animations and controllers can fire it. Proposes a change set that preserves comments and formatting.

Instructions

Add the effect to a client entity's particle_effects with a short name, so animations and animation controllers can fire it. Proposes a change set (comments and formatting are kept).

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": {
      "entity": "<entity>",
      "effect": "<effect>"
    },
    "name": "attach_to_entity"
  }
}

Input Schema

NameRequiredDescriptionDefault
packNo
effectYesparticle identifier
entityYesclient entity identifier or file
short_nameNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full burden; it does usefully disclose that this proposes a change set rather than writing directly and that comments/formatting are preserved. It does not say what happens if the effect is already attached, whether repeated calls are idempotent, what permissions are needed, or how the proposal is later applied or discarded.

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?

Two tight sentences with the core action front-loaded and the side effect of proposal preservation tucked into a parenthetical. Nothing is wasted, though the parenthetical could be more explicit about what 'kept' means.

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?

Considering four parameters, no annotations, and no output schema, the definition covers the essential action and its mutation semantics reasonably. The main omissions are the undocumented pack parameter and any detail on how the proposed change set is surfaced or committed.

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 coverage is 50%: effect and entity are already documented in the schema, and the description's 'short name' maps to short_name without adding format rules (the pattern lives only in the schema). The 'pack' parameter is unexplained in both places, so the description only partially compensates for the coverage gap.

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 description names a specific verb ('Add the effect') and a precise target ('a client entity's particle_effects'), plus the downstream purpose (animations and controllers can fire it). That distinguishes it from create_effect/edit_effect well enough to select it, though no sibling is named 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?

Usage is implied by the stated goal ('so animations and animation controllers can fire it'), which tells an agent the situation where this tool applies. There is no explicit when-not guidance, no mention of prerequisites, and no pointer to apply_changes for committing the proposed change set.

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