Skip to main content
Glama

music_import

Imports a remote track ID or local audio file/directory into a SQLite music library, optionally analyzing audio and storing a license note.

Instructions

Import a remote track ID (downloads audio) or local file/directory into the SQLite library.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "target": "<target>"
    },
    "name": "music_import"
  }
}

Input Schema

NameRequiredDescriptionDefault
targetYesTrack ID or local file/directory path
analyzeNo
license_noteNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3/5.0
Behavior3/5

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

With no annotations, the description does disclose two meaningful behaviors: remote track IDs trigger an audio download, and the result is persisted into a local SQLite library. It omits duplicate/overwrite handling, network or auth requirements, and failure behavior for an operation that clearly mutates state.

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?

A single front-loaded sentence that separates the two source modes parenthetically and adds the destination. No filler, nothing padded.

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

Completeness2/5

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

For a mutating import tool with no annotations and no output schema, the description leaves too much unsaid: what analyze does by default, what license_note affects, and what happens to existing library entries. The schema does not fill these gaps at 33% coverage.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 33%: only 'target' is documented, and the description restates it rather than adding format detail. The 'analyze' flag (defaulting to true) and 'license_note' are undocumented in both schema and description, so the description fails to compensate for the coverage gap.

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 (import) and two clear source modes: remote track ID with audio download, or local file/directory, landing in the SQLite library. That is enough to distinguish it from read-only siblings like music_search, music_analyze, and music_preview, though no sibling is named explicitly.

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

Usage Guidelines2/5

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

No guidance on when to import versus search or preview first, no prerequisites such as needing a track ID already discovered via music_search, and no mention of what to do on repeat imports. The 'into the SQLite library' phrase weakly implies it is a setup step, but nothing tells the agent when not to use it.

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