Skip to main content
Glama
vocea-admin

@vocea.app/mcp-server

Official
by vocea-admin

vocea_get_audio

Obtain the CDN URL and metadata of a previously generated audio using its unique identifier.

Instructions

Get details (including CDN URL) for a previously generated audio.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
audio_idYes

Implementation Reference

  • Handler for 'vocea_get_audio' tool. Calls vocea.audios.get(audio_id) and returns the audio details including CDN URL.
    case "vocea_get_audio": {
      const a = args as { audio_id: string };
      const audio = await vocea.audios.get(a.audio_id);
      return {
        content: [{ type: "text", text: JSON.stringify(audio) }],
      };
    }
  • Schema definition for 'vocea_get_audio' tool. Defines input as an object with required 'audio_id' (string) property.
    {
      name: "vocea_get_audio",
      description: "Get details (including CDN URL) for a previously generated audio.",
      inputSchema: {
        type: "object",
        properties: { audio_id: { type: "string" } },
        required: ["audio_id"],
      },
  • src/index.ts:28-100 (registration)
    Tool registration within ListToolsRequestSchema handler. The 'vocea_get_audio' tool is registered as part of the tools array (line 91).
    server.setRequestHandler(ListToolsRequestSchema, async () => ({
      tools: [
        {
          name: "vocea_generate_audio",
          description: "Convert text to speech using a Vocea voice. Returns an audio URL.",
          inputSchema: {
            type: "object",
            properties: {
              voice_id: { type: "string", description: "Voice UUID to use for synthesis" },
              text: { type: "string", description: "Text to convert to speech (max 10000 chars)" },
              language_code: { type: "string", description: "Language code, e.g. 'en', 'es', 'fr'" },
              emotion: {
                type: "string",
                enum: ["neutral", "happy", "sad", "angry", "fearful", "surprised", "disgusted", "whisper"],
                description: "Emotional tone (default: neutral)",
              },
              speaking_rate: { type: "number", description: "Speaking rate multiplier 0.5–1.5 (default 1.0)" },
            },
            required: ["voice_id", "text", "language_code"],
          },
        },
        {
          name: "vocea_list_voices",
          description: "List the authenticated user's cloned voices.",
          inputSchema: {
            type: "object",
            properties: {
              page: { type: "number", description: "Page number (default 1)" },
              limit: { type: "number", description: "Results per page (default 20)" },
            },
          },
        },
        {
          name: "vocea_list_public_voices",
          description: "List public community voices available for use.",
          inputSchema: {
            type: "object",
            properties: {
              page: { type: "number" },
              limit: { type: "number" },
              ageRange: { type: "string", enum: ["young", "adult", "senior"] },
            },
          },
        },
        {
          name: "vocea_transcribe",
          description: "Transcribe audio from a base64-encoded string to text (STT).",
          inputSchema: {
            type: "object",
            properties: {
              audio_base64: { type: "string", description: "Base64-encoded audio file (mp3, wav, ogg, webm, flac, max 10MB)" },
              mime_type: { type: "string", description: "MIME type, e.g. audio/mpeg", default: "audio/mpeg" },
              language: { type: "string", description: "BCP-47 language code, e.g. en-US (default: es-ES)" },
            },
            required: ["audio_base64"],
          },
        },
        {
          name: "vocea_get_credits",
          description: "Get the current credit balance for the authenticated user.",
          inputSchema: { type: "object", properties: {} },
        },
        {
          name: "vocea_get_audio",
          description: "Get details (including CDN URL) for a previously generated audio.",
          inputSchema: {
            type: "object",
            properties: { audio_id: { type: "string" } },
            required: ["audio_id"],
          },
        },
      ],
    }));
Behavior2/5

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

No annotations are provided, so the description carries full burden. It merely states the action without disclosing behavioral traits such as read-only nature, error conditions for invalid audio_id, or side effects. Lacks depth.

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?

One sentence of 9 words, front-loaded with the verb 'Get'. Every word earns its place with no redundancy.

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?

Given no output schema and a simple tool, the description is minimally adequate but fails to detail what 'details' include beyond CDN URL. It does not specify response structure, leaving gaps for the agent.

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?

The single parameter audio_id has no schema description, and schema coverage is 0%. The description adds minimal context by referring to 'a previously generated audio', which implies audio_id identifies that audio, but does not specify format or origin.

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?

Clearly states the tool retrieves details including CDN URL for a previously generated audio, with a specific verb and resource. It distinguishes itself from sibling tools like vocea_generate_audio (creation) and vocea_list_voices (listing).

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

Usage Guidelines3/5

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

Implies usage after audio generation by stating 'previously generated audio', but provides no explicit guidance on when to use this tool versus alternatives like vocea_get_credits or quando not to use it.

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/vocea-admin/mcp-server'

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