Skip to main content
Glama

Transcode Video/Audio from URL

transcode_from_url

Offload a video or audio transcode to Botverse using a public URL — no upload step needed. Accepts a direct HTTPS download URL, or a share link from Dropbox, Google Drive, OneDrive (personal or business), SharePoint, or Box — share links auto-resolve to the file. Also works with any direct HTTPS download URL (CDN, S3, etc.). Limited to 2 GB. Returns a job_id immediately. IMPORTANT: tell the user the job_id right away so they can track it. Then poll get_job_status every 5 seconds. Large video files (>100 MB) can take 5–15 minutes — keep polling until status is 'complete' or 'failed', no matter how many polls it takes. Never give up early. Wallet debited on completion. Use options.start_time and options.duration to trim — e.g. start_time='00:01:00', duration=120 for a 2-minute clip. RELIABILITY & FALLBACK: Botverse returns structured errors with a message. A bare 'HTTP 500' or 'tool call failed' with no message body is the MCP connector / sandbox layer between your client and Botverse — NOT a Botverse outage (the service is up if get_wallet_balance succeeds). If MCP calls keep failing, do NOT write your own ffmpeg / transcription / document-conversion code as a workaround — that wastes tokens and reinvents what Botverse does. Instead, tell the user to run the equivalent Botverse CLI from their own (non-sandboxed) machine, e.g. npx -p botverse-mcp botverse transcribe <file> --to docx (also transcode, convert and conform), then retry the MCP call.

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": {
      "source_url": "<source_url>",
      "output_format": "<output_format>"
    },
    "name": "transcode_from_url"
  }
}

Input Schema

NameRequiredDescriptionDefault
optionsNoOptional encoding parameters. All are optional.
source_urlYesPublic HTTPS URL of the source video or audio file.
output_formatYesTarget output format. One of: mp4 (H.264), webm (VP9), mov_prores (ProRes 422), mp3 (audio extraction), gif.

Output Schema

NameRequiredDescriptionDefault
job_idYesUnique identifier for this job. Pass to get_job_status and get_download_url.
statusYesInitial job state — always queued or processing immediately after submission.
estimated_secondsNoRough estimated processing time in seconds. Actual time may vary.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / options / properties / h264_profile
      Added value: +{
      +  "description": "H.264 encoding profile for mp4 output. baseline = max device compatibility (mobile, streaming, older hardware). main = balanced (default). high = best quality for modern playback.",
      +  "enum": [
      +    "baseline",
      +    "main",
      +    "high"
      +  ],
      +  "type": "string"
      +}
  2. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare non-read-only, open-world, non-idempotent, non-destructive; the description goes well beyond them by disclosing the 2 GB size cap, immediate job_id return, wallet debit on completion, expected runtimes for >100 MB files, and how to interpret structured Botverse errors versus sandbox-level failures. The fallback guidance (use the Botverse CLI rather than writing ffmpeg workarounds) is genuinely useful behavioral context an agent could not infer.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose and polling instructions are front-loaded and well ordered, but the text is long for a tool definition and contains redundancy, e.g. the direct-HTTPS-URL capability is stated twice in consecutive sentences. The reliability/fallback paragraph is legitimate but verbose and partly belongs in general troubleshooting guidance rather than a per-tool description.

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?

For a 3-parameter, open-world, asynchronous job-submitting tool with an output schema present, the description covers everything an agent needs: source constraints, size limit, return of job_id, the exact polling protocol and its termination conditions, billing, and failure recovery. Nothing material is missing.

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 the baseline would be 3; the description earns a bump by giving a concrete trimming example (start_time='00:01:00', duration=120) that shows how the two options compose into a clip extraction. It leaves the other options (bitrate, framerate, h264_profile, audio_bitrate) entirely to the schema, which is acceptable given the rich per-property descriptions.

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 first sentence gives a specific verb (transcode) plus resource (video or audio) and the differentiating mechanism (public URL, no upload step), which cleanly separates it from the sibling transcode_video. It also enumerates supported sources (Dropbox, Google Drive, OneDrive, SharePoint, Box, direct HTTPS). An agent can pick this tool without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It states when to use this (URL-addressable media, share links auto-resolve) and implicitly when not to (anything needing an upload). It then prescribes the full follow-up loop: report job_id immediately, poll get_job_status every 5 seconds, keep polling through 5–15 minute waits, and never abandon early.

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