Skip to main content
Glama

datasets_apple_books_search

Read-only

Search named ebook, audiobook, author and series records in the stored Apple Books dataset; this reads the collected index and does not fetch Apple live. Kind is book, audiobook, author, series, or audiobook_series. Unavailable placeholders are excluded. PageSize defaults to 20, max 100; each returned record costs one credit with a minimum of two. Use datasets_apple_books_facets to discover exact filters or datasets_apple_books_item when you have the kind and ID.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "datasets_apple_books_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
qNoOptional full-text query over title/name, artist, series, narrator and description, max 256 characters.
freeNoOptional free-title filter.
kindNoOptional resource kind. Allowed values: book, audiobook, author, series, audiobook_series.
pageNo1-based page number, default 1; page times page_size must not exceed 10000.
sortNoSort order: rating_count_desc, rating_desc, release_date_desc, name_asc, crawled_at_desc. Defaults to rating_count_desc without q and relevance with q.
genreNoOptional exact genre label as stored on Apple Books records, max 128 characters. Use the genres facet to discover labels.
artistNoOptional exact artist/author name, max 128 characters.
seriesNoOptional exact series name, max 128 characters.
countryNoOptional discovery storefront country code, max 128 characters.
currencyNoOptional exact currency code, max 128 characters.
narratorNoOptional exact audiobook narrator, max 128 characters.
providerNoOptional exact audiobook provider, max 128 characters.
artist_idNoOptional exact numeric Apple Books artist ID, max 128 characters.
page_sizeNoPage size, default 20, max 100; page times page_size must not exceed 10000.
publisherNoOptional exact publisher, max 128 characters.
min_ratingNoOptional minimum average rating from 0 through 5.
discovery_sourceNoOptional exact crawl discovery source, max 128 characters.
min_rating_countNoOptional minimum number of ratings, 0 or greater.

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.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true; the description adds context annotations cannot carry: results are from a collected index rather than a live Apple fetch, unavailable placeholders are filtered out, and every returned record costs a credit with a minimum charge of two. That cost model is the kind of non-obvious operational detail an agent needs, though no note is given about behavior on empty result sets.

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?

Four short sentences, each carrying distinct information: identity, data source, kind vocabulary, result filtering, cost, and routing. The sourcing and cost clauses are front-loaded well before the alternatives. Slightly dense but no filler.

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?

For an 18-parameter read tool with a 100% documented schema, full annotations and an output schema, the description covers the non-structural essentials: local-vs-live sourcing, credit cost, pagination ceiling and delegation paths. Only the combination semantics of the many optional filters (e.g. whether they AND together) is left unstated.

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 all 18 parameters including q, kind, genre and the paging caps are already documented in the schema. The description only restates the page_size default/maximum and the kind vocabulary, plus a pointer to the facets tool for exact filter labels. That is marginal added meaning, consistent with a baseline 3.

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?

States a specific verb and resource ('Search named ebook, audiobook, author and series records') and immediately qualifies the scope: it reads a stored index and does not fetch Apple live. That contrast with live Apple Books siblings lets an agent distinguish it without opening a schema.

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?

Gives conditional routing to two named siblings: facets for discovering exact filters, item when kind and ID are already known. It also enumerates the valid kind values up front. It does not say when this tool should be avoided in favour of the live web siblings, but the general context is clear.

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.