Skip to main content
Glama

ai_search

Search the OnChain Music catalog using a plain English description. Send a natural language phrase and the API automatically extracts genre, mood, tempo, and other parameters. Best for open-ended requests like "I need something cinematic and tense for a thriller scene" or "upbeat summer pop for a travel vlog". Returns tracks with metadata and license pricing, plus the translated search parameters for transparency.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
phraseYesPlain English music description. Be as descriptive as you like. Examples: "I need an upbeat indie rock track for a TV commercial", "dark ambient music for a horror game", "romantic acoustic guitar for a wedding video".
per_pageNoNumber of results to return. Default 10, maximum 50.

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden. It transparently explains the automatic extraction of genre/mood/tempo and states that the response includes metadata, license pricing, and translated search parameters. The verb 'Search' implies a read-only operation. It lacks details on rate limits or auth, but for a search tool this is sufficient, earning a 4.

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 three sentences, front-loaded with the primary purpose, followed by usage guidance and output details. Every sentence earns its place, with no fluff or repetition. This is highly concise and well-structured.

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?

There is no output schema, so the description correctly includes return behavior ('Returns tracks with metadata and license pricing, plus the translated search parameters'). It also explains the natural language processing capability and gives example queries. Per_page details are in the schema, so the description is complete for a search tool with two parameters and no annotations.

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?

The input schema already provides descriptive coverage for both parameters (100%). The description adds value by explaining how 'phrase' works through natural language examples and the extraction behavior, but it adds nothing beyond the schema for 'per_page'. The schema does the heavy lifting, so baseline 3 is appropriate.

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?

The description clearly states the tool's function: search the OnChain Music catalog using a plain English description. It also distinguishes itself by emphasizing natural language processing ('the API automatically extracts genre, mood, tempo') and gives concrete examples. However, it does not explicitly contrast with sibling tool 'search_catalog', so it lacks direct sibling differentiation, meriting a 4 rather than 5.

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 says 'Best for open-ended requests' and provides clear example queries, giving useful context on when to use the tool. It does not explicitly mention when not to use it or name alternatives, but the 'open-ended' qualifier implies a contrast with structured search. This aligns with a 4: clear context, but no explicit exclusions.

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.1/5.0
Disambiguation3/5

ai_search and search_catalog both search the OnChain Music catalog using natural language descriptions, making their boundaries unclear despite the descriptions. The other tools (get_track, calculate_royalty_split, get_genre_conventions, get_loudness_standards) are clearly distinct.

Naming Consistency4/5

Most tools follow a clear verb_noun snake_case pattern (calculate_royalty_split, get_genre_conventions, get_loudness_standards, get_track, search_catalog). ai_search deviates from this pattern by using a noun prefix instead of a verb, but the convention is otherwise consistent.

Tool Count5/5

With 6 tools, the server is well-scoped for its purpose: catalog searching, track retrieval, and music business utilities. Each tool contributes a distinct function without unnecessary bloat.

Completeness4/5

The tool set covers catalog search, track metadata retrieval, royalty calculation, genre conventions, and loudness standards. A direct licensing/purchase tool is absent, but the search results include a results_url for external licensing, so the core workflow is supported. Minor gaps like listing all genres or artists are easily worked around via search.

Resources