get_video_comments

Returns top-level comments for a video, sorted by relevance.

Server Youtube-MCP yashkashte5/youtube-mcp
Category Read
Risk class Low
Parameters 00 required

What get_video_comments does on Youtube-MCP

AI agents call get_video_comments to retrieve information from Youtube-MCP without modifying anything — typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.

Why get_video_comments needs a policy

This tool retrieves and queries publicly available comment data from YouTube videos. It performs a read-only operation with no side effects—it neither modifies data, executes code, deletes content, nor initiates financial transactions. The sorting by relevance is a presentation feature of the retrieval, not a data-altering operation. Blast radius is minimal; misuse would only expose already-public comments.

From the tool's definition Tool name 'get_video_comments' and description 'Returns top-level comments for a video' indicate retrieval of existing data with no modification, creation, deletion, or execution of code.

Questions about get_video_comments

What does the get_video_comments tool do? +

Returns top-level comments for a video, sorted by relevance. It is categorised as a Read tool in the Youtube-MCP MCP Server, which means it retrieves data without modifying state.

How do I enforce a policy on get_video_comments? +

Register the Youtube- MCP server in PolicyLayer and add a rule for get_video_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 Youtube-MCP. Nothing to install.

What risk level is get_video_comments? +

get_video_comments is a Read tool with low risk. Read-only tools are generally safe to allow by default.

Can I rate-limit get_video_comments? +

Yes. Add a rate_limit block to the get_video_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.

How do I block get_video_comments completely? +

Set action: deny in the PolicyLayer policy for get_video_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.

What MCP server provides get_video_comments? +

get_video_comments is provided by the Youtube- MCP server (yashkashte5/youtube-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

// LOOK UP ANOTHER SERVER

Every MCP server has a record like this.

Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.