Skip to main content
Glama

Like / dislike a video

youtube_rate_video
Idempotent

Sets or removes the authorized account's rating on a YouTube video by video ID, accepting like, dislike, or none to update or clear an existing rating.

Instructions

Sets the authorized account's rating on a video immediately.

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

Input Schema

NameRequiredDescriptionDefault
ratingYes"like" or "dislike" to rate, "none" to remove an existing rating.
videoIdYesVideo id: the 11-character code after "watch?v=" or "youtu.be/", not the full URL.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare the write profile (readOnlyHint=false, idempotentHint=true, destructiveHint=false, openWorldHint=true), so the safety burden is largely covered. The description adds the useful fact that the action applies to the authorized account and takes effect immediately. It does not mention quota cost, side effects on like counters, or whether re-rating replaces the prior rating — all of which matter for a mutation tool.

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?

A single front-loaded sentence with no redundancy. The word "immediately" is slightly vague filler rather than a precise behavioral claim, which keeps it from a 5.

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

Completeness3/5

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

For a two-parameter mutation tool with rich annotations and full schema coverage, this is minimally sufficient — an agent can invoke it correctly. It omits any note about return values (no output schema exists) and about what "none" does, leaving the definition thin on effects.

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 100%, including a clear enum for rating and the 11-character videoId format, so the schema carries the parameter burden. The description adds no parameter meaning beyond that; baseline 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?

"Sets the authorized account's rating on a video" gives a specific verb (sets) and resource (rating on a video), and the title clarifies the like/dislike semantics. It does not explicitly differentiate itself from any sibling, though no sibling in the list appears to handle ratings, so ambiguity risk is low.

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?

The description offers no guidance on when to use this versus alternatives, no prerequisites (e.g., OAuth scope or ownership), and no mention of the ability to remove a rating. The only hint of that behavior lives in the schema's enum description, not in the tool description.

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