Skip to main content
Glama

base62_to_uri

Build a spotify: URI from a base62 ID and entity kind, enabling offline conversion to a standard Spotify identifier.

Instructions

Reinterpret a base62 ID string as a Spotify entity ID and build the full spotify: URI for a given kind, offline.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
kindYesEntity kind, e.g. track
base62YesBase62 ID string
response_formatNo'concise' = human prose, 'detailed' = more fields in prose, 'json' = raw API objectconcise
Behavior4/5

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

With no annotations, the description carries the behavioral disclosure. 'Offline' explicitly signals no network/API dependency, and 'reinterpret' indicates the tool does not validate the base62 string, simply reshaping it. It does not describe edge cases or failure modes, which is a minor gap for a local transformation tool.

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 20-word sentence that leads with the core operation and ends with the offline constraint. No fluff; every word contributes to understanding the tool's behavior.

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?

Given the low complexity, 100% schema coverage, and the explicit output type (spotify: URI) in the description, the definition is mostly complete. The only minor gap is that it does not state how response_format changes the returned value, though the schema already describes that.

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 schema already documents all three parameters including response_format's enum. The description only rephrases the purpose ('base62 ID string', 'for a given kind') without adding format or edge-case semantics beyond the schema, meriting the baseline score of 3.

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?

States a clear verb-resource pair: reinterpret a base62 ID string and build a spotify: URI for a given kind. The 'offline' qualifier also clarifies this is a local transformation, which distinguishes it from network-dependent tools and reverse siblings like uri_to_base62.

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

Usage Guidelines3/5

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

The description implies the use case — converting a base62 ID into a spotify: URI for a specific entity kind — but does not explicitly mention when to prefer it over related tools like uri_to_base62 or validate_spotify_uri. 'Offline' provides useful context but no when-not or alternative routing.

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