Skip to main content
Glama

wavetable_matrix

Read or write Wavetable's modulation matrix: fetch every routing cell, apply routes in one batch, and read each cell back as applied, clamped, or not observed.

Instructions

Read Wavetable's whole modulation matrix, or write routes and read them back.

The matrix is how a Wavetable LFO or envelope reaches filter, level or pitch.
Without routes this reads every cell. With routes it adds rows a route names
through its parameter, writes the cells in one batch and reads each back as
applied, clamped or not_observed. Source columns carry Live's names where Live
reports them, otherwise their index. Not yet measured against Live: trust the
read-back, and audition the result.

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": {
      "track": "<track>",
      "device": "<device>"
    },
    "name": "wavetable_matrix"
  }
}

Input Schema

NameRequiredDescriptionDefault
trackYesTrack index in song.tracks, counted from 0.
deviceYesWavetable's index in the track chain.
routesNoCells to write; omit to only read the matrix.
confirmNoTrue carries the removal out. False changes nothing and returns a report of what the call would remove, which is how to look before committing to it.
replaceNoAlso set every other non-zero cell to 0.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Adds real traits beyond the annotations: batch write with per-cell read-back classified as applied/clamped/not_observed, source column naming fallbacks, and an explicit honesty caveat that behavior is 'Not yet measured against Live: trust the read-back.' What it omits is the overwrite/replace semantics and the contradictory 'removal' framing in the confirm parameter, which are behavioral risks for a non-destructive write tool.

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?

Front-loaded with the read/write split, then a short domain gloss, then the read-back semantics; every sentence carries information. The line-broken, slightly literary phrasing ('The matrix is how a Wavetable LFO or envelope reaches filter, level or pitch') is dense but justified as concept setup.

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 five-parameter, dual-mode, mutating tool with an output schema and full schema coverage, the description covers build-up, batch write, read-back statuses and validation uncertainty. It leaves out the `replace` wipe-every-other-cell behavior and the `confirm` flow, which are the main things an agent could get wrong on a destructive-in-practice call.

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 coverage is 100%, so 3 is the baseline, but the description earns more: it explains that a route's `parameter` injects missing rows, that `source` may be a Live-reported name or an index, and that each write is echoed back with a per-cell status. It adds interpretation of the route batch as a whole rather than restating field docs.

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?

Specific verb and resource with scope: 'Read Wavetable's whole modulation matrix, or write routes and read them back.' The second sentence explains what the matrix is for (LFO/envelope reaching filter, level or pitch), and the two operating modes are stated explicitly, so an agent knows exactly what this tool touches.

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?

'Without routes this reads every cell. With routes it adds rows a route names through its parameter, writes the cells in one batch' gives concrete mode-selection guidance tied to the routes argument. It stops short of naming alternatives or stating exclusions (e.g. when to use als_read/als_write for the same data), so it is clear context rather than full when/when-not guidance.

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