Skip to main content
Glama
BlenderMCP

BlenderMCP

by szichedelic

connect_shader_nodes

Connect two shader nodes within a material's node tree by specifying the material, source node and socket, and destination node and socket.

Instructions

Connect two shader nodes in a material's node tree.

Parameters:

  • material_name: Name of the material

  • from_node: Name of the source node

  • from_socket: Name or index of the output socket on the source node

  • to_node: Name of the destination node

  • to_socket: Name or index of the input socket on the destination node

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "material_name": "<material_name>",
      "from_node": "<from_node>",
      "from_socket": "<from_socket>",
      "to_node": "<to_node>",
      "to_socket": "<to_socket>"
    },
    "name": "connect_shader_nodes"
  }
}

Input Schema

NameRequiredDescriptionDefault
to_nodeYes
from_nodeYes
to_socketYes
from_socketYes
material_nameYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.5.5

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden and does not meet it: it never says whether an existing link on the destination input is replaced or how a conflict is handled, what happens if a node or socket name is invalid, what permissions or context are needed, or what the call returns on success.

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?

Purpose is front-loaded in one sentence, followed by a tight parameter list. The list partially repeats schema property titles, but adds socket name/index semantics, so it mostly earns its space.

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?

For a five-required-parameter mutation with no annotations and no output schema, the definition covers purpose and per-parameter meaning adequately, but omits failure behavior, prerequisite state, and return information that an agent would need to invoke it confidently.

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%, but the description compensates by listing all five parameters with meaning, notably clarifying that sockets may be given by 'Name or index' — a distinction the bare schema titles do not make. It still doesn't specify case sensitivity, index base, or whether names must be unique.

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: 'Connect two shader nodes in a material's node tree.' This clearly distinguishes it from sibling create_shader_node, though it does not name or exclude any alternative.

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?

There is no when-to-use guidance, no prerequisites (e.g., the material and both nodes must already exist), and no mention of alternatives such as execute_blender_code for unsupported cases. Usage is only implied by the tool name and purpose sentence.

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