Skip to main content
Glama

FL Undo (one step, NOT rollback-covered)

fl_undo
Destructive

Step back one FL Studio undo step to reverse the most recent action. Note that it bypasses rollback snapshots, so undo and rollback do not commute.

Instructions

One FL undo step (general.undoUp). WARNING: not covered by fl_rollback_last_change -- undo jumps FL's own history and nothing readable describes what was undone, so no snapshot exists. Undo and rollback do NOT commute (see the response warning); coverage varies by action type. The response includes last_rollback -- the newest changelog entry, which an undo may have just cancelled.

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": "fl_undo"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.0.0

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the annotations (destructiveHint=true, idempotentHint=false) by explaining why: no snapshot exists because FL's internal history is jumped and nothing readable records what was undone. It also flags non-commutativity with rollback, action-type-dependent coverage, and that a response warning accompanies the call — material consequences an agent cannot get from structured fields.

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 core identity and the capitalized WARNING are front-loaded, and every clause carries information. Minor deduction for awkward mid-sentence line breaks and a slightly convoluted clause ('nothing readable describes what was undone, so no snapshot exists') that could be tightened.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a zero-parameter mutation with an output schema, the description covers the risky parts: irreversibility, interaction with rollback, action-type variance, and the meaning of the returned `last_rollback` entry. Nothing an agent needs before invoking is missing.

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?

The tool takes zero parameters, so the baseline is 4; there is no parameter meaning the description needs to add. The only referenced field, `last_rollback`, is a response field rather than an input.

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?

Names a specific verb and resource — 'One FL undo step (general.undoUp)' — and immediately scopes it against the sibling fl_rollback_last_change. An agent can distinguish it from the rollback tool without opening either schema.

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?

Gives clear negative guidance: this tool is NOT covered by fl_rollback_last_change, and undo/rollback do not commute, plus coverage varies by action type. It stops short of an explicit positive rule ('call this when you want to reverse a single non-snapshot-covered action'), leaving the agent to infer the selection rule from the contrast.

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

Deploy Server

Other Tools