Skip to main content
Glama
kotty-radio-mcp
by garrapato

Recommend radio stations from a request

recommend_stations
Read-only

Recommend internet radio stations for free-form music requests by converting artist, album, or song references into genre, country, language, decade, and mood hints, then returning ranked matches.

Instructions

Recommend internet radio stations that fit a free-form music request ("jazz francés tranquilo", "something like Soda Stereo", "music to study"). radio-browser has NO artist or album search, so BEFORE calling, translate any artist/album/song into hints: genres (radio-browser tags), countryCodes, languages, decade and moods. E.g. "algo como Soda Stereo" -> hints {genres:["rock en español","rock"], countryCodes:["AR"], languages:["spanish"], decade:"80s", artist:"Soda Stereo"}. Always pass the original prompt too; the server also parses it as a fallback. Returns ranked stations with matchReason and confidence (0–1): if the top confidence is high (≥0.8) you may play the first one directly with play_station, otherwise offer up to 3 options. If the user just wants anything, prefer get_random_stations.

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": {
      "prompt": "<prompt>"
    },
    "name": "recommend_stations"
  }
}

Input Schema

NameRequiredDescriptionDefault
hintsNoStructured criteria YOU infer from the prompt. Strongly recommended.
limitNoMax stations (default 5, max 20)
promptYesThe user's original request, verbatim (any language), e.g. "quiero rock argentino de los 80"
browserNoSet true if the audio will be played in a web browser in passthrough format (drops codecs browsers cannot play)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.9/5.0
Behavior5/5

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

Annotations only declare readOnlyHint and openWorldHint, but the description adds substantive behavior: the server also parses the raw prompt as a fallback when hints are thin, and results come back ranked with matchReason and a 0–1 confidence score. It even supplies a decision threshold for acting on that confidence, which is context the annotations cannot carry.

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?

The purpose is front-loaded in the first clause, followed by the constraint, the worked example, and the result-handling rule in a compact sequence. Despite being dense, every sentence carries an actionable instruction or constraint; there is no filler.

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

Completeness5/5

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

For a tool with a nested hints object and no output schema, the description supplies the missing return-value contract (ranked stations, matchReason, confidence) and the semantic translation workflow the nested object requires. Nothing an agent needs to call it correctly or interpret results is absent.

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 coverage is 100%, so the baseline would be 3, but the description adds real meaning by explaining that hints are values the agent must infer and by walking through a worked mapping ("algo como Soda Stereo" -> rock en español, AR, spanish, 80s). It also clarifies why prompt must be passed alongside hints rather than instead of them.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource ("Recommend internet radio stations") and immediately scopes it to a free-form music request, with concrete example prompts. It also distinguishes itself from siblings by noting radio-browser has no artist/album search and pointing to get_random_stations for unfiltered requests.

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

Usage Guidelines5/5

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

It gives explicit preconditions (translate artist/album/song into genre, country, language, decade and mood hints BEFORE calling), an alternative for a different intent (get_random_stations when the user just wants anything), and a downstream action rule (play the top result with play_station at confidence ≥0.8, otherwise offer up to 3). This is a full when/when-not/how decision path.

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