Skip to main content
Glama

Finewisdom 社媒与电商数据接口

ig_post_comments

Read-onlyIdempotent

获取Instagram帖子评论(按帖子短码调用)。返回评论正文、点赞数、回复数、评论者昵称与地区、时间戳,按页返回。做评论情感分析、竞品口碑对比或舆情监测时用。单价¥0.1/次,仅成功调用计费,失败或空结果自动退回。翻页深度受平台可见范围限制,超出后上游不再返回。

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": {
      "code": "<code>"
    },
    "name": "ig_post_comments"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeYes帖子短码(链接里 /p/ 与 / 之间的部分)
_tokenNo备用鉴权:fw_ 开头的 token。推荐改用 HTTP Header X-FW-Token。
min_idNo翻页游标(取上一页 next_min_id)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / code
      Added value: +{
      +  "description": "帖子短码(链接里 /p/ 与 / 之间的部分)",
      +  "type": "string"
      +}
    • removedInput schema / properties / media_id
      Removed value: -{
      -  "description": "媒体ID",
      -  "type": "string"
      -}
    • addedInput schema / properties / min_id
      Added value: +{
      +  "description": "翻页游标(取上一页 next_min_id)",
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "media_id"
      -]New value: +[
      +  "code"
      +]
  2. Added

TDQS

A4.1/5.0
Behavior5/5

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

Annotations already cover readOnly/idempotent/openWorld, and the description adds information annotations cannot express: per-call pricing (¥0.1), billing only on success with automatic refund on failure or empty results, page-based return, and a hard pagination ceiling beyond which upstream returns nothing. Those are exactly the cost and completeness signals an agent needs before spending calls.

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?

Purpose comes first, followed by returned fields, use cases, pricing, and the pagination limitation — a sensible front-loaded order with no filler. It is a dense run of clauses, but every sentence carries information the agent would otherwise have to guess.

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?

With no output schema, the description compensates by listing the returned fields and pagination behavior, and it adds billing and depth limits. The one real gap is that it never states whether replies are included or require ig_sub_comments as a follow-up, which matters for an agent planning a full comment crawl.

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 code, _token, and min_id are already fully documented with formats and inheritance of next_min_id. The description reinforces the shortcode-based call model and page-wise pagination but adds no syntax or constraints beyond the schema, so the baseline of 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?

The description states a specific verb and resource ("获取Instagram帖子评论") plus the invocation key ("按帖子短码调用") and enumerates the returned fields. It implicitly distinguishes itself from ig_sub_comments by returning only a reply count rather than expanding replies, but that boundary is never stated explicitly.

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 concrete use contexts ("评论情感分析、竞品口碑对比或舆情监测") and a scope limit ("翻页深度受平台可见范围限制"), which tells the agent when to reach for it. It stops short of naming alternatives such as ig_sub_comments for replies or ig_post_detail for the post itself, so the routing decision is left partly to inference.

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.