Skip to main content
Glama

SocialDataX 今日头条 MCP

toutiao_get_post_detail_by_post_id

Read-only

读取头条文章、视频或微头条详情,包含正文、图片、作者和互动数据,视频含播放信息;输入内容数字 ID,可接续搜索结果。有链接时使用 toutiao_get_post_detail_by_url。视频说明不是语音转写。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
post_idYes头条内容数字 ID,可取搜索结果 post_id;不要传链接。

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
titleYes内容标题;无独立标题的微头条可为空,请阅读 content。
videoNo视频播放信息;当前返回无视频信息时省略。
authorYes内容作者,包含作者主页链接。
imagesYes按正文顺序返回的图片,包含链接和像素宽高;无图片时为空数组。
pointsYes本次成功调用的积分消耗与调用完成时的账户积分余额。
contentYes正文纯文本;纯图片内容或视频可能为空,请结合 images 和 video 阅读。视频说明不是语音转写。
post_idYes内容 ID,以字符串表示。
post_urlYes头条内容页面链接。
like_countYes点赞数;未提供时为 null。
read_countYes阅读数;未提供时为 null。
share_countYes分享数;未提供时为 null。
publish_timeYes发布时间,秒级 Unix 时间戳;未提供时为 null。
collect_countYes收藏数;未提供时为 null。
comment_countYes评论数;未提供时为 null。
cover_image_urlYes封面图片链接;未提供时为 null。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds useful return-shape context (video play info, video description is not a transcription) but says nothing about pagination, errors, or rate limits. Reasonable value-add given annotations carry the safety burden.

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?

Front-loaded with the primary capability and tightly scoped to three short clauses with no filler. The semicolon-chained clauses are slightly dense but every statement earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists so return values need not be explained, and annotations cover the read-only/open-world profile. Purpose, ID source, and the by_url alternative are all present; the only gap is behavioral detail on large-result handling, which is minor for a single-ID lookup.

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?

Only one parameter and schema description coverage is 100%; the schema already documents post_id, its numeric pattern, and the warning not to pass a link. The description's '输入内容数字 ID,可接续搜索结果' restates the same information rather than adding syntax or format detail, 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?

States a specific verb+resource (读取头条文章、视频或微头条详情) and enumerates the returned content (正文、图片、作者、互动数据、视频播放信息), so the agent knows exactly what this retrieves. It also explicitly names the sibling it is not (toutiao_get_post_detail_by_url), letting an agent route between the two without opening either schema.

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

Usage Guidelines4/5

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

Gives a clear selection rule: use this tool when you have a numeric content ID, which can be carried over from search results, and use toutiao_get_post_detail_by_url when you have a link instead. No explicit exclusions beyond that, but the alternative routing is unambiguous.

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