Skip to main content
Glama

Browse Rakuten Books Genres

books_genre_search
Read-onlyIdempotent

Retrieve book genres by ID. Use '000' for top-level or specific ID to get parents and children for category-based search narrowing.

Instructions

Browse the Rakuten Books genre (category) hierarchy. Pass '000' to list top-level genres, or a specific 3-character genre ID to fetch its parents and direct children. Useful for narrowing book searches to a specific category.

[JA] 楽天ブックスのジャンル(カテゴリ)階層を参照します。'000' を渡すとトップレベル、特定の3文字ジャンルIDを渡すと親ジャンルと直下の子ジャンルを取得します。検索の絞り込みに利用できます。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
booksGenreIdNoBooks genre ID (e.g., '000' = top, '001' = books, '004' = CD). Three-character codes are hierarchical levels. ジャンルID('000' がトップ、'001' が書籍、'004' がCD)。000
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and openWorldHint, covering safety and idempotency. The description adds behavioral details about the returned structure (parents and children for specific IDs, top-level for '000'), which is helpful beyond annotations.

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 three sentences, front-loaded with the action and examples, and includes a Japanese version for localization. No unnecessary words. Highly efficient.

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

Completeness5/5

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

For a simple tool with one parameter, no output schema, and comprehensive annotations, the description fully explains its functionality and usage. It covers all needed information for correct invocation.

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 coverage is 100%, with the parameter already described in the schema (including examples and hierarchical levels). The description provides additional context about '000' and specific IDs, but this is marginal. Baseline 3 is appropriate.

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 clearly states the tool browses the Rakuten Books genre hierarchy. It specifies that passing '000' lists top-level genres and a specific ID fetches parents and children. This distinctly separates it from sibling tools like books_book_search or ichiba_genre_search.

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 explains when to use the tool (to browse genres or navigate hierarchy) and explicitly mentions it is useful for narrowing book searches. While it doesn't list alternative tools or when not to use it, the context from sibling names and the purpose makes the usage clear.

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

Install Server

Other Tools

Latest Blog Posts

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/mrslbt/rakuten-mcp'

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