Skip to main content
Glama
rickengineroom

touchdesigner-mcp

Set Text DAT source

td_set_dat_text
Idempotent

Replace the body of a Text, GLSL, Script, or callback DAT in TouchDesigner via its absolute operator path. Optionally specify expectedText to conditionally overwrite only when current content matches.

Instructions

Replace a Text DAT, GLSL DAT, Script DAT, or callback DAT body.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYesAbsolute TouchDesigner operator path, for example /project1/visuals/noise1
textYes
expectedTextNo
Behavior4/5

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

The description discloses that this tool 'replaces' content, which is a behavioral trait beyond the annotations (which only state idempotentHint and destructiveHint). It clarifies that the operation overwrites the existing body, adding useful context. However, it does not cover whether the operator must already exist or what happens to missing paths.

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 a single concise sentence that is front-loaded with the purposeful verb 'Replace' and lists the affected DAT types. Every word adds value with no unnecessary filler.

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

Completeness3/5

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

Given the tool's moderate complexity (3 parameters, no output schema) and low schema coverage, the description is complete enough for the core action but lacks important context. It does not explain 'expectedText' or specify whether the path must reference an existing operator, leaving gaps for an agent.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has only 33% parameter description coverage (only 'path' is described). The tool description implies that 'text' is the new body content, but it does not explain 'expectedText' or add syntax details. With low schema coverage, the description fails to compensate, leaving parameter meaning incomplete.

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 with a specific verb ('Replace') and specific resource types ('Text DAT, GLSL DAT, Script DAT, or callback DAT body'). It distinguishes itself from sibling tools like td_set_parameters, which target parameter values, and td_create_operator, which creates operators.

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 implies usage by listing the DAT types it applies to, but it does not explicitly state when to use this tool over alternatives or provide exclusions. There is no mention of when not to use it, such as for setting operator parameters or creating operators, leaving the guidance implicit.

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/rickengineroom/touchdesigner-mcp'

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