Skip to main content
Glama

List comments

list_comments
Read-onlyIdempotent

Lists the social media comments of a brand in replient.ai as rows of stored facts: ids of the channel, post, parent comment, DM conversation and of the ad, ad set and campaign its post runs as; the author's platform id and name; the full text; platform time (createdAt) and receive time; status flags, sentiment, tags, assignee, number of team notes and time of the latest event. Newest first by createdAt. For reading, finding and acting on single comments; counts, shares and trends come from the analytics tools (include=total with limit=1 gives only the number of matching comments). updatedSince also matches comments with a new event or team note, for incremental sync. include adds suggestions (at most 100 rows per page), notes (the latest 5 per row, at most 100 rows per page), the post row with ad names, reply (the brand's first reply text; with search and answered=true it shows what the brand usually answers on a topic), availableActions, tag colours and total. Text search, tag and handledAction filters look back 90 days unless "from" is given. A page of 500 rows can be several hundred KB. Reading never marks comments as read. MCP and assistant results always include availableActions and tagStyles. get_account lists the brands and the usage guide.

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_comments"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoOnly comments written at or before this time (createdAt), ISO 8601; a plain date covers the whole day.
adIdNo
fromNoOnly comments written at or after this time (createdAt), ISO 8601.
isAdNo
readNotrue: only comments opened in replient.ai; false: only unread ones.
tagsNoTag slugs; matches comments that carry all of them. Without "from", only the last 90 days are searched.
brandYes
limitNo
orderNodesc
cursorNo
postIdNoOnly comments on this post (id from list_posts).
searchNoMatches comment text, author name and the post's platform id. Without "from", only the last 90 days are searched.
statusNo"open": still to be handled, as the open tab shows it. "done": handled or archived. "all" (default): every comment.all
adSetIdNo
hasTextNofalse: only comments without any text. These are star-only reviews (platforms gr, ps, as; rating holds the stars) and comments that are only a GIF, sticker, image or custom emoji (mediaUrls shows the image where the platform gives one). true: only comments with text; Unicode emoji count as text.
includeNo
answeredNotrue: only replied comments (or one of their suggestions was posted); false: only unanswered.
assigneeNo"me": comments assigned to the calling user. "unassigned": assigned to nobody (or to someone who left the team). Or a team member's user id or name: assigned to them.
authorIdNoThe author's platform user id (author.id).
hasNotesNotrue: only comments with team notes; false: only those without.
languageNoISO language codes, e.g. ["de", "en"].
timeZoneNo
fromBrandNotrue: only the brand's own comments and replies. false (default): only everyone else's.
handledByNoWho ran handledAction: an automation (incl. AI), a bulk action, a team member, or any.any
mentionedNo"me" or a team member's user id or name: comments with a team note that mentions that person.
moderatedNofalse: only comments nobody reacted to in any way: not replied (by a person or an automation), not liked, not hidden, not deleted. true: at least one of these happened. Done/open status is separate.
platformsNo
postTypesNoThe kind of post, as the post-type filter in replient.ai; any value may match. ad, organic (not an ad and no mention), mention, liveVideo, partnership (posts of a partner connection).
sentimentNo
adCampaignNo
assignedByNo"me" or a team member's user id or name: comments that person assigned (to anyone on the team).
channelIdsNoChannel ids from get_brand.
replyStatusNoWho handled the comment and how, as the reply-status filter in replient.ai; any value may match. automated_*: by an automation (incl. AI), bulk_*: by a bulk action, manual_*: by a person; replied, liked, hidden, deleted; unanswered: nobody replied, liked, hid or deleted it (the same as moderated=false; for comments without a reply use answered=false).
adCampaignIdNo
updatedSinceNo
handledActionNoOnly comments on which this action ran successfully (hide, delete, reply, private_reply, like), by handledBy. E.g. handledAction "hide" + handledBy "automation" lists what automations hid. Looks back 90 days unless "from" is given.
parentCommentIdNoOnly replies to this comment.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description adds what annotations cannot: reading never marks comments as read, the 90-day lookback default for search/tag/handledAction filters, the ~several-hundred-KB cost of a 500-row page, and per-include caps (suggestions and notes limited to 100 rows per page, latest 5 notes). Remaining gap: no statement on cursor pagination semantics beyond the mention of page sizes.

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?

Front-loaded with purpose and return shape, then moves to routing, then include semantics and caveats. The long comma-separated field enumeration is dense but is the main way an agent judges relevance without an output schema, so it earns its space; a few clauses could be tightened.

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?

For a read tool with no output schema, 37 filters and heavy include behavior, the description covers the returned fields, ordering, page-size cost, filter lookback defaults, include payloads, and the MCP-specific always-on availableActions/tagStyles. Nothing critical for correct invocation is missing.

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

Parameters4/5

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

With 37 parameters and only 62% schema description coverage, the description meaningfully explains several key params: include's member behaviors, updatedSince also matching new events and team notes for incremental sync, reply+search+answered=true as a 'what the brand usually answers' probe, and the from-dependent 90-day window. Many secondary filters (adId, adSetId, language, timeZone, postTypes) get no narrative coverage, so it stops short of fully compensating.

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 precise verb and resource ('Lists the social media comments of a brand'), enumerates the returned row fields, and explicitly separates itself from the analytics siblings for counts, shares and trends. An agent can pick this over analyze_comments without opening the schema.

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?

Names the use case ('reading, finding and acting on single comments') and routes other needs elsewhere ('counts, shares and trends come from the analytics tools', plus the concrete include=total, limit=1 recipe for a pure count). It also tells the agent where to find brands and the usage guide via get_account.

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