Skip to main content
Glama

take_set_playrate

Change a take's playrate to time-stretch audio, with optional pitch preservation. Use to fit a chop to a beat grid or create speed changes.

Instructions

Time-stretch a take by changing its playrate.

With preserve_pitch=True (default), audio plays slower/faster without changing pitch — useful for fitting a chop to a beat grid. With preserve_pitch=False, this becomes a vinyl-style speed change (faster = higher pitch).

After changing the rate, the item's visible length in the timeline does NOT auto-resize. Call item_set_length afterwards to match.

Args: item_index: Global 0-based item index. rate: Playback rate. 1.0 = normal, 0.5 = half speed, 2.0 = double. Range 0.05 to 16.0. preserve_pitch: Time-stretch without pitch change. Default True.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
rateYes
item_indexYes
preserve_pitchNo
Behavior5/5

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

No annotations provided, but description fully discloses behavior: time-stretch effect with pitch preservation, speed change without pitch preservation, and that item length does not auto-resize. No contradictions.

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?

Description is concise and front-loaded with purpose. Uses clear bullet-style for args. Minor redundancy but overall efficient.

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 complexity (3 params, no output schema, 40+ siblings), description is complete. Explains effect, post-conditions (length not resized), parameter details, and usage scenarios. No need for more.

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?

Schema coverage is 0%, so description must explain all parameters. It does: item_index (global 0-based), rate (playback rate with range 0.05-16.0 and examples), preserve_pitch (default True, effect explained). Adds meaning beyond 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?

Clearly states 'Time-stretch a take by changing its playrate.' Distinguishes from siblings like transport_set_playrate, take_set_pitch, and take_set_reversed by specifying the behavior and use cases (fitting chop to beat grid, vinyl-style speed change).

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

Usage Guidelines5/5

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

Explicitly tells when to use (fitting chop to beat grid, vinyl-style) and what not to expect: 'item's visible length does NOT auto-resize. Call item_set_length afterwards.' This guides the agent to use another tool after, providing clear 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