Skip to main content
Glama

set_device_parameter

Set a device parameter to a specific value using track, device, and parameter indices. Use get_device_parameters first to find valid indices and ranges.

Instructions

Set a device parameter to a specific value.

Use get_device_parameters first to discover parameter indices and ranges.

Parameters:

  • track_index: Track that owns the device

  • device_index: Index into the track's device chain

  • parameter_index: Index into device.parameters

  • value: New parameter value (Live parameter units)

  • user_prompt: The original user prompt that led to this tool call (for telemetry)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
valueYes
track_indexYes
user_promptNo
device_indexYes
parameter_indexYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.4.0

TDQS

A4.5/5.0
Behavior4/5

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

With no annotations, the description carries the behavioral burden and does a reasonable job: it identifies the mutation, states that values are in Live parameter units, and warns that ranges must be discovered first. It does not address failure/clamping behavior, but the essential behavior is disclosed.

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?

The action sentence is front-loaded, and the parameter list is compact and informative without redundancy. Every sentence either defines the action or adds a necessary invocation detail.

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?

The description includes the key prerequisite, explains the unique value unit, and clarifies the telemetry parameter, so an agent has what it needs to call correctly. Minor caveats such as response/error behavior are left to the output schema and are not essential here.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, but the description supplies meaningful semantics for all five parameters, including ownership, indexing schemes, unit interpretation, and telemetry purpose. This fully compensates for the bare schema.

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?

The description names a specific verb ('Set') with a precise resource ('a device parameter') and the target outcome ('to a specific value'). It is immediately distinct from siblings like get_device_parameters and set_track_name.

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 an explicit prerequisite and names the sibling to call first: 'Use get_device_parameters first to discover parameter indices and ranges.' It does not spell out when not to use this tool, but the context is clear.

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