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. Price: $0.004 per successful call, paid with x402 (USDC on Base, Solana and 10 more networks); 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

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, so the description's extra details are the valuable part: the env.AI binding requirement, the $0.004 per-successful-call price, the x402/USDC payment rails, and the fact that failed calls are not charged. It stops short of rate limits or language coverage, but the billing and dependency disclosure is substantive.

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?

Front-loaded with the core action, then packed with operational details in a single dense sentence. Parenthetical format and size lists are efficient, though the trailing payment sentence makes it heavier than strictly necessary.

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?

An output schema exists, so return values need not be spelled out, and annotations cover safety. The description supplies the missing operational context (binding, billing, input constraints). The one gap is that both parameters are optional and the description does not clarify mutual exclusivity or behavior if neither is provided.

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%, so both parameters are already documented including formats, size limits, and the no-data-prefix note for base64. The description restates the same constraints with no meaningful additional syntax or precedence rules, so the baseline of 3 applies.

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 opens with a specific verb and resource ('Transcribes an audio file ... to text with a Cloudflare Workers AI Whisper model') and names the output ('text and any timestamped segments'). No sibling in the listed set offers speech-to-text, so the purpose is unambiguous against alternatives.

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?

It clearly states the two accepted input modes (public https URL or base64), the 6 MB cap, and the accepted formats, which tells an agent what is callable. It does not explicitly say which mode to prefer or what happens if both audioUrl and audioBase64 are supplied, and it offers no when-not-to-use exclusions.

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