Skip to main content
Glama

connect_nodes

Idempotent

Link two Nuke nodes by wiring a source output to a target input, with sensible input-index defaults for Merge nodes.

Instructions

Connect two nodes. For Merge nodes, defaults to B pipe (input 1).

Args: from_node: source node (output). to_node: target node (input). input_index: which input on the target. defaults to 0, or 1 for Merge nodes.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
to_nodeYestarget node (input).
from_nodeYessource node (output).
input_indexNowhich input on the target. defaults to 0, or 1 for Merge nodes.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare idempotentHint=true and destructiveHint=false, so the safety profile is covered. The description adds the Merge input default but omits what happens if the target input is already connected, whether existing connections are overwritten, or any permission requirements.

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?

The description is short and front-loads the core action and the Merge exception. The Args block restates schema fields without adding value, a minor redundancy that keeps it from a 5.

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 simple 3-parameter mutation with full schema coverage and two behavioral annotations, the description covers purpose and parameter defaults. It still omits edge-case behavior such as overwriting existing connections or error handling, but structured data fills most gaps.

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 the description's Args block mirrors the schema descriptions verbatim. It adds no new syntax, format, or constraint details, so the baseline of 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 and resources: 'Connect two nodes.' The action is unambiguous, but the description does not explicitly differentiate this tool from siblings like disconnect_node_input or create_node, keeping it from a 5.

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?

Usage is implied by the action verb, and a Merge-specific default is provided. However, there is no explicit guidance on when to use this tool versus alternatives, nor any preconditions or exclusions.

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