Skip to main content
Glama

import_audio

Adds an audio file to a song's files, measures its BPM and key, and leaves placement to add_audio.

Instructions

Add an audio file to the song's files without placing it (BPM/key measured). Place it with add_audio(asset=).

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": {
      "path": "<path>"
    },
    "name": "import_audio"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYes
projectNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.8/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does disclose useful behavior beyond the name: the file is imported without being placed in the arrangement (non-destructive to layout), and BPM/key are measured as part of the import, implying an analysis side effect. It omits what happens on unsupported formats, whether the project is modified or saved, and where the file lands.

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?

Two short sentences with the core behavior and the key caveat front-loaded, followed by the corrective alternative. No filler or repetition.

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

Completeness3/5

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

For a simple two-parameter import tool with no output schema, the description covers purpose, the unplaced-import distinction, and the analysis side effect. It falls short on the undocumented 'project' parameter and on any error or file-location semantics that an agent would need to call it reliably.

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 description coverage is 0%, so the description must compensate and largely does not. 'path' is only obliquely implied by 'an audio file', and the 'project' parameter is never mentioned at all; the only parameter referenced ('asset=') belongs to the sibling add_audio, not this tool.

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 concrete verb and resource (add an audio file to the song's files) plus the key scope qualifier 'without placing it', and names the sibling add_audio as the contrasting behavior. An agent can distinguish this from add_audio without inspecting either schema.

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 an explicit routing rule: use this to bring audio into the project unplaced, and 'Place it with add_audio(asset=)' when placement is wanted, even naming the parameter to use. It lacks guidance on when to prefer import_midi or other import siblings, but the primary alternative is fully resolved.

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