Skip to main content
Glama

Create MIDI controller map

create_midi_map

Create a MIDI controller map for TouchDesigner: sets up MIDI input and bind tables for device presets, auto-binds controls to a COMP's parameters, and allows explicit overrides.

Instructions

HARDWARE-GATED SCAFFOLD. Build a MIDI controller preset for a supported device (apc_mini / launchpad / midi_mix / nanokontrol / generic): creates a midiinCHOP + a labeled bind Table DAT, and optionally auto-binds faders/knobs to a target COMP's numeric custom parameters. Explicit bindings can override or supplement the preset. CC/note numbers are best-effort from published MIDI charts and MUST be validated with real hardware — actual assignments depend on device firmware. This tool is HELD FROM RELEASE until hardware validation is complete. For one-at-a-time MIDI learn of a single control, use learn_control instead.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoName for the MIDI In CHOP node created under parent_path.midi_map
deviceNoController preset. Each preset embeds a best-effort CC/note map for that device (UNVERIFIED — real numbers depend on firmware; validate with hardware). 'generic' builds a bare MIDI In + a template bind table with no preset.nanokontrol
targetNoCOMP whose custom numeric params/cues the preset auto-binds faders/knobs onto. Faders bind to the first N float/int custom pars; pads look for matching cues. Auto-binding is best-effort and hardware-gated.
bindingsNoExplicit control→param/cue overrides. Applied after the preset auto-map. Omit to rely entirely on the device preset's default map.
parent_pathNoCOMP to create the MIDI map inside./project1
Behavior4/5

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

Beyond the annotations (readOnlyHint=false, destructiveHint=false), the description adds key behavioral details: CC/note numbers are 'best-effort' and 'MUST be validated with real hardware', and the tool is 'HELD FROM RELEASE until hardware validation is complete'. These disclosures about reliability and external dependence are valuable context that annotations alone do not provide.

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

Conciseness4/5

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

The description is compact but information-dense. It front-loads the core action and follows with the key caveats and alternative tool. Every sentence contributes meaning, though the density might push the boundary of conciseness. Still, it is well-structured and free of fluff.

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?

Considering the tool's complexity (5 parameters, nested bindings, no output schema), the description covers essential context: what gets created, device presets, auto-binding behavior, hardware validation, and the alternative. It doesn't exhaustively describe every TouchDesigner-specific output detail, but the schema covers parameters well and the description is sufficient for a capable agent.

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% and the property descriptions are already detailed (e.g., bindings explains 'Explicit control→param/cue overrides'). The description adds context for how parameters fit together (auto-binding to target COMP, preset override), but doesn't add syntactic meaning beyond the schema. Baseline 3 is appropriate given the high schema coverage.

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: 'Build a MIDI controller preset for a supported device (apc_mini / launchpad / midi_mix / nanokontrol / generic)'. It specifies the concrete output: 'creates a midiinCHOP + a labeled bind Table DAT'. This distinguishes it from sibling tools like learn_control via explicit contrast.

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: 'For one-at-a-time MIDI learn of a single control, use learn_control instead.' It also clarifies the scope and override mechanism ('Explicit bindings can override or supplement the preset'), giving the agent clear context for when this tool is 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/lucasmaher-hash/touch-designer-mcp'

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