Skip to main content
Glama
vocea-admin

@vocea.app/mcp-server

Official
by vocea-admin

vocea_transcribe

Transcribe base64-encoded audio to text. Supports multiple formats (mp3, wav, ogg, webm, flac) up to 10MB and various languages via BCP-47 codes.

Instructions

Transcribe audio from a base64-encoded string to text (STT).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
audio_base64YesBase64-encoded audio file (mp3, wav, ogg, webm, flac, max 10MB)
mime_typeNoMIME type, e.g. audio/mpegaudio/mpeg
languageNoBCP-47 language code, e.g. en-US (default: es-ES)

Implementation Reference

  • Handler for the vocea_transcribe tool. Takes audio_base64 (base64-encoded audio), optional mime_type and language. Decodes base64 to a Buffer, creates a Blob with the given MIME type, then calls vocea.stt.transcribe(blob, language) and returns the result as JSON.
    case "vocea_transcribe": {
      const a = args as { audio_base64: string; mime_type?: string; language?: string };
      const buffer = Buffer.from(a.audio_base64, "base64");
      const blob = new Blob([buffer], { type: a.mime_type ?? "audio/mpeg" });
      const result = await vocea.stt.transcribe(blob, a.language ?? "es-ES");
      return {
        content: [{ type: "text", text: JSON.stringify(result) }],
      };
    }
  • Input schema for the vocea_transcribe tool. Defines audio_base64 (string, required), mime_type (string, optional, default audio/mpeg), and language (string, optional, BCP-47 format, default es-ES).
    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"],
    },
  • src/index.ts:30-84 (registration)
    Registration of the vocea_transcribe tool as part of the ListToolsRequestSchema handler, along with all other tools listed in the tools array.
    {
      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"],
      },
    },
Behavior2/5

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

No annotations are provided, so the description must disclose behavioral traits. It only states the basic function and does not mention any limitations, authentication needs, or side effects.

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?

A single sentence that is concise and front-loaded with the core action; no superfluous words.

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?

The description is minimal but covers the main purpose; however, it lacks details about output format, maximum file size (present in schema but not description), and any behavioral context needed for a complete understanding.

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 input schema has 100% coverage with descriptions for each parameter, so the description adds no additional meaning beyond the schema. Baseline score of 3 is appropriate.

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 clearly states the verb 'Transcribe' and the resource 'audio from a base64-encoded string to text', and it's distinct from sibling tools like audio generation or listing voices.

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?

No guidance on when to use this tool versus alternatives; no mention of prerequisites or when 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