Skip to main content
Glama
francescojr

nobu

by francescojr

generate_scale

Generate MIDI notes for a musical scale to provide a palette of valid pitches, preventing out-of-key melodies in chiptune/retro composition.

Instructions

Generate the correct MIDI notes for a musical scale, to use as a palette of valid pitches when composing. Use this tool (or suggest_scale_for_mood) ALWAYS before inventing note numbers manually — that avoids out-of-key / random-sounding melodies.

scale_type accepts: major, natural_minor, major_pentatonic, minor_pentatonic, dorian, mixolydian, phrygian, lydian.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
octavesNo
scale_typeYes
tonic_midiYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

No annotations are provided, so the description carries full burden. It states it generates correct MIDI notes but does not specify the format, range, or details about the output. The output schema exists but the description lacks behavioral context like return structure.

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?

Four sentences, front-loaded with purpose. Efficient, though could slightly tighten phrasing without losing clarity.

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?

Given three parameters, output schema exists, and low complexity, the description covers purpose, usage, and parameter semantics adequately. It is sufficient for agent invocation.

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?

Schema coverage is 0%, but the description explains acceptable values for scale_type (listing all options) and implies octaves defaults to 2. It adds meaning beyond the schema's type definitions, though octaves could be explained more explicitly.

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 generates MIDI notes for a musical scale, acting as a palette of valid pitches. It distinguishes from the sibling 'suggest_scale_for_mood' by specifying its function.

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

Usage Guidelines5/5

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

Explicitly instructs to use this tool (or suggest_scale_for_mood) ALWAYS before manually inventing note numbers to avoid out-of-key melodies, and names the alternative tool.

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/francescojr/nobu'

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