Skip to main content
Glama

Make a MIDI file from chords

midi_generate

Create a downloadable .mid file from a chord list, as block chords, arpeggios or a bass line. Returns the file base64 encoded so it can be saved and opened in any DAW. Cost: 1 credit per call.

Input Schema

NameRequiredDescriptionDefault
bpmNo
seedNoSame seed gives the same velocities
chordsYesChord names, e.g. ['Am','F','C','G']
octaveNo
patternNoblock
beats_per_chordNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does add real behavioral context: the output is base64-encoded, it is a downloadable file usable in any DAW, and each call costs 1 credit. It omits determinism behavior, error cases, and the practical limits (32 chords, bpm 40-240) that live only in the schema.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences, each doing distinct work: what is produced, how it is returned, and what it costs. The capability statement is front-loaded and there is no filler.

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?

There is no output schema, and the description correctly fills that gap by explaining the base64 return payload and DAW compatibility. Cost is also covered, which annotations would normally not provide. Remaining gaps are the unstated generation constraints and the non-documented musical parameters.

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 description coverage is only 33%, so the description must compensate and it partly does by enumerating the pattern options (block, arpeggio, bass) that map to the enum parameter. However, bpm, octave, beats_per_chord, and seed receive no explanation anywhere, and the chord-format hint in the schema is left unreinforced.

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 states a specific verb and resource: 'Create a downloadable .mid file from a chord list', and names the three pattern variants (block chords, arpeggios, bass line). That is enough to separate it from analysis-oriented siblings like music_theory or tempo_calculator, but it never explicitly contrasts itself with adjacent audio tools such as add_background_music.

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?

Usage is implied by the purpose: an agent can infer it should call this when it needs a MIDI file rendered from chord symbols. There is no explicit when-to-use/when-not-to-use statement, no mention of prerequisites, and no alternative tool named for related tasks.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.