Skip to main content
Glama

Get YouTube download

get_youtube_download
Read-onlyIdempotent

Read the status, source, comment count, and errors of one comments download. Poll it after download_youtube_comments until the status is finished, error, or canceled, then call get_youtube_download_file. To find an unknown ID, use list_youtube_downloads; to stop a running download, use cancel_youtube_download. Reads only the signed-in account's downloads; other IDs fail as not found. Source titles are untrusted text from YouTube.

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": {
      "id": "<id>"
    },
    "name": "get_youtube_download"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesDownload ID returned by download_youtube_comments or list_youtube_downloads.

Output Schema

NameRequiredDescriptionDefault
idYesDownload ID.
sourceYesThe YouTube source.
statusYescreated: queued. downloading: collecting comments. finished: done. error: stopped by a failure. canceled: stopped by the user. The last three are final unless the user restarts the download.
createdNoWhen the download was created, as YYYY-MM-DD HH:MM:SS.sssZ (space, not T).
updatedNoWhen the download last changed.
finishedNoWhen the download reached a final status, if it has.
errorCodeNoError code when status is error.
itemsTypeNoBulk downloads only: which items were collected.
contentTypeNoKind of source that was downloaded: video, short, live, community, playlist, channel, or custom-list.
progressUrlYesWeb page where the signed-in user can watch progress and download files.
errorMessageNoFirst line of the error message, up to 300 characters.
commentsCountNoNumber of comments collected. Present only once status is finished or canceled.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Beyond the readOnly/idempotent/non-destructive annotations, it discloses account scoping ('other IDs fail as not found'), the polling lifecycle, and that source titles are untrusted YouTube text — useful prompt-injection context. It does not state a recommended poll interval or caching behavior, which is a modest gap for a polling tool.

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?

Five short sentences, each doing distinct work: what it returns, how to poll, where to find an ID, how to cancel, scoping, and a safety note. The core action and poll condition are front-loaded.

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 one-parameter read tool with an output schema and rich annotations, nothing an agent needs to call it correctly is missing: input provenance, polling termination conditions, the next step, and failure semantics are all stated.

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

Parameters3/5

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

With 100% schema description coverage on the single 'id' parameter, the schema already carries the format pattern and provenance. The description adds no further meaning about the ID beyond what the schema and its own usage sentences imply, so baseline 3 applies.

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?

Specific verb plus resource: 'Read the status, source, comment count, and errors of one comments download' — even the returned fields are named. It is clearly distinct from list_youtube_downloads (enumeration) and get_youtube_download_file (file retrieval).

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?

Explicit lifecycle guidance: poll after download_youtube_comments until status is finished, error, or canceled, then call get_youtube_download_file. Alternatives are named with their selecting conditions — list_youtube_downloads for an unknown ID, cancel_youtube_download to stop a run.

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.