Skip to main content
Glama

text_to_sound

Generate sound from a text prompt by creating a Suno task on RunAPI, returning a task ID, status, and output URLs.

Instructions

Create a Suno task on RunAPI (text to sound). Returns a task id, status, and output URLs.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
waitNoPoll until the task reaches a terminal status.
modelNoRunAPI model slug for this model line.
promptYesSound description (max 500 characters). Declared type: string.
sound_keyNoMusical key. Declared type: string. Known values: "Cm", "C#m", "Dm", "D#m", "Em", "Fm", "F#m", "Gm", "G#m", "Am", "A#m", "Bm", "C", "C#", "D", "D#", "E", "F", "F#", "G", "G#", "A", "A#", "B".
sound_loopNoWhen true, produce loopable audio. Default false. Declared type: boolean.
timeout_msNo
grab_lyricsNoCapture lyric subtitles. Default false. Declared type: boolean.
sound_tempoNoTempo in BPM (1-300). Declared type: integer.
callback_urlNoWebhook URL for async notifications. Declared type: string.
poll_interval_msNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed11 schema fields changedv0.4.0
    • addedInput schema / additionalProperties
      Added value: +{}
    • changedInput schema / properties / callback_url / description
      Previous value: -"Webhook URL for async notifications."New value: +"Webhook URL for async notifications. Declared type: string."
    • changedInput schema / properties / grab_lyrics / description
      Previous value: -"Capture lyric subtitles. Default false."New value: +"Capture lyric subtitles. Default false. Declared type: boolean."
    • removedInput schema / properties / model / enum
      Removed value: -[
      -  "suno-v5",
      -  "suno-v5.5"
      -]
    • changedInput schema / properties / prompt / description
      Previous value: -"Sound description (max 500 characters)."New value: +"Sound description (max 500 characters). Declared type: string."
    • removedInput schema / properties / sound_key / anyOf
      Removed value: -[
      -  {
      -    "const": "Cm",
      -    "type": "string"
      -  },
      -  {
      -    "const": "C#m",
      -    "type": "string"
      -  },
      -  {
      -    "const": "Dm",
      -    "type": "string"
      -  },
      -  {
      -    "const": "D#m",
      -    "type": "string"
      -  },
      -  {
      -    "const": "Em",
      -    "type": "string"
      -  },
      -  {
      -    "const": "Fm",
      -    "type": "string"
      -  },
      -  {
      -    "const": "F#m",
      -    "type": "string"
      -  },
      -  {
      -    "const": "Gm",
      -    "type": "string"
      -  },
      -  {
      -    "const": "G#m",
      -    "type": "string"
      -  },
      -  {
      -    "const": "Am",
      -    "type": "string"
      -  },
      -  {
      -    "const": "A#m",
      -    "type": "string"
      -  },
      -  {
      -    "const": "Bm",
      -    "type": "string"
      -  },
      -  {
      -    "const": "C",
      -    "type": "string"
      -  },
      -  {
      -    "const": "C#",
      -    "type": "string"
      -  },
      -  {
      -    "const": "D",
      -    "type": "string"
      -  },
      -  {
      -    "const": "D#",
      -    "type": "string"
      -  },
      -  {
      -    "const": "E",
      -    "type": "string"
      -  },
      -  {
      -    "const": "F",
      -    "type": "string"
      -  },
      -  {
      -    "const": "F#",
      -    "type": "string"
      -  },
      -  {
      -    "const": "G",
      -    "type": "string"
      -  },
      -  {
      -    "const": "G#",
      -    "type": "string"
      -  },
      -  {
      -    "const": "A",
      -    "type": "string"
      -  },
      -  {
      -    "const": "A#",
      -    "type": "string"
      -  },
      -  {
      -    "const": "B",
      -    "type": "string"
      -  }
      -]
    • changedInput schema / properties / sound_key / description
      Previous value: -"Musical key."New value: +"Musical key. Declared type: string. Known values: \"Cm\", \"C#m\", \"Dm\", \"D#m\", \"Em\", \"Fm\", \"F#m\", \"Gm\", \"G#m\", \"Am\", \"A#m\", \"Bm\", \"C\", \"C#\", \"D\", \"D#\", \"E\", \"F\", \"F#\", \"G\", \"G#\", \"A\", \"A#\", \"B\"."
    • addedInput schema / properties / sound_key / type
      Added value: +"string"
    • changedInput schema / properties / sound_loop / description
      Previous value: -"When true, produce loopable audio. Default false."New value: +"When true, produce loopable audio. Default false. Declared type: boolean."
    • changedInput schema / properties / sound_tempo / description
      Previous value: -"Tempo in BPM (1-300)."New value: +"Tempo in BPM (1-300). Declared type: integer."
    • changedInput schema / properties / sound_tempo / type
      Previous value: -"number"New value: +"integer"
  2. Changed6 schema fields changedv0.3.2
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / poll_interval_ms / maximum
      Added value: +9007199254740991
    • addedInput schema / properties / sound_key / anyOf
      Added value: +[
      +  {
      +    "const": "Cm",
      +    "type": "string"
      +  },
      +  {
      +    "const": "C#m",
      +    "type": "string"
      +  },
      +  {
      +    "const": "Dm",
      +    "type": "string"
      +  },
      +  {
      +    "const": "D#m",
      +    "type": "string"
      +  },
      +  {
      +    "const": "Em",
      +    "type": "string"
      +  },
      +  {
      +    "const": "Fm",
      +    "type": "string"
      +  },
      +  {
      +    "const": "F#m",
      +    "type": "string"
      +  },
      +  {
      +    "const": "Gm",
      +    "type": "string"
      +  },
      +  {
      +    "const": "G#m",
      +    "type": "string"
      +  },
      +  {
      +    "const": "Am",
      +    "type": "string"
      +  },
      +  {
      +    "const": "A#m",
      +    "type": "string"
      +  },
      +  {
      +    "const": "Bm",
      +    "type": "string"
      +  },
      +  {
      +    "const": "C",
      +    "type": "string"
      +  },
      +  {
      +    "const": "C#",
      +    "type": "string"
      +  },
      +  {
      +    "const": "D",
      +    "type": "string"
      +  },
      +  {
      +    "const": "D#",
      +    "type": "string"
      +  },
      +  {
      +    "const": "E",
      +    "type": "string"
      +  },
      +  {
      +    "const": "F",
      +    "type": "string"
      +  },
      +  {
      +    "const": "F#",
      +    "type": "string"
      +  },
      +  {
      +    "const": "G",
      +    "type": "string"
      +  },
      +  {
      +    "const": "G#",
      +    "type": "string"
      +  },
      +  {
      +    "const": "A",
      +    "type": "string"
      +  },
      +  {
      +    "const": "A#",
      +    "type": "string"
      +  },
      +  {
      +    "const": "B",
      +    "type": "string"
      +  }
      +]
    • removedInput schema / properties / sound_key / enum
      Removed value: -[
      -  "Cm",
      -  "C#m",
      -  "Dm",
      -  "D#m",
      -  "Em",
      -  "Fm",
      -  "F#m",
      -  "Gm",
      -  "G#m",
      -  "Am",
      -  "A#m",
      -  "Bm",
      -  "C",
      -  "C#",
      -  "D",
      -  "D#",
      -  "E",
      -  "F",
      -  "F#",
      -  "G",
      -  "G#",
      -  "A",
      -  "A#",
      -  "B"
      -]
    • removedInput schema / properties / sound_key / type
      Removed value: -"string"
    • addedInput schema / properties / timeout_ms / maximum
      Added value: +9007199254740991
  3. Changed6 schema fields changedv0.2.4
    • addedInput schema / properties / callback_url / description
      Added value: +"Webhook URL for async notifications."
    • addedInput schema / properties / grab_lyrics / description
      Added value: +"Capture lyric subtitles. Default false."
    • addedInput schema / properties / prompt / description
      Added value: +"Sound description (max 500 characters)."
    • addedInput schema / properties / sound_key / description
      Added value: +"Musical key."
    • addedInput schema / properties / sound_loop / description
      Added value: +"When true, produce loopable audio. Default false."
    • addedInput schema / properties / sound_tempo / description
      Added value: +"Tempo in BPM (1-300)."
  4. Changed3 schema fields changedv0.1.2
    • addedInput schema / properties / callback_url / type
      Added value: +"string"
    • addedInput schema / properties / prompt / type
      Added value: +"string"
    • addedInput schema / required
      Added value: +[
      +  "prompt"
      +]
  5. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden. It discloses the return shape (task id, status, output URLs) but says nothing about credit/cost implications, whether the call blocks, failure behavior, or what the required prompt must contain beyond the schema's 500-char note.

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?

Two compact sentences with the action front-loaded and zero filler. It is arguably too spare for a 10-parameter generation tool, but nothing is wasted.

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?

For a 10-param tool with no annotations and no output schema, the description is thin. It partially covers returns, but leaves async/sync behavior (wait, poll_interval_ms, timeout_ms), model selection, and the text_to_music distinction entirely to inference.

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 coverage is 80%, so the schema already documents prompt, sound_key, sound_loop, tempo, callback_url, wait, and polling. The description adds no parameter meaning beyond that, so the baseline 3 is appropriate.

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?

The description gives a specific verb+resource ('Create a Suno task ... text to sound') and even names the backend, so the basic action is unambiguous. However, it does nothing to distinguish this from the near-identical sibling 'text_to_music' (nor 'inspire_music'), leaving an agent without a rule for choosing between them.

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?

There is no when-to-use guidance, no prerequisites, and no mention of alternatives. Given a sibling named text_to_music, the absence of any disambiguation is a conspicuous gap.

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