Skip to main content
Glama

Transcribes an audio file to text with a Cloudflare Workers

agent_intel_speech_to_text_transcribe_turbo
Read-only

Transcribes an audio file (a public https URL or base64, up to 6 MB; WAV, MP3, M4A or OGG as the model accepts them) to text with a Cloudflare Workers AI Whisper model, returning the text and any timestamped segments the model gives. Requires the env.AI binding. Related tools on this server, for a different need: agent_intel_web_search_turbo when you need web search via DuckDuckGo's public HTML results page. Price: $0.004 in USDC per successful call, paid with x402 (Base, Solana or Arc); failed calls are not charged.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "agent_intel_speech_to_text_transcribe_turbo"
  }
}

Input Schema

NameRequiredDescriptionDefault
audioUrlNoPublic https URL of the audio file (WAV, MP3, M4A or OGG), up to 6 MB
audioBase64NoOr the audio itself: base64 data (no data: prefix), up to 6 MB decoded

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / audioBase64 / description
      Previous value: -"Base64 audio data (no data: prefix), up to 6 MB decoded"New value: +"Or the audio itself: base64 data (no data: prefix), up to 6 MB decoded"
    • addedInput schema / properties / audioUrl
      Added value: +{
      +  "description": "Public https URL of the audio file (WAV, MP3, M4A or OGG), up to 6 MB",
      +  "type": "string"
      +}
    • removedInput schema / required
      Removed value: -[
      -  "audioBase64"
      -]
  2. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations only declare readOnlyHint and openWorldHint; the description adds genuinely useful behavior beyond them: it requires the env.AI binding, discloses a per-call price of $0.004 in USDC via x402 across Base, Solana or Arc, and explicitly states failed calls are not charged. That cost-and-failure policy is exactly the kind of context an agent needs before calling a paid endpoint. It stops short of 5 by omitting latency, rate limits, and what happens with unsupported or oversized audio.

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?

The core purpose, input forms, output shape, size limit and payment terms are front-loaded into two dense sentences, with pricing last. However, the clause advertising agent_intel_web_search_turbo on DuckDuckGo earns no place in a transcription tool and forces the reader past irrelevant text. Otherwise there is little padding.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With an output schema present, the description correctly does not need to explain return values, and it still summarizes them ('text and any timestamped segments'). Inputs, formats, size ceiling, prerequisite binding and payment model are all covered, and annotations carry the safety profile. What is missing is edge-case behavior: unsupported formats, oversized payloads, and whether a failed transcription still consumes quota.

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 100% and both parameters already carry descriptions covering format, the 'no data: prefix' rule for base64, and the 6 MB ceiling. The description restates the URL-or-base64 choice ('a public https URL or base64') but adds no new meaning such as precedence rules when both are supplied or per-format caveats. Baseline 3 is correct when the schema carries the load.

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 names a specific verb and resource ('Transcribes an audio file ... to text'), pins the underlying model (Cloudflare Workers AI Whisper), enumerates accepted input forms and formats, and states what the response contains (text plus timestamped segments). An agent can tell exactly what this does without opening the schema. The only weak spot is that the named 'related tool' is a web-search tool, not a genuine alternative for transcription, so it does nothing to disambiguate against real siblings.

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?

Usage is only implied through constraints: audio must be a public https URL or base64, up to 6 MB, in WAV/MP3/M4A/OGG. There is no explicit statement of when to choose this over another tool, no mention of when not to use it, and the only 'alternative' offered (agent_intel_web_search_turbo) addresses an unrelated need. A caller infers applicability from the format and size limits rather than from stated guidance.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources