Skip to main content
Glama
Grinv

AniList MCP Server

Favourite/unfavourite an anime, manga, character, staff member, or studio

toggle_favourite

Toggle an anime, manga, character, staff, or studio in your AniList favourites. Calling it again un-favourites. Resolve the ID first via the matching search tool.

Instructions

[Requires login] Toggle an anime, manga, character, staff member, or studio in the authenticated user's AniList favourites. Calling it again on the same kind+id un-favourites it. The response is not scoped to just the toggled item: it returns the account's entire current favourites (id-only) across all 5 categories (anime/manga/characters/staff/studios), so expect a wide result even for a single toggle. Resolve id first via search_media/get_media (kind: ANIME/MANGA), search_character/get_character, search_staff/get_staff, or search_studio/get_studio, matching kind. Confirmed live: AniList does NOT validate that id actually belongs to the given kind — e.g. passing an anime's ID with kind: CHARACTER succeeds silently instead of erroring, favouriting a nonexistent character. Always resolve id from the tool matching kind rather than reusing an ID you already have on hand. Note: immediately re-checking with get_media/get_character/get_staff/get_studio's own isFavourite can briefly still show the pre-toggle value — a confirmed AniList-side read-after-write lag, not a bug in this call; this tool's own response already reflects the new favourites list correctly.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesAniList ID of that anime/manga/character/staff/studio.
kindYesWhich kind of entity `id` refers to.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
favouritesYes
Behavior5/5

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

Annotations indicate non-read-only, non-idempotent, and non-destructive, which the description aligns with. It goes beyond by disclosing that the response returns the entire favourites list, that AniList does not validate kind-id pairing, and that there is a confirmed read-after-write lag. No contradiction with annotations.

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 long but every sentence adds operational value: purpose, toggle behavior, response shape, id resolution, validation gap, and lag. It is front-loaded with the core purpose and follows with necessary caveats, with no filler.

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?

Given the tool's complexity, the description covers login requirement, exact toggle semantics, response list shape, parameter resolution process, a serious API validation gap, and a data consistency caveat. With an output schema present, this is fully complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Although the schema already provides descriptions for both parameters, the description adds essential semantics: the id must be resolved from a tool matching the kind, and because AniList does not validate the match, incorrect pairings silently succeed. This is critical usage knowledge not present in the schema.

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 uses the specific verb 'toggle' and clearly identifies the resource: an anime, manga, character, staff member, or studio in the authenticated user's AniList favourites. It distinguishes this from sibling tools by focusing on the favourites toggle action, not list entries or user follows.

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?

Provides explicit workflow: resolve the id via search_media/get_media, search_character/get_character, etc., based on kind. It also warns against reusing IDs and explains the toggle behavior (calling again un-favourites). The read-after-write lag note gives additional guidance for verification.

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