Skip to main content
Glama

Groundsocial

Get an Apple Music track

applemusic_track_get
Read-onlyIdempotent

An Apple Music song or music video with a 30-second preview link.

A song or music video by id or link (an album link with ?i= works): name, artist, album, release date, duration, genre, explicitness, price and a 30-second preview link.

Cost: 1 credit per call, refunded automatically if the call fails. Read-only, public data only. Results include cost_credits and credits_remaining.

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": {
      "id": "<id>"
    },
    "name": "applemusic_track_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesAn Apple Music track id or music.apple.com link (URL-encoded).
countryNoStorefront, ISO 3166-1 alpha-2 in any case (default us, or the link’s). uk reads as gb.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior5/5

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

Beyond the annotations (readOnly, openWorld, idempotent, non-destructive), the description discloses pricing behavior (1 credit per call, auto-refunded on failure), that only public data is read, and that results carry cost_credits and credits_remaining. That is exactly the kind of operational context annotations cannot convey.

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

Conciseness4/5

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

Three short, front-loaded lines: what it returns, what input it accepts, and cost/safety. There is mild redundancy between the first line and the opening of the second (both restate 'song or music video'), but nothing is padded.

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 two-parameter read-only getter with no output schema, the definition covers returned fields, accepted input forms, cost, refund behavior, and the cost metadata in the response. The only gap is any statement of failure/not-found behavior beyond the automatic refund.

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 is 3, but the description adds real meaning by noting that an album link with ?i=<id> resolves to a track — a case the schema does not spell out. The country parameter is left entirely to the schema, which keeps it from a 5.

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+resource (get an Apple Music track) and enumerates the returned fields, making the scope concrete. It also clarifies that album links with ?i=<id> are accepted, which helps separate it from applemusic_album_get, though no sibling is named explicitly.

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?

Usage is only implied: the agent can infer this is the tool to call when it already has a track id or music.apple.com link. There is no explicit guidance on when to prefer applemusic_search_all for name-based lookup or applemusic_album_get for whole albums.

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.