Skip to main content
Glama

apply_recipe

Validates and applies recipe steps by sending ordered parameter moves over OSC to a live Surge XT synthesizer.

Instructions

Apply recipe steps from design_sound: each item needs address and value (floats 0.0-1.0, ints raw, bools 0/1). Validates every step, then sends every move over OSC in order.

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": {
      "steps": "<steps>"
    },
    "name": "apply_recipe"
  }
}

Input Schema

NameRequiredDescriptionDefault
stepsYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose two important traits: all steps are validated before any are sent, and moves are dispatched over OSC in order. It omits the failure path (does a failed validation mean nothing is applied?), whether this mutates live synth state, and whether a connection is required.

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 with no filler: the action and source come first, then the item contract, then the execution semantics. Every clause carries information an agent needs.

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?

An output schema exists, so return values need not be explained, and for a single-parameter batch tool the description covers the item shape and execution order well. The main remaining gap is error/rollback behavior when validation fails, which matters for a batch mutation.

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% — the schema is only an untyped array of free-form objects — so the description must compensate, and it does: it names the required keys (address, value) and gives the value encoding rules (normalized floats 0.0-1.0, raw ints, bools as 0/1). The address string format itself is still unexplained, relying on design_sound output.

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 ("Apply recipe steps from design_sound") and ties the input back to the sibling that produces it, which separates it from the individual mutators like set_parameter. It does not explicitly contrast with those siblings, but the provenance clause does most of the differentiation work.

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?

Usage is implied rather than stated: the tool is for applying a recipe obtained from design_sound, presumably as a batch alternative to many single set_parameter calls. There is no explicit when-not guidance, no note on prerequisites (e.g. a live Surge/OSC connection), and no statement of what to do if validation fails.

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