Skip to main content
Glama

Add a music button

add_music

Add a song or album as a button with its cover art. Pass one Spotify, Apple Music, Deezer or YouTube link: stomp.to reads the title, artist and cover, and finds the same release on Spotify, Apple Music and Deezer when the names match. Visitors tap it and pick their streaming app. Add other services (YouTube Music, TIDAL, Amazon Music, SoundCloud, Bandcamp…) afterwards with update_block links.

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": {
      "url": "<url>"
    },
    "name": "add_music"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesA Spotify, Apple Music, Deezer or YouTube link to a song or album.
endsAtNoWhen it stops showing, ISO 8601 with a time zone, e.g. 2026-12-01T18:00:00-08:00. Ask the user's time zone if unsure. null clears it.
positionNoWhere to add it: "top" (default) or "bottom".top
startsAtNoWhen it starts showing, ISO 8601 with a time zone, e.g. 2026-12-01T18:00:00-08:00. Ask the user's time zone if unsure. null clears it.
spotlightNoPut it in the spotlight: shown first on the page, highlighted. Only one block has it; this takes it from any other.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare this is a mutating, non-idempotent, open-world write, and the description adds genuinely new behavior: it fetches title/artist/cover from the link and cross-matches the release on Spotify, Apple Music and Deezer only "when the names match" — an important caveat an agent could not infer. It also explains the visitor-facing outcome (tap and pick a streaming app), which is real product behavior beyond the annotations.

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

Conciseness3/5

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

The description is front-loaded with the core action and is reasonably tight, but the second and third sentences pack in detail about cross-matching and follow-up services that could be stated more crisply. Nothing is truly wasted, yet the multi-clause sentences are denser than necessary for an agent parsing the definition.

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?

With no output schema and five fully documented parameters, the description covers what an agent most needs: input constraints, retrieval behavior, and the follow-up path. It stops short of stating what the tool returns (e.g., a block ID) or what happens on a duplicate add, though the non-idempotent annotation hints at that.

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 a baseline of 3 applies, but the description adds meaning the schema does not: only ONE link may be passed, and the cross-platform matching applies to Spotify/Apple Music/Deezer while YouTube is accepted as input only. That nuance affects how an agent should fill the url parameter, lifting it above baseline.

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?

"Add a song or album as a button with its cover art" gives a specific verb (add) plus a concrete resource (music button with cover art), which clearly separates it from siblings like add_link, add_embed, or add_header. The follow-on sentence clarifies the input mechanism, so an agent knows exactly what this tool produces.

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?

The description sets a clear precondition ("Pass one Spotify, Apple Music, Deezer or YouTube link") and routes the agent to a sibling for follow-up work ("Add other services … afterwards with update_block links"). It does not explicitly exclude non-music links in favour of add_link, but the constraint to one music link makes the usage boundary clear enough.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources