Skip to main content
Glama

set_parameter

Set any Surge XT synthesizer parameter using a friendly key or raw OSC address, with automatic type handling for normalized floats, integer raw values, and boolean 0/1.

Instructions

Set any parameter. Floats take normalized 0.0-1.0, ints take raw values (e.g. oscillator type 0-11), bools take 0/1. Accepts a friendly key or a raw /param/... OSC address (Surge XT is queried for its kind first).

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": {
      "parameter": "<parameter>",
      "value": "<value>"
    },
    "name": "set_parameter"
  }
}

Input Schema

NameRequiredDescriptionDefault
oscNo
sceneNoa
valueYes
parameterYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior4/5

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

With no annotations, the description carries behavioural load and does it reasonably well: it discloses type-dependent value conventions (floats normalized, ints raw, bools 0/1) and the notable implementation detail that Surge XT is queried for the parameter's kind first, implying an extra lookup. It omits what happens on unknown keys, whether values are clamped, and whether changes are persisted.

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?

Three tight sentences, front-loaded with the action and then the encoding rules that an agent most needs before guessing a value. No filler; only the missing osc/scene coverage counts against it.

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

Completeness3/5

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

An output schema exists, so return values are covered elsewhere, and the core call pattern is explained. Still incomplete for a 4-parameter mutation tool with zero annotation coverage: the two scope/routing parameters and error behaviour for invalid keys are undocumented.

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 0%, so the description must compensate and it only partly does. It explains 'parameter' (friendly key or raw /param/... OSC address) and 'value' (type-specific encoding) well, but 'osc' (default 1) and 'scene' (default 'a') are never mentioned anywhere, leaving half the inputs undocumented.

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

Purpose3/5

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

States a clear verb ('Set') and resource (a parameter), and the encoding rules make the intent concrete, but 'any parameter' is generic and the description never distinguishes this from specialised setters like set_filter, set_envelope or set_macro that the agent could pick instead.

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?

There is no explicit when-to-use or when-not-to-use guidance. An agent could infer that this is the catch-all setter and the siblings are convenience wrappers, but the description never says so, and nothing addresses the read counterpart get_parameter.

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