Skip to main content
Glama
bangumi-mcp-lite

bangumi-mcp-lite

by KasLee14

get_relations

Read-onlyIdempotent

Query related works, characters, staff, episodes, or a person’s production and voice credits by entity type and ID, with optional role filters and pagination.

Instructions

沿作品或人物查询关联列表。source_type="subject" 时 kind 可选 relations(关联作品)/characters(角色与声优)/persons(制作人员Staff)/episodes(章节列表);source_type="person" 时 kind 可选 subjects(参与制作作品)/characters(配音/出演角色)。

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": {
      "source_type": "<source_type>",
      "source_id": "<source_id>",
      "kind": "<kind>"
    },
    "name": "get_relations"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindYes关系列表类型:subject 可选 relations/characters/persons/episodes;person 可选 subjects/characters
limitNo每页条数(1-100,默认 30)
offsetNo分页偏移量,默认 0
source_idYes源实体 ID
filter_roleNo可选,按关系/职位/角色定位过滤(如 "续集"、"主角"、"导演"、"动画制作";kind=episodes 不可用)
source_typeYes源实体类型:subject 或 person
episode_typeNo仅 source_type=subject 且 kind=episodes 可用:0正片/1SP/2OP/3ED/4预告/5MAD/6其他
subject_typeNo仅 source_type=person 时可用:按作品类型筛选

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior2/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint, so the safety profile is fully covered structurally. The description adds essentially no behavior beyond that: it says nothing about ordering, result size defaults, empty-result behavior, or that filtering interacts with kind. For a read tool with rich annotations this leaves the descriptive burden unmet.

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?

Two compact sentences with the resource statement front-loaded and the kind matrix immediately after. No filler or redundant preamble. Slightly dense with enum listings, but every clause carries information an agent needs.

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

Completeness3/5

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

Eight parameters, two enums, and no output schema make this a moderately complex tool, yet the description only covers source_type/kind and ignores filtering, pagination, and the shape of returned relation entries. Because the schema is fully annotated, the agent can still call it, but it cannot anticipate the response structure or how filter_role interacts with results.

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 limit, offset, filter_role, episode_type, and subject_type is already documented. The description's kind/source_type pairing restates the schema's own kind description almost verbatim, adding no new syntax or constraints. Baseline 3 applies 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.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific operation and resource: retrieving a relation list keyed on a work (subject) or a person. It also enumerates the kind values per source type, so an agent knows exactly what data surfaces. It stops short of distinguishing itself from siblings like get_details or browse, which likely also return entity-adjacent data.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied by the source_type/kind matrix: use it when you want related works, cast, staff, or episodes for a subject or person. There is no explicit when-not guidance, no mention of pagination strategy, and no routing to alternatives such as get_details for a single entity's own fields.

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