Skip to main content
Glama

YouTube data for agents

youtube_video_comments

Paid ($0.005). Video comments — YouTube. Live data as JSON. Pay with x402 or an Authorization: Bearer bby_live_... credits key.

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": {
      "id": "<id>"
    },
    "name": "youtube_video_comments"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesRequired. Path parameter.
sortNoOptional. One of: top, latest.
cursorNoOptional.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.3/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 add notable behavioral context: the operation costs $0.005, returns live data as JSON, and requires payment via x402 or a Bearer credits key. This goes well beyond a bare description, though it does not mention rate limits, pagination, or read-only status.

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 description is very short and every fragment carries distinct information: cost, resource, output type, and auth method. It is front-loaded with the most important operational detail (cost) and has no filler, though the fragmented style slightly hurts readability.

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

Completeness2/5

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

The description does not explain what the response looks like beyond 'JSON', does not define what 'id' refers to (presumably video ID), and gives no indication of how cursor-based pagination works. Since there is no output schema, the description should compensate, but it leaves key usage details ambiguous.

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 documentation coverage is 100%, so the schema fully describes the parameters (id, sort, cursor). The description adds no extra meaning about how these parameters should be used or what values to provide, so the baseline of 3 is appropriate.

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 identifies the resource as 'Video comments — YouTube' and the tool name reinforces it. It is clear that this tool deals with YouTube video comments, but it lacks an explicit verb like 'list' or 'retrieve', so it does not fully meet the highest standard.

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

Usage Guidelines2/5

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

No guidance is given about when to use this tool versus siblings such as youtube_video or youtube_search_video. There are no conditions, exclusions, or alternative recommendations, leaving the agent to infer usage from the name alone.

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