Skip to main content
Glama

get_subject_relations

Read-onlyIdempotent

Fetch related subjects such as sequels, prequels, manga or novel adaptations, and spin-offs for a given Bangumi subject ID.

Instructions

Get related subjects (sequels, prequels, manga/novel adaptations, spin-offs) (GET /v0/subjects/{subject_id}/subjects).

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": {
      "subject_id": "<subject_id>"
    },
    "name": "get_subject_relations"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
subject_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/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 covered. The description adds value by naming the returned relation categories and the underlying endpoint, but it says nothing about result ordering, whether the relationship graph is directional, or how the limit parameter truncates results.

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?

A single front-loaded sentence with the resource first and the relationship taxonomy immediately after; the endpoint path is a compact implementation hint rather than padding. No sentence is wasted.

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?

For a simple annotated read tool with no output schema, the description is adequate but leaves two gaps an agent would care about: what the response records look like (relation type plus target subject?) and the behavior of limit/pagination. Annotations cover safety, but not these operational details.

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

Parameters2/5

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

Schema description coverage is 0%, so the description carries the burden of explaining both parameters and does not: subject_id is never described as the entity whose relations are fetched, and limit is never mentioned (default 30, max 200). Only the endpoint template hints that subject_id is a path parameter.

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 states a specific verb and resource ('Get related subjects') and enumerates the relationship kinds returned (sequels, prequels, adaptations, spin-offs), which distinguishes it from get_subject (single entity) and get_subject_characters/persons. It stops short of naming a sibling alternative, so it lands at clear-but-not-differentiated-by-name.

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 only implied: an agent can infer this is the tool for traversing a subject's franchise graph, but there is no explicit 'use this when' or 'use X instead when' statement, and no mention of prerequisites such as needing a valid subject_id or whether results are ever empty.

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