Skip to main content
Glama

auto_layout

Idempotent

Automatically arranges the node graph layout, optionally limiting the arrangement to selected nodes to organize complex Nuke compositing workflows.

Instructions

Auto-arrange the node graph layout.

Args: selected_only: if True, only arrange selected nodes.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
selected_onlyNoif True, only arrange selected nodes.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.2/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 structurally. The description adds that the operation affects the graph layout and can be scoped to a selection, but does not say whether existing manual positions are overwritten, whether the result is deterministic, or whether it operates on the current comp only.

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?

Two sentences, front-loaded with the action, with no filler. The Args block is slightly redundant with the schema but is not verbose.

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-optional-parameter, no-output-schema tool whose annotations cover the mutation safety profile, the definition is nearly sufficient. A brief note on precedence over manual node positions would close the remaining gap.

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 single parameter's description is identical to the text in the tool description, so no meaning is added beyond the schema. Baseline 3 applies when the schema does the heavy lifting.

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 description states a specific verb and resource — 'auto-arrange the node graph layout' — which clearly distinguishes it from manual positioning siblings like set_node_position. It is clear on its own, though it does not explicitly contrast itself against any named 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 guidance on when to use this versus set_node_position or other layout-affecting tools. The selected_only flag hints at a scoping condition, but no when-to-use or when-not-to-use context is given.

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