Skip to main content
Glama

create_midi_item

Create a MIDI item on a specified track in REAPER DAW. Set the start position and length in beats to add MIDI data for composition and arrangement.

Instructions

Create a MIDI item on a track.

Args:
    track_number: Track number (1-based)
    position: Start position in beats
    length: Length in beats (default: 4 = 1 bar in 4/4)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
track_numberYes
positionNo
lengthNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It states the action ('Create') but doesn't mention whether this requires specific permissions, what happens if the track doesn't exist, whether the creation is reversible, or any side effects. The description lacks crucial behavioral context for a mutation 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 appropriately concise with a clear purpose statement followed by parameter explanations. The parameter documentation is well-structured with brief but informative explanations. No wasted words, though the formatting with 'Args:' could be slightly cleaner.

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?

Given that there's an output schema (which handles return values), no annotations, and 3 parameters with good semantic coverage in the description, the description is moderately complete. However, for a mutation tool in a complex domain like music production, more behavioral context (error conditions, dependencies, side effects) would be beneficial.

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

Parameters4/5

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

The description provides meaningful semantic information for all three parameters beyond what the schema offers (which has 0% description coverage). It explains that 'track_number' is 1-based, 'position' is in beats, and 'length' is in beats with a helpful default interpretation (4 = 1 bar in 4/4). This compensates well for the schema's lack of descriptions.

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 the action ('Create a MIDI item') and the target ('on a track'), providing a specific verb+resource combination. However, it doesn't differentiate from sibling tools like 'add_notes' or 'create_track', which might have overlapping functionality in a music production context.

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 like 'add_notes' (which might add notes to an existing MIDI item) or 'create_track' (which creates a new track). There's no mention of prerequisites, dependencies, or contextual constraints.

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/yura9011/scythe_mcp_reaper'

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