Skip to main content
Glama
YouTube Model Context Protocol (MCP) Server

YouTube Model Context Protocol (MCP) Server

by nilhn9660

youtube_rate_video

Like, dislike, or remove a rating from a YouTube video using an OAuth2-authorized account to manage engagement directly.

Instructions

Rate a video ('like', 'dislike', or 'none' to remove rating). Requires OAuth2.

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": {
      "video_id": "<video_id>",
      "rating": "<rating>"
    },
    "name": "youtube_rate_video"
  }
}

Input Schema

NameRequiredDescriptionDefault
ratingYes
video_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose two meaningful facts: OAuth2 is required and 'none' clears an existing rating rather than setting a neutral value. It does not state idempotency, whether the call affects the video's like counts, or what a failed/auth-missing call looks like, so the mutation profile is only partly covered.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences with no filler; the allowed values and the un-rating behavior come first and the auth prerequisite is appended compactly. Nothing could be cut without losing information.

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

Completeness4/5

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

This is a simple two-parameter mutation and an output schema exists, so return values need no explanation. The description covers the action, valid inputs, and the auth prerequisite; only the OAuth2 scope and the effect of the write on existing rating state are left implicit.

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 description coverage is 0% and the schema declares 'rating' as a plain string with no enum, so the description's enumeration of 'like', 'dislike', and 'none' is genuinely load-bearing and prevents an invalid value. It adds nothing for 'video_id', though that parameter is self-explanatory, so the compensation is partial rather than complete.

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 uses a specific verb ('Rate') on a specific resource ('a video') and enumerates the accepted rating values, so an agent can distinguish this from siblings like youtube_update_video_metadata or youtube_add_video_tags. It stops short of explicitly naming a sibling alternative, which keeps it from 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 allowed values ('like', 'dislike', 'none') hint at the intent, but there is no explicit statement of when to choose this tool versus related ones, nor any when-not guidance. The one useful conditional hint is that 'none' removes a rating, which tells the agent this tool also handles un-rating.

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

Deploy Server

Other Tools