Skip to main content
Glama

load_preset

DestructiveIdempotent

Load a preset through a relay. It replaces the sound held: tell the user, who must accept.

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": {
      "code": "<code>",
      "id": "<id>"
    },
    "name": "load_preset"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesPreset id.
codeYesThe relay's pairing code.
portNoOutput port name or part of it.
deviceNoAnother device of get_preset's loads_on.
gap_msNoPause between SysEx messages (default 50).
user_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • changedInput schema / properties / code / description
      Previous value: -"The pairing code the relay page or program shows."New value: +"The relay's pairing code."
    • changedInput schema / properties / device / description
      Previous value: -"The device it goes into, when not the preset's own: one of get_preset's loads_on (an M-VAVE FM-1 takes DX7 voices); the sound is sent unchanged."New value: +"Another device of get_preset's loads_on."
    • changedInput schema / properties / gap_ms / description
      Previous value: -"Pause between the SysEx messages, for devices that write slowly (default 50)."New value: +"Pause between SysEx messages (default 50)."
    • changedInput schema / properties / id / description
      Previous value: -"Preset id (e.g. 'p3fa9c1d2e4b7')."New value: +"Preset id."
    • changedInput schema / properties / port / description
      Previous value: -"Output port name (or part of it); needed when the relay has several."New value: +"Output port name or part of it."
    • removedInput schema / properties / user_id / description
      Removed value: -"Your anonymous SynthHub id, if you kept it from an earlier session (see the server instructions). Optional."
  2. Changed1 schema field changed
    • addedInput schema / properties / device
      Added value: +{
      +  "description": "The device it goes into, when not the preset's own: one of get_preset's loads_on (an M-VAVE FM-1 takes DX7 voices); the sound is sent unchanged.",
      +  "type": "string"
      +}
  3. Added

TDQS

A3.6/5.0
Behavior4/5

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

The annotations already flag destructiveHint=true and openWorldHint=true, and the description adds the crucial specifics: the currently held sound is replaced, and the user must be told and must accept. That converts an abstract 'destructive' flag into an actionable obligation for the agent. It does not cover failure modes or what happens if the relay is unreachable.

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?

Two short sentences, front-loaded with the action and followed immediately by the consequence and consent requirement. Minor awkwardness in 'the sound held' costs a little clarity but nothing is wasted.

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 six-parameter, non-idempotent-looking mutation with no output schema, the definition covers the essential danger (sound replacement plus user consent) adequately. It leaves unaddressed how to resolve the port/device targeting and what a successful load returns or how errors surface.

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 83%, so the schema already explains id, code, port, device, and gap_ms. The description adds no meaning beyond that — nothing about how device relates to get_preset's loads_on or how port matching works. Baseline 3 applies when the schema carries the parameter burden.

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?

States a specific verb and resource — 'load a preset through a relay' — which clearly separates it from retrieval-oriented siblings like get_preset or find_presets. It stops short of naming any sibling explicitly, so the differentiation is inferred rather than stated.

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?

The phrase 'through a relay' plus the required 'code' implies a relay pairing must already exist, and 'the user must accept' sets a consent precondition. However, there is no guidance on when to choose this over get_preset or take_sound, nor what to do if no relay is paired.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.