Skip to main content
Glama
Grinv

MAL MCP Server

Get top anime

get_top_anime
Read-only

Get anime ranked by all-time score or popularity. Use filter for special rankings like airing, upcoming, bypopularity, or favorite. Supports pagination, media type, rating, and SFW settings.

Instructions

Get anime ranked by all-time score/popularity, not tied to any season. Use filter for special rankings (airing, upcoming, bypopularity, favorite); for a specific season's lineup use get_seasonal_anime or get_upcoming_season instead. If Tenrai is unavailable and MAL_CLIENT_ID is set, transparently retries via the official API — type/filter are merged into one best-effort ranking, rating is ignored entirely, themes/demographics/broadcast come back empty, and sfw_strict degrades to the same filtering as sfw (the official API can't separate adult-rated from Ecchi-tagged-but-safely-rated).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sfwNoIf true, exclude adult/explicit-rated entries (R+ Mild Nudity and up). Defaults to false (no filtering). Note: this alone still allows mainstream, safely-rated shows tagged with the Ecchi genre (fanservice) through — use `sfw_strict` to also exclude those.
pageNo1-based page number for pagination. No upper bound — this ranking runs to the end of MAL's own catalog.
typeNoRestrict to one or more media types.
limitNoMax results per page (1-50).
filterNoSpecial ranking filter.
ratingNoRestrict to one or more specific content ratings. More granular than `sfw`/`sfw_strict` — use this to target a precise rating band instead of a blanket adult-content cutoff.
sfw_strictNoIf true, exclude adult/explicit-rated entries AND anything tagged with the Ecchi genre, even otherwise-mainstream/safely-rated shows. Stricter than `sfw` alone. Defaults to false.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageYes
resultsYes
Behavior5/5

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

The description details fallback behavior when Tenrai is unavailable, including how type/filter are merged, rating is ignored, and certain fields come back empty. Annotations only indicate readOnlyHint and openWorldHint, so the description adds critical behavioral context beyond the structured data.

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 relatively long but every sentence serves a purpose. It front-loads the main functionality and fallback details. Could be slightly more polished, but there is no extraneous information.

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?

The description covers when to use the tool, sibling alternatives, parameter interactions, and fallback behavior. Since an output schema exists, return values are not needed. The tool is complex with a fallback mechanism, and the description handles it comprehensively.

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% with good descriptions. The description adds value by explaining how parameters behave during the fallback scenario (e.g., rating ignored, sfw_strict degrades), which the schema alone does not convey. This extra context earns a score above the baseline 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 clearly states the tool retrieves anime ranked by all-time score/popularity, not tied to any season. It distinguishes itself from siblings like get_seasonal_anime and get_upcoming_season by explaining when to use those alternatives instead.

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

Usage Guidelines5/5

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

The description explicitly provides usage boundaries: for a specific season's lineup, use get_seasonal_anime or get_upcoming_season. It also explains the fallback behavior and how parameters behave differently when Tenrai is unavailable, guiding the agent on when this tool is appropriate.

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/Grinv/mal-mcp'

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