Skip to main content
Glama

get_new_releases

Discover recently released albums on Spotify to stay current with new music, find genre-specific releases, and build updated playlists.

Instructions

Discover the latest album releases available on Spotify, perfect for staying up-to-date with new music.

🎯 USE CASES: β€’ Weekly music discovery sessions β€’ Finding new releases from favorite genres β€’ Building "New Music Friday" playlists β€’ Keeping up with trending releases in specific regions β€’ Music blog content creation and curation

πŸ“ WHAT IT RETURNS: β€’ Recently released albums with release dates β€’ Artist information and album artwork β€’ Spotify popularity scores and listener counts β€’ Genre classifications and market availability β€’ External links and preview URLs where available

πŸ” EXAMPLES: β€’ "Show me the latest album releases this week" β€’ "What new albums came out in the UK recently?" β€’ "Find new releases, limit to 10 albums" β€’ "I want to discover new music that just dropped"

πŸ’‘ TIPS: β€’ Use country parameter to get region-specific releases β€’ Adjust limit based on how many discoveries you want β€’ Perfect for automated weekly new music updates

⚠️ REQUIREMENTS: β€’ Valid Spotify access token β€’ Optional: Country code for region-specific results

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tokenYesSpotify access token for authentication
limitNo
countryNoCountry code for localized content (e.g., 'US', 'GB')

Implementation Reference

  • The MCP tool handler for 'get_new_releases'. It parses arguments (token, limit, country) and delegates execution to the SpotifyService.getNewReleases method.
    handler: async (args: any, spotifyService: SpotifyService) => { const { token, limit = 20, country } = args; return await spotifyService.getNewReleases(token, limit, country); },
  • The input schema definition for the 'get_new_releases' tool, specifying parameters: token (required), limit (1-50, default 20), country (optional).
    schema: createSchema({ token: commonSchemas.token(), limit: commonSchemas.limit(1, 50, 20), country: commonSchemas.country(), }),
  • The albumTools object (containing 'get_new_releases') is included in the central allTools registry via object spread. This registry is used by ToolRegistrar for MCP tool listing and execution.
    ...albumTools,
  • The SpotifyService helper method implementing the core logic: calls Spotify API endpoint 'browse/new-releases' with limit and optional country parameters, returning paging object of new albums.
    async getNewReleases( token: string, limit: number = 20, country: string | null = null ): Promise<{ albums: PagingObject<SpotifyAlbum> }> { const params: Record<string, any> = { limit: Math.min(limit, 50) }; if (country) params.country = country; return await this.makeRequest<{ albums: PagingObject<SpotifyAlbum> }>( "browse/new-releases", token, params ); }

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/latiftplgu/Spotify-OAuth-MCP-server'

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