Skip to main content
Glama

Apply Legacy TD Patch

td_patch_apply
Destructive

Executes a destructive PatchPlan to modify a TouchDesigner network. For new builds, use td_brain_execute.

Instructions

(Legacy — prefer td_brain_plan → td_brain_execute; slated for removal in v3.0.) Destructive compatibility/expert PatchPlan executor. Prefer td_brain_execute for BrainPlans because it is the default validated transaction path for TDPilot-authored builds.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
planYesPatchPlan dict to execute
labelNoOverride plan.undo_label
auto_validateNoRun validate_target after apply
transaction_optionsNoOptional TransactionOptions dict. When provided, td_patch_apply uses the vNext transaction executor with preflight, snapshot, validation, and rollback policy.
param_semantics_policyNoDocs-grounded parameter safety policy for legacy patch applies. 'warn' preserves legacy behavior and attaches findings; 'block' refuses invalid or high-risk set_params operations before mutation.warn

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, fully covering the safety profile. The description adds legacy and expert context but discloses no additional behavioral traits beyond what annotations provide. No contradiction.

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 extremely concise (two sentences), front-loading critical information (legacy status, preferred alternative) with no wasted words, making it efficient for an AI agent.

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 presence of an output schema and 100% parameter coverage, the description provides sufficient high-level context: legacy, destructive, expert, and preferred alternative. It lacks detailed behavioral differences from td_brain_execute, but the annotations and schema fill gaps adequately.

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 description coverage is 100%, so the schema already documents all parameters thoroughly. The description does not add extra parameter semantics, which is acceptable given the baseline expectation of 3.

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 explicitly states the tool's purpose as a 'Destructive compatibility/expert PatchPlan executor' and clearly notes it is a legacy alternative to td_brain_plan/td_brain_execute, providing a specific verb and resource with differentiation from sibling tools.

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

Usage Guidelines5/5

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

The description provides explicit guidance: 'Prefer td_brain_plan → td_brain_execute' and 'Prefer td_brain_execute for BrainPlans', naming specific alternatives and rationale, making when-to-use and when-not-to-use very 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/dreamrec/TDPilot'

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