Skip to main content
Glama

list_stock_music

Read-onlyIdempotent

Search Jamendo for royalty-free stock music by query, tags, tempo, and duration to find downloadable background tracks for videos and demos.

Instructions

[Cinematic Engine] Search for royalty-free stock music from Jamendo.

Returns a list of tracks that can be downloaded with download_stock_music(). Requires either client_id parameter OR JAMENDO_CLIENT_ID environment variable. Get a free API key at: https://devportal.jamendo.com/

Args: query: Free text search (e.g., "upbeat corporate", "cinematic epic") tags: Music tags/genres (e.g., "rock+electronic", "ambient+relaxing") instrumental: If True, only instrumental tracks (default: True for background music) speed: Track tempo - "verylow", "low", "medium", "high", "veryhigh" min_duration: Minimum duration in seconds max_duration: Maximum duration in seconds limit: Max results to return (1-200, default 10) client_id: Jamendo API client ID (optional, falls back to JAMENDO_CLIENT_ID env var)

Returns: { "success": True, "data": { "tracks": [ { "id": "1532771", "name": "Upbeat Corporate", "duration_sec": 120, "artist": "Paul Werner", "album": "Corporate Vibes", "audio_url": "https://...", "download_url": "https://...", "image_url": "https://...", "license": "CC BY-NC-SA" }, ... ], "total": 150, "source": "Jamendo (Creative Commons licensed)" } }

Example: # Find background music for a product demo list_stock_music(query="corporate", tags="pop+funk", instrumental=True)

# Find cinematic music
list_stock_music(tags="cinematic+epic", speed="medium", min_duration=60)

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": "list_stock_music"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagsNo
limitNo
queryNo
speedNo
client_idNo
instrumentalNo
max_durationNo
min_durationNo

Output Schema

NameRequiredDescriptionDefault
dataNo
hintsNo
messageNo
successNo
suggestionsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world, so the safety profile is covered; the description adds genuinely new context: an external API dependency, the auth fallback mechanism, and that results are Creative Commons licensed. It does not mention rate limits, pagination behavior, or failure modes when no key is set.

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?

Well structured into purpose, Args, Returns, and Examples, with the key auth requirement front-loaded. The one real waste is the full JSON return payload, which duplicates the existing output schema.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

All eight parameters, the auth path, the external source, and worked examples are present, which is ample for an eight-parameter search tool. Minor gaps remain around what 'total' means for paging and what happens on missing credentials, and the inline Returns block is redundant given an output schema exists.

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%, so the description carries the full burden and does: it defines every one of the eight parameters, enumerates the valid 'speed' values, gives the 1-200 limit range and default of 10, and clarifies instrumental defaults to True for background music. The tags examples ('rock+electronic') even hint at the '+' separator convention the schema omits.

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?

States a specific verb and resource ('Search for royalty-free stock music from Jamendo') and immediately names the downstream sibling 'download_stock_music()', so an agent can place it in the workflow without opening the schema. The '[Cinematic Engine]' prefix and Jamendo source further pin down the domain.

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?

Explains the prerequisite chain (client_id parameter OR JAMENDO_CLIENT_ID env var) and points to where to obtain a free key, plus two concrete usage examples showing query/tags/speed combinations. It stops short of explicit when-not-to-use guidance or pointing at alternatives for non-music assets.

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