Skip to main content
Glama
grandMA2 MCP
by drohi-r

send_osc

Sends OSC messages over UDP to external apps like Resolume or QLab, enabling remote tempo, clip trigger, and opacity control via address/value pairs.

Instructions

Send an OSC message to an external application like Resolume Arena (SAFE_WRITE).

Uses raw UDP — no extra dependencies. Works with any OSC-compatible software:
Resolume Arena/Avenue, QLab, TouchDesigner, Ableton, etc.

Common Resolume OSC addresses:
  /composition/tempocontroller/tempo  — set BPM (float)
  /composition/layers/N/clips/M/connect — trigger clip (int 1)
  /composition/layers/N/video/opacity — layer opacity (float 0.0-1.0)
  /composition/disconnectall — clear all clips (int 1)

Args:
    address: OSC address pattern (e.g. "/composition/tempocontroller/tempo").
    value: Value to send — float, int, or string.
    host: Target host (default "localhost").
    port: Target OSC port (default 7000, Resolume's default).

Returns:
    str: JSON with address, value, host, port, status.

Examples:
    - Set Resolume BPM: send_osc(address="/composition/tempocontroller/tempo", value=128.0)
    - Trigger clip: send_osc(address="/composition/layers/1/clips/1/connect", value=1)
    - Layer opacity: send_osc(address="/composition/layers/1/video/opacity", value=0.75)

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "address": "<address>",
      "value": "<value>"
    },
    "name": "send_osc"
  }
}

Input Schema

NameRequiredDescriptionDefault
hostNolocalhost
portNo
valueYes
addressYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does disclose the transport ('raw UDP — no extra dependencies') and the return shape ('JSON with address, value, host, port, status'), which is real value. But it never says that UDP is fire-and-forget with no acknowledgment from the target, nor how failures surface, and it labels the tool 'SAFE_WRITE' while listing '/composition/disconnectall — clear all clips', a genuinely destructive address, without a warning.

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?

Structure is strong and front-loaded: purpose first, then address catalog, then Args, then Returns, then Examples. The Resolume address catalog and the examples are somewhat redundant with each other, but each block is scannable and nothing is wasted filler.

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?

For a four-parameter outbound tool this is close to complete — transport, target software, parameter meanings, and payload examples are all present, and an output schema exists so return values need not be re-explained. The remaining gap is operational: no delivery-confirmation or failure semantics, and no statement of when to prefer this over raw-command alternatives.

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

Parameters4/5

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

Schema description coverage is 0%, so the description must compensate, and it largely does: all four parameters are documented in an Args block, including accepted value types (float, int, string) and the meaning of each default ('7000, Resolume's default'). It stops short of explaining how a string value is framed versus a numeric one, so the type-dispatch behavior of 'value' remains partly implicit.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The first sentence gives a specific verb and resource — 'Send an OSC message to an external application' — and names concrete targets (Resolume Arena, QLab, TouchDesigner, Ableton). An agent can immediately tell this is an outbound control-message tool. It falls short of 5 because it never distinguishes itself from the sibling 'send_raw_command', leaving the agent to guess which transport/abstraction to choose.

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 establishes clear context: it works with any OSC-compatible software and gives three worked invocation examples covering BPM setting, clip triggering, and opacity. That is enough for an agent to recognize the right scenario. However, there are no exclusions and no routing guidance versus alternatives such as send_raw_command.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools