youtube_video_query
Ask Gemini about a YouTube video. Pass a video URL and any prompt — verbatim transcript with timestamps, summary, targeted Q&A about content or visuals, translation, etc. Works on any public/unlisted video.
This record as markdown: /tools/io-github-saloprj-dialogbrain/youtube-video-query.md
What youtube_video_query does on Dialogbrain
AI agents call youtube_video_query to retrieve information from Dialogbrain without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.
| Parameter | Type | Required | Description |
|---|---|---|---|
url | string | Yes | YouTube video URL. Supported forms: youtube.com/watch?v=…, youtu.be/…, youtube.com/shorts/…, m.youtube.com/watch?v=…. Pass-through to Gemini verbatim. |
prompt | string | Yes | What to ask Gemini about the video. Examples: 'Provide a verbatim transcript with [HH:MM:SS] timestamps.' / 'What is the main claim made in the first 30 seconds |
Parameters from the server's own tool schema.
Why youtube_video_query is rated Low
This tool performs read-only operations: retrieving transcripts, generating summaries, and answering questions about video content. It has no capability to modify videos, delete content, execute code, or trigger financial transactions.
From the tool's definition Tool description states it retrieves and analyzes YouTube video content: 'Ask Gemini about a YouTube video', 'verbatim transcript with timestamps, summary, targeted Q&A'.
Risk signalsAccepts URL/endpoint input (url)
Attacks that exploit this kind of access
The rule that runs youtube_video_query safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Dialogbrain, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For youtube_video_query, this is the rule to start with:
youtube_video_query is read-only, so it stays allowed. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect Dialogbrain, apply this rule, and every youtube_video_query call is checked against it from then on.
Questions about youtube_video_query
Ask Gemini about a YouTube video. Pass a video URL and any prompt — verbatim transcript with timestamps, summary, targeted Q&A about content or visuals, translation, etc. Works on any public/unlisted video. It is categorised as a Read tool in the Dialogbrain MCP Server, which means it retrieves data without modifying state.
youtube_video_query accepts 2 parameters: url, prompt. Required: url, prompt. The full parameter table on this page comes from the server's own tool schema.
Register the Dialogbrain MCP server in PolicyLayer and add a rule for youtube_video_query: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Dialogbrain. Nothing to install.
youtube_video_query is a Read tool with low risk. Read-only tools are generally safe to allow by default.
Yes. Add a rate_limit block to the youtube_video_query rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for youtube_video_query. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
youtube_video_query is provided by the Dialogbrain MCP server (https://api.dialogbrain.com/mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Dialogbrain, and thousands of servers like it.
This server
Across the catalogue