Skip to main content
Glama

fetch_comments

Fetches top-liked comments and, for Bilibili, a high-energy danmaku summary from a video URL, with optional cookies and graceful handling of anti-bot or login limits.

Instructions

Fetch top-liked hot comments and (for Bilibili) high-energy danmaku summary.

Supports optional cookies.txt in the plugin root directory. Always degrades gracefully on anti-bot/login limits without crashing or attempting to bypass CAPTCHAs.

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": {
      "url": "<url>"
    },
    "name": "fetch_comments"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYes
limitNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

B3.4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does real work: it discloses an optional cookies.txt in the plugin root, states that anti-bot/login limits cause graceful degradation rather than crashing, and explicitly rules out CAPTCHA bypass. What is missing is the read-only nature and any sense of rate limiting or partial-result behavior, keeping it below a 5.

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?

Two short sentences with the primary capability front-loaded and the operational caveats trailing, with essentially no filler. The line break placement is slightly awkward but nothing is wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return-value explanation is not required, and the description covers auth and failure modes well. However, for a two-parameter tool with zero schema description coverage, the total silence on 'limit' and on the URL format leaves a meaningful operational gap for an agent trying to invoke it correctly.

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

Parameters2/5

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

Schema description coverage is 0%, so the description would need to explain both parameters, but it mentions neither. The required 'url' is left ambiguous (full video URL vs. ID, which platforms) and 'limit' is never described at all, so an agent has no guidance on what it controls or what the default behavior is.

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 names a specific verb and resource ('Fetch top-liked hot comments') and adds a platform-specific scope ('for Bilibili, high-energy danmaku summary'). It does not distinguish itself from siblings such as fetch_video_bundle, which an agent might plausibly assume also returns comments, so it stops short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: the agent infers it should call this when it has a URL and wants comment/danmaku data. There is no explicit when-to-use vs. when-not, and no named alternative, though the cookies.txt note does hint at an authentication prerequisite. The guidance is adequate but leaves the sibling choice to inference.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.