Skip to main content
Glama

Beats

get_track

Read-onlyIdempotent

Read one track by its id. Use it when you need to know whether the listener likes a track or which of their playlists hold it. Returns the track and the listener's playlists, each marked active when it contains the track.

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": "get_track"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesthe track id, from a list or a search

Output Schema

NameRequiredDescriptionDefault
trackYesUpstream types/track.ts Track, field for field. lastPlayedAt and createdAt are Date | null / Date upstream and cross the wire as epoch milliseconds; the adapter's toTrack revives them.
playlist_menuYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, openWorldHint=false, and idempotentHint=true, so the safety profile is covered. The description adds meaningful semantics by explaining that returned playlists are "marked active when it contains the track," but it does not disclose error behavior for an unknown id or whether the response is scoped to the current listener.

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 sentences, front-loaded with the action, followed by usage and then return semantics. The return-value sentence partially duplicates what the output schema already provides, but it also clarifies the meaning of "active," so it largely 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?

With a fully documented single parameter, complete annotations, and an output schema, the description covers purpose, usage, and the key semantic of the response. Only minor gaps remain, such as behavior on a missing id or multi-user scoping concerns.

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 100%: the single id parameter is documented with an example ("t1") and provenance ("from a list or a search"). The description's "by its id" merely restates this, adding no format or edge-case detail, so the schema does the heavy lifting.

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 opens with a specific verb and resource: "Read one track by its id," which clearly scopes it as a single-item lookup rather than a list or search. It does not explicitly name a sibling to contrast with (e.g., list_tracks or search), so differentiation is implied by scope rather than stated.

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 a concrete use case: "when you need to know whether the listener likes a track or which of their playlists hold it." That is clear when-to-use guidance, but there are no exclusions or named alternatives for adjacent needs such as inspecting a whole playlist via get_playlist.

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.

Resources