Skip to main content
Glama

generate_rhythm_track

Create a customizable metronome or click track in Audacity to establish rhythm with control over tempo, time signature, swing, click type, and start offset.

Instructions

Generate a metronome/click rhythm track.

Args: tempo_bpm: Tempo, 30-300 beats/minute. Default: 120.0 beats_per_bar: Time signature numerator, 1-20. Default: 4 swing: Swing amount, -1 to 1. Default: 0.0 num_bars: Number of bars to generate, 0-1000. Set to 0 to use duration_seconds instead. Default: 16 duration_seconds: Duration to fill, used only when num_bars is 0. Default: 0.0 start_offset: Silence before the first beat, in seconds. Default: 0.0 click_type: One of: Metronome, Ping (short), Ping (long), Cowbell, ResonantNoise, NoiseClick, Drip (short), Drip (long). Default: "Metronome" strong_beat_pitch: MIDI pitch of the strong (first) beat, 18-116. Default: 84 weak_beat_pitch: MIDI pitch of weak beats, 18-116. Default: 80

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
swingNo
num_barsNo
tempo_bpmNo
click_typeNoMetronome
start_offsetNo
beats_per_barNo
weak_beat_pitchNo
duration_secondsNo
strong_beat_pitchNo

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.1.0

TDQS

A4/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 of behavioral disclosure. It does explain parameter behavior—defaults, ranges, and the interaction between num_bars and duration_seconds. It also reveals that start_offset creates silence before the first beat. However, it does not describe what the output is (e.g., a generated track in the project), whether it requires a selected track, whether it creates a new track, or how the generated click track behaves after generation. With such a detailed parameter list, a fuller behavioral disclosure was possible.

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 a compact docstring-style paragraph followed by a clear Args list. Every parameter earns its place with a range and/or purpose. It is slightly long, but for a 9-parameter generation tool, the density is justified. The core verb+resource sentence is front-loaded. The main deduction is that the parameter list is formatted as an Args block that is slightly repetitive with defaults already visible in the schema, though the ranges and semantics add value.

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

Completeness4/5

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

For a 9-parameter generation tool with no output schema, the description is highly complete on parameters and generation semantics. It explains tempo, time signature, swing, bar counting, duration-based mode, silence offset, click timbres, and pitches. Missing pieces are workflow context: whether this generates a new track, requires a destination track, or what state the project must be in. Sibling generation tools like generate_tone likely need the same context, but the description doesn't state it.

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 description coverage is 0%, yet the description documents all 9 parameters with ranges and defaults—far beyond the schema's bare type/title/default. It explains the meaning of tempo_bpm, beats_per_bar as time signature numerator, swing, the choice between num_bars and duration_seconds, and the click_type enum values. It also gives strong/weak beat pitch definitions. This fully compensates for the lack of schema descriptions.

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 starts with an explicit verb and resource: 'Generate a metronome/click rhythm track.' This clearly distinguishes it from sibling generation tools like generate_tone, generate_chirp, generate_noise, generate_dtmf, and generate_silence. The phrase 'metronome/click' immediately tells an agent what kind of audio this tool produces.

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?

The description explains parameters such as num_bars and duration_seconds, with explicit guidance like 'Set to 0 to use duration_seconds instead' and 'used only when num_bars is 0.' This is useful selection between modes. However, it does not explicitly state when to choose generate_rhythm_track over generate_tone or other generation tools, nor does it give exclusions. The context of a click/metronome track is implied but not stated as a 'when-to-use' statement.

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/Audacity4-MCP'

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