Skip to main content
Glama

PostToData

Comments

get_comments
Read-only

The replies under one post, flattened with depth. Returns compact results with source URLs where available. Use list_platforms first for input formats and coverage limits. Works on: facebook, bluesky, hackernews, youtube, reddit, x, tiktok, instagram, threads, xiaohongshu, douyin, bilibili, weibo, kuaishou, linkedin. Uses prepaid credit with an API key or OAuth access token.

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>",
      "id": "<id>"
    },
    "name": "get_comments"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesPost ID, or the public URL of the post.
limitNoItems to return, 1 to 50. Default 10.
platformYesWhich platform to read. Live now: Facebook, Pinterest, Meta Ad Library, Google Ads Transparency, Bluesky, Hacker News, YouTube, Reddit, X (Twitter), TikTok, Instagram, Threads, Xiaohongshu (RedNote), Douyin, Bilibili, Weibo, Zhihu, Kuaishou, LinkedIn, Telegram, WeChat Official Accounts, WeChat Channels, WeChat Search.
max_price_usdNoMaximum list price in USD for this call (e.g. "0.003"). Up to 6 decimal places, including zero. A higher current price returns 412 price_limit_exceeded before any upstream request or charge. REST also accepts X-Max-Price; if both are set, both limits apply.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / max_price_usd
      Added value: +{
      +  "description": "Maximum list price in USD for this call (e.g. \"0.003\"). Up to 6 decimal places, including zero. A higher current price returns 412 price_limit_exceeded before any upstream request or charge. REST also accepts X-Max-Price; if both are set, both limits apply.",
      +  "type": "string"
      +}
  2. Changed2 schema fields changed
    • changedInput schema / properties / platform / description
      Previous value: -"Which platform to read. Live now: Bluesky, Hacker News, YouTube, Reddit, X (Twitter), TikTok, Instagram, Threads, Xiaohongshu (RedNote), Douyin."New value: +"Which platform to read. Live now: Facebook, Pinterest, Meta Ad Library, Google Ads Transparency, Bluesky, Hacker News, YouTube, Reddit, X (Twitter), TikTok, Instagram, Threads, Xiaohongshu (RedNote), Douyin, Bilibili, Weibo, Zhihu, Kuaishou, LinkedIn, Telegram, WeChat Official Accounts, WeChat Channels, WeChat Search."
    • changedInput schema / properties / platform / enum
      Previous value: -[
      -  "bluesky",
      -  "hackernews",
      -  "youtube",
      -  "reddit",
      -  "x",
      -  "tiktok",
      -  "instagram",
      -  "threads",
      -  "xiaohongshu",
      -  "douyin"
      -]New value: +[
      +  "facebook",
      +  "bluesky",
      +  "hackernews",
      +  "youtube",
      +  "reddit",
      +  "x",
      +  "tiktok",
      +  "instagram",
      +  "threads",
      +  "xiaohongshu",
      +  "douyin",
      +  "bilibili",
      +  "weibo",
      +  "kuaishou",
      +  "linkedin"
      +]
  3. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, but the description adds real value beyond them: the result shape ("flattened with depth", "compact results with source URLs where available"), the supported-platform set, and the billing/auth model (prepaid credit via API key or OAuth token). That cost and auth disclosure is exactly the kind of context annotations cannot carry.

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

Conciseness3/5

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

The purpose and prerequisite lead the description, which is good front-loading. However, the 15-name platform list is pure duplication of the enum in the schema and consumes a large share of the text without adding information, violating the rule that every sentence must earn 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?

With no output schema, the description does enough by sketching the return shape and noting source URLs where available, plus auth and billing prerequisites. For a 4-parameter read tool this covers what an agent needs, though pagination behavior and what happens at the limit boundary are unaddressed.

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 coverage is 100%, so the schema already documents id, limit, platform and max_price_usd in detail, which sets the baseline at 3. The description adds nothing about parameter behavior — the platform enumeration merely restates the enum, and max_price_usd is never referenced in prose.

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?

"The replies under one post, flattened with depth" names the specific resource (comments/replies) and scopes it to a single post, which separates it from get_post or get_user_posts without opening schemas. It is a noun phrase rather than a verb phrase, and it never names a sibling, so it falls short of a 5.

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 description gives one useful prerequisite pointer — "Use list_platforms first for input formats and coverage limits" — which tells the agent how to sequence calls. It does not state when to prefer this over get_post or search_posts, nor any exclusions, so usage is only partially guided.

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