Skip to main content
Glama

replace_section

Replace a specific time range in a Suno audio track with AI-generated content using a prompt and context.

Instructions

Replace a time range in a Suno track with new AI-generated content.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tagsNo
waitNoSet false to submit and return immediately with the task_id (async mode) — then poll with check_task and fetch with download_result. Recommended for long generations to avoid client-side watchdog timeouts.
titleNo
promptYesPrompt for the replacement section
taskIdYesTask ID of the original Suno generation
audioIdYesAudio ID from sunoData
filenameNo
fullLyricsNoFull lyrics for context
infillEndSYesEnd time in seconds
download_dirNoAbsolute directory to save the file(s) into (created if missing). Defaults to the server's kie/assets/raw/. Must be absolute — the MCP server's working directory is not the caller's.
infillStartSYesStart time in seconds
negativeTagsNo
max_wait_secondsNoOverride the blocking-mode polling budget in seconds (default: audio 300). Ignored when wait=false.
Behavior2/5

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

With no annotations provided, the description carries full burden for behavioral disclosure. It only states the basic operation ('replace a time range') without revealing side effects (e.g., whether the original track is modified, whether replacement is permanent, or any authentication or rate-limit considerations).

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?

The description is a single, well-formed sentence that front-loads the core purpose. However, it could be slightly restructured to mention key parameters or usage notes without adding verbosity, so it earns a 4 rather than a 5.

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

Completeness2/5

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

Given the complexity of the tool (13 parameters, 5 required, no output schema, no annotations), the one-sentence description is insufficient. It does not explain return values, error states, or how the replacement process works (e.g., whether the rest of the track is preserved).

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The description adds no additional meaning beyond the input schema. While schema description coverage is 69%, meaning some parameters are partly documented in the schema, the tool description itself does not explain the purpose or relationships of the parameters (e.g., how 'infillStartS' and 'infillEndS' define the target range).

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 uses a specific verb ('Replace'), names the resource ('a time range in a Suno track'), and specifies the action ('with new AI-generated content'). It clearly distinguishes this tool from siblings like 'extend_music' or 'cover_audio' which modify the full track or add sections rather than replace a segment.

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

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool versus alternatives, nor any exclusions or prerequisites. For example, it does not mention that the original track must exist or that replacement may require specific credits.

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/elibarnett/kie-mcp'

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