Skip to main content
Glama

TrueScrape

youtube: Search by hashtag

youtube_searchHashtag
Read-only

Search by hashtag. Videos or Shorts carrying a hashtag, as YouTube ranks them on the hashtag landing page. type=shorts switches to the Shorts tab, which is a different result set rather than a filter over the same one. Costs 1 credit.

Input Schema

NameRequiredDescriptionDefault
typeNoall
cursorNo`pagination.cursor` from a previous response
hashtagYesHashtag, with or without the leading #
cache_max_ageNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, so safety is covered. The description adds genuinely non-obvious behavior: the cost (1 credit), the ranking provenance (YouTube's hashtag landing page order), and the important caveat that `type=shorts` returns a distinct result set rather than a filtered subset.

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?

Four short sentences, each carrying distinct information, front-loaded with purpose before the param caveat and the cost note. Nothing is redundant.

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 adequately characterizes the return as ranked hashtag-landing-page results, and it discloses the credit cost. Minor gaps are the unstated meaning of `cache_max_age` and how pagination continues, both partly covered by the cursor schema field.

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

Parameters4/5

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

Schema coverage is only 50%, but the description compensates for the most consequential gap by explaining the `type` enum's behavior beyond its default value. The hashtag and cursor params are already covered in the schema; only `cache_max_age` remains undocumented in both places.

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?

The description gives a specific verb and resource ('Search by hashtag') and further pins down the result set as videos/Shorts carrying the tag, ranked as on YouTube's hashtag landing page. It is clearly distinct from a general keyword search, though it never names youtube_search as the sibling alternative.

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

Usage Guidelines3/5

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

It explains the key decision point for `type`: `shorts` switches to a different result set rather than filtering, which guides correct selection between the two modes. However, it gives no guidance on when to prefer this tool over youtube_search or youtube_searchTypeahead, and no stated preconditions.

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.