Skip to main content
Glama

Read the profile's recent comments (Instagram, Threads, YouTube)

list_comments
Read-only

Use this when the person asks what people commented on their posts. With network (instagram, threads, youtube, or all) it reads the profile's recent comments from every network Hub can read them on, newest first, each with an id to pass to reply_to_comment, its network, account, author, text, time, the post's address and whether it has been answered; sources says how each network stands (a network that needs a sign-in is named, never shown as empty). TikTok, X, LinkedIn and Pinterest give no way to read comments. Without network it reads Instagram alone, as before: reads the connected Instagram account's recent comments (the last 7 days, newest first), each with its id, post, text, time, and whether it has been answered (by a rule, by an earlier reply, or by a reply on Instagram). privateReplyOpenUntil is when Instagram stops allowing a private reply to it (7 days). Set unansweredOnly to see what still waits for an answer. Needs the account connected for auto-replies in Hub. Requires posts:read.

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": "list_comments"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNoDefault 7. Instagram reads at most 7.
limitNoDefault 25 (Instagram alone), 50 with `network`.
postIdNoInstagram only, without `network`: only this post's comments, an id from list_autoreplies with posts: true.
accountNoInstagram only, without `network`: username or id from list_autoreplies. May be left out when one account is connected.
networkNoEvery network's comments in one list (all), or one network's. Leave out for the Instagram-only reading with `account` and `postId`.
unansweredOnlyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changed
    • changedInput schema / properties / account / description
      Previous value: -"Username or id from list_autoreplies. May be left out when one account is connected."New value: +"Instagram only, without `network`: username or id from list_autoreplies. May be left out when one account is connected."
    • changedInput schema / properties / days / description
      Previous value: -"Default 7."New value: +"Default 7. Instagram reads at most 7."
    • changedInput schema / properties / days / maximum
      Previous value: -7New value: +30
    • changedInput schema / properties / limit / description
      Previous value: -"Default 25."New value: +"Default 25 (Instagram alone), 50 with `network`."
    • changedInput schema / properties / limit / maximum
      Previous value: -50New value: +100
    • addedInput schema / properties / network
      Added value: +{
      +  "description": "Every network's comments in one list (all), or one network's. Leave out for the Instagram-only reading with `account` and `postId`.",
      +  "enum": [
      +    "all",
      +    "instagram",
      +    "threads",
      +    "youtube"
      +  ],
      +  "type": "string"
      +}
    • changedInput schema / properties / postId / description
      Previous value: -"Only this Instagram post's comments, an id from list_autoreplies with posts: true."New value: +"Instagram only, without `network`: only this post's comments, an id from list_autoreplies with posts: true."
  2. Added

TDQS

A4.4/5.0
Behavior5/5

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

Goes well beyond the readOnly/openWorld annotations by disclosing the permission requirement (posts:read), the prerequisite connection state for auto-replies, that a network needing sign-in is named rather than reported empty, and the meaning of privateReplyOpenUntil as Instagram's 7-day cut-off for private replies. Ordering (newest first), the default 7-day window and the Instagram 7-day ceiling are all stated as behavior, not left to inference.

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?

Front-loaded with the trigger, but it is a dense single paragraph that restates "reads the profile's recent comments" twice and lists the near-identical field sets for the two modes, padding rather than differentiating them. Splitting network-mode from Instagram-only mode would make the same content far easier to scan.

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 six-parameter, multi-network, mode-switching read tool with no output schema, it supplies result field lists, ordering, defaults and the key preconditions. Remaining gaps are minor: no mention of pagination or what happens when limit/days exceed available comments.

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 83% schema coverage the baseline is 3, but the description adds real meaning: network=all versus a single network, the fact that omitting network falls back to the Instagram-only reading where account and postId apply, why unansweredOnly exists, and what privateReplyOpenUntil represents. The mode-switching relationship between network and the Instagram-only parameters is the most valuable thing conveyed here and is not derivable from the schema alone.

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 ("reads the profile's recent comments") plus the exact networks covered, so the agent can separate it from siblings like reply_to_comment and list_autoreplies at a glance. The explicit note that TikTok, X, LinkedIn and Pinterest expose no comment-reading path further pins down scope.

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?

"Use this when the person asks what people commented on their posts" is a concrete trigger, and the description routes the agent onward by noting each result carries an id "to pass to reply_to_comment" and by offering unansweredOnly for pending items. It stops short of naming when a different listing tool (e.g. list_posts) is the better first call, so guidance is clear but not fully exclusive.

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.