Skip to main content
Glama

search_tracks

Search TIDAL for songs by title, artist, or both to locate specific tracks and return matching results with a count.

Instructions

Search specifically for tracks/songs on TIDAL.

USE THIS TOOL WHENEVER A USER ASKS FOR:
- "Find the song [title]"
- "Search for tracks by [artist]"
- "Look for [song title] by [artist]"
- Any specific track/song search request

Args:
    query: The search term (song title, artist name, or combination)
    limit: Maximum number of tracks to return (default: 20)

Returns:
    A dictionary with "results.tracks.items" list and "count".
    Returns an "error" key on failure.

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": {
      "query": "<query>"
    },
    "name": "search_tracks"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
queryYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.2

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations at all, the description carries the full behavioral burden; it does disclose the return shape ("results.tracks.items" plus "count") and that an "error" key appears on failure, which is genuinely useful. It says nothing about authentication requirements (relevant given tidal_login and tidal_check_login siblings) or any rate limits, so mutation/auth behavior is left opaque.

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 definition is front-loaded with the one-line purpose, then trigger phrases, then Args and Returns sections, so an agent can stop reading early and still act. The bulleted examples are slightly repetitive (three variants of song-title search) but each is a plausible real user phrasing, so little is wasted.

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 two-parameter read tool with no output schema, the description covers purpose, triggers, both parameters, and the return envelope, which is nearly everything needed to call it. The one material gap is the absence of any login/auth prerequisite, which matters in a sibling set that includes tidal_login and tidal_check_login.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate, and it does: query is explained as "song title, artist name, or combination", and limit as the maximum number of tracks with default 20. The limit default merely restates the schema, but the query semantics add real value not present anywhere in the input schema.

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?

"Search specifically for tracks/songs on TIDAL" gives a concrete verb, resource, and scope, and the word "specifically" signals it is narrower than a generic catalog search. It does not explicitly name the sibling it is not (search_tidal, search_albums, search_artists), so an agent must infer the boundary from the resource noun alone.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The capitalized "USE THIS TOOL WHENEVER A USER ASKS FOR" block with four concrete utterance patterns gives very clear positive triggers, so an agent knows when to pick this over album/artist/playlist search. It provides no negative guidance, such as what to do when the user asks for an artist or album, or whether tidal_login must run first.

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