Skip to main content
Glama

ModelsLab

Song Inpaint

song-inpaint

Edit specific sections of songs. Takes an audio file and regenerates a specific section defined by start and end times. Returns a request ID that can be used with fetch-audio to retrieve results.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tagsNoArray of genre/style tags.
lyricsNoLyrics for the regenerated section.
promptNoOptional text description for the regenerated section.
webhookNoURL to receive webhook notification when inpainting completes.
model_idYesThe model ID to use for song inpainting.
sectionsYesArray of 2 numbers: [start_time, end_time] in seconds for the section to regenerate.
track_idNoCustom tracking ID for the request.
init_audioYesURL or base64 string of the audio file to edit.
instrumentalNoGenerate instrumental only (no vocals).
selection_cropNoReturn only the regenerated section.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations provide only openWorldHint=true, so the description carries most of the burden. It does disclose a genuinely useful behavioral trait — that this is asynchronous, returning a request ID retrieved later via fetch-audio — but says nothing about cost, latency, or whether regeneration is reversible/destructive.

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?

Three tight sentences, front-loaded with the purpose before the mechanism and the retrieval path. No filler; only slight redundancy between 'edit specific sections' and 'regenerates a specific section'.

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?

For a 10-parameter async generation tool with no output schema and thin annotations, the description covers the core workflow and the fetch-audio handoff, which is the most important missing piece. It leaves the webhook callback, selection_crop, and instrumental behavior to the schema, which is acceptable but not rich.

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 all 10 parameters including sections as [start_time, end_time]. The description only restates the section semantics, adding no syntax, format, or constraint detail beyond the structured field.

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?

States a specific verb and resource ('edit specific sections of songs') and clarifies the mechanism (regenerates a section defined by start/end times from an audio file). An agent can distinguish it from inpaint-image and song-extender by domain noun alone, though no sibling is named explicitly.

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 a clear use case (regenerating a time-bounded section of existing audio) and usefully routes the agent to fetch-audio for results. But it gives no explicit when-not guidance or comparison against close siblings like song-extender or music-generation.

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.

Resources