Skip to main content
Glama
Captapi MCP Server

Captapi MCP Server

Official

Spotify Album

spotify_album

Fetch album metadata and track data from Spotify URLs, URIs, or IDs—including play counts, artists, release date, and explicit flags; enable cache for a free 24-hour cached response.

Instructions

Spotify album — tracks[] with playCount, joinable artists[], releaseDate, explicit (1 credit). Costs 1 credit. Empty results and failures are never charged. Pass cache=true for a free 24h cache hit (default always fresh).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "url": "<url>"
    },
    "name": "spotify_album"
  }
}

Input Schema

NameRequiredDescriptionDefault
rawNoInclude the upstream GraphQL payload as data.raw. Default false — omit unless you need fields not in the normalized shape.
urlYesSpotify URL, URI, or ID. The URL platform must match this endpoint's platform. Do not pass cross-platform URLs, e.g. YouTube to TikTok, Instagram to Facebook, LinkedIn to X/Twitter, or Pinterest to Rumble.
cacheNoSet true to serve from the 24h response cache (0 credits on hit). Default false — always fetch fresh.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does real work: it discloses a 1-credit cost, that empty results and failures are never charged, that caching is opt-in for 24h and free on hit, and that the default is always-fresh. What it omits is auth requirements, rate limits, and pagination/truncation behavior for large albums.

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?

The payload shape is front-loaded and every sentence addresses cost or caching, which are the non-obvious facts. Minor waste: the credit price is stated twice ('(1 credit)' and 'Costs 1 credit.'), which could be collapsed into one clause.

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?

There is no output schema, so describing the normalized fields (tracks[], playCount, artists[], releaseDate, explicit) is genuinely necessary and is done compactly. Combined with the billing and cache rules, an agent has enough to call this correctly; only error-mode and size-limit behavior are left implicit.

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 three parameters (url, cache, raw) are already documented. The description's only parameter detail — cache=true for a free 24h hit, default fresh — restates what the schema already says, and it never mentions raw, so it adds little beyond the structured fields.

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?

The description names the resource (Spotify album) and describes the normalized payload shape — tracks[] with playCount, joinable artists[], releaseDate, explicit — which distinguishes it from spotify_track and spotify_artist by content rather than just by name. It never states an explicit verb like 'fetch' or 'retrieve', so the operation is inferred from the URL parameter and the output sketch.

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?

Guidance is present but oriented toward cost and caching ('Pass cache=true for a free 24h cache hit'), not tool selection. There is no statement of when to pick spotify_album over spotify_track or spotify_search, and no prerequisites or exclusions beyond the schema-level warning about cross-platform URLs.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools