Skip to main content
Glama
MediaCrawler MCP Server

MediaCrawler MCP Server

by CubericW

get_post_detail

Fetch specific posts by platform-native IDs from supported Chinese social platforms, with optional comments, to retrieve detailed post data and discussions for analysis.

Instructions

Fetch specific posts by their platform id(s), with optional comments.

Args: platform: one of xhs, dy, ks, bili, wb, tieba, zhihu. post_ids: platform-native IDs. XHS accepts note IDs, ordinary note URLs and xhslink.com links. with_comments: include comments (default from config).

Browser platforms queue behind other local browser crawls. XHS uses Apify.

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": {
      "platform": "<platform>",
      "post_ids": "<post_ids>"
    },
    "name": "get_post_detail"
  }
}

Input Schema

NameRequiredDescriptionDefault
platformYes
post_idsYes
with_commentsNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does disclose real operational traits: browser-backed platforms queue behind other local browser crawls (latency implication), XHS is served through Apify (different backend/behavior), and with_comments defaults from config. It does not state authentication prerequisites or failure behavior for invalid IDs, which is the remaining gap.

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 a one-sentence summary, followed by a compact Args block and a short operational note. Every line conveys information; the Args: docstring framing is slightly formal but not wasteful.

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. For a 3-parameter read tool with no annotations, the description covers platform enumeration, ID formats and execution routing. Missing are authentication prerequisites (relevant given the login_status sibling) and accepted ID formats for platforms other than XHS.

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

Parameters4/5

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

Schema description coverage is 0%, so the description must compensate, and it does: it enumerates the accepted platform values (xhs, dy, ks, bili, wb, tieba, zhihu), which the schema lacks entirely, describes accepted post_ids formats such as note IDs, ordinary note URLs and xhslink.com links, and explains with_comments as a config-derived default. It only documents ID formats for XHS, leaving other platforms' accepted ID shapes unspecified.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource: fetch specific posts by platform id(s), optionally with comments. The phrase 'specific posts by their platform id(s)' implicitly contrasts with search_posts and get_creator_posts without naming them, so an agent can tell it is the direct-lookup path rather than the discovery path.

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?

Usage is implied: use it when you already have platform-native post IDs. There is no explicit when-not or named alternative (e.g. search_posts when only a keyword is known, get_creator_posts when author is the starting point). The with_comments default note adds a small amount of guidance but no routing advice.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.