Skip to main content
Glama

Beats

list_genre_tracks

Read-onlyIdempotent

List every track in one genre, most played first. Use it to answer a request for a mood or a style rather than a title. Returns the tracks, or an empty list when no genre has that name.

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": {
      "genre": "<genre>"
    },
    "name": "list_genre_tracks"
  }
}

Input Schema

NameRequiredDescriptionDefault
genreYesthe genre name exactly as list_genres gives it

Output Schema

NameRequiredDescriptionDefault
tracksYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, and closed-world, so the safety profile is covered. The description still adds real behavior beyond them: the result is ordered by play count and a non-existent genre yields an empty list rather than an error.

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?

Three short sentences, front-loaded with the verb and resource, then usage, then return behavior. No redundant restatement of the name or annotations, and every sentence carries information.

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

Completeness5/5

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

For a single-parameter, read-only list tool with an output schema and full annotation coverage, the description supplies the only missing pieces: ordering, usage context, and the empty-result case. Nothing an agent needs in order to call it correctly is absent.

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%, and the schema itself says the genre must match what list_genres returns. The description adds only the notion of a single genre, so the schema is doing the substantive work here.

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?

States a specific verb and resource ("List every track in one genre") plus a result ordering ("most played first"), which is enough to separate it from a plain list_tracks or a title lookup. It does not name a sibling tool explicitly, so differentiation is inferential 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?

"Use it to answer a request for a mood or a style rather than a title" gives a clear selection rule that steers the agent away from title/keyword lookups such as search or get_track. It stops short of naming an alternative tool or describing what to do when the request mixes genre and title.

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