Skip to main content
Glama
rollecode

lastfm-mcp

by rollecode

get_geo_top_tracks

Read-onlyIdempotent

Retrieve top tracks for a country or city. Provide a country name to get popular tracks, with optional location narrowing and pagination for results.

Instructions

Get the most popular tracks in one country.

Args: country: Country name in ISO 3166-1 form, such as Finland. location: Narrow to a city within that country. limit: Results per page. page: Which page of results to fetch.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNo
limitNo
countryYes
locationNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. 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 the tool as read-only, idempotent, and non-destructive, so the description doesn't need to restate those. It adds value by noting the scoping to a single country and optional city narrowing (location), which is context beyond the schema. No contradictions with annotations.

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?

The description is concise, using a single sentence for the purpose and an Args list for parameters. It is front-loaded with the core function first, and every sentence adds value. No redundancy or filler.

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?

Given the tool's moderate complexity (4 parameters, one required) and the presence of an output schema, the description is largely complete. It covers the key parameters and hours of use is clear. It could be more complete by noting pagination behavior (e.g., max limit) or return structure, but the output schema likely covers that. The description is sufficient for an agent to call correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has 0% description coverage, so the description carries the burden of explaining parameters. It provides useful but brief descriptions for all four parameters: country as ISO 3166-1, location as optional narrowing, and limit/page for pagination. While it doesn't specify exact formats for limit/page beyond defaults, it compensates adequately for the schema's lack of descriptions.

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 clearly states a specific verb ('Get') with a resource ('most popular tracks in one country'), making its purpose immediately understandable. It is distinct from the sibling 'get_geo_top_artists', which targets artists, so an agent can easily differentiate them without opening the schema.

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

Usage Guidelines3/5

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

The description implies the tool is for fetching top tracks by country but does not explicitly state when to prefer it over alternatives like 'get_chart_top_tracks' or 'get_user_top_tracks'. There is no mention of exclusions or prerequisites beyond the required 'country' parameter, so usage context is implied but not explicit.

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