Skip to main content
Glama

suno_replace_section

Replace a specific time range in an existing song with newly generated audio, keeping the rest unchanged. Solve section-level issues by regenerating only the part you want to fix.

Instructions

Replace a specific time range in a song with new generated content.

Re-generates a portion of a song between the specified start and end times,
keeping the rest of the song unchanged. Great for fixing sections you don't like.

Use this when:
- A specific section of a song needs improvement
- You want to change lyrics in the middle of a song
- You want to replace a verse or chorus with something different

Returns:
    Task ID plus two complete songs by default, or two unmerged clips in candidates mode.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
lyricNoNew lyrics for the replaced section. Use section markers like [Verse], [Chorus].
modelNoModel version to use.chirp-v5-5
styleNoMusic style for the replaced section.
audio_idYesID of the audio to replace a section in.
callback_urlNoWebhook callback URL for asynchronous notifications.
replace_section_endYesEnd time in seconds of the section to replace.
replace_section_startYesStart time in seconds of the section to replace.
replace_section_result_modeNoResult shape: full_song returns two complete songs, one from each replacement candidate; candidates returns the two unmerged replacement clips.full_song

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

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

  1. Changed1 schema field changedv0.1.14
    • addedInput schema / properties / replace_section_result_mode
      Added value: +{
      +  "default": "full_song",
      +  "description": "Result shape: full_song returns two complete songs, one from each replacement candidate; candidates returns the two unmerged replacement clips.",
      +  "enum": [
      +    "candidates",
      +    "full_song"
      +  ],
      +  "title": "Replace Section Result Mode",
      +  "type": "string"
      +}
  2. Addedv0.1.5
  3. Removedv0.1.3
  4. First observedv0.1.0

TDQS

A3.9/5.0
Behavior3/5

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

With no annotations, the description carries the full disclosure burden. It discloses that only the selected time range is re-generated and that output is either two full songs or two unmerged clips. However, it doesn't clarify that this is likely an asynchronous task requiring task polling, nor what happens when optional parameters like lyric or style are omitted, nor any failure/rate-limit behavior.

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?

The description is front-loaded with the core action, uses scannable bullets for usage guidance, and closes with a Returns line. At roughly 80 words, it is well-sized with no filler; each section either defines scope, usage, or output in a structured way.

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 an 8-parameter tool with an output schema and no annotations, the description covers the main behavior and output shape but omits important operational context: async workflow (polling get_task), constraints on section lengths, and defaults for omitted lyric/style. The output schema exists, so return field details aren't needed, but the async nature and edge-case behavior remain unclear.

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 baseline is 3. The description adds minimal semantic value—'between the specified start and end times' reinforces the time parameters and 'two unmerged clips in candidates mode' restates replace_section_result_mode, but no genuinely new parameter meaning is introduced beyond the schema.

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 states a specific operation—'Replace a specific time range in a song with new generated content'—with a clear verb, resource, and scope. It distinguishes the tool from siblings like extend, cover, and concat by explicitly emphasizing 'keeping the rest of the song unchanged.'

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

Usage Guidelines4/5

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

The 'Use this when' section lists concrete triggers (e.g., 'A specific section of a song needs improvement', 'You want to change lyrics in the middle of a song'), giving clear context for when to invoke this tool. It does not explicitly name sibling alternatives or negative cases, but the conditions are specific enough to guide selection among the many generation/editing siblings.

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

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/AceDataCloud/SunoMCP'

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