Skip to main content
Glama

Set voices

set_voices

Set the patch's polyphony to 1–16 voices so chords sound all notes at once and mono bass or lead patches use one voice.

Instructions

Set the polyphony of the patch: how many notes can sound at once (1–16). Chords from a keyboard or a Note Grid need as many voices as notes; a mono bass or lead sounds best with 1.

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": {
      "voices": "<voices>"
    },
    "name": "set_voices"
  }
}

Input Schema

NameRequiredDescriptionDefault
voicesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.6.1

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare this is a non-read-only, non-destructive, closed-world mutation, so the safety profile is covered. The description explains the meaning of the setting but omits behaviorally relevant details such as what happens to currently sounding notes when polyphony is lowered, or whether the change is immediate or persisted.

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

Conciseness5/5

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

Two tight sentences, definition front-loaded followed by a single usage heuristic; every clause earns its place with no 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 one-parameter tool with annotations and no output schema, this covers purpose, range, and value selection adequately. The only gap is the effect on already-sounding notes, a minor omission for a simple setter.

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 0%, so the description must carry the parameter meaning — and it does, defining "voices" as simultaneous sounding notes and giving the 1–16 range. It adds real semantic value beyond the bare integer type, though it doesn't explain behavior at intermediate values.

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?

Names a specific verb and resource ("Set the polyphony of the patch") and immediately glosses it as "how many notes can sound at once (1–16)", so the agent knows exactly what changes. It doesn't explicitly differentiate from set_param or other set_* siblings, which keeps it 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 Guidelines4/5

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

The second sentence gives concrete when-to-use context: chords from a keyboard or Note Grid need as many voices as notes, while a mono bass or lead sounds best with 1. This is practical guidance for choosing a value, though it offers no explicit exclusions or alternative tools.

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