Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
YGG_DOMAINNoThe domain to use for YggTorrentwww.yggtorrent.org
YGG_ENABLENoEnable (1) or disable (0) the YggTorrent provider0
YGG_BASE_URLNoThe base URL for YggTorrent (useful if using a local bridge like YggAPI)http://localhost:8715
YGG_PASSWORDNoYour YggTorrent password
YGG_USERNAMENoYour YggTorrent username
TURBO_ENABLEDNoWhether to enable turbo mode for searchestrue
LA_CALE_DOMAINNoThe domain to use for LaCalela-cale.space
LA_CALE_ENABLENoEnable (1) or disable (0) the LaCale provider0
LA_CALE_PASSKEYNoYour LaCale passkey, found on https://la-cale.space/profile
LA_CALE_TRACKERNoThe tracker announce URL for LaCalehttps://tracker.la-cale.space/announce

Tools

Functions exposed to the LLM to take actions

NameDescription
search_torrents

Perfom an advanced torrent search across multiple providers.

Arguments:

  • user_intent: Must reflect user's overall intention (e.g., "last episode of Breaking Bad", "season 5 of Breaking Bad", "complete Breaking Bad series").

  • query: Optimized keywords for search. MUST be lowercase and space-separated.

Query Construction Rules:

  • NO generic terms: remove "movie", "series", "torrent", "download".

  • NO filler words: remove "the", "a", "an", "and", "of", "with".

  • NO technical tags: do NOT add "1080p", "x264", "bluray", or episode titles.

  • TV Shows:

    • Specific episode: [show name] sXXeYY (e.g., "shogun s01e05")

    • Full season: [show name] sXX (e.g., "shogun s01")

    • Full series: [show name] (e.g., "shogun")

  • Language: Add multi ONLY if the user specifically requests a non-French or multi-language version.

Result Analysis & Ranking:

  1. Quality: Prefer 1080p over 720p or 4k (unless requested).

  2. Efficiency: Prefer x265/HEVC for better quality/size ratio.

  3. Health: Maximize seeders + leechers.

  4. Size: Prefer smaller files within the same quality bracket.

Response Requirements:

  • Recommend the top 3 results maximum.

  • For each recommendation, include: Filename, Size, Seeds/Leechs, Date, Source, and a 1-sentence "Why this?" reason.

  • If results are poor or irrelevant, suggest specific keywords to improve the search.

get_torrent

Get a specific torrent (either magnet link or torrent file path) by id.

get_magnet_link

Get the magnet link for a specific torrent by id.

download_torrent_file

Download the torrent file for a specific torrent by id.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/philogicae/fr-torrent-search-mcp'

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