Skip to main content
Glama

bypass_fx

Control whether an FX plugin on a specific track is enabled or disabled by setting its bypass state using track and FX indices.

Instructions

Enable or bypass (disable) an FX plugin on a track.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
track_indexYes
fx_indexYes
bypassedYes

Implementation Reference

  • The actual handler function for the bypass_fx tool. It takes track_index, fx_index, and bypassed (bool) parameters, gets the project, finds the track and FX, and sets fx.is_enabled = not bypassed to enable or bypass the FX plugin.
    @mcp.tool()
    def bypass_fx(track_index: int, fx_index: int, bypassed: bool) -> dict:
        """Enable or bypass (disable) an FX plugin on a track."""
        try:
            project = get_project()
            track = project.tracks[track_index]
            fx = track.fxs[fx_index]
            fx.is_enabled = not bypassed
            return {
                "success": True,
                "track_index": track_index,
                "fx_index": fx_index,
                "fx_name": fx.name,
                "bypassed": bypassed,
            }
        except Exception as e:
            return {"success": False, "error": str(e)}
  • The registration function that takes an mcp instance. The @mcp.tool() decorator on bypass_fx registers it as an MCP tool.
    def register_tools(mcp):
  • The bypass_fx tool is registered when _reg_fx(mcp) is called (line 23), which invokes register_tools from fx_tools.py. _reg_fx is imported from reaper_mcp.fx_tools at line 13.
    _reg_project(mcp)
    _reg_track(mcp)
    _reg_midi(mcp)
    _reg_fx(mcp)
    _reg_audio(mcp)
    _reg_mixing(mcp)
    _reg_render(mcp)
    _reg_mastering(mcp)
    _reg_analysis(mcp)
  • The get_project() helper function used by bypass_fx to obtain the current REAPER project. It calls ensure_connected() first, then returns reapy.Project().
    def get_project() -> reapy.Project:
        ensure_connected()
        return reapy.Project()
Behavior3/5

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

The description indicates a direct set action, but does not clarify if it toggles or sets to the given state, nor does it mention side effects or permissions. With no annotations, more detail would be beneficial.

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?

The description is a single, concise sentence with no wasteful words.

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?

The description lacks context on indexing (0-based?), success/failure behavior, and required prior steps (e.g., track must have FX). With no output schema and limited annotations, it is insufficient.

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

Parameters2/5

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

Parameters have clear names (track_index, fx_index, bypassed), but the description adds no additional meaning. With zero schema description coverage, more elaboration is needed to clarify indexing and boolean meaning.

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 tool enables or bypasses an FX plugin on a track, specifying the verb and resource. It distinguishes from siblings like remove_fx (removes) and add_fx (adds).

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 versus alternatives (e.g., get_fx_parameters to check current state). No prerequisites or exclusions mentioned.

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