Skip to main content
Glama

Create Python DAT

create_python_script

Create a DAT node preloaded with Python code for text, execution hooks, or script automation in TouchDesigner.

Instructions

Create a DAT (text/execute/script) preloaded with Python code.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
parent_pathYesParent COMP to create the DAT inside.
nameNo
codeYesPython source to place in the DAT.
dat_typeNoKind of DAT: 'text' (plain), 'execute' (event hooks), or 'script' (table builder).text
Behavior2/5

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

Annotations provide readOnlyHint false and openWorldHint true but no destructive hint. The description adds minimal behavioral context; it doesn't disclose what happens if parent_path is invalid, if a node with the same name exists, or how the open world hint affects behavior.

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, clear sentence that efficiently conveys the tool's purpose and scope. Every word adds value, and it is front-loaded with the core action.

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

Completeness2/5

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

Despite having no output schema and 4 parameters, the description does not mention what the tool returns (e.g., the path to the created DAT) or any side effects. It lacks details about error cases or confirmation of success.

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 75% with three of four parameters documented. The description mentions 'preloaded with Python code' aligning with the 'code' parameter, but adds no new meaning beyond the schema's parameter descriptions.

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 title 'Create Python DAT' and description clearly state the tool creates a DAT node preloaded with Python code. The description specifies the three DAT types (text, execute, script), distinguishing it from generic node creation tools like create_td_node.

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

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool versus alternatives like create_td_node or other specialized creation tools. There is no mention of prerequisites, when not to use it, or when a different tool would be more appropriate.

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