Skip to main content
Glama
l4b4r4b4b4

YouTube MCP Server

by l4b4r4b4b4

delete_indexed_video

Delete a YouTube video's indexed transcripts, comments, or both from the semantic search index. Useful for re-indexing or cleaning up.

Instructions

Delete a video's content from the semantic search index.

Removes indexed content (transcripts, comments, or both) for a specific video. Useful for re-indexing or cleaning up the index.

Args: video_id: YouTube video ID to remove from the index. content_type: Optional content type to delete ("transcript" or "comment"). If None, deletes all content types for the video.

Returns: Dictionary with: - video_id: The deleted video ID - transcripts_deleted: Number of transcript chunks removed - comments_deleted: Number of comment chunks removed - total_deleted: Total chunks removed - success: Whether the deletion was successful

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
video_idYes
content_typeNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

With no annotations, the description carries full transparency burden. It discloses the destructive nature of the operation and details what is removed (transcripts, comments, both). The return values are documented. Missing: error handling (e.g., video not found) and authorization needs.

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 description is well-structured with a clear first sentence, but the Args/Returns section adds verbosity. Every part is useful, but could be slightly trimmed for efficiency. Still effective.

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?

Given the tool's simplicity (2 params, deletion action) and presence of output schema in description, it covers purpose, parameters, and return values. Lacks error scenarios and prerequisites, but is mostly complete for an agent.

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

Parameters5/5

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

Schema coverage is 0%, so description must fully explain parameters. It does: video_id is the YouTube video ID, content_type is optional (transcript or comment), and explains behavior when None. This adds essential meaning beyond the bare schema.

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 clearly states it deletes a video's indexed content, specifying the resource (semantic search index) and the verb (delete). It details what gets removed (transcripts, comments, or both), distinguishing it from siblings like get_indexed_videos or semantic_search tools.

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

Usage Guidelines4/5

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

Explicitly mentions the tool is useful for re-indexing or cleaning up the index, providing clear context. However, it does not specify when not to use it or list alternative tools for related tasks, which would improve guidance further.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/l4b4r4b4b4/yt-api-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server