Skip to main content
Glama

connect_material_nodes

Links a source node’s output to a target material parameter—such as base_color or geometry_normal—and replaces any existing connection on that parameter.

Instructions

Branche la sortie du nœud source sur le paramètre parameter du nœud cible (une texture sur base_color, un relief sur geometry_normal...). Remplace un branchement existant sur ce paramètre.

Input Schema

NameRequiredDescriptionDefault
materialYes
parameterYes
source_idYes
target_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare a non-read-only but non-destructive mutation. The description adds important behavior: an existing connection on that parameter is replaced, which is not obvious from the annotations. It does not cover permissions or error behavior, but the output schema handles returns.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, front-loaded with the core action, and no wasted wording. The replacement behavior is stated immediately after the main operation.

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

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Output schema exists, so return values need not be described. However, with four required undocumented parameters, the description leaves material ambiguous and does not fully specify source/target ID semantics, so it is adequate but incomplete.

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 0%, so the description must compensate. It clarifies that source_id and target_id are node IDs and gives examples of valid parameter values, but material remains completely unexplained and source/target ID formats are not specified.

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: connects source node output to a target parameter and replaces any existing connection on that parameter. It distinguishes the operation from a mere add or set, though it does not name sibling alternatives.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No explicit guidance on when to use this versus disconnect_material_input, add_material_node, or set_material_parameter. Usage is only implied by the operation itself and by the note that an existing connection is replaced.

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