Skip to main content
Glama

Recently played

get_recently_played
Read-onlyIdempotent

Retrieves the albums, playlists, artists, or Flows a Deezer user played recently. Fetch album or playlist details to get the tracks.

Instructions

What you played recently: Deezer stores the container (album, playlist, artist, Flow), not the track. Use get_album/get_playlist for its tracks.

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_recently_played"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo

Output Schema

NameRequiredDescriptionDefault
countYes
itemsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv2.0.0
    • addedInput schema / additionalProperties
      Added value: +false
    • removedInput schema / properties / first
      Removed value: -{
      -  "default": 20,
      -  "type": "integer"
      -}
    • addedInput schema / properties / limit
      Added value: +{
      +  "default": 20,
      +  "maximum": 100,
      +  "minimum": 1,
      +  "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

A4.2/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive, open-world behavior. The description adds the important domain-specific caveat that results are containers (album, playlist, artist, Flow) rather than tracks, which materially affects result interpretation. It does not discuss pagination or limit behavior, but the output schema covers return shape.

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?

Two tight sentences, front-loading what the tool returns and immediately qualifying the most likely misinterpretation. Every sentence earns its place.

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?

The output schema documents return values, annotations cover safety and idempotency, and the description explains the key container-versus-track distinction. Minor gaps remain around limit semantics and whether results are paginated, but the definition is otherwise complete for this low-complexity read tool.

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 for the single limit parameter is 0%, but the schema itself provides default, minimum, and maximum constraints. The description adds no meaning about what limit controls, such as whether it limits containers returned, so it neither compensates for the coverage gap nor adds much beyond structured constraints.

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?

The description states exactly what the tool returns: recently played items, specifically containers rather than tracks. It distinguishes this from get_album/get_playlist, which retrieve tracks within a container, so an agent can identify its role without opening schemas.

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?

It gives clear guidance to use get_album/get_playlist when track-level data is needed, which is a meaningful alternative. It does not explain when to prefer this tool over other recent-activity or browsing tools, but the core use case is unambiguous.

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