Skip to main content
Glama

MentionBird

Summarize a YouTube video

analyze_youtube_video

Summarize a YouTube video the brand's AI answers cite: its summary, key points, topics and transcript, for get_youtube_summary.

Spends credits: 1 credit per 5 minutes of video, rounded up, at most 24 (get_account lists the rule under agents.youtube), charged when the run starts and refunded if it fails. credits is what this call spends, 0 when it starts nothing. The run usually takes about a minute, so this answers at once with run_id and status; read the result with get_youtube_summary.

Nothing new is started, and nothing charged, when:

  • the brand already has a summary of the video: it comes back with status done, free;

  • a summary of it is already in progress: that run comes back;

  • the video can't be summarized or the workspace can't pay: status is error with an error_code (not_youtube, video_unavailable, video_too_long, probe_unavailable or insufficient_credits, which adds credits_needed and credit_balance) and a note saying why. Asking again within 15 minutes of video_unavailable, video_too_long, or of insufficient_credits while the balance is still short, returns that same answer without looking the video up again.

started is true only when this call started a run. Refused with PLAN_LIMIT when the plan doesn't include video summaries, and NOT_FOUND when the brand's answers don't cite the URL (find cited videos with list_citations and domain="youtube.com").

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": "analyze_youtube_video"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesThe YouTube URL as cited, e.g. from ``list_citations``.
brandYesBrand name from ``list_tracked_brands``.

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 only say readOnlyHint=false and destructiveHint=false; the description goes far beyond by disclosing credit cost with rounding and a 24-credit cap, charge-on-start/refund-on-failure timing, roughly one-minute latency, and a 15-minute negative-result cache. It also enumerates error codes and their payloads plus PLAN_LIMIT/NOT_FOUND refusals, which no annotation conveys.

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?

The key behavior and cost are front-loaded in the first two paragraphs, and the bullet list of no-op conditions is scannable. It is nonetheless quite long, with some redundancy between the bullet list and the trailing paragraph about PLAN_LIMIT/NOT_FOUND.

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 tool that kicks off a costly asynchronous job, the description covers cost, latency, charge/refund semantics, idempotent-ish repeat behavior, error taxonomy, and where to read results. An output schema exists, so the return-field mentions are supplementary rather than required, and nothing operationally important is missing.

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 already 100%, so the baseline is 3; the description adds real meaning by requiring the URL to be one the brand's answers actually cite (else NOT_FOUND) and by naming list_citations/list_tracked_brands as the sources for each argument. It does not add format or normalization detail for the URL beyond that.

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?

The description opens with a specific verb and resource ("Summarize a YouTube video") and names exactly what the result contains (summary, key points, topics, transcript), while explicitly pointing to get_youtube_summary as the read-back tool. An agent can distinguish this from the retrieval sibling without opening either 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?

It spells out when nothing new is started or charged (existing summary, in-progress run, unsummarizable video, insufficient funds) and routes to alternatives: get_youtube_summary to read results, get_account for the credit rule, list_citations with domain="youtube.com" to find a citable URL. This is explicit when-to-use and when-not 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.

Resources