Skip to main content
Glama
llyfn

mcp-server-spotify

get_audiobook_chapters

Retrieve chapters of a Spotify audiobook by providing its ID. Specify the number of chapters and offset to paginate results.

Instructions

Get chapters of a Spotify audiobook.

    Args:
        audiobook_id: The Spotify ID of the audiobook.
        limit: Maximum number of chapters to return (1-50, default 20).
        offset: Index of the first chapter to return (default 0).
    

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
audiobook_idYes
limitNo
offsetNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

No annotations are provided, so the description bears full responsibility for behavioral disclosure. It only states 'Get chapters', implying a read operation, but does not explain pagination behavior (despite limit/offset parameters), error handling for invalid IDs, or any side effects. For a tool with no annotations, this is insufficient.

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 description is concise, with a one-sentence purpose followed by a formatted Args block. It avoids unnecessary words. However, the Args block is in a docstring style that could be more formally structured (e.g., using bullet points), but it remains clear and efficient.

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?

The tool has an output schema, so return value documentation is not required. However, the description does not mention pagination handling or behavior when the audiobook ID is invalid. Given the complexity of a paginated list endpoint, a brief note on pagination would improve completeness. Currently, it is minimally adequate.

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 description coverage is 0%, but the tool description compensates by listing parameters with brief explanations: audiobook_id is 'The Spotify ID', limit is 'Maximum number of chapters to return (1-50, default 20)', offset is 'Index of the first chapter to return (default 0)'. This adds context beyond the schema titles and defaults, helping an agent understand parameter roles.

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 'Get chapters of a Spotify audiobook.' The verb 'Get' and resource 'chapters of a Spotify audiobook' are specific and unambiguous. Among siblings, this tool uniquely retrieves chapters for an audiobook, distinct from get_audiobook (which gets audiobook details) and get_chapter (likely a single chapter).

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 description provides no guidance on when to use this tool versus alternatives. It does not mention prerequisites, such as needing a valid audiobook ID, nor does it compare with siblings like get_audiobook or get_chapter. An agent would lack context for choosing this tool.

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

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