Skip to main content
Glama
meomeo-dev

shell-as-mcp

by meomeo-dev

ytdlp__get_video_metadata

Fetch video metadata as JSON from any video URL using yt-dlp, with optional field filtering, cookies, proxy, and retry settings.

Instructions

Fetch raw metadata JSON for a video URL using yt-dlp. @remarks Returns full or filtered metadata fields as JSON. @param url The video URL (must start with http:// or https://). @param fields Comma-separated field names to return (e.g. "title,uploader,view_count"); empty returns all. @param cookies Optional path to a Netscape-format cookies file. @param proxy Optional proxy address (e.g. socks5://127.0.0.1:1080). @param maxRetries Optional retry count after failures, capped at 2 (default: 2). @param __mcp_response_mode Optional response mode: content (default) or structuredContent.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYes
proxyNo
fieldsNo
cookiesNo
maxRetriesNo
__mcp_response_modeNocontent
Behavior4/5

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

No annotations provided, so the description carries the burden. It discloses the URL scheme requirement, retry cap (2), response mode options, and cookie/proxy usage, giving useful operational context. It does not mention potential side effects (none expected) or API rate limits, but the provided details go beyond the schema.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Starts with a clear one-sentence purpose, then uses @remarks and @param annotations to organize details. Each parameter line is necessary and accounts for all 6 params, with no fluff. The structure is front-loaded and scales well to the tool's complexity.

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?

With no output schema, the description mentions the return format ('full or filtered metadata fields as JSON') but does not give an example or deeper structure. All parameters are covered, and the tool's role among video-processing siblings is clear. Slight vagueness in output shape prevents a 5.

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 description coverage is 0%, but the description's @param lines fully compensate, providing examples, constraints, and defaults for every parameter. For instance, 'must start with http:// or https://', 'Comma-separated field names... empty returns all', and 'capped at 2 (default: 2)' add substantial meaning.

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 uses a specific verb ('Fetch') and resource ('raw metadata JSON for a video URL'), which clearly distinguishes it from sibling tools like ytdlp__get_video_metadata_summary. The phrase 'raw metadata JSON' and 'using yt-dlp' add specificity.

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?

Provides clear context for use: fetching raw metadata from a video URL with optional filtering. However, it does not explicitly name alternative tools (like the summary sibling) or state when not to use it, so it falls short of a 5.

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/meomeo-dev/shell-as-mcp'

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