Skip to main content
Glama

predict_next_tracks

Predict upcoming tracks from the Spotify queue with individual runtimes and cumulative play times. Get accurate wait times for the next songs without modifying the queue.

Instructions

Predict the next N tracks that will play from the queue, each with its own runtime and the cumulative time until it plays. Read-only.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
countNoHow many upcoming items to predict. Default 5
response_formatNo'concise' = human prose, 'detailed' = more fields in prose, 'json' = raw API objectconcise
Behavior3/5

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

No annotations are provided, so the description carries the behavioral burden. The explicit 'Read-only' statement is a useful side-effect disclosure, and the output fields are described. However, it does not address edge cases like an empty queue, whether the prediction is exact or estimated, or how the response is structured.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences, each earning its place: the first states the operation and output, the second states the safety profile. It is front-loaded, clear, and free of filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple read-only tool with two optional, fully documented parameters, the description covers the core output well. However, without an output schema it does not specify the response container or queue-boundary behavior, and the lack of alternative routing leaves some contextual gaps.

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%, and both 'count' and 'response_format' are documented with defaults and allowed values. The description's reference to 'next N tracks' only echoes the 'count' parameter and does not add meaningful parameter semantics beyond what the schema already provides.

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 a specific verb ('Predict'), a resource ('next N tracks that will play from the queue'), and the key output fields (runtime, cumulative time until it plays). It is clear about what the tool does, but it does not explicitly differentiate itself from queue-related siblings like get_queue, describe_queue, or peek_next.

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

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool versus queue-related alternatives. There are no conditions, exclusions, or mentions of sibling tools, leaving the agent to infer suitability from the tool name alone.

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

Install Server

Other Tools

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/NovaLux12/spotify-mcp-server'

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