Skip to main content
Glama

Save / load component (.tox)

manage_component
Destructive

Build a reusable component library by saving COMPs to .tox files or loading them back into the project, with overwrite protection and optional live linking.

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.
Behavior4/5

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

Annotations already indicate write-capable and destructive behavior. The description adds valuable detail: save uses a deferred, verified same-directory temporary export and refuses overwrite by default, with an optional 'ask' policy; load retains legacy behavior. It also notes paths are on the local machine, clarifying the execution context beyond annotations.

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 compact, with each sentence covering a distinct aspect: purpose, save behavior, load behavior, and path location. It is front-loaded with the main purpose and efficiently structured without redundancy.

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?

With 11 parameters and no output schema, the description covers key behavioral nuances (overwrite, deferred export, local paths) while leaving parameter details to the schema. It is sufficiently complete for an agent to understand the tool's scope and operation, though it could mention idempotency or linked behavior for extra clarity.

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 provides descriptions for all 11 parameters, so the description does not need to repeat them. It adds context by explaining the overwrite_policy semantics, the deferred export tied to operation_timeout_ms, and native consent tied to confirmation_timeout_ms. This supplements the schema meaningfully.

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 moves COMPs to/from .tox files, with explicit 'save' and 'load' actions. It uses specific verbs (save, load, build) and distinguishes from siblings by focusing on .tox file operations for building a reusable component library.

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

Usage Guidelines3/5

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

The description explains the two actions and their behaviors, giving context for when to use each. However, it does not explicitly mention alternatives or when to prefer another tool, such as manage_component_storage or export_palette_component. Usage is implied but not fully explicit.

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/Pantani/tdmcp'

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