Skip to main content
Glama

set_modulation

Routes a modulation source onto a synth parameter with adjustable depth, and can mute the routing when needed.

Instructions

Route a modulation source (vlfo_1, slfo_2, aeg, feg, vel, keytrk, at, pb, mw, macro_1-8, timbre, breath, ...) onto a parameter with depth -1.0 to 1.0. target accepts friendly keys or raw /param/... addresses. mute=True mutes the routing instead.

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": {
      "source": "<source>",
      "target": "<target>",
      "depth": "<depth>"
    },
    "name": "set_modulation"
  }
}

Input Schema

NameRequiredDescriptionDefault
muteNo
depthYes
indexNo
sceneNoa
sourceYes
targetYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It does well on the parts it covers: depth bounds of -1.0 to 1.0, the families of valid sources, accepted target formats, and the mute toggle semantics. It is silent on what happens when a routing already exists at that target (overwrite vs. accumulate), what index and scene actually select, and whether changes persist without a save.

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 core action and its scope are front-loaded in the first clause, and every following sentence adds distinct information rather than restating the name. The source list is dense but purposeful; only the trailing '...' is slightly loose.

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 need not be described, and the routing mechanics are adequately covered. However, for a six-parameter mutation tool with zero annotation coverage, the unexplained index and scene parameters and the unstated overwrite/persistence behavior leave real ambiguity about what a call does to existing state.

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 explains four of six parameters with real meaning: source (with an enumerated list of valid values plus '...'), target (friendly keys or raw /param/... addresses), depth (range -1.0 to 1.0), and mute. The remaining two, index and scene, are never mentioned despite defaulting to 0 and 'a', which leaves a genuine gap.

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 description states a specific verb and resource: routing a modulation source onto a parameter, with the depth range spelled out. It is clearly distinct from a plain value-setting call like set_parameter, but it never names a sibling or draws the boundary explicitly, so it stops short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

Usage is implied rather than stated - the reader infers this is the tool for modulation routing versus static parameter setting. The one concrete usage hint is 'mute=True mutes the routing instead', which tells the agent how to disable rather than remove a routing, but there is no when-not guidance or mention of prerequisites such as the patch needing to be loaded or saved.

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