Skip to main content
Glama

set_time_selection

Define or clear time selection and loop points, or toggle repeat, to loop a section while editing or for actions that need a selection.

Instructions

Sets or clears the time selection and loop points, and turns repeat on/off: for looping a section while working on it, or for actions that use the selection.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
loopNoAlso set the loop points to the same range
clearNoClear the time selection (and loop points)
repeatNoTurn loop playback (repeat) on or off
end_barNoBar, 1-based
end_beatNo
start_barNoBar, 1-based
start_beatNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.19.1

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are provided, so the description carries the burden. It usefully discloses the set-vs-clear dual nature and that repeat is toggled, but says nothing about mutual exclusivity of clear/loop/coordinate params, defaults when nothing is passed, or whether start/end must be ordered.

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?

One front-loaded sentence with the verb first and the rationale trailing after a colon; no wasted words. The trailing clause is slightly run-on but still earns its place by conveying intent.

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?

With 7 parameters, no annotations, and no output schema, the description covers the three mode axes but leaves gaps around how the bar/beat coordinates are combined, what happens when they are omitted, and what state results after clearing.

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?

Schema coverage is 71%, so most parameters are self-described. The description's mode enumeration loosely maps to loop/clear/repeat, but the four bar/beat coordinate parameters receive no explanation of how they interact or override the current selection.

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 states three specific verbs and their objects: sets/clears the time selection and loop points, and turns repeat on/off. An agent immediately knows this is a transport-selection mutator, distinct from siblings like set_tempo or transport.

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

Usage Guidelines3/5

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

It gives a use case ('for looping a section while working on it, or for actions that use the selection'), which implies when the tool is relevant, but names no alternatives and gives no when-not guidance. Usage is inferable rather than explicit.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools