Skip to main content
Glama

Create external I/O

create_external_io

Bridge TouchDesigner with external inputs (OSC/MIDI/Keyboard/Gamepad/Mouse) and outputs (OSC/MIDI/DMX/Art-Net/RTMP/NDI/Syphon-Spout). Bind channels to parameters or send data.

Instructions

Bridge TouchDesigner to the outside world: OSC/MIDI input (a control surface — bind incoming channels straight to parameters), OSC/MIDI output (send a CHOP's channels back out for bidirectional feedback to lighting desks, other apps or hardware — pass source_path), DMX/Art-Net output for lighting (dmx_out for any DMX desk; artnet_out for network Art-Net/sACN pixel-mapping of LED strips & stage fixtures), RTMP output to live-stream a TOP to Twitch/YouTube/OBS (rtmp_out — NVIDIA GPU on Windows only), or NDI / Syphon-Spout video input. To discover which channel a control sends (a 'MIDI learn'), wiggle it and read the input CHOP with get_td_nodes, then bind_to that channel. Validate live where possible, but real signal needs the hardware/sender present.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
kindYesWhat to bridge: OSC/MIDI/keyboard/gamepad/mouse input (a control surface — bind channels to parameters), OSC/MIDI output (send a CHOP's channels back out for bidirectional feedback — pass source_path), DMX/Art-Net output for lighting (dmx_out is the general DMX desk; artnet_out is a network-only Art-Net/sACN preset for pixel-mapping LED strips & stage fixtures — both send a CHOP's 0-255 channels and need source_path), RTMP output to live-stream a TOP to Twitch/YouTube/OBS-ingest (rtmp_out — pass source_path = the TOP to stream and url; needs an NVIDIA GPU on Windows), NDI / Syphon-Spout video input, or NDI / Syphon-Spout video output (ndi_out / syphon_spout_out — pass source_path = the TOP to send and an optional source_name for the NDI source / Spout sender name; flip active to start immediately). On Windows, Spout needs an NVIDIA or AMD GPU (no Intel).
parent_pathNoCOMP to create the I/O operator in./project1
nameNoName for the I/O operator; auto-generated when omitted.
portNo(osc_in) UDP port to listen on / (osc_out) port to send to. Defaults to 7000.
normalizeNo(midi_in) How to scale incoming MIDI values.0to1
bind_toNo(osc_in/midi_in) Map incoming channels to parameters. Each binding tolerates a channel that hasn't arrived yet (falls back to 0 instead of erroring).
source_pathNo(dmx_out/artnet_out/osc_out/midi_out) CHOP whose channel values are sent out, or (rtmp_out / video_device_out / ndi_out / syphon_spout_out) the TOP to send. Should live in the same COMP as parent_path so the wire/source connects.
interfaceNo(dmx_out) DMX transport. (artnet_out forces a network protocol via `net`.)artnet
netNo(artnet_out) Network DMX protocol: Art-Net or sACN (streaming ACN). Defaults to Art-Net.
universeNo(dmx_out/artnet_out) DMX universe.
net_addressNo(dmx_out/artnet_out) Target IP address for Art-Net / sACN.
urlNo(rtmp_out) Full RTMP destination as {service url}/{stream key}, e.g. 'rtmp://live.twitch.tv/app/live_xxx'. If omitted but stream_key is given, prefix with rtmp_base.
rtmp_baseNo(rtmp_out) Ingest base URL to combine with stream_key when url is not given (defaults to YouTube's primary ingest).
stream_keyNo(rtmp_out) Stream key, appended to rtmp_base as '{rtmp_base}/{stream_key}'.
fpsNo(rtmp_out) Frame rate to stream at. Defaults to 30.
activeNo(rtmp_out/ndi_out/syphon_spout_out) Start sending immediately. Defaults off so the artist can confirm the destination/sender name first.
source_nameNo(ndi_in/syphon_spout_in/ndi_out/syphon_spout_out) Name of the NDI source or Spout sender to receive or send, or (video_device_out) the SDI/capture-card output device name. For outputs, defaults to the operator name when omitted.
Behavior3/5

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

Annotations indicate openWorldHint=true, readOnlyHint=false, destructiveHint=false. The description adds context about hardware requirements (e.g., NVIDIA GPU needed for RTMP on Windows) and tolerances for missing channels in bindings. But it does not disclose potential side effects like network modifications or behavior when creating duplicate operators.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single dense paragraph that packs much information but lacks bullet points or clear segmentation. It is concise for the amount of content, but could be better organized for quick scanning by 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 17 parameters with 1 required, high schema coverage, and no output schema, the description covers most important aspects: protocol-specific notes, hardware requirements, default behaviors. It could mention return values or error handling, but overall is sufficient for correct use.

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%, so the description adds moderate value beyond the schema. It provides usage context for parameters like kind (explaining each value's purpose) and source_path (requiring same parent_path). However, most parameter details are already in the schema descriptions, so incremental value is limited.

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 starts with a concise statement 'Bridge TouchDesigner to the outside world' and enumerates all supported I/O types (OSC/MIDI input/output, DMX/Art-Net, RTMP, NDI/Syphon-Spout), clearly distinguishing what the tool does. It provides a specific verb ('Create external I/O') and resource, effectively differentiating 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 Guidelines4/5

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

The description gives context on when to use each kind (e.g., 'To discover which channel a control sends... wiggle it and read the input CHOP'), and includes validation notes ('Validate live where possible'). However, it does not explicitly state when NOT to use this tool or compare it with alternatives like other I/O tools.

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