Skip to main content
Glama
Grinv

AniList MCP Server

Get anime/manga details

get_media
Read-only

Fetch anime/manga details by AniList ID, including rankings, next airing episode, external links, and user's list entry. Accepts up to 25 IDs per request.

Instructions

Get detailed information about one or more anime or manga by their AniList ID(s): title, format, status, episode/chapter/volume count, genres, score, synopsis, dates, and rankings — AniList's own ranking badges (e.g. "#134 highest rated all time", "#11 highest rated 2024"), one entry per rated/popular ranking window the title currently appears in. Also returns nextAiringEpisode (for currently-releasing anime), externalLinks (official sites, streaming platforms), and — [requires login] — mediaListEntry, the authenticated user's own list entry for this title, or null if it isn't on their list. Use search_media first to resolve a title to its AniList ID. Returns a single object if ids is a single ID, or an array (same order as ids, with null in place of any ID that didn't resolve to a real anime/manga) if ids is an array.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idsYesA single AniList anime/manga ID, or an array of up to 25 IDs to fetch in one call (same cap as this codebase's paginated list tools — each entry returned here includes the full synopsis/tags/rankings, so an uncapped batch could return a very large response).
typeYesWhether `ids` refers to anime or manga.
includeStreamingEpisodesNoAlso fetch `streamingEpisodes` (per-episode streaming links). Kept off by default — AniList doesn't paginate this field, so a long-running title can return hundreds of entries.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
mediaYes
Behavior5/5

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

The description discloses rich behavioral details beyond annotations: ranking window semantics, nextAiringEpisode availability only for currently-releasing anime, mediaListEntry returning null if not on the user's list, batch behavior with null placeholders in order-preserved arrays, and the unbounded streamingEpisodes field. Annotations (readOnlyHint, openWorldHint) are consistent with the description; no contradiction.

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 detailed but front-loaded with the core purpose, and every sentence serves a purpose (returned fields, special cases, usage guidance, return format). It is somewhat dense, but given the tool's complexity and the need to cover rankings, login requirements, and batch behavior, the length is justified. A slight deduction for the long list of fields and asides.

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 all essential context: what the tool does, when to use it (and when not to, via search_media guidance), authentication requirements, batching semantics, and return type variance. The output schema exists and covers return fields, so the description need not enumerate them. It is fully adequate for an agent to select and invoke correctly.

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 meaningful context: the 25-ID cap is tied to codebase conventions, uncapped batches could be huge, and includeStreamingEpisodes is off by default because AniList doesn't paginate it. It also explains the return shape conditional on `ids` being a scalar vs. array. These insights go beyond the schema descriptions, warranting a 4.

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+resource: "Get detailed information about one or more anime or manga by their AniList ID(s)". It enumerates the returned fields (title, format, status, counts, genres, score, synopsis, dates, rankings) and explicitly distinguishes from sibling tools like search_media by stating that search_media should be used first to resolve titles to IDs. This makes the tool's purpose unmistakable.

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 gives explicit guidance: "Use search_media first to resolve a title to its AniList ID." It also clarifies when login is required (for mediaListEntry) and when includeStreamingEpisodes should be enabled (warning that it can return hundreds of entries). This sets clear usage boundaries relative to sibling tools like search_media and get_media_tags.

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/anilist-mcp-server'

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