Skip to main content
Glama

refresh_setlist_cache

Fetch and cache an artist's complete concert history from setlist.fm for instant offline analysis, with retries for failed pages.

Instructions

Fetch an artist's complete concert history from setlist.fm and cache it locally as JSON, so song/tour analysis runs instantly and offline.

Robust against setlist.fm's intermittent failures: each page is retried with backoff, and any page that still fails is recorded rather than aborting the whole run. King Crimson's history is fixed (band ended 2021), so this rarely needs re-running. Requires SETLISTFM_API_KEY.

Args: artist_mbid: MusicBrainz artist MBID. Defaults to King Crimson. max_pages: Safety cap on pages to fetch (20 shows/page). max_retries: Retries per page on transient error before recording it failed. force: Re-fetch even if a cache file already exists.

Returns: A summary dict (not the setlists themselves): counts, coverage, any failed pages, date range, and the cache file path.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
forceNo
max_pagesNo
artist_mbidNob38225b8-8e5f-42aa-bcdc-7bae5b5bdab3
max_retriesNo
Behavior5/5

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

There are no annotations, so the description carries the full burden. It discloses important behaviors: retries with backoff against setlist.fm failures, records failed pages instead of aborting, requires SETLISTFM_API_KEY, caches locally as JSON, and returns a summary dict rather than the setlists themselves. These details go well beyond the basic function.

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 well-organized: a front-loaded purpose statement, a robustness note, an args section, and a returns section. Every sentence adds value, and the length is proportional to the tool's complexity. No fluff or repetition.

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?

With 4 parameters, no annotations, and no output schema, the description addresses all essential aspects: purpose, side effects, parameter details, failure behavior, and return value. It even clarifies that the return is a summary, not the setlists, which is important given the tool's name. The description is complete for successful agent invocation without further assumptions.

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

Parameters5/5

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

Schema description coverage is 0%, but the description fully compensates by explaining each parameter's role: artist_mbid (MusicBrainz ID, defaults to King Crimson), max_pages (safety cap with 20 shows/page), max_retries (per page on transient errors), and force (re-fetch even if cache exists). This adds clear meaning beyond the schema's simple names and defaults.

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 the tool's purpose: fetch an artist's complete concert history from setlist.fm and cache it locally as JSON for instant/offline analysis. It distinguishes the tool from siblings by specifying the data source and cache target, and adds context about when it's needed (rarely, since King Crimson's history is fixed).

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?

The description provides context for when to use the tool ('so song/tour analysis runs instantly and offline') and notes that it 'rarely needs re-running' due to the band ending in 2021. However, it does not explicitly mention alternatives among sibling cache-refresh tools (e.g., refresh_live_releases_cache) or when not to use it, so it falls short of fully explicit exclusions.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ytkoka/king-crimson-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server