Skip to main content
Glama

search_subjects

Read-onlyIdempotent

Find Bangumi anime, manga, books, or games by title or keyword, then filter and sort results by type, tags, air date, rating, rank, and popularity.

Instructions

Search Bangumi subjects (POST /v0/search/subjects).

Args: keyword: Search query (Japanese, Chinese, or English title/keyword). subject_types: Optional filter list, e.g. ["anime"], ["book", "game"], or ints [1,2,3,4,6]. sort: Sort order: "match" (default), "heat", "rank", or "score". tags: User tags filter (AND logic), e.g. ["科幻", "原创"]. meta_tags: Public wiki meta tags (AND logic; prefix "-" to exclude, e.g. ["-科幻"]). air_date: Date range constraints (YYYY-MM-DD), e.g. [">=2024-01-01", "<2025-01-01"]. rating: Score constraints, e.g. [">=8.0", "<9.5"]. rating_count: Vote count constraints, e.g. [">=500"]. rank: Rank constraints, e.g. [">=1", "<=200"]. nsfw: Optional NSFW filter (ignored by Bangumi when unauthenticated). limit: Results per page (1-50, default 15). offset: Pagination offset (default 0).

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": {
      "keyword": "<keyword>"
    },
    "name": "search_subjects"
  }
}

Input Schema

NameRequiredDescriptionDefault
nsfwNo
rankNo
sortNomatch
tagsNo
limitNo
offsetNo
ratingNo
keywordYes
air_dateNo
meta_tagsNo
rating_countNo
subject_typesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly/openWorld/idempotent/non-destructive, and the description adds genuinely non-obvious behavior: the nsfw flag is silently ignored when unauthenticated, tags and meta_tags use AND logic, and '-' prefixes exclude. It stops short of describing return shape, result caps, or how paging terminates, so it is useful but not exhaustive for a search endpoint.

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?

The one-line purpose is front-loaded, then a compact per-argument list scales well to 12 parameters without prose padding. Minor waste from restating schema defaults (limit 15, offset 0) and enum values already present in the schema.

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?

With no output schema, the description should say something about what comes back — result shape, total count, or whether pagination beyond limit/offset is discoverable — and it says nothing. The parameter documentation is strong, but the missing return-value and sibling-routing guidance leaves the definition only adequate for a 12-parameter search tool.

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

Parameters4/5

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

Schema coverage is 0% across 12 parameters, so the description carries the full documentation burden and largely meets it, giving concrete constraint syntax for air_date, rating, rating_count and rank plus AND/exclusion semantics for tags. It loses a point because some of what it says duplicates the schema (sort enum, limit range, offset default) and it never explains which integer in subject_types maps to which media type.

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 Bangumi subjects') and even names the underlying endpoint (POST /v0/search/subjects), which makes the operation immediately identifiable. It does not contrast itself with the sibling 'browse_subjects' or 'get_subject', so sibling differentiation must be inferred from the keyword/filter parameters.

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: 'keyword' being required and the presence of keyword/filter params signals this is the keyword-driven lookup path, whereas browse_subjects is presumably a listing path. There is no explicit statement of when to choose this over browse_subjects or when to fetch a single subject via get_subject.

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