Skip to main content
Glama

search_management

Search anime, movies, ebooks, comics, and TV metadata across Nyaa, YTS, Anna's Archive, Pirate Bay, IMDb, and TVDB. Consolidates 11+ search operations into a single interface.

Instructions

Comprehensive search management portmanteau tool for torrents and metadata.

PORTMANTEAU PATTERN RATIONALE: Instead of creating 11+ separate tools (one per search type), this tool consolidates related search operations into a single interface. Prevents tool explosion (11 tools → 1 tool) while maintaining full functionality and improving discoverability. Follows FastMCP 2.12+ best practices.

SEARCH SOURCES:

  • nyaa.si: Anime, manga, Japanese TV (THE gold standard for anime)

  • YTS: Movies (gold standard for movie torrents)

  • Anna's Archive: Ebooks (60M+ books, 50M+ papers - THE gold standard!)

  • Pirate Bay: Comics, ebooks (fallback)

  • OMDb/TVDB: Metadata enrichment

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pinNoTVDB PIN. Optional for: tvdb
yearNoRelease year for disambiguation. Optional for: imdb, imdb_search, tvdb
groupNoRelease group preference. Used by: anime. Default: "ASW" (Austrian preference). Valid: "ASW", "SubsPlease", "Erai-raws", etc.ASW
limitNoResult limit. Used by: movies. Default: 20
queryNoSearch query for torrent searches. Required for: anime, manga, japanese_tv, movies, ebooks_annas, ebooks_pb, comics Example: "One Piece", "Detective Conan", "Python Programming"
titleNoTitle for metadata lookup. Required for: imdb, imdb_search, tvdb
actionYesThe search operation to perform. Must be one of: - "anime": Search nyaa.si (requires: query, optional: resolution, group) - "manga": Search nyaa.si (requires: query, optional: subcategory) - "japanese_tv": Search nyaa.si (requires: query, optional: subcategory) - "movies": Search YTS (requires: query, optional: quality, sort_by, limit) - "ebooks_annas": Search Anna's Archive (requires: query, optional: content_type, max_results) - "ebooks_pb": Search Pirate Bay (requires: query, optional: max_results) - "comics": Search Pirate Bay (requires: query, optional: max_results) - "annas_detail": Get Anna's detail page (requires: book_url) - "imdb": Get IMDb metadata (requires: title, optional: year, imdb_id) - "imdb_search": Search IMDb (requires: title, optional: year) - "tvdb": Get TVDB metadata (requires: title, optional: year, tvdb_id)
api_keyNoAPI key for metadata services. Optional for: imdb, imdb_search, tvdb (uses env vars if not provided)
imdb_idNoIMDb ID for direct lookup (e.g., "tt1234567"). Optional for: imdb
qualityNoMovie quality. Used by: movies. Default: "1080p". Valid: "720p", "1080p", "2160p", "3D"1080p
sort_byNoSort order. Used by: movies. Default: "seeds". Valid: "seeds", "peers", "year", "rating", "downloads"seeds
tvdb_idNoTVDB ID for direct lookup. Optional for: tvdb
book_urlNoAnna's Archive book URL for detail retrieval. Required for: annas_detail
new_onlyNo
resolutionNoVideo resolution preference. Used by: anime. Default: "720p". Valid: "480p", "720p", "1080p", "2160p"720p
max_resultsNoMaximum results. Used by: ebooks_annas, ebooks_pb, comics. Default: 20
subcategoryNoContent subcategory. Used by: manga, japanese_tv. Default: "translated". Valid: "raw", "translated", "english"translated
content_typeNoContent type. Used by: ebooks_annas. Default: "books". Valid: "books", "papers"books
downloaded_episodesNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It does not mention whether the tool is read-only, any rate limits, authentication requirements, or possible side effects. The description only covers scope and rationale, leaving the agent without critical safety and behavioral context.

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 clear sections (PORTMANTEAU PATTERN RATIONALE, SEARCH SOURCES) and front-loads the purpose. While the portmanteau rationale is somewhat verbose, it is relevant to understanding the tool's design. No wasted sentences, but could be more concise.

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 complexity (13 actions, 19 parameters), the description provides a useful overview and source list, while detailed per-action requirements are supplied in the schema's action enum. The description, together with the rich schema, gives the agent enough context to select the tool and action, though it does not explicitly summarize the action list.

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 89%, so the schema already documents parameter meanings, requirements, and defaults. The description adds no parameter-level information, but the schema's rich detail justifies the baseline score of 3.

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 states the tool is a 'Comprehensive search management portmanteau tool for torrents and metadata' and explains it consolidates 11+ search operations into one interface. This clearly identifies the verb (search), the resource (torrents and metadata), and distinguishes it from sibling tools by its search focus.

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?

The description implies usage by branding it as the single search tool ('Prevents tool explosion (11 tools → 1 tool)') and listing search sources, but does not explicitly specify when to use it vs alternatives or when not to use it. There are no named alternative tools with explicit exclusion criteria, so guidance is only implied.

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/sandraschi/rtorrent-mcp'

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