Skip to main content
Glama
wegitor
by wegitor

duplicate_item

Duplicate an existing item on a REAPER track, specifying its new position in seconds or as a measure:beat fraction. Supports item identification by index or direct ID.

Instructions

Duplicate an existing item on a track.

Item Identification - Accepts BOTH types:

  • track_pos_idx (integer): Simple index like 0, 1, 2

  • direct_item_id (string): Internal ID like "MediaItem*0x..."

Args: track_index: Index of the track item_id: EITHER integer track_pos_idx OR string direct_item_id new_time: New position in seconds (optional) new_measure: New position as "measure:beat,fraction" (optional)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
item_idYes
new_timeNo
new_measureNo
track_indexYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

With no annotations, the description must disclose behavior, but it only states that it duplicates an item and describes identifiers. It does not explain what happens to the original item, where the duplicate is placed if no new_time/new_measure is given, whether the duplicate is selected, or any other side effects, leaving significant ambiguity.

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 front-loaded with a clear one-sentence purpose and then organized into sections. However, the item identification information is repeated: 'track_pos_idx (integer)' and 'direct_item_id (string)' appear in the Item Identification section and then are restated in the Args list, adding some redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool has an output schema, so return values don't need describing, but the description leaves ambiguities about the interaction of new_time and new_measure (e.g., which takes precedence) and the default duplicate position when neither is supplied. It also gives no error or edge-case guidance. Overall it's mostly complete but has clear gaps.

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 schema provides no descriptions, so the description compensates fully: it explains track_index as the track index, item_id as either an integer track position or a string internal ID with examples, new_time as seconds, and new_measure using a 'measure:beat,fraction' format. This gives the agent necessary meaning beyond the raw 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's action: 'Duplicate an existing item on a track.' This is a specific verb and resource, distinguishing it from sibling tools that create, delete, or query items.

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 gives clear context on how to identify items (track_pos_idx or direct_item_id) and how to set the new position via optional times. However, it does not explicitly discuss when to use this tool over alternatives or any exclusions, though none are obvious.

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/wegitor/reaper-reapy-mcp'

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