Skip to main content
Glama

Share Link Resolver

Resolve a share link

resolve_share_link
Read-onlyIdempotent

Use this when the user pastes a cloud drive share link (Google Drive, Baidu Netdisk 百度网盘) or a social post link (YouTube, X or Twitter, Reddit, TikTok, Pinterest, Instagram, Threads, Facebook, LinkedIn, Telegram, Bilibili) and wants the files, a direct download or the canonical link. Pass url, or the whole share message; password is the Baidu extraction code (提取码) when sent apart from the link. A drive link returns its files with name, size and date, and Google Drive a direct_url with ready curl, aria2c and Aria2 or Motrix hand-off. A social link returns canonical_url: the platform's own form of the link, tracking parameters dropped, short links followed once. Public links only; private files are refused. Nothing stored.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesThe share link as the owner sent it, such as https://drive.google.com/file/d/<id>/view or https://pan.baidu.com/s/1<code>?pwd=abcd.
passwordNoThe share's extraction code (Baidu 提取码), when the owner sent one apart from the link. A pwd= in the link is read on its own.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
as_ofYesISO 8601 time the data was published by its source or fetched from it. A cached answer keeps the time of its fetch.
filesYes
titleYes
sourceYesWho the data comes from, to cite and to check it against.
statusYes
messageYesOne plain sentence on what was found or what to do next.
downloadYesdirect: direct_url works with curl. sign_in_required: the drive lists the files but serves bytes only to a signed-in account.
providerYesThe registry id of the drive, such as google_drive or baidu.
truncatedYesTrue when the share holds more entries than the answer lists.
canonical_urlYesThe link in the provider's own canonical form, read from a social share link or a short link's redirect. Null for a drive share, which resolves to files instead.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.