Skip to main content
Glama

PostToData

Post detail

get_post
Read-only

One post by ID or URL, with full text and metrics. Returns compact results with source URLs where available. Use list_platforms first for input formats and coverage limits. Works on: facebook, pinterest, meta_ads, google_ads, bluesky, hackernews, youtube, reddit, x, tiktok, instagram, threads, xiaohongshu, douyin, bilibili, weibo, kuaishou, linkedin, telegram, wechat_mp, wechat_channels. 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_post"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesPost ID, or the public URL of the post.
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",
      +  "pinterest",
      +  "meta_ads",
      +  "google_ads",
      +  "bluesky",
      +  "hackernews",
      +  "youtube",
      +  "reddit",
      +  "x",
      +  "tiktok",
      +  "instagram",
      +  "threads",
      +  "xiaohongshu",
      +  "douyin",
      +  "bilibili",
      +  "weibo",
      +  "kuaishou",
      +  "linkedin",
      +  "telegram",
      +  "wechat_mp",
      +  "wechat_channels"
      +]
  3. First observed

TDQS

A4/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 the safety profile is covered; the description adds genuine context beyond that — result shape ('compact results with source URLs where available') and the billing/auth model ('prepaid credit with an API key or OAuth access token'). It does not cover rate limits or what happens on a missing/private post, which keeps it below 5.

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 is front-loaded and the auth note earns its place, but the 21-platform enumeration duplicates the enum already present in the schema and is pure token cost. Roughly half the description is restated structured data, weakening an otherwise tight two-sentence core.

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?

For a single-record read tool with readOnlyHint and no output schema, the description covers what the agent needs: input forms (ID or URL), return shape (full text and metrics, source URLs), and the credit/auth requirement. Only failure-mode behavior (invalid ID, unsupported platform, price rejection) is left to the schema.

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 (ID or public URL), platform (full enum), and max_price_usd (including the 412 price_limit_exceeded behavior). The description only echoes 'ID or URL' and the platform list, and never mentions the max_price_usd budget guard, so it adds little beyond the schema. 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 and resource with explicit scope: 'One post by ID or URL, with full text and metrics.' The singular 'one post' plus 'by ID or URL' cleanly separates it from the plural/listing siblings (search_posts, get_user_posts, get_comments) without needing to name them.

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 an actionable prerequisite: 'Use list_platforms first for input formats and coverage limits,' which tells the agent how to prepare inputs before calling. It stops short of naming alternatives such as search_posts for the case where the agent doesn't already have a post ID, so no exclusion guidance is present.

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