Skip to main content
Glama

Finewisdom 社媒与电商数据接口

yt_post_comments

Read-onlyIdempotent

获取YouTube视频评论(返回continuation_token翻页)。返回评论正文、点赞数、回复数、评论者昵称与地区、时间戳,按页返回。做评论情感分析、竞品口碑对比或舆情监测时用。单价¥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": {
      "video_id": "<video_id>"
    },
    "name": "yt_post_comments"
  }
}

Input Schema

NameRequiredDescriptionDefault
_tokenNo备用鉴权:fw_ 开头的 token。推荐改用 HTTP Header X-FW-Token。
video_idYes视频ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, openWorld), and the description adds genuinely new behavioral facts: per-call price ¥0.1, billing only on success, automatic refund on failure or empty result, and the platform visibility cap. Auth requirements and rate limits are left to the schema's _token field.

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?

Four dense sentences with no filler: purpose, return fields, use cases, then billing and a pagination caveat. Front-loaded correctly, though the billing sentence sits before the platform-limit caveat rather than after.

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 does the necessary work by enumerating returned fields and page-based delivery. The one real hole is how to continue paging, since continuation_token appears as an output but has no corresponding input parameter or instruction.

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 100% with only two params, so the baseline is 3. The description mentions a continuation_token for paging, but no such input parameter exists in the schema, leaving the actual pagination mechanism ambiguous rather than clarified.

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?

States a specific verb+resource ('获取YouTube视频评论') and enumerates exactly what comes back (comment text, likes, reply count, nickname, region, timestamp), so the agent knows this is a top-level comment fetch. It stops short of naming the sibling it differs from (yt_sub_comments / yt_post_detail), so the distinction is implied rather than stated.

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?

Gives explicit use cases (sentiment analysis, competitor reputation comparison, public-opinion monitoring) and a operational caveat that pagination depth is capped by the platform, after which upstream returns nothing. It does not state when NOT to use it or which sibling to pick instead for replies vs. posts.

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.