Skip to main content
Glama

Export externalized .tox tree (git-diffable)

export_externalized_tree
Destructive

Exports a TouchDesigner COMP as a git-diffable tree of external .tox files, one per component, so version control shows per-node diffs.

Instructions

Save a COMP as a git-diffable externalized .tox tree using TouchDesigner's 'save external' (COMP.saveExternalTox). Instead of one opaque binary, the component — and, with recurse=true, every descendant COMP — is written to its own .tox file on disk with its externaltox parameter pointed at that file, so a version-controlled project shows per-node diffs. Writes files under out_dir (destructive) and mutates the live COMP's externaltox pars. out_dir is passed to the TouchDesigner process, so it must be a path that process can write to.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoRoot .tox stem. Defaults to the last path segment of comp_path.
out_dirYesLocal folder to write the externalized .tox tree into. Passed to TouchDesigner as the save target, so it must be reachable from the TD process's filesystem.
recurseNoWhen true, externalize every descendant COMP too (each becomes its own .tox file), so the whole subtree is git-diffable. When false, only the root COMP is externalized.
comp_pathYesFull path of the COMP to externalize (its .tox is written to out_dir/<name>.tox).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
compYesEchoed COMP path that was externalized.
countYesNumber of COMPs externalized.
recurseYesWhether descendant COMPs were externalized too.
root_toxYesAbsolute path of the root externalized .tox.
warningsYes
externalizedYesEach COMP that now points at an external .tox file (node path → externaltox path).
Behavior5/5

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

The description goes beyond the annotations by detailing that files are written under out_dir (destructive), that the live COMP's externaltox parameter is mutated, and that out_dir must be writable by the TouchDesigner process. These specifics disclose side effects and prerequisites not covered by structured fields.

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 two sentences, dense but well-organized. It starts with the core action, then explains the mechanism, side effects, and a key constraint without redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the output schema exists, the description provides sufficient context about what the tool does, its side effects, recurse semantics, and filesystem requirements. It is complete for an agent to decide when and how to invoke it.

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?

While the schema already covers all parameters, the description adds meaningful context: out_dir must be reachable by the TD process, recurse=true externalizes descendants, and name defaults to the last path segment of comp_path. This enriches the schema information.

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 the tool saves a COMP as a git-diffable externalized .tox tree, naming the underlying mechanism (COMP.saveExternalTox). It distinguishes this from an opaque binary save and contrasts with related tools like make_portable_tox by emphasizing per-node diffs for version control.

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 explains why you would use this over saving a single binary (git-diffability, per-node diffs) and describes the recurse option's behavior. It does not explicitly name alternatives or state when not to use the tool, but the use case is clear.

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/lucasmaher-hash/touch-designer-mcp'

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