Skip to main content
Glama
tuitamogamer-gpt

youtube-mcp-server

Delete Caption Track

youtube_delete_caption
DestructiveIdempotent

Permanently delete a caption track from your YouTube video by providing its caption ID and confirming the irreversible action.

Instructions

Permanently delete a caption track from a YouTube video.

This action is irreversible. You must pass confirm: true explicitly or the tool will refuse to proceed.

Args

  • captionId (string, required): The ID of the caption track to delete.

  • confirm (boolean, default false): Must be set to true to authorize the deletion.

Returns A short confirmation string on success:

Caption track <captionId> deleted successfully.

Examples

  • Delete a track (dry run — will be refused): captionId="AYtvM..."

  • Delete a track (confirmed): captionId="AYtvM...", confirm=true

Errors

  • 403: You can only delete captions on your own channel. Check scopes (youtube.force-ssl).

  • 404: Caption track not found.

  • Refused: If confirm is not true the tool returns an error without calling the API.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
captionIdYesThe ID of the caption track to permanently delete.
confirmNoMust be true to authorize the deletion. Defaults to false as a safety guard.
Behavior4/5

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

Annotations already indicate destructiveHint=true, but the description adds critical context: the action is irreversible, requires a confirm flag, and lists possible error codes (403, 404). This goes beyond the annotations without contradiction.

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 sections for warning, args, returns, examples, and errors. It is front-loaded with the purpose and safety warning, and every section adds value without unnecessary verbosity.

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 destructive nature and lack of output schema, the description covers purpose, safety, parameters, errors, and usage examples. It effectively compensates for missing output schema by showing the return string. Minor omission: no explicit mention of rate limits.

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

Parameters3/5

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

Schema coverage is 100%, so baseline is 3. The description adds examples and clarifies the confirm flag's role, but the schema already provides adequate descriptions for both parameters.

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 explicitly states 'Permanently delete a caption track from a YouTube video,' which is a specific verb+resource. This clearly distinguishes it from sibling tools like youtube_upload_caption or youtube_delete_video.

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?

The description provides clear context for when to use the tool (to delete a caption track) and highlights prerequisites (own channel, need for confirm flag). However, it does not explicitly mention when not to use it or suggest alternatives.

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/tuitamogamer-gpt/youtube-mcp-server'

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