Skip to main content
Glama
Anicodeth

mega-mcp

by Anicodeth

Search MEGA by filename

mega_search

Search a public MEGA folder's entire tree for files or folders matching a name query with substring or regex. Filter to files only.

Instructions

Search a public MEGA link's entire tree for files/folders whose name matches a query (case-insensitive substring, or regex with regex).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYesSubstring or regex to match against names.
linkNoPublic MEGA link. Defaults to MEGA_LINK.
regexNoTreat query as a regex.
filesOnlyNoExclude folders from results.
Behavior4/5

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

Without annotations, the description must disclose behavioral traits. It does: it searches the entire tree, supports regex with the `regex` flag, and is case-insensitive. It omits details like output format, pagination, or authentication, but for a read-oriented search tool, it is fairly transparent.

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?

A single sentence (22 words) that is front-loaded and contains no filler. Every word earns its place.

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

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description is adequate for a search tool but lacks details about the return format (list of files/folders? paths? names?). With no output schema, these details would be helpful. It covers parameter semantics well but misses output behavior.

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 coverage is 100% (all parameters have descriptions). The description adds value by clarifying the default link value and explaining the regex flag, but repeats schema info. Baseline 3 is appropriate.

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 clearly states it searches a public MEGA link's entire tree for files/folders by name, using case-insensitive substring or regex. This distinguishes it from siblings like mega_search_content (content search) and mega_browse (browsing structure).

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 for filename-based searches but does not explicitly state when to use this tool over alternatives (e.g., mega_search_content for content search) or when not to use it. No exclusions or context are provided.

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/Anicodeth/mega-mcp'

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