Skip to main content
Glama

remove_metasound_node

DestructiveIdempotent

Removes a node from a MetaSound Source graph using its node_id GUID, saving the asset. Idempotent: if the node is absent, it returns without error.

Instructions

Removes a node from a MetaSound Source graph by its node_id GUID (inverse of metasound_add_node_by_classname). Parses the node_id into a node handle and queries ContainsNode first: if the node is already absent it returns already_absent without error (idempotent), otherwise it calls UMetaSoundBuilderBase::RemoveNode (pruning unused dependencies) and reports the result. Saves the asset.

Returns: { asset_path: string, node_id: string, removed: bool, already_absent: bool, saved: bool, save_error: string?, note: string? }

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
node_idYesGUID of the node to remove (from metasound_add_node_by_classname).
metasound_pathYesAsset path of the MetaSound Source.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A4.2/5.0
Behavior5/5

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

Goes well beyond the annotations (destructiveHint, idempotentHint, readOnlyHint=false) by disclosing the idempotency mechanism (queries ContainsNode first, returns already_absent without error if the node is gone), the dependency-pruning side effect of RemoveNode, and that the asset is saved. This is exactly the kind of behavioral detail an agent needs to call a mutation safely.

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-loads the purpose, then the mechanism, then the return shape in a logical order with no filler. The internal API names (ContainsNode, UMetaSoundBuilderBase::RemoveNode) are slightly dense but directly support the transparency claims rather than padding.

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

Completeness5/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 supplies the full return contract inline (removed/already_absent/saved/save_error fields). Combined with the save behavior and idempotent semantics and annotations covering the safety profile, an agent has everything needed to invoke it correctly.

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% and both params are already fully documented there (node_id GUID with its source, metasound_path). The description restates the node_id-as-GUID meaning but adds no semantics beyond the schema, so the baseline of 3 applies.

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 and resource ('Removes a node from a MetaSound Source graph by its node_id GUID') and explicitly ties itself to a sibling by naming its inverse (metasound_add_node_by_classname). An agent can distinguish it from the many other remove_* and add_* siblings without opening the schema.

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?

The inverse relationship to metasound_add_node_by_classname gives some context for when the tool applies, and 'by its node_id GUID' implies the required input source. However, there is no explicit when-to-use/when-not or routing to alternatives, so usage is only implied.

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