Skip to main content
Glama

generate_music

Create instrumental background music from a text description of style and mood. Returns the path to the generated audio file.

Instructions

Generate instrumental background music from a description (fal). Requires a fal API key. Returns the path to the generated audio file.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modelNofal model id. Omit for the default.
promptYesDescription of the music style and mood
durationNoDuration in seconds. Default is provider-dependent.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations provided, the description carries the behavioral disclosure burden. It usefully discloses an external dependency and authentication requirement ('Requires a fal API key') and the return format ('Returns the path to the generated audio file'). It does not discuss failure behavior or default durations, but the key invocation traits are covered.

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 deliver the purpose, prerequisite, and return value with no filler. Each sentence adds essential information, and the purpose is front-loaded. This is an appropriately concise and well-structured description.

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 simple 3-parameter generation tool with no output schema, this description covers the essential invocation context: what to provide, the auth requirement, and what is returned. It lacks guidance on model/duration defaults, but those are already in the schema. A slightly richer mention of when to use it would make it fully complete.

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 100%, so the schema already documents prompt, model, and duration. The description adds general context ('from a description') but no additional parameter-level detail beyond what the schema provides. The baseline of 3 applies because the schema does the heavy lifting.

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?

States a specific action ('Generate instrumental background music') and resource ('from a description (fal)'), clearly distinguishing it from sibling tools like generate_voiceover or generate_image. The phrase 'instrumental background music' narrows the scope and makes the tool's role immediately understandable.

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 implies the use case: generate instrumental background music from a text description. It also notes a prerequisite ('Requires a fal API key'). However, it does not explicitly say when to prefer this tool over alternatives like generate_voiceover, nor does it mention conditions where it should not be used.

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