Skip to main content
Glama

Transcode Video from Inline Content

transcode_content

Offload a video transcode by passing the file bytes inline as base64 — no upload step. Best in sandboxed agent environments that can't make their own HTTP uploads. The whole request body must stay under 4 MB, so this suits short clips; for larger files use transcode_from_url (public URL) or get_upload_url + transcode_video. Returns a job_id immediately — poll get_job_status until 'complete', then call get_download_url. 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": {
      "content": "<content>",
      "input_format": "<input_format>",
      "output_format": "<output_format>",
      "encoding": "<encoding>"
    },
    "name": "transcode_content"
  }
}

Input Schema

NameRequiredDescriptionDefault
contentYesBase64-encoded video or audio file bytes.
optionsNoOptional encoding parameters (same as transcode_video).
encodingYesMust be "base64".
input_formatYesContainer format of the input content.
output_formatYes

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. Added

TDQS

A4.8/5.0
Behavior5/5

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

Goes well beyond the annotations: discloses the 4 MB body ceiling, that the call is asynchronous and returns a job_id immediately, and the follow-up chain to get_job_status and get_download_url. It also explains error semantics — structured Botverse errors versus a bare HTTP 500 originating in the MCP/sandbox layer — which is behavior no annotation conveys.

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?

The core is front-loaded and tight: what it does, when to use it, the size limit, and the sibling alternatives all arrive in the first three sentences. The closing RELIABILITY & FALLBACK block is longer than the tool's own purpose and strays into cross-service operational advice, which dilutes focus.

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?

Given an output schema is present and annotations cover the safety profile, the description supplies everything else an agent needs: the size constraint, the async job lifecycle, and which downstream calls complete the workflow. Nothing required to invoke it correctly 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 80%, so the schema already documents most parameters. The description adds genuinely useful meaning for the 'content' parameter (it is raw base64 bytes constrained by the 4 MB request ceiling) and confirms the options object mirrors transcode_video, but says nothing about output_format choices or the encoded enum values.

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 ('Offload a video transcode') plus the defining mechanism ('passing the file bytes inline as base64 — no upload step'), which is precisely what separates it from transcode_from_url and transcode_video.

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?

Gives explicit when-to-use ('Best in sandboxed agent environments that can't make their own HTTP uploads'), an explicit limit ('whole request body must stay under 4 MB'), and names both alternatives with the condition that selects them: transcode_from_url for larger files, or get_upload_url + transcode_video.

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