Skip to main content
Glama

Save / load component (.tox)

manage_component
Destructive

Build a reusable component library by saving TouchDesigner COMPs to .tox files and loading them back, with safe overwrite handling.

Instructions

Build a reusable component library by moving COMPs to/from .tox files on disk. 'save' uses a deferred, verified same-directory temporary export and refuses overwrite by default; set overwrite_policy='ask' for native Overwrite/Keep consent. 'load' keeps its legacy behavior and reads file_path into parent_path. Paths are on the machine running TouchDesigner.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNo(load, linked) Name for the linked COMP; defaults to the file name.
actionYessave a COMP to a .tox file, or load a .tox into the project.
linkedNo(load) Create a live-linked instance (externaltox) that re-reads the file on change, instead of an independent copy.
comp_pathNo(save) The COMP to save as a reusable .tox component.
file_pathYesAbsolute path to the .tox file (e.g. '/Users/me/components/widget.tox').
parent_pathNo(load) COMP to place the loaded component inside./project1
create_foldersNo(save) Create the parent folders if they do not exist.
idempotency_keyNo(save) Opaque retry key for response-loss recovery.
overwrite_policyNo(save) Refuse an existing target, or ask through the native TouchDesigner broker before overwrite.refuse
operation_timeout_msNo(save) Bounded polling deadline for the deferred export job.
confirmation_timeout_msNo(save) Bounded wait for native overwrite consent.
Behavior5/5

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

Beyond annotations (readOnlyHint, destructiveHint), the description discloses critical behavioral details: save uses a deferred, verified same-directory temporary export, refuses overwrite by default, and supports an 'ask' policy for native consent. It also explains the load legacy behavior and notes that paths are on the machine running TouchDesigner. This goes far beyond the basic annotations and provides agent-critical safety and execution context.

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 three sentences long and front-loaded with the core purpose. Each sentence adds essential information: the overall function, save-specific safety and overwrite behavior, and load/path notes. No redundant or filler content exists, making it efficient and well-structured.

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 11 parameters, complete schema coverage, and presence of annotations, the description sufficiently covers the tool's complexity. It explains the key behavioral nuances (deferred save, overwrite policy, legacy load, path location) without needing to reiterate parameter details already in the schema. The absence of an output schema is acceptable as the primary return value is implied (the file operation), and the description delivers a complete operational picture.

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?

The schema already provides 100% description coverage for all parameters, with detailed comments for each. The description itself adds only a small amount of parameter-related context, such as the behavior of overwrite_policy and the relationship between file_path and parent_path. This aligns with the baseline score of 3 for high schema coverage, as the description does not substantially add semantic value beyond the structured data.

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 clearly states the tool's purpose as moving COMPs to/from .tox files on disk to build a reusable component library, which is a specific verb+resource combination. It also distinguishes between the 'save' and 'load' actions. However, it does not explicitly mention or differentiate from sibling tools like manage_component_storage or make_portable_tox, so it misses the full sibling differentiation criterion.

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 on when to use the tool: for building a component library by moving COMPs to/from .tox files. It also gives detailed behavior for each action (save/load) and mentions the overwrite policy context, which helps the agent decide. It does not explicitly list alternatives or when-not-to-use cases, but the context is unambiguous and free of exclusions.

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