Skip to main content
Glama

track_enrichment_batch

Enrich up to 50 Spotify track IDs with album release date, record label, and artist genres via one batch operation.

Instructions

Up to 50 track IDs → enriched rows: album release date, label and artist genres joined back onto each track via chunked several-tracks + several-albums + several-artists fan-in. Quota: 🟡 ~3 chunked API calls (one per several-* endpoint, more when chunking splits).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fieldsNoProjection of enrichment columns. Default: all four
track_idsYesUp to 50 Spotify track IDs
max_resultsNo
response_formatNo'concise' = human prose, 'detailed' = more fields in prose, 'json' = raw API objectconcise
Behavior4/5

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

With no annotations, the description carries the full disclosure burden and delivers genuine behavioral detail: the internal fan-in across three several-* endpoints, the chunking behavior that scales call count, and the medium-quota cost (🟡 ~3 chunked API calls). It does not disclose error/partial-failure behavior, input-order preservation, or that duration is also enrichable, but the disclosed mechanism and quota go well beyond what the schema exposes.

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?

Two dense sentences, front-loaded with the core transform before the quota detail. Every phrase earns its place; the compact notation ('→', 'fan-in', 'several-*') is telegraphic but efficient. Slightly jargon-heavy for a general agent, so not a 5.

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 core transform and cost profile are well covered, but for a 4-parameter tool with no output schema and no annotations, the description leaves response_format behavior (what 'concise' vs 'json' actually returns given the fan-in), max_results semantics, and error handling for invalid or duplicate track IDs unexplained. An agent could call it successfully on the happy path but would be guessing about limits and failure modes.

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?

The description adds join semantics for the fields enum (release_date, label, genres are sourced from albums/artists), which the schema enum alone does not convey. However, max_results has no schema description and is never mentioned in the tool description, and duration is omitted from the prose despite being a valid fields value; with 75% schema coverage the description partially compensates but leaves a real 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 specifies the operation precisely: 'Up to 50 track IDs → enriched rows' with a defined output composition (album release date, label, artist genres joined back onto each track). It clearly distinguishes this from siblings like get_several_tracks (raw fetch), catalog_batch_lookup (generic lookup), and artist_genres_compact (artist-level only) by naming the several-* fan-in mechanism and the enrichment scope.

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 mechanism disclosure ('chunked several-tracks + several-albums + several-artists fan-in') and quota estimate ('~3 chunked API calls... more when chunking splits') imply this is the batched/joined alternative to calling the three several-* endpoints manually, and the 'Up to 50' cap implies an exclusion beyond 50 IDs. However, no alternative tool is explicitly named and there is no when-to-use/when-not-to-use or condition-based routing guidance, so the choice is left to inference.

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

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