Skip to main content
Glama
Captapi MCP Server

Captapi MCP Server

Official

Spotify Search

spotify_search

Search Spotify by keyword to retrieve tracks, albums, artists, podcasts, or episodes with canonical spotify: URIs, explicit flags, and fetch timestamps.

Instructions

Search Spotify — canonical spotify: URIs, explicit, fetchedAt (flat 2 credits). Costs 2 credits. 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": {
      "q": "<q>"
    },
    "name": "spotify_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYesSearch term (min 2 chars).
rawNoInclude per-result upstream payload as results[].raw. Default false. Pathfinder GraphQL vs fallback-path shapes differ — see FAQ.
typeNoResult kind: tracks (default), albums, artists, podcasts, or episodes.
cacheNoSet true to serve from the 24h response cache (0 credits on hit). Default false — always fetch fresh.
limitNoMax items to return (default 20, max 50). Flat 2 credits per call.

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?

No annotations are supplied, so the description carries the full burden, and it does disclose meaningful behavior: a flat 2-credit cost, that empty results and failures are never billed, and the cache-vs-fresh tradeoff. Auth requirements, rate limits, and pagination limits are not mentioned, which keeps it short of a 5.

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?

It is front-loaded and short, leading with what the tool returns and the cost. The credit cost is stated twice ("flat 2 credits" and "Costs 2 credits"), which is redundant but minor.

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?

For a 5-parameter search with full schema coverage and no output schema, the description covers pricing, billing exemptions, caching, and a sketch of the returned fields. It omits error-shape or result-envelope details an agent might want, but nothing essential to correct invocation is missing.

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 coverage is 100%, so every parameter including raw, type, limit, and cache is already documented in the schema; baseline is 3. The description reinforces the cache economics (free hit vs fresh default) and the flat pricing regardless of limit, but adds no new syntax or format meaning beyond that.

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 first clause names a specific verb and resource ("Search Spotify") and immediately characterizes the results (canonical spotify: URIs, explicit flag, fetchedAt). It is clearly distinct from the entity-lookup siblings like spotify_track or spotify_album by virtue of being a search, though it doesn't explicitly name a sibling to route against.

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 operational rather than routing-based: it tells the agent to pass cache=true for a free 24h hit and that the default is always fresh. It never says when to prefer spotify_search over spotify_track/spotify_artist for a known entity, so the when-to-use decision against alternatives is left implicit.

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