Skip to main content
Glama

set_knobs

Set knob values on one or more Nuke nodes as a single undo step. Apply numbers, per-channel lists, expressions, scripts, or keyframes and receive the new values.

Instructions

Set knobs on one or more nodes as ONE undo step. changes = {"Constant1": {"color": [0.8, 0.1, 0.02]}, "Blur1": {"size": 4}} Value forms: number/string/bool; list = per channel (fewer values than channels sets only the leading ones, e.g. RGB of an RGBA colour, alpha kept); {"expression": "...", "channel": i}; {"script": "<.nk syntax>"}; {"keys": {"1": v, "10": v}} for keyframes. Move nodes with "xpos"/"ypos". Returns the new values.

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": {
      "changes": "<changes>"
    },
    "name": "set_knobs"
  }
}

Input Schema

NameRequiredDescriptionDefault
changesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does substantially well: it discloses transaction semantics (all changes collapse into one undo step), the return behavior ("Returns the new values"), and non-obvious edge behavior (a shorter list than channels sets only leading channels, alpha preserved). It does not say what happens on invalid knob names or whether a failure rolls back the whole undo step, which matters for a mutation tool.

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-loaded with the core action and the undo-step guarantee, followed by a compact example and a dense but scannable enumeration of value forms. Every clause carries information; the only mild cost is that the value-form list is written as run-on fragments that require careful parsing.

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 one-parameter mutation tool with a deeply nested free-form object and no output schema, the definition covers input grammar, batching, undo atomicity, and return values. The remaining gap is failure semantics — what error to expect on a bad knob name or whether partial changes survive — which an agent attempting a batch edit would want.

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

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The single parameter has 0% schema description coverage and a free-form nested shape, so the description must compensate entirely — and it does. It supplies a concrete example map, enumerates every accepted value form (scalar, per-channel list with truncation semantics, expression+channel, script in .nk syntax, keyframe dicts), and documents the special xpos/ypos position knobs.

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?

The first sentence gives a specific verb and resource ("Set knobs on one or more nodes") plus a scope detail (batch across multiple nodes in one undo step). It implicitly distinguishes itself from siblings like set_inputs by focusing on knob values rather than input connections, but it never names an alternative, so differentiation is left to inference.

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 phrase "as ONE undo step" hints at when to prefer this over repeated single-node edits, and "Move nodes with xpos/ypos" shows an extra use case. However, there is no explicit when-to-use vs. when-not guidance, no mention of set_inputs/knob_info as the tools for related tasks, and no stated preconditions (e.g. node must exist, knob must be exposed).

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