Skip to main content
Glama

get_tag_info

Retrieves Last.fm details for a music tag or genre, including its description and top artists, so you can explore a mood, style, or niche and find artists that match a user's taste.

Instructions

Retrieves information about a music tag or genre from Last.fm, including a description and the top artists associated with that tag. Use this when a user mentions a genre, mood, or style, or when you want to find artists in a specific niche that overlaps with a user's known taste.

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": {
      "tag": "<tag>"
    },
    "name": "get_tag_info"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagYesThe tag/genre name (e.g. 'post-rock', 'lo-fi', 'baroque pop').
limitNoNumber of top artists to return (1-20). Default 10.
include_top_artistsNoInclude top artists for this tag. Default true.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It discloses the upstream source (Last.fm) and roughly what is returned, but says nothing about what happens with an unrecognized tag, rate limits, auth needs, or the shape/size of the response. Adequate on intent, thin on behavior for a tool with zero annotation coverage.

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?

Two sentences, front-loaded with what the tool does and followed by usage context; no filler. The second sentence is somewhat long but every clause contributes guidance.

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?

For a simple three-parameter read lookup with no output schema, the description covers what it fetches, where from, and when to reach for it. The remaining gap is failure behavior for unknown or misspelled tags, which an agent would benefit from knowing.

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%, so tag, limit, and include_top_artists are already fully documented, making the baseline 3 correct. The description reinforces that top artists are optional content but adds no syntax, format, or edge-case meaning beyond the schema.

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?

Specific verb and resource: 'Retrieves information about a music tag or genre from Last.fm', plus a statement of what comes back (description and top artists). The genre/mood framing implicitly separates it from get_artist_info and get_playback_history, but no sibling is named or explicitly contrasted, so it stops short of full differentiation.

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?

Clear when-to-use guidance: 'when a user mentions a genre, mood, or style' and for exploring a niche that overlaps with known taste. There are no exclusions or named alternatives for cases where a direct artist lookup would be better, so it is clear context without routing rules.

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