Skip to main content
Glama

open_url_to_spotify_uri

Convert any open.spotify.com link, including embed URLs with tracking parameters, into a canonical spotify: URI for direct use.

Instructions

Convert an open.spotify.com URL (including /embed/ forms with ?si= tracking params) into a canonical spotify: URI locally.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesopen.spotify.com URL (embed forms accepted, query params ignored)
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 full burden. It does disclose that conversion happens 'locally' (no network call, no side effects) and that query params are ignored — genuinely useful behavioral context. However, it does not state error behavior for invalid or non-Spotify URLs, nor what the output representation actually looks like.

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?

A single front-loaded sentence carrying the verb, input, output, accepted variants, and the local-execution trait with zero filler. Every clause earns its place, and the most decision-relevant information appears first.

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 low-complexity, purely local transform with 2 params, 1 required, and full schema coverage, the description covers the input contract and the output form (canonical spotify: URI). The main gap is unspecified error handling for malformed input, and since there is no output schema, the exact return shape is left to inference.

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%, so the baseline of 3 applies; both params are already fully described in the schema, including response_format's enum semantics. The tool description largely reiterates schema content (embed forms, query params ignored), adding little meaning beyond what the schema already conveys.

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 states a specific verb ('Convert') and resource (open.spotify.com URL → canonical spotify: URI), with useful scope detail on accepted forms (/embed/ variants, ?si= tracking params). The input domain (URL, not URI) inherently separates it from the reverse sibling spotify_uri_to_open_url, but it never names or explicitly differentiates from nearby siblings like canonicalize_spotify_uri or parse_spotify_uri.

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?

No when-to-use guidance, no named alternatives, and no exclusions are provided. In a toolset with a large cluster of URI utilities (spotify_uri_to_open_url, canonicalize_spotify_uri, extract_spotify_id, parse_spotify_uri), the agent receives no routing help. The only implicit hint is the input form (URL vs URI), which is not sufficient.

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