youtube-download-api
Server Details
Youtube Download API: Download audio and video from YouTube. On the JoJ API marketplace.
- Status
- Healthy
- Last Tested
- Transport
- Streamable HTTP
- URL
Glama MCP Gateway
Connect through Glama MCP Gateway for full control over tool access and complete visibility into every call.
Full call logging
Every tool call is logged with complete inputs and outputs, so you can debug issues and audit what your agents are doing.
Tool access control
Enable or disable individual tools per connector, so you decide what your agents can and cannot do.
Managed credentials
Glama handles OAuth flows, token storage, and automatic rotation, so credentials never expire on your clients.
Usage analytics
See which tools your agents call, how often, and when, so you can understand usage patterns and catch anomalies.
Tool Definition Quality
Score is being calculated. Check back soon.
Available Tools
2 toolsget_ajax_download_phpCreate a download jobAInspect
Submits a new download job for the given url in the requested format.
Returns a unique id you can pass to the Progress endpoint to poll for
completion and retrieve the final download URL. Billing per call: 1 Credits.
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | The URL-encoded URL of the video to download (YouTube and other supported sources). | |
| apikey | No | Your personal API key. | |
| format | No | The output format to download. Accepted values: `mp3`, `m4a`, `webm_audio`, `aac`, `flac`, `opus`, `ogg`, `wav`, `144`, `240`, `360`, `480`, `720`, `1080`, `1440`, `4k`, `8k`. Audio formats have a 120-minute base duration limit; video formats have format-specific limits (1080p=90m, 1440p=60m, 4k/8k=15m, everything else=120m). | |
| add_info | No | Set to `1` to include the `info` object (title + thumbnail) in the response. Defaults to `0` when omitted. | |
| end_time | No | Optional. End time (in seconds) of a cut/segment download. | |
| no_merge | No | If set to `1`, audio and video streams are **not** merged. The client receives a zip file containing the separate streams. Defaults to `0` (streams are merged into a single file). | |
| start_time | No | Optional. Start time (in seconds) of a cut/segment download. When `start_time`/`end_time` are supplied, progress is not reported — the Progress endpoint only returns initialization and the final success / failure status. | |
| audio_quality | No | Audio bitrate in kbps. Common values include `128`, `192`, `256`, `320`. | |
| audio_language | No | YouTube only. Selects the audio track language by BCP-47 / YouTube language code. If the requested track is not available on the video, the default track is used instead. No additional cost. Supported codes: `af, az, id, ms, bs, ca, cs, da, de, et, en-IN, en-GB, en, es, es-419, es-US, eu, fil, fr, fr-CA, gl, hr, zu, is, it, sw, lv, lt, hu, nl, no, uz, pl, pt-PT, pt, ro, sq, sk, sl, sr-Latn, fi, sv, vi, tr, be, bg, ky, kk, mk, mn, ru, sr, uk, el, hy, iw, ur, ar, fa, ne, mr, hi, as, bn, pa, gu,… | |
| allow_extended_duration | No | Set to `1` to permit downloads whose video duration exceeds the format's base duration limit. Extended-duration jobs are charged a multiplier of the base price (see the `ExtendedDuration` response object). Defaults to `0` when omitted. |
Tool Definition Quality
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full transparency burden. It disclosed that the tool starts an asynchronous job, returns an id for polling, and that every call costs 1 Credit. It does not deeply document error behavior, but for a job-submission tool this is meaningful and mostly indicates that behavior.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two short sentences cover the core purpose, the asynchronous return, the polling step, and the cost. There is no fluff or repetition, and the most important details are front-loaded.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The description gives a complete high-level lifecycle: create job, get id, poll, retrieve final URL. However, because there is no output schema and no explanation of the accept response body, a unhelpfulness for the agent to know exactly what additional fields to expect beyond the id. Still, the schema provides rich supplemental detail for all parameters.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema already provides rich descriptions for all 10 parameters, including accepted values, defaults, duration limits, and special conditions. The description only repeats url and format without adding new syntax or semantic detail beyond the schema, so it stays at the schema coverage baseline.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description is explicitly action-oriented: "Submits a new download job for the given `url` in the requested `format`." It also explains the unique id returned for later progress polling, which clearly separates this tool from the sibling get_ajax_progress.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description explains the intended sequence: submit a job, get an id, pass it to the Progress endpoint, and poll for the final URL. It does not provide explicit when-not-to-use guidance, but the subordinate relationship to the progress tool is clear enough.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_ajax_progressCheck download progressAInspect
Polls the status of a previously-submitted download job. Keep polling
until progress == 1000 (i.e. 100%) and download_url is populated. Billing per call: 1 Credits.
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | The job id returned by the Download endpoint. |
Tool Definition Quality
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden and does well: it discloses the polling nature, the exact success criteria fields (progress and download_url), and the cost implication ('Billing per call: 1 Credits'). It lacks error/failure behavior details (e.g., what happens if the job id is invalid), but the disclosed cost and polling semantics are valuable beyond the schema.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Three compact sentences, each earning its place: purpose, polling condition, and cost. Front-loaded with the core verb and resource, with zero filler or redundancy.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple one-parameter polling tool with no output schema and no annotations, the description provides the essential completion criteria (progress == 1000, download_url populated), which is the single most critical piece of information an agent needs. The cost disclosure adds operational context. The polling semantics are fully specified, making the tool self-sufficient despite lacking an output schema.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema covers 100% of the parameter with 'The job id returned by the Download endpoint,' so the description adds minimal parameter-specific value. The description does reference the response fields (progress, download_url) that the agent needs to inspect, but this is output behavior rather than input parameter deepening—baseline 3 is appropriate given full schema coverage.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the verb ('Polls') and resource ('status of a previously-submitted download job'), making the tool's function obvious against the sibling get_ajax_download_php. The title 'Check download progress' reinforces the purpose, though the description doesn't explicitly name the sibling as the alternative for actually fetching the download.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Provides excellent when-to-use guidance with the explicit polling loop: 'Keep polling until `progress == 1000` (i.e. 100%) and `download_url` is populated.' This gives the agent a concrete success condition and termination criteria. However, it does not explicitly state when NOT to use this tool versus the sibling (e.g., when to call get_ajax_download_php instead).
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Claim this connector by publishing a /.well-known/glama.json file on your server's domain with the following structure:
{
"$schema": "https://glama.ai/mcp/schemas/connector.json",
"maintainers": [{ "email": "your-email@example.com" }]
}The email address must match the email associated with your Glama account. Once published, Glama will automatically detect and verify the file within a few minutes.
Control your server's listing on Glama, including description and metadata
Access analytics and receive server usage reports
Get monitoring and health status updates for your server
Feature your server to boost visibility and reach more users
For users:
Full audit trail – every tool call is logged with inputs and outputs for compliance and debugging
Granular tool control – enable or disable individual tools per connector to limit what your AI agents can do
Centralized credential management – store and rotate API keys and OAuth tokens in one place
Change alerts – get notified when a connector changes its schema, adds or removes tools, or updates tool definitions, so nothing breaks silently
For server owners:
Proven adoption – public usage metrics on your listing show real-world traction and build trust with prospective users
Tool-level analytics – see which tools are being used most, helping you prioritize development and documentation
Direct user feedback – users can report issues and suggest improvements through the listing, giving you a channel you would not have otherwise
The connector status is unhealthy when Glama is unable to successfully connect to the server. This can happen for several reasons:
The server is experiencing an outage
The URL of the server is wrong
Credentials required to access the server are missing or invalid
If you are the owner of this MCP connector and would like to make modifications to the listing, including providing test credentials for accessing the server, please contact support@glama.ai.
Discussions
No comments yet. Be the first to start the discussion!
Related MCP Servers
- AlicenseCqualityDmaintenanceEnables downloading MP3 audio files from YouTube videos by providing a YouTube URL through the Youtube Mp310 API.1MIT
- AlicenseCqualityDmaintenanceEnables users to stream or download YouTube video information and direct links via the Ytstream API. It supports geographic optimization and language selection for better download speeds and audio availability.1MIT
- AlicenseBqualityDmaintenanceEnables comprehensive YouTube data access including video details, playlists, channels, comments, search, and subtitle operations through the YouTube Media Downloader API.19MIT
- Alicense-qualityBmaintenanceEnables AI assistants to download video or audio from YouTube, TikTok, Twitter/X, SoundCloud, Vimeo, Twitch, Streamable, Bandcamp, Mixcloud, and Dailymotion via a hosted MCP server.MIT