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
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. |
TDQS
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. |
TDQS
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.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
2 tool updates
- First observed
get_ajax_download_php - First observed
get_ajax_progress
Frequently Asked Questions
Claiming proves that you control a remote MCP connector. It does not move, proxy, or interrupt the server.
Open the connector listing, choose Claim ownership, and sign in to Glama.
Complete one verification method:
GitHub identity — fastest for official registry listings. For a namespace such as
io.github.alice/server, link the matching GitHub user, then choose Claim with GitHub. An organization namespace such asio.github.acme/serveralso needs that organization to have installed the Glama AI GitHub App and approved its permissions, because GitHub discloses organization membership only to apps it has installed. Use HTTP or DNS when it has not.HTTP challenge — works when you can deploy a public file. Generate a token, publish the exact JSON Glama shows at
/.well-known/glama.jsonon the same origin as the connector, then choose Check HTTP challenge.DNS challenge — works when you control DNS but cannot change the server. Generate a token, create the exact TXT record Glama shows, wait for it to propagate, then choose Check DNS challenge.
After verification, Glama sends a confirmation email and gives you access to listing details, thumbnails, health checks, and analytics. Keep the HTTP file or DNS record in place: Glama periodically checks it and ownership remains verified while the token is discoverable.
The HTTP ownership file has this structure:
{
"$schema": "https://glama.ai/mcp/schemas/connector.json",
"claim": "glama_claim_..."
}Claim tokens are opaque, stable, and bound to the signed-in Glama account. They contain no email address or other personal information. If Glama can no longer discover a verified HTTP or DNS token, it starts a seven-day grace period before removing claim-based access. Restore the same token during that period to keep ownership verified. Never publish an email address, Glama session token, GitHub token, or connector credential as ownership proof.
If verification fails, confirm that you copied the current token exactly. The HTTP file must be public, return valid JSON with a successful HTTP response, and stay on the connector's origin. DNS changes may need more time to propagate. A claim cannot transfer to a different origin or hostname: if the connector target changes, Glama starts the grace period and the new target must be claimed separately after the previous claim is released.
For a connector linked to the official MCP Registry, registry updates continue to replace its name, description, and URL by default. After claiming, open Manage connector and enable Use Glama listing details as the source of truth if edits made on Glama should be preserved. Categories and thumbnails are always managed on Glama; registry linkage and technical connection settings continue to sync.
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
To improve your MCP server's ranking:
Claim ownership of the server listing
Complete the server profile with an accurate description and thumbnail
Provide a test profile so Glama can connect to and evaluate the server
Keep tool definitions clear and complete to earn a high Tool Definition Quality Score (TDQS)
Route real usage through the Glama Gateway; more recorded successful server uses also improve the ranking
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 Connectors
YouTube Downloader API: The YouTube Downloader API enables fast and easy downloading of YouTube.
Cloud Api Hub - Youtube Downloader: Get Youtube video info and download links to MP4 or MP3 file.
SERP data scraper: Scrape Search Results and get all the data you need. On the JoJ API marketplace.
social media video downloader: A comprehensive API for extracting video details, metadata, and.
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
- AlicenseNot gradedqualityBmaintenanceEnables 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
Glama MCP Gateway
Add one secure layer between your agents and this server.
TDQS
The two tools have clearly distinct roles: one creates a download job and the other polls its progress. There is no overlap or ambiguity between them.
Both tools share the get_ajax_ prefix, which is consistent, but the second segment is not parallel: download_php is an implementation detail while progress is a resource. The naming is readable but not cleanly patterned.
Two tools is minimal but appropriate for a narrow asynchronous download API: submit and poll are the essential operations. It is slightly below the typical 3-15 range, but each tool earns its place.
The core workflow is covered: submit a job, poll for completion, and retrieve the final download URL. Missing cancel or format-discovery endpoints are minor gaps for this narrow scope.