Skip to main content
Glama

metasound_connect_node_to_graph_output

DestructiveIdempotent

Connect a MetaSound node's output pin to a named graph output to complete a signal patch and verify the builder result.

Instructions

Connect a concrete node's output pin to a named graph output, completing a signal patch (e.g. Sine.Audio -> the source's audio output). Uses ConnectNodeOutputToGraphOutput (idempotent: replaces any existing edge). Reports the honest EMetaSoundBuilderResult.

Returns: { asset_path: string, node_id: string, node_output_name: string, graph_output_name: string, connected: bool, result: string, saved: bool }

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
node_idYesGUID of the source node (from metasound_add_node_by_classname).
metasound_pathYesAsset path of the MetaSound Source.
node_output_nameYesName of the node's output pin (e.g. "Audio").
graph_output_nameYesName of the target graph output (discover via get_metasound_graph_info).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare idempotentHint=true and destructiveHint=true, so the description goes further by naming exactly what the idempotency means ('replaces any existing edge') and noting the result is an honest EMetaSoundBuilderResult. This adds real behavioral context beyond the structured hints.

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 action in the first sentence, then adds the implementation note and a compact return shape. Every element is brief and earns its place, with only mild redundancy between the description and schema.

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?

For a mutation tool whose safety profile and idempotency are covered by annotations, the description closes the remaining gaps by describing the return object (since no output schema exists) and the replace-existing-edge semantics. Nearly complete, though it omits any auth/permission prerequisites.

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 100%, so the schema already documents all four parameters including GUID sourcing and the pin/graph-output naming. The description adds no additional parameter meaning, making the baseline 3 appropriate.

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+resource: connecting a node's output pin to a named graph output, with a concrete example (Sine.Audio -> source's audio output). It is distinguishable from node-to-node wiring, though it never explicitly names the sibling connect_metasound_nodes to draw the contrast.

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 example and phrase 'completing a signal patch' imply the context of use, which is enough to infer when to call it. However, there is no explicit statement of when NOT to use it or which sibling to pick instead (e.g. connect_metasound_nodes for node-to-node edges), leaving routing to inference.

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