Skip to main content
Glama

Set steps

set_steps
Destructive

Write sequencer steps in one call: set up to four trigger-sequence track patterns on pages A–D, or define up to 16 step-sequence MIDI notes and let the module fit them to its scale.

Instructions

Write the steps of a sequencer in one call. Trigger Seq: "tracks", each a track (1–4) and a pattern of up to 16 characters, "x" a hit and "." a rest (e.g. "x...x...x...x..." four on the floor), on page A–D (default: the page the module shows); the other tracks are kept, and written tracks leave Euclidean mode. Step Seq: "notes", up to 16 MIDI pitches (60 = C4) or null for a silent step; the length follows, and each pitch is fitted to the module's scale and octave range (from C4 up), so the notes actually set are returned. For a Note Grid, use set_notes.

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

Input Schema

NameRequiredDescriptionDefault
idYes
pageNo
notesNo
tracksNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.6.1

TDQS

A4.5/5.0
Behavior4/5

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

The annotations already declare a destructive write (readOnlyHint=false, destructiveHint=true), and the description adds meaningful side effects: other tracks are kept, written tracks leave Euclidean mode, and Step Seq pitches are fitted to the module's scale and octave range. It does not explicitly state that an existing pattern on the addressed track is overwritten, which is the main remaining behavioral gap.

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?

The description is front-loaded with the core action and then organized by sequencer mode. It is dense but each clause contributes useful format detail; the semicolon-heavy structure could be slightly easier to scan, but it avoids wasted prose.

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 destructive mutation with no output schema and 0% schema description coverage, the description covers the essential mode-specific behavior and even states that the fitted notes are returned. It is nearly complete, but does not explain the id parameter or explicitly confirm whether a written track's previous pattern is replaced.

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 description coverage is 0%, so the description must carry parameter meaning; it does so well for tracks, page, and notes. It explains the track range (1–4), the 16-character x/./- pattern format with an example, page defaults, MIDI pitch convention (60 = C4), null for silent steps, and pitch fitting. The required id parameter is not explained, and the mutual exclusivity of notes vs. tracks is only implied.

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?

Opens with a specific verb and resource: "Write the steps of a sequencer in one call." It immediately distinguishes the two supported sequencer modes (Trigger Seq vs. Step Seq) and names the separate set_notes tool for Note Grids, so the agent can identify the right operation without opening another schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

Explicitly maps usage to the target module type: use "tracks" for a Trigger Seq and "notes" for a Step Seq. It also names the alternative tool for Note Grids ("For a Note Grid, use set_notes"), giving a clear routing rule rather than leaving the agent to infer it.

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