Skip to main content
Glama

apple_books_genres

Read-only

List the complete public genre navigation for one Apple Books storefront. Media is required: book or audiobook. The IDs differ by media type; use returned audiobook IDs with apple_books_audiobook_charts and ebook IDs with apple_books_charts.

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": {
      "media": "<media>"
    },
    "name": "apple_books_genres"
  }
}

Input Schema

NameRequiredDescriptionDefault
mediaYesRequired media taxonomy: book or audiobook. The two types have separate genre ID spaces.
countryNoTwo-letter Apple Books storefront country code, default US.

Output Schema

NameRequiredDescriptionDefault
dataYesThe tool result payload (shape varies per tool; see each tool's docs resource).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare read-only, open-world behavior, so the safety profile is covered. The description adds genuinely non-obvious behavior beyond the annotations: the two media types use separate, incompatible genre ID spaces, so IDs cannot be reused across chart tools.

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?

Three short sentences: the required parameter and the ID-space distinction come before the downstream routing hint. Every sentence carries information and none restates the tool name.

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

Completeness4/5

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

With an output schema present and full parameter coverage, the description need not explain return values. It covers the required input, the storefront scoping, and the cross-tool ID contract; only edge cases such as invalid country or media values are left to the schema.

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%, so both parameters (media, country with default US) are already documented in the schema. The description reinforces that media has separate ID spaces, but adds no format or syntax detail beyond what the schema states, so baseline 3 applies.

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?

States a specific verb and resource ('List the complete public genre navigation') scoped to one Apple Books storefront, which is concrete enough to distinguish it from the book/audiobook detail and search siblings. The phrase 'genre navigation' is slightly unusual terminology but the intent (genre/taxonomy listing) is unambiguous.

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?

Explicitly requires the media parameter ('Media is required: book or audiobook') and tells the agent exactly where the resulting IDs belong: audiobook IDs feed apple_books_audiobook_charts, ebook IDs feed apple_books_charts. There is no when-not guidance, but the downstream routing is strong, actionable context.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.