Skip to main content
Glama

create_vex_expression

Sets an HScript expression on a Houdini parameter to evaluate it before the value is kept, enabling procedural parameter control through Houdini MCP.

Instructions

Set an HScript expression on a parameter, evaluated before it is kept.

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_path": "<node_path>",
      "parm_name": "<parm_name>",
      "vex_code": "<vex_code>"
    },
    "name": "create_vex_expression"
  }
}

Input Schema

NameRequiredDescriptionDefault
vex_codeYes
node_pathYes
parm_nameYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.4/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 largely drops it. "Evaluated before it is kept" hints at evaluation timing but does not say whether an existing expression is overwritten, what permissions or node state are required, or what is returned; the VEX-vs-HScript ambiguity further muddies the expected behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is a single short sentence with the action front-loaded, so there is no padding. However, the trailing clause "evaluated before it is kept" is cryptic and occupies the space that should have gone to a concrete detail.

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 simple three-parameter mutation tool with no annotations and no output schema, the definition is thinner than the complexity warrants, omitting target semantics and overwrite behavior. It is not empty, but an agent would need to guess at essentials before calling it.

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?

All three parameters (node_path, parm_name, vex_code) have 0% schema description coverage, so the description must compensate and does not. It never explains that node_path targets a node, parm_name selects the target parameter, or what vex_code should contain — and calling the code "HScript" while the parameter is named vex_code actively misleads.

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

Purpose3/5

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

The verb+resource is stated ("Set an HScript expression on a parameter"), but the resource conflicts with the tool name create_vex_expression, leaving the agent unsure whether this writes VEX or HScript. It also fails to distinguish itself from the sibling set_expression, which reads as doing the same thing.

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 preconditions, and no mention of alternatives such as set_expression, validate_vex, or create_wrangle. The agent must infer selection purely from the name.

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