Skip to main content
Glama

Apply Xpresso Graph Description

apply_xpresso_graph

Builds Xpresso graphs declaratively by defining nodes with operator IDs and connecting ports in a single call, with optional auto-creation of a Texpresso tag.

Instructions

Declarative builder for an Xpresso (classic GvNodeMaster) graph — mirror of apply_graph_description but for Xpresso rather than Maxon node materials. Creates nodes (CreateNode) and wires connections (GvPort.Connect) in one call. Accepts an operator_id as an int (e.g. c4d.ID_OPERATOR_CONST=1001150) or short alias ('object'|'const'|'result'|'math'|'range_mapper'|'condition'|'compare'|'memory'|'iterate'|'bool'|'freeze'|'formula'|'realtovect'|'vecttoreal'|'matrix2vect'|'vect2matrix'|'link'|'spy'|'python'). Optionally creates the Texpresso tag when given an object handle and create_tag_if_missing:true. Example: build a Object.Global Position -> Result graph in three calls (create Cube → apply_xpresso_graph → EventAdd).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nodesYesNode specs keyed by caller-chosen stable id (used in `connect`).
handleYesXpresso tag handle (Texpresso) or an object handle (pass create_tag_if_missing:true to auto-add a tag).
connectNoConnection list. `from` defaults to dir='out' and `to` defaults to dir='in'. Internally always calls outputPort.Connect(inputPort).
create_tag_if_missingNoWhen handle is an object and no Texpresso tag exists, create one. Default true.
Behavior4/5

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

With no annotations provided, the description carries the full disclosure burden. It explains that the tool creates nodes and wires connections in one call, accepts operator_id as int or alias, and optionally creates a Texpresso tag. It could further detail side effects or error handling, but current coverage is good.

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 concise at 4-5 sentences, front-loaded with the core concept and key differentiators. Every sentence adds meaningful information without redundancy or filler.

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?

Given the complexity of nested objects and absence of an output schema, the description covers purpose, parameters, and an example. It does not mention return values or error states, which are minor gaps, but overall it is adequately complete for a builder tool.

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 input schema covers 100% of parameters, so the description already adds value by listing operator_id aliases and providing an example usage. This goes beyond the schema's self-documentation, aiding the agent in constructing valid input.

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 clearly states it is a 'declarative builder for an Xpresso graph' and explicitly distinguishes it from 'apply_graph_description' for Maxon node materials. It uses specific verbs like 'creates nodes' and 'wires connections', making the purpose unambiguous.

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

Usage Guidelines4/5

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

The description provides clear context by comparing to sibling tool 'apply_graph_description' (for Maxon) and mentions when to create a tag if missing. However, it does not explicitly state when not to use this tool or provide alternatives for similar tasks.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/kumoproductions/mcp-cinema4d'

If you have feedback or need assistance with the MCP directory API, please join our Discord server