Skip to main content
Glama

List posts

list_posts
Read-onlyIdempotent

Lists the posts replient.ai stores for a brand (posts that received comments, mentions and ads), newest first by postedAt. Each row has the channel, platform post id (externalId), publish time, caption, links, content type, live status, ad, collaboration and paid-partnership flags, the ad with its ad set and campaign, and the number of comments. from/to filter on postedAt; url finds the post of a pasted post link. The comments of a post: list_comments with postId.

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": {
      "brand": "<brand>"
    },
    "name": "list_posts"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoOnly posts published at or before this time (postedAt), ISO 8601; a plain date covers the whole day.
urlNoA post link copied from Instagram, Facebook, TikTok, YouTube or replient.ai, or a platform post id; returns the post it points to. Short share links (vm.tiktok.com, fb.watch) cannot be resolved.
adIdNoOnly posts that run as these ads (ad.id), exact, up to 100.
fromNoOnly posts published at or after this time (postedAt), ISO 8601.
isAdNotrue: only ads (dark posts and promoted posts); false: only posts that are not ads.
brandYes
limitNo
orderNodesc
cursorNo
searchNoMatches the caption.
adSetIdNoOnly posts of these ad sets (ad.adSetId), exact, up to 100.
timeZoneNo
platformsNo
adCampaignNoOnly posts whose campaign, ad set or ad name contains this text (case-insensitive). A name that matches no ad fails with the brand's campaign names.
channelIdsNoChannel ids from get_brand.
contentTypeNoContent types as the rows name them, e.g. ["reel", "video"]; case is ignored.
adCampaignIdNoOnly posts of these campaigns (ad.campaignId), exact, up to 100; several ids match any of them.
updatedSinceNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already establish readOnly, idempotent, non-destructive and closed-world, so the description adds value by disclosing what a row contains (channel, externalId, times, caption, links, flags, ad with ad set and campaign, comment count) in the absence of an output schema. It also discloses a behavioral limit — short share links such as vm.tiktok.com and fb.watch cannot be resolved — and that an unmatched campaign name fails with the brand's campaign names. Pagination behavior via cursor/limit is left unaddressed.

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?

It is front-loaded with purpose and ordering, then progressively covers row contents and filter semantics, which is the right priority order. The row-field enumeration is long but earns its place given there is no output schema; only minor repetition ('the ad' appears twice in the field list).

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 an 18-parameter read tool with no output schema, the description is unusually complete: it covers the returned shape, the default sort, the key date/link filters and the cross-reference to list_comments. Remaining gaps are pagination (limit/cursor) and timeZone/updatedSince semantics, which an agent must infer.

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 61%, and the description reinforces the most ambiguous filters (from/to on postedAt, url for a pasted link, field semantics of the returned rows). However, several parameters — limit, cursor, order, timeZone, platforms, updatedSince, brand — carry no additional explanation in either the schema or the description, so it only partially compensates for the coverage gap.

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 first sentence names a specific verb and resource (lists posts), scopes it to a brand, clarifies that the set includes comments-received posts, mentions and ads, and states the default order (newest first by postedAt). It also disambiguates from the sibling list_comments by pointing to it for per-post comments.

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?

The description gives concrete routing cues: use url to resolve a pasted post link, use from/to to bound postedAt, and use list_comments with postId to get a post's comments. It does not state explicit when-not-to-use cases or prerequisites for brand/channel selection, but the context for calling it is clear.

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