Skip to main content
Glama

SocialDataX YouTube MCP

youtube_get_user_posted_videos_by_channel_url

Read-only

根据 YouTube 频道主页链接获取频道发布视频或 Shorts 列表。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
page_tokenNoYouTube 频道发布列表分页令牌。首次请求留空。继续翻页时必须将上一页返回的完整 next_page_token 原样作为 page_token 传回;page_token 是不透明分页令牌;不得修改、截断、缩写、脱敏、掩码、省略、规范化、重组或自行生成,不得用省略号替换中间内容。只能用于同一频道、同一 video_type 的视频续页;更换频道或 video_type 时,请清空 page_token 后从第一页重新读取。
video_typeNo频道发布视频类型:video=频道“视频”tab,short=频道 Shorts tab。默认 video。当前不支持 live、course 或 playlist。更换 video_type 时,请清空 page_token 后从第一页重新读取。video
channel_urlYesYouTube 频道主页链接;支持 https://www.youtube.com/@用户名、/channel/、/c/ 和 /user/ 链接形态。如果传入频道 tab 子页链接,会规范化到对应的 https://www.youtube.com/... 频道主页。从搜索、详情、评论、评论回复或频道资料结果读取作者发布视频或 Shorts 时,直接传 author.profile_url 或 profile_url;不要传 channel_id、裸 @用户名、频道名称、视频链接、播放列表链接或搜索页链接。

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
itemsYes当前页 YouTube 频道发布视频或 Shorts 列表;当前页可能为空,是否可继续翻页以 next_page_token 是否为空为准。
pointsYes本次成功调用的积分消耗与调用完成时的账户积分余额。
next_page_tokenYes下一页频道发布列表不透明分页令牌;为空表示没有更多视频。继续翻页时必须将返回的完整 next_page_token 原样作为 page_token 传回;只用于同一频道、同一 video_type 的视频续页;不得修改、截断、缩写、脱敏、掩码、省略、规范化、重组或自行生成。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Beyond readOnlyHint and openWorldHint, the definition discloses concrete behavior: it returns a list of videos or Shorts, normalizes tab subpage URLs to the channel homepage, treats page_token as an opaque token that must be passed unmodified, and explicitly rules out live/course/playlist types. This gives the agent actionable expectations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The main description is a single front-loaded sentence that immediately communicates purpose and input. The schema's page_token explanation is thorough but includes some redundant prohibitions; overall it is well-organized and useful.

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 read-only list operation with an output schema, three well-documented parameters, and detailed pagination/token rules, the definition is complete. An agent has everything needed to make a correct first call and continue pagination correctly.

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?

Schema_description_coverage is 100%; channel_url, video_type, and page_token all have detailed descriptions in the input schema. The free-text description adds no additional parameter-level meaning, so the baseline of 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?

The description states a specific verb-resource pair: 获取频道发布视频或 Shorts 列表 (get the channel's posted videos or shorts) from a YouTube channel homepage link. This clearly differentiates the tool from siblings like channel info, video detail, comments, or search.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The schema gives strong contextual guidance: acceptable channel_url forms, what not to pass, when to reset page_token, and video_type restrictions. However, the description never explicitly says when to prefer this tool over sibling tools such as youtube_get_channel_info_by_url, so alternative selection is implied rather than stated.

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.

Resources