Skip to main content
Glama
mal-mcp-server

mal-mcp-server

by tabbykat113

Search Anime on MAL

mal_search_anime
Read-onlyIdempotent

Search MyAnimeList by title or keywords and apply filters for genre, score, media type, status, source, and member count to find relevant anime.

Instructions

Search for anime on MyAnimeList by title/keywords.

Returns a list of matching anime with scores, genres, episode counts, studios, and MAL links.

Args:

  • query: Search text (min 2 chars). Can be a title, keyword, or phrase.

  • limit: Max results to return, 1-100 (default: 10)

  • offset: Pagination offset (default: 0)

  • nsfw: Include NSFW results (default: false)

Supports server-side filters: genres_include, genres_exclude, min_score, media_type, status, source, min_members. When filters are active, the server fetches up to 500 results and filters client-side so the AI only sees matching items.

Examples:

  • "cute animals anime" -> finds anime matching those keywords

  • "Spy x Family" -> finds that specific anime

  • query: "fantasy", genres_include: ["Action"], min_score: 7.5 -> top-rated action fantasy anime

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "query": "<query>"
    },
    "name": "mal_search_anime"
  }
}

Input Schema

NameRequiredDescriptionDefault
nsfwNoInclude NSFW results
limitNoMax results (default: 10)
queryYesSearch text (anime title or keywords)
offsetNoPagination offset
sourceNoOnly include anime from these source materials
statusNoOnly include anime with this airing status
min_scoreNoMinimum mean score (0-10)
genre_modeNoHow genres_include matches: 'or' = any genre matches (default), 'and' = all genres must matchor
media_typeNoOnly include these media types
min_membersNoMinimum number of MAL list members
genres_excludeNoExclude items with ANY of these genres (case-insensitive)
genres_includeNoOnly include items matching these genres (case-insensitive, e.g. ['Action', 'Romance'])

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered. The description adds a genuinely useful non-obvious behavior: when server-side filters are active the server pulls up to 500 results and filters client-side, which tells the agent results are pre-filtered and may be truncated. No rate-limit or error behavior is described.

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?

Front-loaded with purpose and return contents before the parameter list, and the examples earn their space by demonstrating filter combinations. The Args block is partly redundant given full schema coverage, which keeps it from a 5.

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

Completeness4/5

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

With 12 parameters and no output schema, the description usefully enumerates return fields (scores, genres, episode counts, studios, MAL links) so the agent knows what comes back. It omits genre_mode and the semantics of combining multiple filters, but overall it is sufficient to call the tool correctly.

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 description coverage is 100%, so every parameter including genres_include, min_score, media_type and status is already documented in structured form. The Args block largely restates the schema (min 2 chars, limit 1-100, default 10, default false) rather than adding new meaning such as filter cost or precedence between query and filters.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/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: 'Search for anime on MyAnimeList by title/keywords.' That clearly separates it in kind from mal_get_anime_details or mal_anime_seasonal, though it never explicitly names a sibling or states what it does not do.

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?

Three worked examples show realistic query shapes (keyword search, exact title, filtered search), which gives clear usage context. It stops short of explicit routing rules — nothing says to prefer mal_get_anime_details once a title is identified, or when ranking tools would be better.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.