Skip to main content
Glama

suno_replace_section

Replace a specific time range in a song with new generated lyrics or music, letting you revise a verse, chorus, or other section without recreating the whole track.

Instructions

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

Supply local new lyrics, preferably matching lyric and prompt. Lyric-only
requests remain supported. Listen to the source and use suno_get_timing to
select complete phrases; match the local line count, length and rhythm.
Default full_song returns two complete songs without another concat, but
length may change and later sections may shift. duration cannot lock an edit.
Returned lyric is metadata, not a transcript, and may be empty. Listen to
both results to check new words and transitions; success is not proof of
lyric fidelity. For another edit, use the selected full-song id and recheck
its timestamps. More polling cannot change a completed result.

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.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "audio_id": "<audio_id>",
      "replace_section_start": "<replace_section_start>",
      "replace_section_end": "<replace_section_end>"
    },
    "name": "suno_replace_section"
  }
}

Input Schema

NameRequiredDescriptionDefault
lyricNoLocal new lyrics for the selected interval, not the whole song. For lyric edits, also set prompt to the same local text; full_song output does not require full-song lyrics.
modelNoModel version to use.chirp-v5-5
styleNoMusic style for the replaced section.
promptNoLocal new lyrics for the selected interval, preferably the same text as lyric. Not an inspiration or style description; does not guarantee word-for-word singing.
audio_idYesComplete source song's audio ID, not a task ID. For another edit, use the selected full-song result's id and recheck its duration and timestamps.
callback_urlNoWebhook callback URL for asynchronous notifications.
negative_tagsNoStyles or genres to exclude from the replacement; keep concise. No fixed API character limit.
replace_section_endYesRequired end time in seconds, greater than start and no later than source duration.
replace_section_startYesRequired start time in seconds, at least 0; fractions are preserved.
replace_section_result_modeNofull_song (default) returns two complete songs without another concat; length may change. candidates returns two unmerged clips; select a candidate's id for concat.full_song

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv0.1.28
    • changedInput schema / properties / audio_id / description
      Previous value: -"ID of the audio to replace a section in."New value: +"Complete source song's audio ID, not a task ID. For another edit, use the selected full-song result's id and recheck its duration and timestamps."
    • changedInput schema / properties / lyric / description
      Previous value: -"New lyrics for the replaced section. Use section markers like [Verse], [Chorus]."New value: +"Local new lyrics for the selected interval, not the whole song. For lyric edits, also set prompt to the same local text; full_song output does not require full-song lyrics."
    • addedInput schema / properties / prompt
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Local new lyrics for the selected interval, preferably the same text as lyric. Not an inspiration or style description; does not guarantee word-for-word singing.",
      +  "title": "Prompt"
      +}
    • changedInput schema / properties / replace_section_result_mode / description
      Previous value: -"Result shape: full_song returns two complete songs, one from each replacement candidate; candidates returns the two unmerged replacement clips."New value: +"full_song (default) returns two complete songs without another concat; length may change. candidates returns two unmerged clips; select a candidate's id for concat."
  2. Changed4 schema fields changedv0.1.25
    • addedInput schema / properties / negative_tags
      Added value: +{
      +  "default": "",
      +  "description": "Styles or genres to exclude from the replacement; keep concise. No fixed API character limit.",
      +  "title": "Negative Tags",
      +  "type": "string"
      +}
    • changedInput schema / properties / replace_section_end / description
      Previous value: -"End time in seconds of the section to replace."New value: +"Required end time in seconds, greater than start and no later than source duration."
    • changedInput schema / properties / replace_section_start / description
      Previous value: -"Start time in seconds of the section to replace."New value: +"Required start time in seconds, at least 0; fractions are preserved."
    • addedInput schema / properties / replace_section_start / minimum
      Added value: +0
  3. Changed1 schema field changedv0.1.18
    • changedInput schema / properties / model / enum
      Previous value: -[
      -  "chirp-v3-0",
      -  "chirp-v3-5",
      -  "chirp-v4",
      -  "chirp-v4-5",
      -  "chirp-v4-5-plus",
      -  "chirp-v5",
      -  "chirp-v5-5"
      -]New value: +[
      +  "chirp-v6",
      +  "chirp-v6-wild",
      +  "chirp-v6-mini",
      +  "chirp-v3-0",
      +  "chirp-v3-5",
      +  "chirp-v4",
      +  "chirp-v4-5",
      +  "chirp-v4-5-plus",
      +  "chirp-v5",
      +  "chirp-v5-5"
      +]
  4. 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"
      +}
  5. Addedv0.1.5
  6. Removedv0.1.3
  7. First observedv0.1.0

TDQS

A4.6/5.0
Behavior5/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 so thoroughly: default full_song returns two complete songs without a concat, length may change and later sections may shift, duration cannot lock an edit, returned lyric is metadata and may be empty, and polling cannot alter a completed result. These are non-obvious behavioral traits an agent could not infer from 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.

Conciseness4/5

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

Purpose and constraints are front-loaded, and the 'Use this when' and 'Returns' blocks make it scannable. It is somewhat long and repeats the listening/verification advice, but nearly every sentence contributes a distinct operational caveat.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 10-parameter mutation tool with no annotations, the definition covers preconditions (get timing), output shape, result-mode tradeoffs, and verification steps. With an output schema present, return-value detail is optional, so nothing material is missing.

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 100%, so the baseline is 3, but the description adds real meaning: lyric and prompt must be local to the interval (not whole-song), prompt should mirror lyric, audio_id is a source-song id rather than a task id, and result_mode semantics are spelled out. This exceeds what the schema fields alone convey.

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 opening sentence states a specific verb and resource: 'Replace a specific time range in a song with new generated content.' This clearly separates it from siblings like suno_extend_music or suno_concat_music, and the 'Use this when' bullets reinforce the exact scope (verse/chorus replacement, mid-song lyric changes).

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?

It provides an explicit 'Use this when' list with three concrete scenarios and routes the agent to suno_get_timing for picking complete phrases. It also explains the follow-up path ('For another edit, use the selected full-song id and recheck its timestamps'). It stops short of naming a sibling it should not be used in place of, so it is strong but not fully exhaustive.

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