Skip to main content
Glama

Package a COMP as a .tox in the vault

save_component_to_vault

Save a live TouchDesigner COMP as a reusable .tox file in your Obsidian vault, with a markdown note for documentation and easy reload.

Instructions

Save a live TouchDesigner COMP as a reusable .tox component file inside the Obsidian vault (at /.tox) and write a companion markdown note with frontmatter, a description, and load instructions — completing the build→parameterize→script→package-to-library loop. The saved .tox can later be loaded back with manage_component (load action). Requires a configured TDMCP_VAULT_PATH. The target COMP must exist and be a COMP (not a non-COMP operator).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoComponent name (defaults to the COMP's name). Used for the .tox filename and the note title.
tagsNoTags for the note frontmatter (for browse_vault_library).
folderNoVault subfolder for the .tox + note.Components
auto_tagNoWhen true, inspect the COMP's child nodes via the bridge and union the auto_tag_library_asset suggestions into the note frontmatter's `tags`.
comp_pathYesThe COMP to package as a reusable .tox component.
thumbnailNoCapture a preview PNG next to the component note and embed it. Set false to skip.
descriptionNoA short description stored in the note.
preview_topNoOutput TOP to thumbnail for the component note (e.g. <comp_path>/out1). A COMP itself can't be captured (the preview endpoint renders TOPs), so the thumbnail is skipped unless you pass an explicit TOP path here.
Behavior4/5

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

With annotations indicating a write operation and non-destructive behavior, the description adds valuable context: the companion note content, the .tox location format, and the dependency on TDMCP_VAULT_PATH. It doesn't contradict annotations. The only gap is not mentioning overwrite behavior, but the destructiveHint=false already covers safety.

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 and well-structured: a main purpose sentence, a cross-reference to manage_component, and two prerequisite statements. No filler or redundancy, every sentence contributes context.

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 tool's complexity (8 params, no output schema), the description covers the main workflow, prerequisites, and outputs. It doesn't mention return values or error scenarios, but the detailed schema and annotations fill most gaps. Overall it is sufficiently complete for an agent to use correctly.

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?

Schema coverage is 100% with each parameter having a detailed description, including preview_top's caveat about TOP rendering. The description itself adds minimal parameter-specific meaning beyond restating folder/name in the path, so the baseline 3 is appropriate.

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's function: saving a TouchDesigner COMP as a .tox in the Obsidian vault and writing a companion markdown note. It uses a specific verb (save) and resource (COMP as .tox), and differentiates from siblings like save_recipe_to_vault and export_network_to_vault by focusing on reusable components and the package-to-library loop.

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 places this tool within a workflow ('completing the build→parameterize→script→package-to-library loop') and specifies prerequisites (TDMCP_VAULT_PATH, COMP must exist and be a COMP). It also mentions the inverse operation with manage_component. However, it doesn't explicitly contrast with alternative save/export tools, leaving some ambiguity.

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