Skip to main content
Glama
llyfn

mcp-server-spotify

get_artist_albums

Retrieve albums by a Spotify artist, filtered by album type (album, single, appears_on, compilation), with pagination support via limit and offset.

Instructions

Get albums by a Spotify artist.

    Args:
        artist_id: The Spotify ID of the artist.
        include_groups: Comma-separated album types: album, single, appears_on, compilation.
        limit: Maximum number of albums to return (1-50, default 20).
        offset: Index of the first album to return (default 0).
    

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
artist_idYes
include_groupsNo
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 carries the full burden for behavioral disclosure. It does not mention authentication, rate limits, or confirm that this is a read-only operation. The description is minimal and does not add context beyond parameter definitions.

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 relatively concise with a short opening sentence followed by a structured Args list. It is front-loaded with the purpose. However, the Args section is somewhat verbose; could be slightly more compact.

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 4 parameters and an output schema (not shown). The description adequately covers parameters but does not mention output behavior or potential errors. With output schema existing, return value details are not needed. Still, it lacks context on prerequisites or common issues.

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 coverage is 0%, so the description must compensate. It explains all parameters: artist_id (required), include_groups (types: album, single, appears_on, compilation), limit (1-50, default 20), offset (index, default 0). This adds significant meaning beyond the raw schema types.

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?

Description clearly states 'Get albums by a Spotify artist.' It uses a specific verb ('Get') and resource ('albums'), and specifies the scope ('by a Spotify artist'). This distinguishes it from siblings like 'get_album' (single album) and 'get_artist' (artist info).

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 does not provide any guidance on when to use this tool versus alternatives. It lacks explicit when-to-use or when-not-to-use instructions. With many sibling tools like 'get_album' and 'get_artist', such guidance would be valuable.

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