Skip to main content
Glama

YouTube Channel ID API

youtube_channel_id_finder
Read-onlyIdempotent

Convert a YouTube @handle or channel link into its channel ID for API lookups, integrations, and data workflows. Provide the handle starting with @ or a youtube.com/@handle URL.

Instructions

Turn a YouTube @handle into the channel ID. Costs 1 credit per successful call. Needs a channel handle (starting with @) or a link that contains one. Channels that have no handle cannot be looked up this way.

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": {
      "handle": "<handle>"
    },
    "name": "youtube_channel_id_finder"
  }
}

Input Schema

NameRequiredDescriptionDefault
handleYesChannel handle or link. Enter a handle like @mkbhd, or a youtube.com/@handle link.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent and open-world behavior, and the description adds genuinely new context: a credit cost of 1 per successful call and a coverage limitation for handleless channels. It does not describe the shape of the returned ID, which is a modest remaining gap.

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?

Three short sentences, front-loaded with the purpose, then cost, then input requirement. Nothing is padded or redundant.

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?

For a single-parameter, read-only lookup with annotations covering safety and idempotency, the definition covers purpose, input form, cost and a key limitation. The only omission is what the returned channel ID looks like, which matters somewhat since there is no output schema.

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 100% and the schema field description already gives both accepted forms (@mkbhd or a youtube.com/@handle link). The description's restatement of that rule adds only the constraint that the target channel must actually have a handle, so baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a precise transformation — '@handle into the channel ID' — which is a distinct verb+resource pair an agent can separate from siblings like youtube_channel_viewer without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives the required input form (handle starting with @ or a link containing one) and an explicit exclusion: channels without a handle cannot be looked up. It stops short of naming an alternative tool for that case, but the when-not condition is clear.

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