Skip to main content
Glama

musicbrainz-mcp-server: search entities

musicbrainz_search_entities
Read-onlyIdempotent

Full-text search across a MusicBrainz entity type (artist, release-group, release, recording, work, label) using a Lucene query string. Returns ranked matches with MBID, name/title, disambiguation, type, and a 0–100 relevance score (100 = exact). Starting point when resolving a name to an MBID — chain the returned MBID into the matching musicbrainz_get_* tool. Results are in MusicBrainz score-descending order. Supports field-scoped Lucene syntax (e.g. artist:radiohead AND country:GB).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum results to return (1–100).
queryYesLucene query string. Plain text matches names/titles; field scoping (e.g. `artist:`, `country:`, `tag:`) is supported.
offsetNoResult offset for pagination (0-based).
entityTypeYesWhich entity type to search.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
errorNoPresent when the call failed. Absent on success.
noticeNoGuidance when zero results matched — how to broaden or correct the query.
resultsNoRanked matches, in MusicBrainz score-descending order.
entityTypeNoThe entity type that was searched.
totalCountNoTotal matches upstream before the limit/offset window.
effectiveQueryNoThe query string as sent to MusicBrainz.

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, openWorldHint, and idempotentHint, so the safety profile is covered. The description adds behavioral details beyond that: ranked matches with specific fields (MBID, name/title, disambiguation, type) and a 0–100 relevance score, plus ordering by score descending. It also mentions Lucene field-scoped syntax. This adds value without contradicting 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 two sentences, front-loaded with the core purpose, and each sentence carries useful information: what it does, what it returns, when to use it, and supported syntax. There is no fluff or repetition of schema details.

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?

The tool is moderately complex (Lucene search) and has an output schema, so the description doesn't need to detail every return field. It explains the return fields, ordering, and usage context sufficiently. Given the annotations and schema coverage, the description is complete for guiding selection and invocation.

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?

Schema description coverage is 100%, so the baseline is 3. The description adds meaning beyond the schema by giving a concrete Lucene example (`artist:radiohead AND country:GB`) and clarifying that plain text matches names/titles. It also explains the relevance score semantics (100 = exact), which is not in the schema. This provides extra context for agents constructing queries.

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 performs full-text search across a specific MusicBrainz entity type using a Lucene query string, with a specific verb and resource. It distinguishes from siblings by noting it is the starting point for name-to-MBID resolution, and the sibling set includes browse and get tools which serve different purposes (browse and ID-based retrieval).

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

Usage Guidelines5/5

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

Provides explicit guidance: 'Starting point when resolving a name to an MBID — chain the returned MBID into the matching musicbrainz_get_* tool.' This tells the agent when to use it and how to follow up. It also implies alternatives (browse/get tools) without naming them explicitly, but the chaining instruction is clear and actionable.

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.

TDQS

A4.6/5.0
Disambiguation5/5

Each tool has a distinct purpose: browsing for paginated lists, getting individual entities, resolving identifiers, and text search. No overlap in functionality.

Naming Consistency5/5

All tools follow the musicbrainz_ prefix with clear verb-noun patterns (browse_entities, get_artist, lookup_identifier, search_entities), providing a consistent and predictable interface.

Tool Count5/5

With 10 tools covering all core MusicBrainz entity types, pagination, identifier resolution, and search, the count is well-scoped for a comprehensive API without being excessive.

Completeness5/5

The set covers all primary entity types (artist, label, recording, release, release-group, work), plus browsing, searching, identifier lookup, and cover art—providing a complete surface for MusicBrainz operations.