Skip to main content
Glama

Create external I/O

create_external_io

Create I/O bridges for TouchDesigner: receive OSC/MIDI/NDI/Syphon input, send CHOP channels as OSC/MIDI/DMX/Art-Net, stream TOPs via RTMP, or output NDI/Syphon video.

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
fpsNo(rtmp_out) Frame rate to stream at. Defaults to 30.
netNo(artnet_out) Network DMX protocol: Art-Net or sACN (streaming ACN). Defaults to Art-Net.
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.
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).
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.
activeNo(rtmp_out/ndi_out/syphon_spout_out) Start sending immediately. Defaults off so the artist can confirm the destination/sender name first.
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).
universeNo(dmx_out/artnet_out) DMX universe.
interfaceNo(dmx_out) DMX transport. (artnet_out forces a network protocol via `net`.)artnet
normalizeNo(midi_in) How to scale incoming MIDI values.0to1
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}'.
net_addressNo(dmx_out/artnet_out) Target IP address for Art-Net / sACN.
parent_pathNoCOMP to create the I/O operator in./project1
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.
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.
Behavior5/5

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

With annotations only stating readOnlyHint=false, openWorldHint=true, destructiveHint=false, the description adds substantial behavioral context: platform constraints (RTMP requires NVIDIA GPU on Windows; Spout needs NVIDIA/AMD but not Intel), default safety behaviors (active defaults off so the artist can confirm destination), error tolerance for bind_to (missing channels fall back to 0), and validation limitations. This goes well beyond the annotations and gives the agent critical operational expectations.

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 with lengthy parenthetical asides and repetitive enumerations. It is front-loaded with the core purpose, but the structure makes it harder to scan. While every part is informative, it could be organized with bullets or separate sections for input vs output categories to improve readability without losing content.

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

Completeness5/5

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

The description covers all major categories, platform-specific requirements, default behaviors, validation caveats, and an alternative tool usage (get_td_nodes). There is no output schema, so return-value documentation is not required. For a tool with 17 parameters and 15 kind variants, this description is remarkably complete, leaving few ambiguities about how and when to invoke it.

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

Parameters5/5

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

While the schema already describes all 17 parameters (100% coverage), the description enriches their semantics significantly. It explains workflows like passing source_path for outputs, using bind_to with learned channels from get_td_nodes, and the distinction between dmx_out and artnet_out via the net/interface parameters. The prose adds conceptual meaning and practical usage guidance that the schema's per-parameter descriptions do not fully convey.

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 'Bridge TouchDesigner to the outside world' and enumerates the full spectrum of supported I/O kinds (OSC/MIDI input/output, DMX/Art-Net, RTMP, NDI/Syphon-Spout). This clearly distinguishes it from sibling tools like create_control_surface or create_ndi_router_matrix by framing it as a generic external I/O bridge. The verb 'bridge' and the detailed resource list make the purpose unmistakable.

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 provides clear when-to-use context, covering all the I/O bridging scenarios. It explicitly names an alternative workflow for discovering MIDI channels ('use get_td_nodes, then bind_to'), and warns about validation limits ('real signal needs the hardware/sender present'). However, it doesn't explicitly contrast with sibling tools beyond that one example, so it falls just short of a 5.

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