Skip to main content
Glama

create_wrangle

Create an Attribute Wrangle node in a Houdini SOP network to run custom VEX code for attribute math that no native node can express. Requires justification of why existing nodes are insufficient.

Instructions

Create an Attribute Wrangle node with VEX code.

LAST RESORT. VEX is for attribute math that no node expresses — NEVER for modeling, scattering, copying, deforming, grouping, or randomizing, which all have dedicated nodes. Building geometry in a wrangle when a native node exists is a failure, not a shortcut.

The justification parameter is mandatory: state which list_node_types searches you ran and why none of the results can do this. If you cannot write that sentence honestly, you have not checked — check first.

Args: parent_path: Parent SOP network path. vex_code: VEX snippet to set. justification: Which native nodes you checked (the actual list_node_types filters used) and why none can express this logic. run_over: Element to run over ("Points", "Vertices", "Primitives", "Detail", "Numbers"). name: Node name.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNo
run_overNoPoints
vex_codeYes
parent_pathYes
justificationYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior4/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 largely meets it by disclosing that this is a last-resort mutation with mandatory justification and clear prohibitions. It does not mention side effects such as existing node overwrite behavior or return values, but it does disclose the high-risk purpose and guardrails effectively.

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?

The description is front-loaded with the core purpose and the most important constraint ('LAST RESORT), then gives compact, meaningful parameter documentation. The emphatic warnings are repetitive but purposeful and directly prevent misuse rather than padding.

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 creation tool with no annotations and no output schema, the description covers the main call requirements: when to use, how to justify, and every parameter's meaning. It omits concrete return-value expectations and error behavior, but the usage contract is detailed enough that an agent can invoke and validate appropriately.

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

Parameters4/5

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

The schema has 0% description coverage, so the description must compensate, and it does by explaining all five parameters in the Args list. It adds real value by specifying run_over's allowed values and by detailing exactly what justification must contain, which goes beyond the schema's bare parameter names.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states the specific operation: creating an Attribute Wrangle node with VEX code and immediately scopes VEX to attribute math that no native node expresses. This clearly distinguishes it from generic node creation and from sibling tools like create_vex_expression or set_wrangle_code.

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

Usage Guidelines5/5

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

The description gives explicit when-to-use guidance ('VEX is for attribute math that no node expresses') and explicit when-not-to-use exclusions (never for modeling, scattering, copying, deforming, grouping, or randomizing). It also mandates a justification workflow via list_node_types, giving the agent a concrete decision procedure before invoking the tool.

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