Skip to main content
Glama

Like / unlike something

set_favorite
Idempotent

Like or unlike a Deezer track, album, artist, or playlist by numeric ID. Add or remove favorites to manage your music library.

Instructions

Like or unlike a track, album, artist or playlist.

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

Input Schema

NameRequiredDescriptionDefault
idYesDeezer numeric id, not a URL.
kindYes
actionNoadd

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.0.0

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare the safety profile (readOnlyHint=false, destructiveHint=false, idempotentHint=true, openWorldHint=true), so the bar is lower, but the description adds nothing beyond the title. It does not say whose favorites are affected, whether adding an existing favorite errors, or that 'remove' is the un-like path despite idempotency being asserted.

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 front-loaded sentence with zero filler, listing the exact scope of the operation. It is efficient, though its brevity is also the source of the missing usage and behavioral detail.

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?

With an output schema and four annotations present, most structural information is covered, and a simple toggle needs little prose. Still missing is whether the operation is scoped to the authenticated user and how 'action' interacts with existing state, which matters for correct invocation.

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 description coverage is only 33% (only 'id' is documented), so the description could compensate more. However, two of three parameters are fully enumerated ('kind' with the four resource types, 'action' with add/remove plus a default), and the description restates the 'kind' values without explaining the 'action' semantics beyond the word 'unlike'.

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 pairs a specific verb pair (like/unlike) with the four resources it operates on (track, album, artist, playlist), so the agent knows immediately this is a favorites mutation rather than a read. It stops short of naming the complementary read path (e.g. get_favorites) to fully separate itself from siblings.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance, no mention of checking current favorite state via get_favorites before toggling, and no prerequisites such as authentication or user scoping. The only usage cue is implied by the word 'unlike'.

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