Skip to main content
Glama

audiobook_chapter_map

Get a chapter-by-chapter duration map for any Spotify audiobook, including total runtime and the midpoint chapter. Use it to plan listening sessions or locate the halfway point.

Instructions

[local-compute] Chapter-by-chapter duration map, total runtime and the mid-point chapter for one audiobook. MARKET GATE: audiobooks are US/UK/CA/IE/NZ/AU only. Quota: 🟡 2+ API calls (GET /audiobooks/{id} + paged GET /audiobooks/{id}/chapters).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
max_resultsNo
audiobook_idYesSpotify audiobook ID
response_formatNo'concise' = human prose, 'detailed' = more fields in prose, 'json' = raw API objectconcise
Behavior4/5

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

With no annotations, the description carries the full burden and discloses meaningful behavior: [local-compute] signals where processing happens, and the Quota line reveals the real cost — a GET /audiobooks/{id} call plus a paged GET /audiobooks/{id}/chapters call, implying pagination and a multi-call operation. The market gate is an additional behavioral constraint. It does not confirm read-only semantics or describe error/return behavior, but the cost and gating disclosures go well beyond a bare statement.

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?

Three sentences with the purpose front-loaded and the market gate and quota clearly labeled. Every sentence earns its place, though the telegraphic all-caps labels make it slightly cramped rather than elegant.

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 tool with no annotations and no output schema, the description covers the core outputs (duration map, total runtime, midpoint) and the API cost, which partially substitutes for a return-value spec. Gaps remain: max_results semantics, whether response_format changes the computed midpoint or raw payload, and how this tool relates to the raw chapter endpoints.

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 coverage is 67% — audiobook_id and response_format have descriptions, but max_results has none, and the description adds no per-parameter meaning. The critical question of what max_results caps (chapters fetched, map size, or something else) is left unanswered by both schema and description.

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 clear scope ('one audiobook') and three concrete computed outputs: a chapter-by-chapter duration map, total runtime, and the mid-point chapter. This reads as a distinct analytics aggregation rather than a raw listing, functionally separating it from siblings like get_audiobook_chapters and get_audiobook, though no sibling is named explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The only usage signal is the MARKET GATE restriction (US/UK/CA/IE/NZ/AU only), which is a platform-level market exclusion rather than a tool-selection rule. There is no guidance on when to choose this over get_audiobook_chapters, audiobook_progress, or list_all_chapters, and no statement of the user need this tool answers.

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/NovaLux12/spotify-mcp-server'

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