Skip to main content
Glama

search_albums

Retrieve album details from Spotify by search query. Returns name, artist, release date, and ID for each album found.

Instructions

Search for albums on Spotify.

Returns album names, artists, release dates, and IDs. Use get_album_tracks to list the tracks on a found album.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
queryYes

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 must carry full behavioral burden. It only states it is a search and returns fields, but omits details like authentication requirements, rate limits, whether results are localized, or if it supports pagination (though limit param exists).

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 two sentences, front-loading the purpose. It is well-structured with a clear statement and a useful follow-up hint, though it could be slightly more efficient.

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

Completeness2/5

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

Given no annotations, 2 parameters with zero description coverage, and an output schema present but not described, the description leaves significant gaps. It fails to compensate for the missing parameter explanations and operational context.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Parameter coverage is 0% as the description does not explain the 'query' or 'limit' parameters. The schema defines them but the description adds no semantic meaning, leaving the agent to guess formats or constraints.

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 the tool searches for albums on Spotify and lists the returned fields (names, artists, release dates, IDs). It distinguishes itself from sibling tools like search_tracks and search_artists by focusing on albums.

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

Usage Guidelines3/5

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

The description mentions using get_album_tracks to list tracks on a found album, providing a follow-up action. However, it lacks explicit conditions on when to use this tool versus alternatives like search_tracks or search_artists, and no when-not scenarios are given.

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

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