Skip to main content
Glama

set_device_params

Sets multiple controls on a track's sound or effect at once from control-name-to-raw-value mappings, validating all entries so an invalid value changes nothing.

Instructions

Turn the controls of one sound or effect, all at once. values maps a control name from get_device_params (case ignored) to a raw number between its min and max, or for a switch one of its items, e.g. {"Frequency": 0.6, "Device On": "Off"}. Raw numbers are not units: read display in the result and adjust. If any entry is wrong, nothing changes.

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>",
      "values": "<values>"
    },
    "name": "set_device_params"
  }
}

Input Schema

NameRequiredDescriptionDefault
trackYes
deviceNo
valuesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare this is a non-read-only but non-destructive, closed-world write. The description adds genuinely new behavior: the operation is atomic ('If any entry is wrong, nothing changes') and inputs are raw values rather than units. It does not cover permissions, error messages, or what the result contains beyond a display field.

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 core action, then input format, then the atomicity caveat. The inline example carries a lot of meaning cheaply. Minor awkwardness in the line break mid-sentence, but nothing is padding.

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?

For a nested-object mutation with no output schema, the description covers the tricky `values` payload and atomicity but leaves the two required/locating parameters (`track`, `device`) unexplained and only hints at the result shape via 'read display in the result'. Adequate, not complete.

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% and there are three parameters. The description explains the `values` object well (case-insensitive control names, min/max raw numbers, switch items, with an example JSON), but says nothing about `track` or `device` (including that `device` may be an array), so only part of the gap is compensated.

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 opens with a concrete verb+resource: turning all controls of one sound/effect at once, which contrasts naturally with the read counterpart get_device_params. It is clear what the tool does, though it never explicitly frames itself as the write-side sibling of get_device_params, so the differentiation is left partly implicit.

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?

It gives real context for use: control names must come from get_device_params, and raw numbers must be tuned by reading the display in the result. It does not state any when-not-to-use case or mention alternatives other than the read tool, so it stops short of full routing guidance.

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