Skip to main content
Glama

remove_send

Remove a send from a track by specifying the source track index and send index. Streamline your REAPER mix by eliminating unwanted routing connections.

Instructions

Remove a send from a track by its index.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
source_track_indexYes
send_indexYes

Implementation Reference

  • The actual handler function that removes a send from a track by calling RPR.RemoveTrackSend. It gets the project, accesses the track by index, removes the send at the given send_index, and returns success/error.
    def remove_send(source_track_index: int, send_index: int) -> dict:
        """Remove a send from a track by its index."""
        try:
            project = get_project()
            track = project.tracks[source_track_index]
            RPR.RemoveTrackSend(track.id, 0, send_index)
            return {"success": True, "source_track_index": source_track_index, "send_index": send_index}
        except Exception as e:
            return {"success": False, "error": str(e)}
  • The @mcp.tool() decorator registers the remove_send function as an MCP tool. The registration is triggered by server.py importing mixing_tools.register_tools and calling it with the mcp instance.
    @mcp.tool()
    def remove_send(source_track_index: int, send_index: int) -> dict:
        """Remove a send from a track by its index."""
        try:
            project = get_project()
            track = project.tracks[source_track_index]
            RPR.RemoveTrackSend(track.id, 0, send_index)
            return {"success": True, "source_track_index": source_track_index, "send_index": send_index}
        except Exception as e:
            return {"success": False, "error": str(e)}
  • The get_project helper is imported from reaper_mcp.connection and used within remove_send to obtain the current REAPER project.
    from reaper_mcp.connection import get_project
  • Input parameters are defined via type hints: source_track_index (int) and send_index (int). The return type is dict.
    def remove_send(source_track_index: int, send_index: int) -> dict:
Behavior2/5

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

No annotations are provided, and the description does not disclose behavioral traits such as irreversibility, existence checks, or side effects on track routing. It is too brief for a removal operation.

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 a single sentence, 8 words, with no wasted text. It is front-loaded but could benefit from a bit more detail without becoming verbose.

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?

Given no output schema, no annotations, and low complexity, the description fails to explain the outcome (e.g., is the send entirely removed or just detached?). It is insufficient for an agent to use correctly without additional schema info.

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?

The schema has 0% description coverage. The description only mentions 'by its index', which vaguely refers to send_index but does not clarify source_track_index. Agent would need to infer or test.

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' and the resource 'send' with scope 'from a track by its index'. It distinguishes itself from siblings like create_send, list_sends, and set_send_volume.

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?

The description provides no guidance on when to use this tool versus alternatives (e.g., remove_fx). It lacks context on prerequisites or when not to use it.

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