Skip to main content
Glama

aistudio_transcribe

Transcribe local audio or video files into SRT, Markdown, TXT, or JSON with timestamps and speaker labels, plus optional language hints and custom output paths.

Instructions

Transcribe a local audio or video file with timestamps and speaker labels (.srt, .md, .txt, .json).

Args: file_path: Local path to the audio or video file. format: Output format: 'srt', 'md', 'txt', or 'json'. Default 'srt'. include_speakers: Include speaker diarization labels (default True). include_timestamps: Include timestamps (default True). language: Optional spoken language hint (e.g. 'Arabic', 'Egyptian Arabic', 'English'). output_path: Optional output transcript path. use_browser: True (default) runs via AI Studio Chrome; False uses Gemini API directly.

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": {
      "file_path": "<file_path>"
    },
    "name": "aistudio_transcribe"
  }
}

Input Schema

NameRequiredDescriptionDefault
formatNosrt
languageNo
file_pathYes
output_pathNo
use_browserNo
include_speakersNo
include_timestampsNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does disclose meaningful behavior: default output format, default-on diarization and timestamps, and the two backends with their defaults. It says nothing about prerequisites (e.g. a browser login being required for the default path), runtime expectations, or whether long transcriptions need job polling via aistudio_check_job — the operational risks an agent most needs.

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?

A single front-loaded summary sentence followed by a compact Args block; each line carries a distinct fact with no filler. Slight redundancy with the schema's titles, but the added detail (enum values, defaults, backend semantics) justifies the length.

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

Completeness3/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 described, and the parameters are well covered. For a 7-parameter tool with two distinct execution backends and zero annotation coverage, however, the description omits the operational context an agent needs — auth/login prerequisites for the default browser path and whether the call is synchronous.

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 description coverage is 0%, so the description must compensate, and it does: all 7 parameters are explained with meaning and defaults, including the allowed format values ('srt','md','txt','json', absent from the schema as an enum) and worked language hints ('Arabic', 'Egyptian Arabic'). Remaining gap is minor — it does not say what happens when output_path is omitted or how file_path interacts with the browser backend.

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 first sentence gives a specific verb (transcribe) plus the resource (a local audio or video file) and enumerates the concrete artifacts produced (.srt, .md, .txt, .json). It is unambiguous about what the tool does, though it never references a sibling such as aistudio_analyze_media to mark the boundary between transcribing and analyzing media.

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: the word 'local' narrows it to on-disk files, and the use_browser arg notes two execution paths (AI Studio Chrome vs Gemini API directly). There is no explicit when-to-use/when-not statement and no alternative tool is named, so an agent must infer that aistudio_analyze_media is the choice for non-transcript analysis.

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