Skip to main content
Glama

Deezer charts

get_charts
Read-onlyIdempotent

Retrieve music charts by country or worldwide for tracks, albums, artists, or playlists, with a configurable result limit.

Instructions

Public charts for a country, or worldwide without country_code.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_charts"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNoChart category.track
limitNo
country_codeNoISO 3166-1 alpha-2 code (FR, US...); omit for worldwide.

Output Schema

NameRequiredDescriptionDefault
countYes
itemsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changedv2.0.0
    • addedInput schema / additionalProperties
      Added value: +false
    • changedInput schema / properties / country_code / description
      Previous value: -"Country code (e.g. FR, US, DE)"New value: +"ISO 3166-1 alpha-2 code (FR, US...); omit for worldwide."
    • addedInput schema / properties / country_code / pattern
      Added value: +"^[A-Za-z]{2}$"
    • addedInput schema / properties / kind
      Added value: +{
      +  "default": "track",
      +  "description": "Chart category.",
      +  "enum": [
      +    "track",
      +    "album",
      +    "artist",
      +    "playlist"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / limit
      Added value: +{
      +  "default": 20,
      +  "maximum": 100,
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • removedInput schema / properties / tracks_first
      Removed value: -{
      -  "description": "Max tracks (default 10)",
      -  "type": "integer"
      -}
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "count": {
      +      "type": "integer"
      +    },
      +    "items": {
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "items",
      +    "count"
      +  ],
      +  "type": "object"
      +}
  2. First observedv1.0.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, and open-world behavior, so the safety profile is covered. The description adds only that the data is public (suggesting no user auth/scoping), but says nothing about rate limits, cache freshness, or whether rankings change over time — modest added value against an already-rich annotation set.

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?

A single short sentence with the scoping rule front-loaded and no filler. It is efficient, though its brevity borders on under-specification for a tool with three parameters.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need no explanation, and the tool is simple with zero required parameters. Still, for a chart-listing tool the description could clarify what the charts represent and how kind/limit interact, leaving it only minimally adequate.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 67% schema coverage, the schema already documents country_code as an ISO alpha-2 code with "omit for worldwide," and the description merely restates that same fact. The kind enum (track/album/artist/playlist) and the limit bound are never touched on, so the description contributes essentially nothing new about parameters.

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 resource and scope: "Public charts for a country, or worldwide." The word "Public" implicitly separates it from the personal-chart sibling get_user_charts, but that contrast is never made explicit, so it stops short of a clean 5.

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?

It gives one concrete usage rule — omit country_code to get worldwide charts — but offers no guidance on when to prefer this over get_user_charts or why one would pick a particular chart kind. Usage is implied rather than explained.

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