Skip to main content
Glama
se02-mcp

se02-mcp

by cafeTechne

Se02 Set Pattern

se02_set_pattern

Edit a Roland SE-02 step sequencer pattern by setting tempo, scale, direction, shuffle, step notes/gates, and patch associations for the edit buffer or stored patterns.

Instructions

Edit a pattern. number 0 = the edit buffer; 1-128 = stored pattern, saved directly. tempo 40-300 BPM; sync Int / MIDI / USB / Trigger (MIDI = follow an external MIDI clock); scale 1/16, 1/8, 1/4, 1/16T, 1/8T, 1/4T; first_step / last_step 1-16; direction forward / backward / pingpong / random; shuffle -50..50; destination internal / external / both; key_trigger off / on / transpose; patch_bank A / B / C / USER / D with patch 1-128 = the sound saved with the pattern. steps: [{"step": 1-16, "note": 0-127, "gate": 1-100 (%) or "tie", "on": true, "glide": false, "prm": {"param": "cutoff", "value": 0-255}}] (prm: one knob value stored on the step; {"prm": null} clears).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "se02_set_pattern"
  }
}

Input Schema

NameRequiredDescriptionDefault
syncNo
patchNo
scaleNo
stepsNo
tempoNo
numberNo
shuffleNo
directionNo
last_stepNo
first_stepNo
patch_bankNo
destinationNo
key_triggerNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.0.1

TDQS

A4/5.0
Behavior4/5

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

With zero annotations the description carries the full burden, and it delivers real behavioral content: patterns 1-128 are written through immediately while 0 targets the volatile edit buffer, and each parameter's accepted range is spelled out. It omits what happens to parameters left unspecified (schema defaults of 0/""/-99 are unexplained and could silently wipe settings), whether an existing stored pattern is overwritten, and any connection/error requirements.

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?

It is dense but essentially waste-free, front-loading the tool's purpose and the critical buffer/saved distinction before the parameter catalog. The semicolon-chained spec dump is hard to scan and mixes top-level parameters with the nested steps structure without a visual break.

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 13-parameter tool with no annotations and no schema descriptions, the description is thorough, and return values are covered by the existing output schema. It falls short on omitted-parameter semantics, the glide flag, and overwrite/error behavior when writing to stored pattern slots.

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 description coverage is 0% across 13 parameters, so the description must supply all meaning, and it does: enumerated values for sync, scale, direction, destination, key_trigger, patch_bank, numeric ranges for tempo, first/last step, shuffle and note, the tie/percentage convention for gate, and the nested step object's step/note/gate/on/glide/prm fields including that {"prm": null} clears a stored knob value. The only unexplained items are the glide flag and the meaning of omitted parameters.

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 opening "Edit a pattern" gives a specific verb and resource, and the immediately following clause ("number 0 = the edit buffer; 1-128 = stored pattern, saved directly") sharpens what kind of edit this is. It does not explicitly contrast itself with se02_set_patch or se02_set_song, so an agent must infer the split from the resource noun alone.

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 buffer-vs-stored distinction tells the agent how to choose a target, which is the main usage decision here. There is no explicit when-to-use/when-not framing and no mention of the sibling se02_set_song or se02_set_patch as alternatives for adjacent editing tasks.

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