Skip to main content
Glama

Bangumi TV MCP Service

by Ukenn2112

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Schema

Prompts

Interactive templates invoked by user choice

NameDescription
search_and_summarize_anime Search for anime based on a keyword and ask for a summary of the results. Args: keyword: The keyword to search for anime.
get_subject_full_info Get detailed information, related persons, characters, and relations for a subject. Args: subject_id: The ID of the subject to get information for.
find_voice_actor Search for a character by name and find their voice actor. Args: character_name: The name of the character.

Resources

Contextual data attached and managed by the client

NameDescription
api://bangumi/openapi

Tools

Functions exposed to the LLM to take actions

NameDescription
get_daily_broadcast
Get the daily broadcast schedule for the current week on Bangumi.

Returns:
    The broadcast schedule grouped by day of the week, or an error message.
search_subjects
Search for subjects on Bangumi.

Supported Subject Types (integer enum):
1: Book, 2: Anime, 3: Music, 4: Game, 6: Real

Supported Sort orders (string enum):
'match', 'heat', 'rank', 'score'

Args:
    keyword: The search keyword.
    subject_type: Optional filter by subject type. Use integer values (1, 2, 3, 4, 6).
    sort: Optional sort order. Defaults to 'match'.
    limit: Pagination limit. Max 50. Defaults to 30.
    offset: Pagination offset. Defaults to 0.

Returns:
    Formatted search results or an error message.
browse_subjects
Browse subjects by type and filters.

Supported Subject Types (integer enum, required):
1: Book, 2: Anime, 3: Music, 4: Game, 6: Real

Supported Categories (integer enums for 'cat', specific to SubjectType):
Book (type=1): Other=0, Comic=1001, Novel=1002, Illustration=1003
Anime (type=2): Other=0, TV=1, OVA=2, Movie=3, WEB=5
Game (type=4): Other=0, Games=4001, Software=4002, DLC=4003, Tabletop=4005
Real (type=6): Other=0, JP=1, EN=2, CN=3, TV=6001, Movie=6002, Live=6003, Show=6004

Supported Sort orders (string for 'sort', optional):
'date', 'rank' (Default sorting may vary if 'sort' is not provided)

Args:
    subject_type: Required filter by subject type (integer value from SubjectType enum).
    cat: Optional filter by subject category (integer value from category enums).
    series: Optional filter for books (type=1). True for series main entry.
    platform: Optional filter for games (type=4). E.g. 'Web', 'PC', 'PS4'.
    sort: Optional sort order ('date' or 'rank').
    year: Optional filter by year.
    month: Optional filter by month (1-12).
    limit: Pagination limit. Max 50. Defaults to 30.
    offset: Pagination offset. Defaults to 0.

Returns:
    Formatted list of subjects or an error message.
get_subject_details
Get details of a specific subject (e.g., anime, book, game).

Args:
    subject_id: The ID of the subject.

Returns:
    Formatted subject details or an error message.
get_subject_persons
List persons (staff, cast) related to a subject.

Args:
    subject_id: The ID of the subject.

Returns:
    Formatted list of related persons or an error message.
get_subject_characters
List characters related to a subject.

Args:
    subject_id: The ID of the subject.

Returns:
    Formatted list of related characters or an error message.
get_subject_relations
List related subjects (sequels, prequels, adaptations) for a subject.

Args:
    subject_id: The ID of the subject.

Returns:
    Formatted list of related subjects or an error message.
get_episodes
List episodes for a subject.

Supported Episode Types (integer enum):
0: MainStory, 1: SP, 2: OP, 3: ED, 4: PV, 5: MAD, 6: Other

Args:
    subject_id: The ID of the subject.
    episode_type: Optional filter by episode type (integer value from EpType enum).
    limit: Pagination limit. Max 200. Defaults to 100.
    offset: Pagination offset. Defaults to 0.

Returns:
    Formatted list of episodes or an error message.
get_episode_details
Get details of a specific episode.

Args:
    episode_id: The ID of the episode.

Returns:
    Formatted episode details or an error message.
search_characters
Search for characters on Bangumi.

Supported Character Types (integer enum in result):
1: Character, 2: Mechanic, 3: Ship, 4: Organization

Args:
    keyword: The search keyword.
    limit: Pagination limit. Defaults to 30.
    offset: Pagination offset. Defaults to 0.
    nsfw_filter: Optional NSFW filter (boolean). Set to True to include, False to exclude. Requires authorization for non-default behavior.

Returns:
    Formatted search results or an error message.
get_character_details
Get details of a specific character.

Args:
    character_id: The ID of the character.

Returns:
    Formatted character details or an error message.
get_character_subjects
List subjects (e.g., anime, games) where a character appears.

Args:
    character_id: The ID of the character.

Returns:
    Formatted list of related subjects or an error message.
get_character_persons
List persons (e.g., voice actors) related to a character.

Args:
    character_id: The ID of the character.

Returns:
    Formatted list of related persons or an error message.
search_persons
Search for persons or companies on Bangumi.

Supported Person Types (integer enum in result):
1: Individual, 2: Corporation, 3: Association

Supported Career Filters (string enum):
'producer', 'mangaka', 'artist', 'seiyu', 'writer', 'illustrator', 'actor'

Args:
    keyword: The search keyword.
    limit: Pagination limit. Defaults to 30.
    offset: Pagination offset. Defaults to 0.
    career_filter: Optional filter by person career (list of strings from PersonCareer enum).

Returns:
    Formatted search results or an error message.
get_person_details
Get details of a specific person or company.

Args:
    person_id: The ID of the person/company.

Returns:
    Formatted person details or an error message.
get_person_subjects
List subjects (e.g., anime, games) a person is related to (e.g., worked on).

Args:
    person_id: The ID of the person.

Returns:
    Formatted list of related subjects or an error message.
get_person_characters
List characters voiced or portrayed by a person (e.g., voice actor, actor).

Args:
    person_id: The ID of the person.

Returns:
    Formatted list of related characters or an error message.

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/Ukenn2112/BangumiMCP'

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