get_album

Pack: spotify · Endpoint: https://gateway.pipeworx.io/spotify/mcp

Fetch a Spotify album by album_id. Returns name, artists, release date, total tracks, label, genres, popularity, images, and full tracklist with track IDs and durations. Optional market filter.

Parameters

NameTypeRequiredDescription
album_idstringyesSpotify album ID
marketstringnoMarket for availability

Example call

Arguments

{
  "album_id": "2noRn2Aes5aoNVsU6iWjc0"
}

curl

curl -X POST https://gateway.pipeworx.io/spotify/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_album","arguments":{"album_id":"2noRn2Aes5aoNVsU6iWjc0"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('get_album', {
  "album_id": "2noRn2Aes5aoNVsU6iWjc0"
});

More examples

{
  "album_id": "2noRn2Aes5aoNVsU6iWjc0",
  "market": "US"
}

Response shape

FieldTypeDescription
idstringAlbum ID
namestringAlbum name
artistsarray
release_datestringRelease date (YYYY-MM-DD)
release_date_precisionstringPrecision (year/month/day)
total_tracksnumberTotal tracks on album
imagesarray
tracksobject
popularitynumberPopularity 0-100
Full JSON Schema
{
  "type": "object",
  "description": "Album record with tracklist",
  "properties": {
    "id": {
      "type": "string",
      "description": "Album ID"
    },
    "name": {
      "type": "string",
      "description": "Album name"
    },
    "artists": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Artist ID"
          },
          "name": {
            "type": "string",
            "description": "Artist name"
          }
        }
      }
    },
    "release_date": {
      "type": "string",
      "description": "Release date (YYYY-MM-DD)"
    },
    "release_date_precision": {
      "type": "string",
      "description": "Precision (year/month/day)"
    },
    "total_tracks": {
      "type": "number",
      "description": "Total tracks on album"
    },
    "images": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "url": {
            "type": "string",
            "description": "Image URL"
          },
          "height": {
            "type": "number",
            "description": "Image height pixels"
          },
          "width": {
            "type": "number",
            "description": "Image width pixels"
          }
        }
      }
    },
    "tracks": {
      "type": "object",
      "properties": {
        "href": {
          "type": "string",
          "description": "API endpoint for tracks"
        },
        "items": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "description": "Track ID"
              },
              "name": {
                "type": "string",
                "description": "Track name"
              },
              "artists": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "description": "Artist ID"
                    },
                    "name": {
                      "type": "string",
                      "description": "Artist name"
                    }
                  }
                }
              },
              "duration_ms": {
                "type": "number",
                "description": "Duration in milliseconds"
              },
              "track_number": {
                "type": "number",
                "description": "Track number on album"
              },
              "is_playable": {
                "type": "boolean",
                "description": "Playable in market"
              }
            }
          }
        },
        "limit": {
          "type": "number",
          "description": "Items per page"
        },
        "offset": {
          "type": "number",
          "description": "Offset in results"
        },
        "total": {
          "type": "number",
          "description": "Total tracks"
        }
      }
    },
    "popularity": {
      "type": "number",
      "description": "Popularity 0-100"
    }
  }
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "spotify": {
      "url": "https://gateway.pipeworx.io/spotify/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build July 6, 2026