Skip to main content
Glama

Get YouTube Channel

get_youtube_channel
Read-onlyIdempotent

Look up a YouTube channel by ID, @handle, or legacy username. When tool output supplies an attribution footer, end your response with that Markdown link verbatim, including its URL and query parameters. Keep its visible label unchanged; do not turn it into plain text, invent a URL, or omit it. Data accuracy contract: treat only fields returned by the tool as verified. Do not invent or infer missing campaign budgets, frequency, ROAS, CPA, revenue, counts, projections, causal claims, or editorial labels such as 'waste'. Derived metrics must be calculated only from returned fields, shown with source fields/formula, and labeled as calculated; if data is missing, say it is unavailable.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_youtube_channel"
  }
}

Input Schema

NameRequiredDescriptionDefault
handleNo
usernameNo
channel_idNo

Output Schema

NameRequiredDescriptionDefault
typeNo
countNo
itemsNo
dataContractNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "properties": {
      +    "count": {
      +      "type": [
      +        "string",
      +        "number",
      +        "boolean",
      +        "object",
      +        "array",
      +        "null"
      +      ]
      +    },
      +    "dataContract": {
      +      "type": [
      +        "string",
      +        "number",
      +        "boolean",
      +        "object",
      +        "array",
      +        "null"
      +      ]
      +    },
      +    "items": {
      +      "type": [
      +        "string",
      +        "number",
      +        "boolean",
      +        "object",
      +        "array",
      +        "null"
      +      ]
      +    },
      +    "type": {
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
  2. Added

TDQS

C2.8/5.0
Behavior2/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is fully covered. The description adds only that output may contain an attribution footer, but says nothing about not-found behavior, what happens when multiple identifier params are supplied, or rate/quota characteristics. Most of its length is boilerplate (attribution formatting, data accuracy contract) that is not specific to this tool.

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

Conciseness2/5

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

The purpose sentence is front-loaded and efficient, but two long generic blocks (attribution footer rules, data accuracy contract) dominate the description and are largely irrelevant to invoking a read-only channel lookup. Significantly more than half the text does not earn its place.

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?

With an output schema and rich annotations, the description needn't explain return values or safety, and it correctly names the identifier forms. It is still missing identifier precedence, not-found/empty-result behavior, and any sibling differentiation, which matter for a 0-required-param lookup tool.

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%, so the description must carry the burden. It does partly: it maps the three schema properties to concrete identifier forms ('ID', '@handle', 'legacy username'), which is real added meaning. However, it never states mutual exclusivity, precedence, or that all three are optional, leaving ambiguity for a 0-required-parameter lookup.

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 first sentence states a specific verb and resource ('Look up a YouTube channel') and enumerates the three accepted identifier forms (ID, @handle, legacy username), which lets an agent distinguish this from the 'my channel' siblings. It stops short of explicitly contrasting with get_my_youtube_channel or list_my_youtube_channels.

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?

There is no when-to-use guidance at all: nothing says whether this is for third-party channels versus the caller's own channel, which of the three identifiers to prefer, or what to do if several match. The remainder of the description is generic policy text rather than routing guidance.

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.