Skip to main content
Glama

Get YouTube channel details

get_youtube_channel_details

Fetch and save public profile details of YouTube channels: title, description, subscriber, view, and video counts, join date, country, links, and avatar and banner URLs. Returns a JSON file link (one object in single mode, an array in bulk mode) and a page link for the user. Completes within the call; no polling. Use it for channel metadata; for comments on a channel's videos use download_youtube_comments with contentType channel. Cost: 100 credits per channel, charged again on every call, never retried automatically. One invalid or unreadable channel fails the whole bulk request with no charge. Refused up front when the account is out of credits or past due. Example: {url: "@first, @second", mode: "bulk"}.

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": {
      "url": "<url>",
      "mode": "<mode>"
    },
    "name": "get_youtube_channel_details"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYessingle: one channel URL, youtube.com/@handle or youtube.com/channel/ID (https:// optional). bulk: channel URLs or @handles separated by spaces, commas, or new lines; exact duplicates count once.
modeYessingle for one channel, bulk for a list of channels.

Output Schema

NameRequiredDescriptionDefault
fileUrlYesURL of the saved JSON file with the channel details. Public by ID: anyone with the link can open it, so share it only with the user.
pageUrlYesWeb page for the saved result, where the user can read it or save it as a file. Public by ID like fileUrl, so share it only with the user.
downloadIdYesID of the saved result.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedOutput schema / properties / pageUrl
      Added value: +{
      +  "description": "Web page for the saved result, where the user can read it or save it as a file. Public by ID like fileUrl, so share it only with the user.",
      +  "type": "string"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "downloadId",
      -  "fileUrl"
      -]New value: +[
      +  "downloadId",
      +  "fileUrl",
      +  "pageUrl"
      +]
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Adds substantial context beyond the annotations: 100 credits per channel charged on every call, no automatic retry, one invalid or unreadable channel fails the entire bulk request with no charge, and upfront refusal when the account is out of credits or past due. It also discloses the synchronous no-polling completion model and the file/page link return shape, which is more than readOnlyHint=false and idempotentHint=false convey.

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?

Single front-loaded paragraph that leads with what is fetched and returned, then moves to usage, cost, and failure semantics, ending with a concrete example. It is dense but every clause carries caller-relevant information; a light bulleted split of cost/failure terms would improve scanability.

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

Completeness5/5

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

Given only two required parameters, an output schema already present, and annotations covering safety, the description supplies everything else an agent needs: return shape, synchronous completion, per-channel cost, retry behavior, partial-bulk failure semantics, and credit-refusal preconditions. Nothing material is missing.

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%, so both url and mode are already fully documented including the duplicate-collapsing rule and accepted separator formats. The description adds only a worked example ({url: "@first, @second", mode: "bulk"}) and no new syntax or constraint meaning, so the baseline of 3 applies.

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 specific verb (fetch and save) and resource (YouTube channel public profile), then enumerates exactly which fields come back: title, description, subscriber/view/video counts, join date, country, links, avatar and banner URLs. An agent can distinguish this from transcript, download, and comment siblings without opening a 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?

Explicitly routes the agent: 'Use it for channel metadata; for comments on a channel's videos use download_youtube_comments with contentType channel.' That names a concrete alternative and the condition selecting it, but gives no explicit when-not guidance for the other siblings (transcripts, downloads) and no advice on preferring single vs bulk beyond the schema enum.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.