Skip to main content
Glama

item_split_at_transients

Split audio items at every detected transient, isolating each beat or hit for precise slicing, repitching, or rearrangement.

Instructions

Slice an audio item at every detected transient.

Uses REAPER's native transient detection (action 40310). Sensitivity is controlled by REAPER's project settings (Options → Preferences → Project → Item handling → Transient detection sensitivity), not by this tool — set it once in REAPER and it applies to every call.

Args: item_index: Global 0-based item index of the source audio item.

Returns: chops_created: number of new items created from the split. chops_total: total items now spanning the original time range. chops: list of {item_index, position, length, offset_in_original_sec} in playback order. The AI uses these indices to repitch / duplicate / reverse individual chops.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
item_indexYes
Behavior4/5

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

With no annotations, the description discloses key behaviors: it uses REAPER's native transient detection (action 40310), sensitivity is set once in project settings, and it returns detailed chop information. It lacks mention of undo behavior or error handling but is otherwise transparent.

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 concise with no wasted words. It uses clear structure with sections for Args and Returns, and front-loads the purpose.

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?

Given no annotations or output schema, the description provides thorough context including behavior, external dependency, and return format. It covers all essential aspects for an agent to use the tool correctly.

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?

The input schema has 0% description coverage, but the description fully compensates by defining item_index as 'Global 0-based item index of the source audio item,' adding essential semantics beyond the schema.

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 slices an audio item at every detected transient, using a specific verb ('Slice') and resource ('audio item'). It differentiates from siblings like item_split_at_positions by focusing on transient-based splitting.

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?

The description explains when to use the tool and notes that sensitivity is controlled externally in REAPER settings. It does not explicitly exclude alternatives but provides sufficient context for usage.

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/xDarkzx/Reaper-MCP'

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