Skip to main content
Glama

set_niagara_component_vec4

DestructiveIdempotent

Set a Vec4 override parameter on a spawned Niagara component, resolve its owning actor, and read it back to verify the change.

Instructions

Sets a Vec4 (FVector4) override parameter on a spawned Niagara component. Resolves the UNiagaraComponent on the owner actor and calls SetVariableVec4, then reads it back via GetNiagaraVariableVec4.

Returns: { actor_name: string, variable_name: string, variable_type: string, set: bool, verified: bool, value_read_back: [number, number, number, number] }

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
wNoW component of the Vec4.
xNoX component of the Vec4.
yNoY component of the Vec4.
zNoZ component of the Vec4.
actor_nameYesOwner actor identifier (internal name or editor label).
variable_nameYesNiagara variable name (override is added locally if needed).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare the safety profile (readOnly=false, destructive=true, idempotent=true), so the bar is lower. The description adds genuine behavioral detail beyond them: it discloses the actor-resolution step, the SetVariableVec4 call, and a read-back verification via GetNiagaraVariableVec4, plus the returned verified/value_read_back fields.

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?

Action is front-loaded in the first sentence, followed by the implementation/call flow and a compact inline return shape. Every sentence earns its place with no filler; slightly dense but well organized.

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?

No output schema exists, and the description compensates by spelling out the return object and its fields, which is exactly what the agent needs to interpret results. Combined with fully covered parameters and annotations, nothing critical for correct invocation is missing.

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 all six parameters (x/y/z/w, actor_name, variable_name). The description adds a small note that the override is auto-added locally, but this is also in the schema, so it does not meaningfully exceed the structured data. Baseline 3 applies.

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?

States a specific verb (Sets) and resource (a Vec4/FVector4 override parameter on a Niagara component) and describes the underlying SetVariableVec4 call. It distinguishes from generic setters by naming the exact type, though it never explicitly contrasts with siblings like set_niagara_component_vec2 or set_niagara_component_vector.

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

Usage Guidelines2/5

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

There is no explicit when-to-use, when-not-to-use, or alternative guidance. 'On a spawned Niagara component' hints at a precondition (the component must exist), but the agent is not told why to pick vec4 over vec2/vector or when the override path is appropriate.

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

Deploy Server

Other Tools