Skip to main content
Glama
AceDataCloud

MCP Fish Server

by AceDataCloud

fish_generate_audio

Convert text into natural-sounding speech audio with AI voice synthesis. Choose a voice reference or voice ID to generate spoken narration for any text.

Instructions

Generate speech audio from text using Fish TTS.

Use this when:
- You want to convert text to speech
- You need AI-generated audio narration

Returns:
    JSON response containing task_id and audio data when complete.

Example:
    fish_generate_audio(
        text="Hello, welcome to our service!",
        reference_id="d7900c21663f485ab63ebdb7e5905036"
    )

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textNoThe text to synthesize. Required.
asyncNoWhether to process the request asynchronously.
modelNoThe TTS model to use. Supported values: 's1', 's2-pro', 's2.1-pro'.s2-pro
top_pNoTop-p nucleus sampling parameter.
formatNoOutput audio format. Defaults to 'mp3'.mp3
promptNoDeprecated alias for `text`.
latencyNoLatency mode. Supported values: 'normal', 'balanced'.
prosodyNoProsody overrides forwarded to the upstream.
voice_idNoDeprecated alias for `reference_id`.
normalizeNoWhether the upstream should apply text normalization.
referencesNoOne-shot voice clone reference: one object with a public HTTPS audio URL and the exact transcript. Cannot be combined with reference_id.
mp3_bitrateNoMP3 bit rate when format='mp3'. Supported values: 64, 128, 192.
sample_rateNoSampling rate of the output audio (e.g. 16000, 22050, 44100).
temperatureNoSampling temperature (0.0-1.0).
callback_urlNoOptional callback URL to receive the result asynchronously. If provided, the API returns immediately with a task_id.
chunk_lengthNoChunk length passed through to the upstream synthesiser.
reference_idNoVoice model id, or a list of voice model ids. Default example voice model ID: d7900c21663f485ab63ebdb7e5905036.
max_new_tokensNoMaximum number of new tokens to generate.
reference_textNoExact transcript for reference_audio_url.
min_chunk_lengthNoMinimum chunk length.
repetition_penaltyNoRepetition penalty applied during generation.
reference_audio_urlNoConvenience HTTPS audio URL for one-shot voice cloning.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

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

  1. Changed7 schema fields changedv0.1.3
    • addedInput schema / $defs
      Added value: +{
      +  "FishReference": {
      +    "description": "One-shot voice reference hosted at a public HTTPS URL.",
      +    "properties": {
      +      "audio": {
      +        "format": "uri",
      +        "maxLength": 2083,
      +        "minLength": 1,
      +        "title": "Audio",
      +        "type": "string"
      +      },
      +      "text": {
      +        "maxLength": 10000,
      +        "minLength": 1,
      +        "title": "Text",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "audio",
      +      "text"
      +    ],
      +    "title": "FishReference",
      +    "type": "object"
      +  }
      +}
    • addedInput schema / properties / reference_audio_url
      Added value: +{
      +  "anyOf": [
      +    {
      +      "format": "uri",
      +      "maxLength": 2083,
      +      "minLength": 1,
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Convenience HTTPS audio URL for one-shot voice cloning.",
      +  "title": "Reference Audio Url"
      +}
    • changedInput schema / properties / reference_id / anyOf
      Previous value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "type": "string"
      +  },
      +  {
      +    "items": {
      +      "type": "string"
      +    },
      +    "type": "array"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedInput schema / properties / reference_id / description
      Previous value: -"Voice model id (single speaker). Default example voice model ID: d7900c21663f485ab63ebdb7e5905036."New value: +"Voice model id, or a list of voice model ids. Default example voice model ID: d7900c21663f485ab63ebdb7e5905036."
    • addedInput schema / properties / reference_text
      Added value: +{
      +  "anyOf": [
      +    {
      +      "maxLength": 10000,
      +      "minLength": 1,
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Exact transcript for reference_audio_url.",
      +  "title": "Reference Text"
      +}
    • changedInput schema / properties / references / anyOf
      Previous value: -[
      -  {
      -    "items": {
      -      "additionalProperties": true,
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "items": {
      +      "$ref": "#/$defs/FishReference"
      +    },
      +    "maxItems": 1,
      +    "minItems": 1,
      +    "type": "array"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedInput schema / properties / references / description
      Previous value: -"Inline reference samples forwarded to the upstream."New value: +"One-shot voice clone reference: one object with a public HTTPS audio URL and the exact transcript. Cannot be combined with reference_id."
  2. Changed2 schema fields changedv0.1.1
    • addedInput schema / properties / async
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "boolean"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Whether to process the request asynchronously.",
      +  "title": "Async"
      +}
    • changedInput schema / properties / mp3_bitrate / anyOf
      Previous value: -[
      -  {
      -    "type": "integer"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "enum": [
      +      64,
      +      128,
      +      192
      +    ],
      +    "type": "integer"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  3. First observedv0.1.0

TDQS

B3.4/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It mentions the JSON return shape but omits critical behavior such as async/callback_url returning a task_id before audio is ready and the need to poll fish_get_task for results. This is a significant transparency gap for a complex synthesis API.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

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

The first sentence is an efficient purpose statement and the example is useful. However, the 'Use this when' bullets largely restate the first sentence ('convert text to speech' is nearly identical to 'generate speech audio from text'), adding redundancy without new information.

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?

This is a complex tool with 22 optional parameters, asynchronous modes, and voice-cloning options, yet the description only covers the basic synchronous path. It omits operational guidance for async/callback_url, references/reference_audio_url, and retrieving results via fish_get_task, so an agent could easily misuse the tool for non-default use cases.

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 example adds practical semantics for text and reference_id, but the description does not explain parameter relationships like references vs reference_id or async vs callback_url, which the schema also leaves implicit.

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?

States a specific action ('Generate speech audio from text') and the service ('Fish TTS'), which clearly distinguishes it from the sibling get/list tools. The 'Use this when' bullets reinforce the purpose and leave no doubt about what the tool is for.

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?

Provides explicit 'Use this when' conditions for text-to-speech and narration, giving clear invocation context. It does not name alternatives or exclusions, but no sibling tool generates audio, so the guidance is sufficient.

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/FishMCP'

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