Skip to main content
Glama

Ytdlp Recode

ytdlp_recode

Downloads a media URL and re-encodes the video to a target format using ffmpeg, defaulting to MP4. Use for format conversion with re-encoding.

Instructions

Download a media URL and re-encode the resulting video with ffmpeg, defaulting to MP4. Use when the user asks for a target video format and accepts re-encoding.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYes
authNo
dryRunNo
formatNo
outputNo
networkNo
downloadNo
extractorNo
selectionNo
subtitlesNo
thumbnailsNo
postprocessNo
sponsorblockNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okYes
dataNo
errorNo
Behavior3/5

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

Annotations indicate write, non-idempotent, non-destructive behavior. The description adds the default MP4 output but doesn't discuss overwrite policies, performance implications, or further side effects. Consistent with annotations, but minimal added value.

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?

The description is two sentences, front-loads the verb and resource, and contains no extraneous information. Every word earns its place.

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

Completeness2/5

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

Given the tool's complexity (many nested parameters, output schema present), the description is too brief. It fails to guide the agent on configuration fields like format selection, output options, or network settings, which are critical for correct invocation.

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

Parameters1/5

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

With 0% schema description coverage and 13 complex nested parameters, the description offers no explanation of any parameter, leaving the agent to infer from the schema alone. This is insufficient for effective use.

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 description clearly states the tool downloads and re-encodes media, defaulting to MP4, which distinguishes it from siblings like ytdlp_download_video (no re-encoding) and ytdlp_remux (container change only).

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 specifies 'Use when the user asks for a target video format and accepts re-encoding,' giving clear context. However, it lacks explicit mention of when not to use or alternatives like ytdlp_download_video for direct downloads.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/antonio-orionus/yt-dlp-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server