Skip to main content
Glama
wave-av

WAVE MCP Server

Official
by wave-av

wave_start_captions

Start real-time captions on a stream. Provide its ID, optional language (ISO 639-1), and transcription provider to begin.

Instructions

Start real-time captions/transcription on a stream

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
stream_idYesThe stream ID
languageNoISO 639-1 language code (default: en)
providerNoTranscription provider (default: deepgram)

Implementation Reference

  • Tool 'wave_start_captions' handler: calls POST /api/v1/streams/{stream_id}/captions/start with language and provider options.
    server.tool(
      "wave_start_captions",
      "Start real-time captions/transcription on a stream",
      {
        stream_id: z.string().uuid().describe("The stream ID"),
        language: z
          .string()
          .length(2)
          .optional()
          .describe("ISO 639-1 language code (default: en)"),
        provider: z
          .enum(["deepgram", "assemblyai", "cohere"])
          .optional()
          .describe("Transcription provider (default: deepgram)"),
      },
      async ({ stream_id, language, provider }) => {
        const res = await waveFetch(`/api/v1/streams/${stream_id}/captions/start`, {
          method: "POST",
          body: JSON.stringify({
            language: language ?? "en",
            provider: provider ?? "deepgram",
          }),
        });
        if (!res.ok) return errorContent(res.status, res.body);
        return textContent(res.body);
      },
    );
  • Input schema for wave_start_captions: stream_id (uuid, required), language (2-char ISO code, optional), provider (deepgram|assemblyai|cohere, optional).
    {
      stream_id: z.string().uuid().describe("The stream ID"),
      language: z
        .string()
        .length(2)
        .optional()
        .describe("ISO 639-1 language code (default: en)"),
      provider: z
        .enum(["deepgram", "assemblyai", "cohere"])
        .optional()
        .describe("Transcription provider (default: deepgram)"),
    },
  • Tool registered via server.tool('wave_start_captions', ...) inside registerProductionTools.
    server.tool(
      "wave_start_captions",
      "Start real-time captions/transcription on a stream",
      {
        stream_id: z.string().uuid().describe("The stream ID"),
        language: z
          .string()
          .length(2)
          .optional()
          .describe("ISO 639-1 language code (default: en)"),
        provider: z
          .enum(["deepgram", "assemblyai", "cohere"])
          .optional()
          .describe("Transcription provider (default: deepgram)"),
      },
      async ({ stream_id, language, provider }) => {
        const res = await waveFetch(`/api/v1/streams/${stream_id}/captions/start`, {
          method: "POST",
          body: JSON.stringify({
            language: language ?? "en",
            provider: provider ?? "deepgram",
          }),
        });
        if (!res.ok) return errorContent(res.status, res.body);
        return textContent(res.body);
      },
    );
  • Function registerProductionTools is exported and called from server.ts to register all production tools.
    export function registerProductionTools(server: McpServer): void {
  • waveFetch helper: makes authenticated fetch requests to the Wave API with base URL and auth headers.
    async function waveFetch(
      path: string,
      init?: RequestInit,
    ): Promise<{ ok: boolean; status: number; body: string }> {
      const url = `${getBaseUrl()}${path}`;
      const res = await fetch(url, {
        ...init,
        headers: {
          ...getAuthHeaders(),
          ...init?.headers,
        },
      });
      const body = await res.text();
      return { ok: res.ok, status: res.status, body };
    }
Behavior2/5

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

No annotations are provided, so the description must carry the burden of behavioral disclosure. It only states the action without explaining side effects, state changes, requirements, or errors. Minimal transparency.

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 description is a single sentence, front-loaded with the key action, but it is too brief. It could include more detail without being verbose. Conciseness is acceptable but not optimal.

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 lack of annotations and output schema, the description is incomplete. It does not explain return values, error conditions, or what happens when captions are already active. For a state-changing tool, more context is needed.

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?

Input schema has 100% description coverage for all parameters, so the baseline is 3. The description does not add any additional meaning beyond what is already in the schema, so it neither helps nor hinders.

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 clearly states the action ('Start') and the resource ('real-time captions/transcription on a stream'). It distinguishes from sibling tools like wave_start_stream and wave_create_stream, but does not explicitly differentiate them, so purpose clarity is strong but not perfect.

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, such as when to start captions vs. a transcript, or prerequisites like requiring the stream to be active. The description lacks any usage context.

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/wave-av/mcp-server'

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