Skip to main content
Glama

SocialDataX 今日头条 MCP

toutiao_get_post_detail_by_url

Read-only

通过头条内容链接或分享文案读取文章、视频或微头条详情;只有内容 ID 时使用 toutiao_get_post_detail_by_post_id。视频说明不是语音转写。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYes头条内容链接或包含该链接的分享文案,支持 /article/ID/、/aID/、/video/ID/ 和 /w/ID/,可取搜索结果 post_url;不要传纯 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

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so safety is covered by structured data. The description adds non-obvious context: it accepts share text as well as bare links, spans three content types, and clarifies that video copy is not a transcript. It stops short of describing returning fields or pagination, but with an output schema present that gap is minor.

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?

A single compact sentence that leads with the action and resource, then appends the routing alternative and the transcription caveat. Nothing is wasted, though the three densely packed clauses push slightly past ideal front-loading.

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?

With an output schema present, the description needn't explain return values, and annotations cover the safety profile. Purpose, the sibling fork, and the output caveat are all present, leaving nothing an agent needs to call this 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% and the single url parameter is already documented with supported path patterns and an explicit 'don't pass a bare ID' warning. The description's phrase '链接或分享文案' merely echoes that schema text, so baseline 3 is appropriate for a one-param tool where the schema does the heavy lifting.

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?

Names a specific verb (读取/read detail) plus the resource types it covers (文章、视频、微头条) via link or share text. It explicitly distinguishes itself from the sibling toutiao_get_post_detail_by_post_id, so an agent can route 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 Guidelines5/5

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

States the exact condition under which the sibling applies ('只有内容 ID 时使用 toutiao_get_post_detail_by_post_id'), which is the primary routing decision for this tool. It also warns that video descriptions are not speech transcriptions, heading off a likely misuse.

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