Skip to main content
Glama
philogicae

Torrent Search MCP Server

by philogicae

authorize_webapp

Approves a single-use pairing code to unlock the Torrent Search webapp for a browser. Provide the code and Telegram chat ID to grant permanent access after user approval.

Instructions

Authorize a browser on the Torrent Search webapp via its pairing code.

The code comes from an user interaction on the webapp: they click "Open in Telegram", scan the QR code, or copy the prompt message, which sends "Authorize for Torrent Search" to you. Take the code from that message and call this tool with it and the user's Telegram chat id. Codes are single-use and expire after 5 minutes. After approval the user MUST go back to the webapp: the browser polls and completes the authentication there (it shows "Access granted" and unlocks the app permanently).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeYesPairing code shown in the webapp 'Telegram Access' gate.
chat_idYesThe owner's Telegram chat id the webapp access is bound to.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations provided, the description carries the behavioral disclosure burden. It goes beyond the schema by explaining that codes are single-use, expire in 5 minutes, that the browser must return to the webapp to complete authentication, and that access is then unlocked permanently. This is meaningful behavioral context, though it omits failure/error behavior.

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?

The description is well-structured: purpose first, then source context, then the exact action to take, then important constraints, then what must happen afterward. Every sentence earns its place and the critical operational details are front-loaded.

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?

For a two-parameter authorization tool with no annotations, this is complete. It tells the agent how to obtain the code, what chat id to use, the expiry and single-use behavior, and the required follow-up step on the webapp. Nothing essential for correct invocation is missing.

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 100%, so the baseline is 3. The description adds value by explaining where the code comes from (parsing it from the user's 'Authorize' message) and clarifying that chat_id is the owner's Telegram chat id the access is bound to. This enriches the schema's terse property descriptions.

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 opens with a specific verb and resource: 'Authorize a browser on the Torrent Search webapp via its pairing code.' This clearly identifies the action, the target, and the mechanism, and it is immediately distinguishable from the search/list sibling tools.

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?

The description gives an explicit trigger: the user sends 'Authorize <CODE> for Torrent Search' to the bot, and the agent should take the code from that message and call this tool with the code and chat id. It also notes that codes are single-use and expire after 5 minutes. It does not explicitly name alternatives or state when not to use the tool, but the context is strong.

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

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