Skip to main content
Glama

metasound_set_input_default

DestructiveIdempotent

Set the default value for a MetaSound Source graph input using float, int, bool, or string data, then verify and save the updated asset.

Instructions

Sets the default literal value of a MetaSound Source graph input. Obtains a builder for the existing asset (FindOrBeginBuilding) and calls SetGraphInputDefault with an FMetasoundFrontendLiteral built from the supplied value, then reads the value back to verify and saves the asset. Provide exactly one of value (float, default), int_value, bool_value or string_value.

Returns: { asset_path: string, input_name: string, value_type: string, value_set: bool, verified: bool, value_read_back: string, saved: bool }

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
valueNoFloat default value (optional, used if no other *_value is provided)
int_valueNoInt32 default value (optional, mutually exclusive with value/bool_value/string_value)
bool_valueNoBool default value (optional, mutually exclusive with value/int_value/string_value)
input_nameYesName of the graph input whose default to set.
string_valueNoString default value (optional, mutually exclusive with value/int_value/bool_value)
metasound_pathYesAsset path of the MetaSound Source.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true and idempotentHint=true, so the safety profile is covered. The description adds real behavioral context beyond annotations by disclosing the internal workflow: it obtains a builder (FindOrBeginBuilding), calls SetGraphInputDefault, reads the value back to verify, and saves the asset. It does not explicitly warn that an existing default is overwritten, but nothing contradicts the annotations.

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?

Front-loaded with the purpose, followed by the workflow and the parameter one-of rule, then the return shape. The sentence describing internal calls (FindOrBeginBuilding, SetGraphInputDefault) is somewhat implementation-flavored but still earns its place as behavioral disclosure; overall efficient with no filler.

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 no output schema, the description compensates by documenting the full return object inline (asset_path, input_name, value_type, value_set, verified, value_read_back, saved). Combined with 100% schema coverage and annotations covering safety, an agent has enough to invoke and interpret the result, though prerequisites and sibling routing remain unstated.

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 description coverage is 100%, so the schema already documents all six parameters, making 3 the baseline. The description adds value by restating the one-of rule and mapping each value parameter to its type (float/int32/bool/string), reinforcing which field carries the default when none is supplied.

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 and resource ('Sets the default literal value of a MetaSound Source graph input'), which is clearly distinct from node-level siblings like set_meta_sound_node_input_default and from graph-interface siblings like add_metasound_graph_input. The 'graph input' qualifier does most of the differentiation, though it does not name the alternative tools directly.

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?

The description gives a clear usage constraint: 'Provide exactly one of value (float, default), int_value, bool_value or string_value,' which resolves the mutual-exclusivity ambiguity among four value parameters. It does not, however, state when to prefer this tool over sibling tools or what prerequisites (e.g., asset must exist) apply.

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