Skip to main content
Glama

MentionBird

Get YouTube summary

get_youtube_summary
Read-only

Return the full Gemini-generated summary for one cited YouTube URL.

Pair with list_youtube_summaries to discover URLs, then call this to read the full text. transcript_text is omitted by default (transcripts can be tens of KB); pass include_transcript=True when you need it.

When the brand's run on the URL hasn't finished (started with analyze_youtube_video), the reply is NOT_FOUND whose details carry that run's run_id, status (pending, running or error) and error_code. Call again once it's done.

Returns NOT_FOUND if any of the following is true (deliberately collapsed — never leaks which gate failed):

  • The URL is unknown to this database.

  • The named brand has no YoutubeAgentRun on this URL (the paywall is brand-level; a sibling brand's paid summary does not count).

  • The named brand does not cite this URL via any active subscription (cross-brand isolation).

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": {
      "brand": "<brand>",
      "url": "<url>"
    },
    "name": "get_youtube_summary"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesThe full YouTube URL. Normalised server-side so query parameters and trailing slashes don't break the lookup.
brandYesBrand name from ``list_tracked_brands``.
include_transcriptNoWhen ``True``, include the full transcript text. Default ``False``.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, and the description adds substantive behavior beyond them: transcript text is omitted by default because it can be tens of KB, pending/running/error runs return NOT_FOUND with run_id and status in ``details``, and the paywall is brand-level with cross-brand isolation. The deliberate collapsing of gate failures ('never leaks which gate failed') is a non-obvious behavioral trait an agent must know before interpreting an error.

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?

Front-loads the core verb and resource, then triages the secondary concerns (sibling pairing, transcript flag, pending-run retry, NOT_FOUND gates) in a scannable order with a bulleted list. It runs long and the NOT_FOUND section is dense, but nearly every sentence carries distinct operational information.

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?

For a read tool with an output schema, annotations, and full schema coverage, the description supplies everything an agent still needs: which sibling to call first, when to opt into transcripts, how to interpret and retry on NOT_FOUND, and why a paid summary from another brand won't satisfy the lookup.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline would be 3, but the description adds real meaning beyond it: it explains why ``include_transcript`` defaults to false (transcripts can be tens of KB) and frames ``url`` as one that must be cited by the named brand. It does not restate normalization, which the schema already covers well.

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 and resource: 'Return the full Gemini-generated summary for one cited YouTube URL.' The scope word 'one cited' plus the pairing with ``list_youtube_summaries`` and the reference to ``analyze_youtube_video`` makes it distinguishable from its nearest 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 Guidelines5/5

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

Gives an explicit workflow ('Pair with ``list_youtube_summaries`` to discover URLs, then call this to read the full text'), a conditional for the optional flag ('pass ``include_transcript=True`` when you need it'), and a retry rule for pending runs ('Call again once it's ``done``'). It also states the exclusion conditions that produce NOT_FOUND, which is exactly the when-not guidance an agent needs.

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.

Resources