Skip to main content
Glama

ScrapeMole YouTube search

youtube_search
Read-onlyIdempotent

Use when you need to find YouTube videos for a query, e.g. competitor or trend research. Returns up to 50 videos per call with title, channel, views, duration, approximate publish date and thumbnail; optional filters for sort order, upload date and duration. Flat price for any number of videos up to the limit; errors are not charged. Paid tool: x402 USDC on Base, $0.002 per successful call; call without payment to receive the PaymentRequired object.

Input Schema

NameRequiredDescriptionDefault
qYesSearch query.
langNoInterface language (hl), e.g. en, de.
sortNoSort order.relevance
limitNoMax videos (1-50).20
countryNoCountry (gl), e.g. US, GB.
durationNoDuration filter.any
uploadedNoUpload date filter.any

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Goes well beyond the readOnly/idempotent/openWorld annotations by disclosing the return payload shape (title, channel, views, duration, publish date, thumbnail), the 50-video cap, the flat pricing model, that errors are not charged, and the x402 USDC-on-Base payment flow including the PaymentRequired handshake for unpaid calls. This is exactly the auth/payment context an agent needs and cannot get from structured fields.

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?

Front-loads the use case and packs return fields, filters, pricing, and payment mechanics into a compact block with no filler. Sentences are dense and slightly run-on, but nothing is wasted and the most decision-relevant information (paid, $0.002, PaymentRequired) is easy to find.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/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 compensates by enumerating returned fields, and it fully covers the non-obvious commercial/payment prerequisites. For a read-only search tool, nothing an agent needs to invoke it correctly is missing.

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 description coverage is 100%, so the schema already documents all seven parameters. The description restates three filter categories (sort order, upload date, duration) and the 50-video ceiling but adds no syntax, format, or behavioral nuance beyond the schema, so the baseline 3 applies.

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+resource ('find YouTube videos for a query') and adds a use-case framing ('competitor or trend research') that helps an agent recognize the scenario. It does not explicitly name or contrast with siblings like youtube_video or youtube_channel, so an agent must infer that this is query-based discovery rather than ID-based retrieval.

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?

Gives a clear when-to-use trigger ('when you need to find YouTube videos for a query') plus concrete example scenarios. No when-not conditions or named alternatives are provided, so it stops short of full routing guidance.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources