Skip to main content
Glama

chat_with_video

Ask questions about a YouTube video and get answers grounded in its transcript, with optional chat history and character personas for contextual follow-ups.

Instructions

Chat with the content of a YouTube video. Ask questions and get answers based on the transcript.

Costs 1 credit per message.

Args: video_url: YouTube video URL or video ID message: Your question or message about the video (max 10000 characters) chat_history: Previous messages in the conversation as [{"role": "user"|"assistant", "content": "..."}]. Only the most recent 49 are sent. character: Optional character persona name to respond as character_description: Optional description of the character persona

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": {
      "video_url": "<video_url>",
      "message": "<message>"
    },
    "name": "chat_with_video"
  }
}

Input Schema

NameRequiredDescriptionDefault
messageYes
characterNo
video_urlYes
chat_historyNo
character_descriptionNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description does real work: it discloses a per-message credit cost, a 10,000-character cap on input, and that only the most recent 49 history entries are sent. It does not cover failure modes such as videos lacking transcripts or invalid URLs, which matters for an unannotated tool.

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 purpose and cost are front-loaded in the first two lines, and the Args block is compact. The Args section partially duplicates the schema, but each line adds semantics (limits, formats) that the schema lacks, so it earns its space.

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?

An output schema exists, so return-value explanation is unnecessary, and cost plus history truncation are covered. The remaining gap is preconditions — whether the video must have an available transcript and how errors surface — which is notable for a credit-consuming tool with no annotations.

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 description coverage is 0%, so the description must carry the load, and it does: it documents all five parameters, including the chat_history object format with role/content keys and the truncation behavior. It omits validation details like whether video_url accepts full URLs, bare IDs, or both (the description does say 'URL or video ID', so that is covered).

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?

States a specific verb and resource: chat/Q&A over a YouTube video's transcript. That is clearly distinct from siblings like get_transcript or summarize_video, though the description never names those alternatives to reinforce the contrast.

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

Usage Guidelines3/5

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

Usage is only implied by 'Ask questions and get answers based on the transcript' — an agent can infer this is for interactive Q&A rather than one-shot summarization. There is no explicit when-to-use or when-not-to-use guidance, and no pointer to sibling tools for related tasks.

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