Skip to main content
Glama

Transcribe speech

transcribe_audio

Turn speech in a recording into text. OAuth uses site credits (from 3 credits per minute with the default model). API keys use a separate USD wallet. Omit approval to get a quote, then confirm max_credits for OAuth or currency USD and decimal max_usd for API keys.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "audio_url": "<audio_url>"
    },
    "name": "transcribe_audio"
  }
}

Input Schema

NameRequiredDescriptionDefault
modelNoOptional speech-to-text model (list_models with category audio shows them). Leave empty for the default, Grok STT.
max_usdNoAPI key only: maximum approved USD as a decimal string with up to 9 fractional digits. Set currency to USD. Only set after the user confirms the quoted cost_usd. Never convert max_credits.
currencyNoBilling unit: USD for API keys; credits for OAuth (optional for existing OAuth clients).
languageNoOptional spoken language code, for example en, es, fr, de, ja. Leave empty to detect it.
audio_urlYesThe recording to turn into text, for example an MP3, WAV or a voiceover made earlier (https or popnow:// link).
max_creditsNoOAuth only: the most site credits the user agreed to spend on this. Only set it after the user confirmed a quoted price.
production_idNoOptional. Run this inside a production opened with open_production: it is paid from that production's budget and needs no separate approval while the budget lasts.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / production_id
      Added value: +{
      +  "description": "Optional. Run this inside a production opened with open_production: it is paid from that production's budget and needs no separate approval while the budget lasts.",
      +  "type": "string"
      +}
  2. Added

TDQS

A4.1/5.0
Behavior4/5

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

Beyond the annotations (readOnlyHint=false, openWorldHint=true), the description discloses the two billing regimes, a concrete price floor (3 credits per minute on the default model), and that spend must be approved against a quoted cost. It omits whether transcription is synchronous or a job to poll, and gives no hint about the returned text artifact, which matters for a potentially long-running open-world call.

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?

Three tight sentences: purpose first, then the two billing paths, then the approval sequence. No filler and nothing repeated from the schema or annotations.

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?

For a 7-parameter, open-world, non-idempotent call, the description covers the highest-risk dimension (cost and approval) well and the schema covers every parameter. With no output schema, the description should still say what comes back (transcript text, URL, or a job handle), which is the one meaningful gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so a baseline of 3 applies, but the description adds sequencing semantics the schema does not: max_credits and max_usd are only meaningful after a quoted price is confirmed, and they must not be converted into one another. That relationship between parameters is genuinely new information.

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?

"Turn speech in a recording into text" is a specific verb+resource statement that an agent can act on, and it implicitly contrasts with create_speech (text-to-speech) in the sibling list. It does not explicitly name an alternative or state scope limits such as max file size or duration, so it stops short of the top mark.

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?

The description gives clear procedural guidance for the approval flow: omit approval to receive a quote, then confirm via max_credits (OAuth) or USD/max_usd (API key). It does not state when to prefer this tool over a sibling or any preconditions about audio format or length, so it is clear context without 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.