Skip to main content
Glama

set_modulation_generator_settings

DestructiveIdempotent

Writes and saves class-specific settings for a USoundModulationGenerator asset, such as LFO frequency or envelope attack time, while ignoring parameters that do not match the generator class.

Instructions

Writes the settings that match the class of a USoundModulationGenerator asset (LFO, ADEnvelope or EnvelopeFollower) and saves it; params of another class are ignored, other generator classes are refused, and the LFO shape cannot be set here. Returns generator_path, generator_class, settings as stored, updated, saved.

Returns: { generator_path, generator_class, settings: {...}, updated, saved }

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
gainNoEnvelopeFollower only: input gain applied before envelope detection (optional float)
phaseNoLFO only: starting phase in degrees (optional float)
offsetNoLFO only: output offset added to the waveform (optional float)
amplitudeNoLFO only: output amplitude/gain multiplier (optional float)
frequencyNoLFO only: oscillation frequency in Hz (optional float)
decay_timeNoADEnvelope only: decay interpolation time in seconds (optional float)
attack_timeNoADEnvelope/EnvelopeFollower: attack interpolation time in seconds (optional float)
release_timeNoEnvelopeFollower only: release interpolation time in seconds (optional float)
audio_bus_pathNoEnvelopeFollower only: asset path to the UAudioBus the follower listens to (optional string)
generator_pathYesAsset path to the USoundModulationGenerator

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A4.3/5.0
Behavior4/5

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

Beyond the annotations (readOnly=false, idempotent=true, destructive=true, openWorld=false), the description discloses non-obvious semantics: mismatched-class params are silently ignored rather than erroring, wrong generator classes are hard-refused, and the result is persisted ('saves it'). It does not spell out that existing settings are overwritten (the destructiveHint) or what happens on a partial-class match failure, which keeps it short of a 5.

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 constraints are front-loaded in a single dense sentence. The return contract, however, is stated twice — once as a prose list ('Returns generator_path, generator_class, settings as stored, updated, saved') and again as a structured signature — so one sentence does not fully earn its place.

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?

With 10 parameters at full schema coverage, no output schema, and annotations present, the description carries the remaining burden well: it names the accepted classes, the class-param matching rule, and the return fields. The one gap is that a destructive overwrite (destructiveHint=true) is never acknowledged in text.

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% and lists each parameter's owning class, so the baseline is 3. The description adds a rule the schema cannot express — that parameters from a non-matching class are accepted but ignored — which is exactly the kind of cross-parameter semantics that changes how an agent calls the tool.

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 (writes/saves) and resource (a USoundModulationGenerator asset's class-matched settings), and enumerates the three handled classes (LFO, ADEnvelope, EnvelopeFollower). It is trivially distinguishable from sibling readers like get_modulation_generator_info and creators like create_modulation_generator_lfo without opening any 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 real when-not conditions: other generator classes are refused, LFO shape cannot be set here, and params belonging to another class are ignored. It stops short of naming a sibling alternative for the excluded cases (e.g., where LFO shape is set), so it is strong context rather than full routing guidance.

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