Skip to main content
Glama

search_catalog

Read-onlyIdempotent

Search the OnChain Music catalog of 8,900+ independently owned, fully cleared songs, plus partner catalogs. Filter by genre, tempo, BPM, key, and instrumentation. Use the description parameter as the primary search field for style, mood, energy, and use-case words. Returns up to 5 tracks per call. Show all returned tracks, mention meta.total so the user knows how many matches exist, and always share meta.results_url, which opens every match on onchainmusic.com. For more tracks, call again with the next page.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "search_catalog"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyNoMusical key. Examples: C Minor, G Maj, A Minor, F Maj.
pageNoPage number. Use 2, 3, and so on when the user asks for more tracks.
genreNoGenre filter. Examples: Rock, Hip-Hop, Electronica, Orchestral, Jazz, Country, R&B, Pop.
bpm_maxNoMaximum BPM. Use with bpm_min to filter by tempo range.
bpm_minNoMinimum BPM. Use with bpm_max to filter by tempo range.
keywordsNoAdditional keyword search across track titles, artist names, and tags.
subgenreNoSubgenre filter. Examples: Indie, Deep House, Trap, Classical.
descriptionNoPRIMARY search field. Pass style, mood, energy, instrumentation, or use-case words. Each word is searched individually across multiple fields. Example: "epic orchestral trailer" or "upbeat summer pop".
instrumentalNoYes = instrumental only (no vocals). No = has vocals.
license_typeNoShow pricing for one personal (non-commercial) license type: social_media = Personal Social Media ($10 USDC): Personal, non-commercial videos on TikTok, Instagram, YouTube, X, Facebook, and similar platforms. all_digital = Personal All Digital ($35 USDC): Non-commercial use on websites, podcasts, streaming, and online video.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / license_type / description
      Previous value: -"Show pricing for one personal (non-commercial) license type: social_media = Personal Social Media ($1 USDC): Personal, non-commercial videos on TikTok, Instagram, YouTube, X, Facebook, and similar platforms. all_digital = Personal All Digital ($35 USDC): Non-commercial use on websites, podcasts, streaming, and online video."New value: +"Show pricing for one personal (non-commercial) license type: social_media = Personal Social Media ($10 USDC): Personal, non-commercial videos on TikTok, Instagram, YouTube, X, Facebook, and similar platforms. all_digital = Personal All Digital ($35 USDC): Non-commercial use on websites, podcasts, streaming, and online video."
  2. Changed1 schema field changed
    • changedInput schema / properties / license_type / description
      Previous value: -"Show pricing for one personal (non-commercial) license type: social_media = Personal Social Media ($10 USDC): Personal, non-commercial videos on TikTok, Instagram, YouTube, X, Facebook, and similar platforms. all_digital = Personal All Digital ($35 USDC): Non-commercial use on websites, podcasts, streaming, and online video."New value: +"Show pricing for one personal (non-commercial) license type: social_media = Personal Social Media ($1 USDC): Personal, non-commercial videos on TikTok, Instagram, YouTube, X, Facebook, and similar platforms. all_digital = Personal All Digital ($35 USDC): Non-commercial use on websites, podcasts, streaming, and online video."
  3. Changed1 schema field changed
    • changedInput schema / properties / license_type / description
      Previous value: -"Filter by intended license type. social_media = $5 USDC. all_digital = $35 USDC."New value: +"Show pricing for one personal (non-commercial) license type: social_media = Personal Social Media ($10 USDC): Personal, non-commercial videos on TikTok, Instagram, YouTube, X, Facebook, and similar platforms. all_digital = Personal All Digital ($35 USDC): Non-commercial use on websites, podcasts, streaming, and online video."
  4. Changed2 schema fields changed
    • changedInput schema / properties / page / description
      Previous value: -"Page number for pagination. Vary this for different results."New value: +"Page number. Use 2, 3, and so on when the user asks for more tracks."
    • removedInput schema / properties / per_page
      Removed value: -{
      -  "default": 20,
      -  "description": "Results per page. Default 20, maximum 50.",
      -  "maximum": 50,
      -  "minimum": 1,
      -  "type": "integer"
      -}
  5. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so safety is covered. The description adds behavior annotations cannot: a result cap ("up to 5 tracks per call"), pagination via the page parameter, and the presence of meta.total and meta.results_url in the response. Rate limits and error behavior are still unstated, keeping it below 5.

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?

Front-loaded with the catalog scope, then filters, then search-field priority, then the response/pagination instructions — a logical order with no filler. The final presentation directives ("Show all returned tracks, mention meta.total...") are useful but make the tail slightly instructional-heavy for a description field.

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 no output schema, the description compensates by explaining the response shape: five tracks per page, meta.total, meta.results_url, and how to paginate. For a 10-parameter, all-optional search tool this is enough for an agent to call it and report results correctly.

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%, including enum explanations for instrumental and license_type, so the schema already carries parameter meaning. The description's note that description is the primary field for style/mood/energy largely restates what the schema field description already says, adding little new syntax or format detail.

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?

States a specific verb and resource ("Search the OnChain Music catalog of 8,900+ independently owned, fully cleared songs, plus partner catalogs") and enumerates the filterable facets, so an agent immediately knows what the tool retrieves. It falls short of a 5 because it never contrasts itself with the sibling ai_search tool, leaving the agent to guess which search entry point to pick.

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?

Gives clear in-tool guidance: "Use the description parameter as the primary search field for style, mood, energy, and use-case words" and "For more tracks, call again with the next page." It does not say when to prefer ai_search or get_track instead, so routing between siblings remains ambiguous.

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.

Resources