Skip to main content
Glama

play_search_result

Play a specific numbered track from the most recent search results, letting you start listening right after a successful search.

Instructions

Plays a specific track number from the most recent search results. Only call this AFTER a successful search.

Input Schema

NameRequiredDescriptionDefault
numberYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.1.0

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description must carry the behavioral burden. It discloses the search-result dependency, but does not describe side effects such as whether current playback stops, whether the queue changes, or what happens if the number is out of range.

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, front-loaded with the action and then the key prerequisite. There is no filler or repetition.

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?

The tool is simple and has an output schema, but no annotations and a completely undocumented schema parameter mean the description should do more. It covers the sequencing prerequisite and the general meaning of 'number', but leaves important calling details ambiguous.

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 0% and the parameter is only named 'number', so the description usefully clarifies that it refers to a track number in the most recent search results. However, it does not specify whether numbering is 1-based or 0-based, the valid range, or what happens for an invalid number.

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?

States a specific verb and resource: plays a track from the most recent search results. The scope phrase 'from the most recent search results' distinguishes it from siblings like play_songs and play_favorites, though it does not explicitly name those alternatives.

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?

Explicitly states the prerequisite: 'Only call this AFTER a successful search.' That gives the agent clear sequencing context. It does not discuss when to prefer this over direct playback tools such as play_songs or play_favorites, so it falls short of full alternative guidance.

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