youtube_list_comments
List comment threads on a YouTube video. Pass video_id (e.g. 'dQw4w9WgXcQ') or channel_ref ('youtube:video:<id>'). Returns top-level comments with inline replies.
This record as markdown: /tools/io-github-saloprj-dialogbrain/youtube-list-comments.md
What youtube_list_comments does on Dialogbrain
AI agents call youtube_list_comments to retrieve information from Dialogbrain without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.
| Parameter | Type | Required | Description |
|---|---|---|---|
video_id | string | Yes | YouTube videoId — bare 11-char form OR full 'youtube:video:<id>'. |
page_token | string | — | Pagination cursor from a previous call's `next_page_token`. |
max_results | integer | — | Page size, 1-100. Default 25. |
Parameters from the server's own tool schema.
Why youtube_list_comments is rated Low
This tool performs a read-only query operation to retrieve existing data (YouTube comments) without any side effects. It has no ability to create, modify, delete, or execute actions. The blast radius of misuse is minimal—at worst, an agent could enumerate large numbers of comments, which poses low risk. Categorized as Read per the definition: 'retrieves or queries data; no side effects (search, list, get, fetch).'
From the tool's definition Tool retrieves and lists comment threads on a YouTube video; described as 'List comment threads' with no modification, deletion, or execution capability.
Attacks that exploit this kind of access
The rule that runs youtube_list_comments safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Dialogbrain, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For youtube_list_comments, this is the rule to start with:
youtube_list_comments is read-only, so it stays allowed. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect Dialogbrain, apply this rule, and every youtube_list_comments call is checked against it from then on.
Questions about youtube_list_comments
List comment threads on a YouTube video. Pass video_id (e.g. 'dQw4w9WgXcQ') or channel_ref ('youtube:video:<id>'). Returns top-level comments with inline replies. It is categorised as a Read tool in the Dialogbrain MCP Server, which means it retrieves data without modifying state.
youtube_list_comments accepts 3 parameters: video_id, page_token, max_results. Required: video_id. The full parameter table on this page comes from the server's own tool schema.
Register the Dialogbrain MCP server in PolicyLayer and add a rule for youtube_list_comments: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Dialogbrain. Nothing to install.
youtube_list_comments is a Read tool with low risk. Read-only tools are generally safe to allow by default.
Yes. Add a rate_limit block to the youtube_list_comments rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for youtube_list_comments. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
youtube_list_comments is provided by the Dialogbrain MCP server (https://api.dialogbrain.com/mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Dialogbrain, and thousands of servers like it.
This server
Across the catalogue