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

YouTube Model Context Protocol (MCP) Server

by nilhn9660

youtube_get_my_rating

Retrieve the authenticated user's like, dislike, or none rating for specified YouTube video IDs using OAuth2 to support personalized feedback and content moderation.

Instructions

Get authenticated user's rating ('like', 'dislike', 'none') on given video IDs. 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_ids": "<video_ids>"
    },
    "name": "youtube_get_my_rating"
  }
}

Input Schema

NameRequiredDescriptionDefault
video_idsYes

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 supplied, the description carries the full burden; it does disclose the OAuth2 authentication requirement and enumerates the returned rating values, which is meaningful context. It leaves undisclosed the read-only nature (only implied by "Get"), partial-failure behavior for invalid or missing video IDs, and any per-request ID limits.

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, zero filler, with the core action and its return values front-loaded before the authentication prerequisite. Nothing is redundant or padded.

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 single-parameter read tool with an output schema, so return-value documentation is not required, and the description still usefully names the enum of ratings. The main residual gap is the absence of guidance on batch size or invalid-ID handling, which is minor for a tool of this complexity.

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 coverage is 0% and the single parameter 'video_ids' has no description, so the burden falls on the description. It does add meaning by indicating the tool accepts multiple IDs at once and that they are video identifiers, but it gives no format, count limit, or error semantics for the array.

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 names a specific verb and resource ("Get ... rating on given video IDs") scoped to the authenticated user, and enumerates the possible values ('like', 'dislike', 'none'). That is far more than a restatement of the name, though it does not explicitly contrast itself with a sibling such as youtube_get_video_details, which likely also surfaces rating-like data.

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?

The only usage-level guidance is the prerequisite "Requires OAuth2", which is genuinely useful for an agent selecting between tools. There is no explicit statement of when to prefer this over alternatives, no mention of batch limits, and no note about what happens for videos the user has never rated beyond the implied 'none'.

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