Skip to main content
Glama

get_post

Read-only

One post in full: text, account, status, schedule, media, links, and for a published post its lifetime metrics.

With account_id, post_id is instead one of that account's own posts on its network, published through Antwork or not: the id fetch_platform_posts gave it, or its permalink. The answer is its comments only, as include_comments gives them (platformPostId, comments, commentReply). It must be one of the account's 25 newest posts (100 on Instagram and TikTok); any other, another person's included, answers not_own_post. It reads one post per call: post_ids does not combine with account_id.

A published post (15 minutes or older) whose numbers are more than 15 minutes old (LinkedIn: an hour) is read from its network before answering; an X post only when nothing has read it yet. metricCells holds each metric (likes, comments, shares, impressions, reach, saves, clicks, bookmarks, linkClicks, profileVisits, follows, watchTimeSeconds, quotes) with whether it was measured (a 0 the platform reported vs a field it does not report). The text is current even if the user edited it in the web composer (editUrl; mediaUrl and settingsUrl open its media picker and platform settings). mediaUrls are library files: create_post(media_urls=...) reuses them to repost on another account. Per-day history is get_performance(post_id=...). approval (approval workspaces): state, decidedBy, decidedAt, and requestedFor while pending. A draft with state changes_requested was sent back: make the change its note asks, then schedule_post it again. post_ids reads up to 25 posts in one call: posts has one entry per id, each this shape or that id's error; with include_comments, up to 5. Status publishing: on its way out, not stuck; check once after checkAfterSeconds.

Args: post_id: The post ID. workspace_id: Workspace ID or name. Optional if user has only one workspace. include_comments: Published posts only: add comments, the latest 20 read live from the network (newest first, replies one level deep, each with the id reply_to_comment takes), and commentReply (whether this network takes replies). TikTok, Pinterest, Google Business Profile, Slack, Discord, Telegram and LinkedIn personal profiles never share comments: every post there answers commentsUnavailable, so skip them instead of asking post by post; commentsNote says the list misses older replies (X: 7 days). post_ids: Several Antwork posts to read at once, instead of post_id. Not with account_id. account_id: The connected account whose own post post_id is, for its comments. One post_id per call.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_post"
  }
}

Input Schema

NameRequiredDescriptionDefault
contextNoThe user's underlying goal for this call, in one sentence without personal details. Used for product analytics only.
post_idNo
post_idsNo
llm_modelNoThe model identifier of the calling assistant, or "unknown". Used for product analytics only.
account_idNo
workspace_idNo
conversation_idNoThe conversation_id this server returned earlier in this conversation, unchanged, including after later user messages. Omit it if you have none. Recorded for the server developer's analytics.
include_commentsNo

Output Schema

NameRequiredDescriptionDefault
_mcp_instructionsNoServer-issued metadata for this conversation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / account_id
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Account Id"
      +}
  2. Changed1 schema field changed
    • changedInput schema / properties / conversation_id / description
      Previous value: -"Pass the exact conversation_id from the server's previous response, unchanged. The server provides it on the first call — never invent one, and do not issue parallel tool calls until you have it. Keep passing the same conversation_id for the rest of the conversation, including after later user messages or on a different task; do not reset it when the user starts a new request."New value: +"The conversation_id this server returned earlier in this conversation, unchanged, including after later user messages. Omit it if you have none. Recorded for the server developer's analytics."
  3. Changed5 schema fields changed
    • addedInput schema / properties / post_id / anyOf
      Added value: +[
      +  {
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedInput schema / properties / post_id / default
      Added value: +null
    • removedInput schema / properties / post_id / type
      Removed value: -"string"
    • addedInput schema / properties / post_ids
      Added value: +{
      +  "anyOf": [
      +    {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Post Ids"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "post_id"
      -]New value: +[]
  4. Changed1 schema field changed
    • addedInput schema / properties / include_comments
      Added value: +{
      +  "default": false,
      +  "title": "Include Comments",
      +  "type": "boolean"
      +}
  5. Changed1 schema field changed
    • changedInput schema / required
      Previous value: -[
      -  "post_id",
      -  "context",
      -  "llm_model"
      -]New value: +[
      +  "post_id"
      +]
  6. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Beyond the read-only/open-world annotations, the description discloses important live behavior: metrics more than 15 minutes old may be re-read from the network, X posts are re-read only when nothing has read them yet, metricCells distinguishes measured zero from unreported fields, and comments are read live with known limitations. It also explains error-like answers such as not_own_post and commentsUnavailable, and clarifies that status publishing is in progress rather than stuck.

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?

The description is front-loaded with the core purpose and nearly every detail is functional for a complex read tool, but it is extremely dense and packed into long parenthetical-heavy sentences. The content is useful, though better paragraph or bullet structure would improve scanability.

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?

Given the tool's complexity, the description is complete for invocation decisions and interpretation: it covers normal post reads, account-specific comment reads, batching, freshness rules, comments limitations, approval state, draft rescheduling, and publishing status. The output schema carries return shape, so the description is not required to document every field, and the supplied behavioral context is thorough.

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

Parameters5/5

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

Although schema description coverage is only 38%, the description fully explains the core parameters: post_id can be an Antwork ID, a fetch_platform_posts ID, or a permalink when account_id is supplied; post_ids reads up to 25 posts or 5 with include_comments; account_id restricts post_id to that account's own recent posts; and workspace_id is optional for single-workspace users. It also clarifies the conditional interaction between include_comments, account_id, and post_ids.

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?

The description opens with a precise verb and resource: it returns one post in full, including text, account, status, schedule, media, links, and lifetime metrics. It also distinguishes this tool from siblings by pointing to get_performance for per-day history, fetch_platform_posts for account-post identifiers, schedule_post for changes_requested drafts, and reply_to_comment for comment IDs.

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?

The description gives explicit usage conditions and exclusions: post_ids does not combine with account_id, account_id reads only one of the account's 25 newest posts (100 on Instagram/TikTok), comment-unavailable networks should be skipped, and drafts in changes_requested should be fixed and rescheduled. It also identifies when to use get_performance instead for per-day history.

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.