Skip to main content
Glama

comment_insights

What a subject's audience asks and struggles with: the top comments of its outliers (videos that beat their own channel; or your video_ids, or a channel's best uploads), grouped into questions, pain points and requests. clusters: label, kind (question, pain_point, request, other), count (comments in the group, counted in code, never by the model), likes, videos, and quotes: two real comments found word for word, each with its link (url opens the comment). videos: what was read, with views, multiple (views over the channel's usual), comments_read and comments_off. basis says what the counts are from. Costs 3 credits, refunded when the read fails; a request naming nothing or two things is 422 and costs nothing. Takes about 60 to 100 seconds (measured 2026-10-26). Same as POST /v1/comments/insights. Read it back with get_call.

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

Input Schema

NameRequiredDescriptionDefault
api_keyNo
channelNoa YouTube @handle or channel link: its uploads that beat its usual views
subjectNowhat the videos are about, 3 to 120 characters: its outliers are read. Send this, video_ids or channel
video_idsNo1 to 8 YouTube video ids or links whose comments to read
idempotency_keyNo1 to 255 visible ASCII characters; the same key and request within 24 hours answer the saved remix and charge nothing; the same key with another request is 422 idempotency_key_reused

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior5/5

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

With no annotations provided, the description carries the full burden and does so: cost (3 credits, refunded on failed reads), error semantics (422 costs nothing, idempotency_key_reused), latency (60-100s, dated measurement), and an explicit trust guarantee ('counted in code, never by the model'). It also discloses output structure (clusters, quotes with URLs, videos read, basis), which is exactly the behavioral context an agent needs before committing credits.

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?

The purpose is front-loaded in the first clause and the operational facts (cost, errors, latency, read-back) are packed into short dash-separated sentences. Some space is spent restating return-value fields that an output schema already covers, which is slightly redundant, but the interpretive glosses ('never by the model', 'views over the channel's usual') justify most of it.

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 5-parameter, zero-required, credit-charging tool with no annotations, the description covers selection rules, cost and refund policy, failure modes, latency, output semantics, and how to retrieve results. An agent has everything needed to decide to call it and to call it correctly; the existing output schema covers the return shape.

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?

Schema coverage is already 80%, but the description adds real meaning: it explains that 'subject' resolves to that subject's outliers, that 'channel' means uploads beating the channel's usual views, and that video_ids are read directly. It also interprets output terms like 'multiple' (views over the channel's usual) and 'comments_off'. The api_key parameter is left entirely unaddressed.

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 subject ('the top comments of its outliers ... grouped into questions, pain points and requests') and enumerates the three selector modes (subject outliers, video_ids, channel uploads). It is clear what the tool returns, though it is phrased as a noun phrase describing output rather than an explicit verb+resource statement, and it does not explicitly distinguish itself from siblings like channel_outliers or random_outliers.

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?

'Send this, video_ids or channel' plus 'a request naming nothing or two things is 422' gives an explicit selection rule and failure condition. It also maps to POST /v1/comments/insights and points to get_call for reading results back. It stops short of naming sibling alternatives an agent should prefer for simpler outlier queries.

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