Skip to main content
Glama
chrischall

setlist-mcp

by chrischall

Extract a setlist ID from a setlist.fm URL

setlist_id_from_url
Read-onlyIdempotent

Extract the setlist ID from any setlist.fm setlist URL, so you can paste a link instead of manually finding the ID. Returns the ID ready for use with setlist lookup and attendance tools.

Instructions

Parse the setlist ID out of a setlist.fm setlist URL so you can paste a link instead of hunting for the ID. Returns {setlistId} (the trailing hex token before .html), ready to feed into setlist_get_setlist / setlist_mark_attended. Scoped to /setlist/ pages — artist (/setlists/) and venue (/venue/) URLs are rejected. Tolerates http/https, with/without www, trailing slash, query/fragment, and a missing .html. Pure local parsing — no network call. Errors if no ID can be parsed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesA setlist.fm setlist URL, e.g. https://www.setlist.fm/setlist/.../...-4ba8a766.html

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.0.0
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. Addedv0.7.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and idempotentHint, and the description adds valuable context: 'Pure local parsing — no network call' and 'Errors if no ID can be parsed'. It also details input tolerance (http/https, www, trailing slash, etc.) and scoping constraints, enriching the behavioral profile beyond the structured fields.

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 five sentences, each serving a purpose: purpose, output, scope, tolerances, and error handling. It is front-loaded with the primary function and contains no fluff or redundant phrases.

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 simple parsing tool with one parameter, the description fully covers what it does, when to use it, what it returns, input constraints, and failure modes. It names downstream tools and explicitly states it's a local operation, leaving no critical gaps for an agent to call it 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?

With 100% schema coverage, the schema already describes the url parameter well, but the description adds semantics about accepted URL forms, rejected page types, and error behavior. This goes beyond the schema example, giving the agent a richer understanding of the parameter's constraints.

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 verb 'Parse' and the resource 'setlist ID out of a setlist.fm setlist URL', and explicitly distinguishes this utility from sibling tools by focusing on URL-to-ID extraction. It also mentions the output format and downstream use, making the tool's role unambiguous.

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 explains when to use this tool ('paste a link instead of hunting for the ID') and names the downstream tools it feeds into. It also explicitly states exclusions (artist and venue URLs are rejected), which clarifies when not to use it, though it doesn't explicitly list alternative tools for those cases.

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