Skip to main content
Glama

item_set_length

Set the length of a specific item in REAPER by providing its index and desired duration in seconds.

Instructions

Set item length.

Args: item_index: Item index. length: Length in seconds.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
item_indexYes
lengthYes
Behavior2/5

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

No annotations are provided, and the description only states the basic operation. It does not disclose whether setting length is destructive, what happens if the length is out of range, or if it affects the underlying media. The description lacks behavioral context.

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 very concise with a one-line summary and an Args block. It is efficient with no extraneous text. However, the Args section could be more integrated into a narrative. Still, it's well-structured for a short description.

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 and the tool's mutating nature, the description lacks crucial information such as return value, error conditions, or side effects. With many sibling tools, more context is needed for correct invocation.

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

Parameters3/5

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

The input schema has 0% description coverage, so the description compensates by stating 'Item index' for item_index (same as schema title) and 'Length in seconds' for length, adding the unit. This provides some additional meaning but is minimal. A score of 3 is appropriate as baseline for low schema coverage with partial compensation.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states 'Set item length,' which indicates the action and resource. The parameter names (item_index, length) further clarify. It distinguishes from sibling tools that set other item properties like volume or mute.

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 is provided on when to use this tool versus alternatives, such as when to use item_set_fade or item_split. There is no mention of prerequisites or context for use.

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