Skip to main content
Glama

remove_fx

Eliminate unwanted FX plugins from REAPER tracks by specifying the track and FX index. Maintain an organized mixing environment with targeted removal.

Instructions

Remove an FX plugin from a track by its index.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
track_indexYes
fx_indexYes

Implementation Reference

  • The remove_fx tool handler. It takes a track_index and fx_index, looks up the FX name, then calls RPR.TrackFX_Delete to remove the FX plugin from the track. Returns success/failure dictionary.
    @mcp.tool()
    def remove_fx(track_index: int, fx_index: int) -> dict:
        """Remove an FX plugin from a track by its index."""
        try:
            project = get_project()
            track = project.tracks[track_index]
            fx_name = track.fxs[fx_index].name
            RPR.TrackFX_Delete(track.id, fx_index)
            return {"success": True, "track_index": track_index, "removed": fx_name}
        except Exception as e:
            return {"success": False, "error": str(e)}
  • The register_tools function is where @mcp.tool() decorates remove_fx, registering it as an MCP tool.
    def register_tools(mcp):
  • The input schema for remove_fx: accepts track_index (int) and fx_index (int). Returns a dict with success/error or success, track_index, removed (fx name).
    def remove_fx(track_index: int, fx_index: int) -> dict:
        """Remove an FX plugin from a track by its index."""
  • Import of register_tools from fx_tools module (aliased as _reg_fx) into the server.
    from reaper_mcp.fx_tools import register_tools as _reg_fx
  • Invocation of _reg_fx(mcp) which registers all FX tools including remove_fx.
    _reg_fx(mcp)
Behavior2/5

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

No annotations provided, so the description carries full burden. It only states the action without disclosing side effects (e.g., immediate removal, undo behavior, error handling for invalid indices).

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?

Single sentence with no wasted words. Front-loaded with the action and target.

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

Completeness2/5

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

Essential context is missing: no mention of prerequisite steps (e.g., list_track_fx to get indices), no description of expected behavior for edge cases (e.g., invalid index), and no output schema to describe the result.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0% and the description does not explain the parameters. 'track_index' and 'fx_index' are just named; their meaning (e.g., fx_index is the index in the track's FX chain) is not elaborated, leaving the agent to infer.

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?

The description clearly states the verb 'remove', the resource 'FX plugin', and the scope 'from a track by its index'. It distinguishes itself from sibling tools like add_fx and bypass_fx.

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

Usage Guidelines2/5

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

No guidance on when to use this tool vs alternatives (e.g., bypass_fx). No prerequisites mentioned, such as needing to list track FX first to obtain the correct index.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/bonfire-audio/reaper-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server