Skip to main content
Glama

Get a track

get_track
Read-onlyIdempotent

Retrieve Deezer track details—ISRC, release date, and popularity—by numeric track ID. Lyrics are excluded by default; enable include_lyrics or use get_lyrics to fetch them.

Instructions

Track details (ISRC, release date, popularity). Lyrics are excluded by default: set include_lyrics or call get_lyrics.

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": {
      "track_id": "<track_id>"
    },
    "name": "get_track"
  }
}

Input Schema

NameRequiredDescriptionDefault
track_idYesDeezer numeric id, not a URL.
include_lyricsNoAlso return the lyrics text (heavy).

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changedv2.0.0
    • addedInput schema / additionalProperties
      Added value: +false
    • addedInput schema / properties / include_lyrics
      Added value: +{
      +  "default": false,
      +  "description": "Also return the lyrics text (heavy).",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / track_id / description
      Added value: +"Deezer numeric id, not a URL."
    • addedInput schema / properties / track_id / pattern
      Added value: +"^[0-9]+$"
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "type": "object"
      +}
  2. First observedv1.0.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, and non-destructive, so safety is covered. The description adds behavior beyond them by disclosing that the default output omits lyrics and that enabling include_lyrics is "heavy" in the schema — a payload-cost warning not implied by 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.

Conciseness4/5

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

Two short sentences with the payload summary front-loaded and the lyrics exception immediately after. No filler, though the sentence fragments lean slightly on the title for the verb.

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?

An output schema exists and the annotations carry the safety profile, so return values and idempotence need no explanation. What an agent needs to call it correctly — the id format and lyrics handling — is either in the schema or stated; only the broader relationship to non-lyrics siblings is left implicit.

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 coverage is 100% and both parameters are already described there (numeric-id pattern, include_lyrics default and weight), so the schema carries the load. The description reinforces the include_lyrics default and offers an alternative path but adds no new syntactic or format detail beyond the schema.

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?

"Track details (ISRC, release date, popularity)" names a specific resource and enumerates the returned fields, so the agent knows exactly what it gets back. Naming get_lyrics as the lyrics route separates it from the most confusable sibling, though no other sibling (get_album, get_similar_tracks) is addressed.

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?

Gives a clear conditional rule: lyrics are off unless you set include_lyrics, otherwise call get_lyrics. That is a genuine when-to-use/when-to-use-alternative statement. It stops short of stating prerequisites such as needing a numeric Deezer id (left to the schema) or when to prefer this over get_album.

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