Skip to main content
Glama

PostToData

User posts

get_user_posts
Read-only

Recent public posts from one account. 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, 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>",
      "username": "<username>"
    },
    "name": "get_user_posts"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoItems to return, 1 to 50. Default 10.
cursorNoOpaque cursor from page.next_cursor of the previous response.
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.
usernameYesAccount handle, with or without a leading @.
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",
      +  "telegram",
      +  "wechat_mp",
      +  "wechat_channels"
      +]
  3. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint and openWorldHint, so the safety profile is covered structure. The description does add non-obvious context: compact results with source URLs, coverage limits, and that calls consume prepaid credit via API key or OAuth token — a real billing/auth disclosure. However, it says nothing about rate limits, partial coverage failures per platform, or how much credit a typical call consumes.

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 opening sentences are front-loaded and efficient, but the 19-item platform list is copied almost verbatim from the platform enum in the schema, consuming roughly half the description with zero added information. Removing it would lose nothing.

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 read-only, non-destructive fetch with a fully documented schema, the description covers what is needed: source, output shape in brief, prerequisite call, supported surface, and billing model. The absence of an output schema is mitigated by the note about compact results with source URLs.

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%, so platform, username, limit, cursor, and max_price_usd are all documented in the schema itself. The description only redirects to list_platforms for "input formats," adding no syntax or constraint detail beyond the structured fields. Baseline 3 applies.

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?

"Recent public posts from one account" gives a specific verb (fetch posts) and scope (single account, recent, public), which implicitly separates it from search_posts and from profile-oriented siblings like get_user. It stops short of explicitly naming an alternative, so it is clear but not fully differentiated.

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?

It gives one concrete prerequisite: call list_platforms first for input formats and coverage limits, which is genuinely useful ordering guidance. It does not state when to prefer this over search_posts or get_user, and gives no exclusion conditions.

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