Skip to main content
Glama

Sage Agent x402 Tools

gpu_audio_transcribe

Read-only

Transcribes speech or translates spoken audio to English using OpenAI Whisper Large v3 Turbo with VAD filtering, returning full text, detected language, and timestamped segments. Provide either audio_url (<=12MB) or audio_base64. Use for audio/podcast files; use ai_vision_analyze for images. Read-only, stateless; costs $0.030 Base USDC via x402 (unpaid calls return a v2 quote challenge without charging; invalid inputs return 400 uncharged).

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": "gpu_audio_transcribe"
  }
}

Input Schema

NameRequiredDescriptionDefault
taskNo'transcribe' keeps the original spoken language (default); 'translate' translates speech into English text.transcribe
languageNoOptional ISO-639-1 language hint (e.g. 'en', 'zh', 'es'); auto-detected when omitted.
audio_urlNoPublic HTTP/HTTPS URL of an audio file (MP3/WAV/M4A/OGG, max 12MB). Provide either 'audio_url' or 'audio_base64'.
audio_base64NoBase64-encoded audio file bytes. Provide either 'audio_base64' or 'audio_url'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnlyHint=true, destructiveHint=false), and the description goes well beyond them: it discloses statelessness, the $0.030 USDC x402 payment path, the fact that unpaid calls return a quote challenge without charging, and that invalid inputs return 400 uncharged. Those are exactly the cost/failure-mode details an agent needs before invoking a paid endpoint.

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?

Three sentences, front-loaded with the capability and its return values before cost and failure semantics. Dense but every clause carries information; the parenthetical on payment/400 behavior is slightly compressed but still readable.

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

Completeness5/5

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

With no output schema, the description compensates by naming the return payload (full text, detected language, timestamped segments), the input size limit, and the payment/failure behavior. Nothing material for a correct invocation is missing.

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 description coverage is 100%, so all four parameters (task enum, language hint, audio_url, audio_base64) are already documented in structured form. The description only restates the 12MB ceiling and the either/or input requirement, adding no format or precedence detail beyond the schema; baseline 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?

States a specific verb and resource pair ('Transcribes speech or translates spoken audio to English'), names the underlying model (Whisper Large v3 Turbo) and the VAD preprocessing, and explicitly separates itself from the image sibling. An agent can distinguish this from ai_vision_analyze without opening any schema.

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?

Gives clear context ('Use for audio/podcast files') and names the alternative for the adjacent modality ('use ai_vision_analyze for images'), plus the transcribe-vs-translate choice. It stops short of explicit when-not conditions (e.g. file too large, unsupported format routing), so it is strong but not exhaustive.

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.