Skip to main content
Glama
Grinv

AniList MCP Server

Search forum threads

search_thread
Read-only

Find AniList forum threads by keyword, category, or media ID, returning thread IDs and context for retrieving comments or posting replies.

Instructions

Search/browse AniList's forum threads by title/body text and/or restrict to one category. Returns AniList thread IDs (with title/category for context) to use with get_thread, get_thread_comments, post_thread, or post_thread_comment.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNoPage number for pagination. AniList's paginated connections (search results, a title's characters/staff/reviews, activity feeds, forum comments) reject a page whose page × perPage exceeds ~5000 entries with an upstream error, so paging that deep fails rather than returning more results.
termNoFree-text search term (matches thread title/body). Omit to just filter/browse.
perPageNoResults per page (max 50, AniList's own ceiling — it silently clamps anything higher).
categoryIdNoRestrict to this forum category ID. Not independently listable by any tool — resolve one from a thread you've already read (its `categories` field) or from a forum URL like anilist.co/forum/recent?category=<id>. A wrong or nonexistent ID doesn't error, it silently filters to an empty result — indistinguishable from 'no threads in this category.'
mediaCategoryIdNoRestrict to threads tagged with this AniList anime/manga ID (from search_media/get_media). Not existence-checked: a nonexistent media ID doesn't error, it silently filters to an empty result — resolve the ID via search_media first if you need to confirm the title actually exists.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv0.9.0
    • changedInput schema / properties / perPage / description
      Previous value: -"Results per page (max 25)."New value: +"Results per page (max 50, AniList's own ceiling — it silently clamps anything higher)."
    • changedInput schema / properties / perPage / maximum
      Previous value: -25New value: +50
    • removedOutput schema / properties / results / properties / pageInfo / properties / hasNextPage / anyOf
      Removed value: -[
      -  {
      -    "type": "boolean"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / results / properties / pageInfo / properties / hasNextPage / type
      Added value: +[
      +  "boolean",
      +  "null"
      +]
  2. Changed10 schema fields changedv0.7.1
    • addedInput schema / properties / categoryId / exclusiveMinimum
      Added value: +0
    • removedInput schema / properties / categoryId / minimum
      Removed value: --2147483648
    • addedInput schema / properties / mediaCategoryId / exclusiveMinimum
      Added value: +0
    • removedInput schema / properties / mediaCategoryId / minimum
      Removed value: --2147483648
    • changedInput schema / properties / page / description
      Previous value: -"Page number for pagination."New value: +"Page number for pagination. AniList's paginated connections (search results, a title's characters/staff/reviews, activity feeds, forum comments) reject a page whose page × perPage exceeds ~5000 entries with an upstream error, so paging that deep fails rather than returning more results."
    • addedInput schema / properties / perPage / exclusiveMinimum
      Added value: +0
    • removedInput schema / properties / perPage / minimum
      Removed value: -1
    • addedOutput schema / properties / results / properties / threads / items / properties / id / exclusiveMinimum
      Added value: +0
    • changedOutput schema / properties / results / properties / threads / items / properties / id / maximum
      Previous value: -9007199254740991New value: +2147483647
    • removedOutput schema / properties / results / properties / threads / items / properties / id / minimum
      Removed value: --9007199254740991
  3. Changed3 schema fields changedv0.4.0
    • changedInput schema / properties / categoryId / description
      Previous value: -"Restrict to this forum category ID. Not independently listable by any tool — resolve one from a thread you've already read (its `categories` field) or from a forum URL like anilist.co/forum/recent?category=<id>."New value: +"Restrict to this forum category ID. Not independently listable by any tool — resolve one from a thread you've already read (its `categories` field) or from a forum URL like anilist.co/forum/recent?category=<id>. A wrong or nonexistent ID doesn't error, it silently filters to an empty result — indistinguishable from 'no threads in this category.'"
    • changedInput schema / properties / mediaCategoryId / description
      Previous value: -"Restrict to threads tagged with this AniList anime/manga ID (from search_media/get_media)."New value: +"Restrict to threads tagged with this AniList anime/manga ID (from search_media/get_media). Not existence-checked: a nonexistent media ID doesn't error, it silently filters to an empty result — resolve the ID via search_media first if you need to confirm the title actually exists."
    • addedOutput schema / properties / results / properties / threads / items / description
      Added value: +"Only `id` is guaranteed here — the real object has more fields, but their shape depends on which variant of an underlying union type this is (e.g. which activity type), so only the field common to every variant is declared."
  4. First observedv0.1.5

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the agent knows this is a safe read operation with potentially open-ended results. The description adds that it returns thread IDs with title/category context, but it does not disclose any error behaviors or edge cases (e.g., deep pagination failures) – though those are covered in the parameter schema. Since annotations cover the safety profile and the schema covers pagination constraints, the description adds modest value but not rich behavioral detail.

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 a single, focused sentence that front-loads the action and resource, then adds the return value and downstream tools. There is zero fluff, and every clause serves a purpose. It is exemplary in conciseness and structure.

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?

The tool has an output schema, so return format is covered elsewhere. The description provides the essential context: what it searches, what it returns, and how to use the results. It is complete enough for an agent to decide when to call it, though it could optionally mention that it is the only thread search tool. Given the rich schema and annotations, a 4 is fitting.

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%, and each parameter has a detailed description covering behavior (e.g., term matches title/body, categoryId silent filtering, page limit). The description itself does not add parameter-specific semantics beyond what the schema already provides; it merely summarizes the search scope. Baseline 3 is appropriate because the schema does the heavy lifting.

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 a specific verb 'Search/browse' with a clear resource 'AniList's forum threads', and specifies that it returns thread IDs with context. It is distinct from sibling search tools like search_media or search_character because it explicitly targets forum threads and lists downstream tools for using the results. The purpose is unambiguous and easily actionable.

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?

The description states the results are intended for use with get_thread, get_thread_comments, post_thread, or post_thread_comment, giving clear downstream context. However, it does not explicitly contrast with other search tools (e.g., search_media) or state when not to use this tool. Still, the primary use case is clear from the wording, so it earns a 4 rather than a 5.

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