Skip to main content
Glama
martin-gomola

Spotify MCP Server

getTrackAudioFeatures

Read-onlyIdempotent

Get BPM, key, energy, danceability, valence, and related audio features for 1–100 Spotify track IDs, including field-level provenance.

Instructions

Get BPM, key, mode, energy, danceability, valence, and related audio features for 1–100 exact Spotify track IDs with field-level provenance.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sourceNoauto
trackIdsYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
featuresYes
warningsYes
missingTrackIdsYes
requestedTrackIdsYes
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered. The description adds 'field-level provenance' as a behavioral trait, which is useful context beyond annotations, but does not elaborate on what provenance means or potential rate limits/errors. It is not contradictory to annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, front-loaded sentence with no filler. Every word adds value, specifying resource, features, ID type, range, and provenance.

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?

Given the rich annotations and existence of an output schema, the description covers the core functionality well. However, the unexplained 'source' parameter and the vague 'field-level provenance' phrase leave some contextual gaps. Still, overall it is sufficiently complete for a read-only batch feature retrieval tool.

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 description coverage is 0%, so the description must compensate. It partially covers trackIds by specifying 'exact' and the 1–100 range, but it completely omits the 'source' parameter, which has an enum and default. The description does not clarify how source affects behavior or when to use each value, leaving a significant semantic gap.

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 uses a specific verb ('Get') and resource ('audio features') with a clear scope (1–100 exact Spotify track IDs). It names the exact features returned (BPM, key, mode, etc.), making it easy to distinguish from sibling playlist/playback tools and even from analysis tools like compareTrackAnalysis.

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 implies usage for batch retrieval from exact track IDs, which distinguishes it from search or playlist-based tools. However, it does not explicitly state when to prefer this tool over alternatives such as compareTrackAnalysis or analyzeDjPlaylist, nor does it mention exclusions like 'use searchSpotify if you don't have IDs'.

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

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