Skip to main content
Glama

Spotify Search

spotify_search
Read-onlyIdempotent

Search the Spotify catalog. type = comma-separated of album, artist, playlist, track, show, episode, audiobook. Returns matched items in named sections.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "query": "The Weeknd"
    },
    "name": "spotify_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeNoComma-separated types (default "track")
limitNo1-10 (default 10; Spotify search rejects anything above 10)
queryYesSearch query
marketNoISO 3166-1 alpha-2 market code (e.g., "US")
offsetNo0-1000 (default 0)

Output Schema

NameRequiredDescriptionDefault
showsNo
albumsNo
tracksNo
artistsNo
episodesNo
playlistsNo
audiobooksNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, openWorld, and non-destructive, so the safety profile is covered. The description adds that results arrive in named sections per type, which is modest but real value; it says nothing about pagination behavior, empty-result handling, or market-dependent availability.

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 short sentences with the core action front-loaded and no filler. The final sentence about named sections is useful but could be slightly tighter; overall the structure is clean.

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?

With an output schema present, rich annotations, and full schema parameter coverage, the description needn't explain return values or parameter formats. It is complete enough to call correctly, with only usage routing left unaddressed.

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 five parameters are already documented, including the limit cap and market format. The description's mention of the comma-separated type list restates schema content rather than adding new semantics, so the baseline of 3 applies.

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?

States a specific verb and resource ("Search the Spotify catalog") and enumerates the searchable entity types. The verb 'search' contrasts naturally with the sibling 'get_*' tools, though no sibling is named explicitly, so differentiation is inferred rather than stated.

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?

Usage is implied — use this when you have a free-text query rather than a known ID — but there is no explicit when-to-use/when-not-to-use guidance and no named alternative such as get_track or spotify_get_artist for ID-based lookups.

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.