Skip to main content
Glama

set_inputs

Connects a Nuke node's inputs by mapping input indexes to source nodes; set a source to null to disconnect it. Edits are applied as one undoable step.

Instructions

Connect a node's inputs: {"0": "Read1", "1": null} (index -> source, null disconnects). One undo step.

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": {
      "node": "<node>",
      "inputs": "<inputs>"
    },
    "name": "set_inputs"
  }
}

Input Schema

NameRequiredDescriptionDefault
nodeYes
inputsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does add real value by disclosing "One undo step", telling the agent the whole multi-input change is atomic and reversible, but it omits whether existing connections are replaced, what happens if the node or source does not exist, and what errors look like.

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?

A single front-loaded sentence plus an inline example, with no filler. The example does real work by showing the exact shape of the nested object that the schema leaves opaque.

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 no-annotation, no-output-schema mutation tool with a nested object parameter, the definition covers the payload shape and undo behavior but not node identification, replacement semantics, or failure modes. It is adequate to call, but not complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/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 for both parameters. It explains the `inputs` object well via the index -> source example and the null-disconnect convention, but leaves the required `node` parameter entirely undefined (name vs. id vs. path), which is a material gap for a mutation tool.

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 a node's inputs", with an inline example mapping index to source. It is clearly distinguishable from neighbors like set_knobs, rename_node, or create_node, though it never names an alternative.

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 only implied by the example: an agent can infer it is used to wire up a node's input ports, and "null disconnects" hints at the inverse operation. There is no explicit when-to-use, prerequisite, or comparison against related tools such as create_node.

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