Skip to main content
Glama

Add library music

add_library_music

Copies and places an explicitly user-selected library track into the project with its license record. A valid selection token and the user's choice identify the track. Placement uses program time and supports looping, gain and voice ducking.

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": {
      "slug": "<slug>",
      "project_id": "<project_id>"
    },
    "name": "add_library_music"
  }
}

Input Schema

NameRequiredDescriptionDefault
endNo
duckNoOmit to duck under speech only; with no speech the track plays undiminished as the lead.
loopNo
slugYes
startNo
gain_dbNo
purposeNo
offset_sNoSeconds into the track to start. Omit to start where the track's body begins (skipping a quiet intro); 0 plays it from the very start.
fade_in_sNo
user_pickNoThe account-bound music-selection token together with the user's own selection words.
fade_out_sNo
project_idYesExplicit project identifier for this request. The connection's navigation pointer does not select the target.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / project_id / description
      Previous value: -"Required immutable scope for this call. Copy the id from list_projects/open_project/project_state; the active-project pointer is never used to guess."New value: +"Explicit project identifier for this request. The connection's navigation pointer does not select the target."
    • changedInput schema / properties / user_pick / description
      Previous value: -"MCP: the pick token ask_user returned plus the user's own words."New value: +"The account-bound music-selection token together with the user's own selection words."
  2. Changed1 schema field changed
    • addedInput schema / properties / user_pick
      Added value: +{
      +  "description": "MCP: the pick token ask_user returned plus the user's own words.",
      +  "type": "string"
      +}
  3. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations only declare the generic non-read-only, non-destructive, non-idempotent profile; the description adds real context beyond them, notably that the library copy is non-destructive, that a valid selection token is required, and that a license record is written alongside. It still does not say what happens on an invalid or expired token, which is the main failure mode for a non-idempotent write.

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?

Three tight sentences that front-load the action and follow with identification and placement capabilities; no filler. Slightly dense packaging of four capabilities into one clause costs it the top mark.

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?

For a twelve-parameter write tool with no output schema, the description covers identity, provenance, placement timeline, and the main audio options, which is enough to call it correctly. Missing failure behavior for a bad token and silence on several parameters keep it from being fully complete.

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 only 33%, so the description must compensate, and it does partially by explaining looping, gain, voice ducking, and program-time placement. It says nothing about slug, purpose, fades, start/end, or the explicitly-required project_id, leaving several of the twelve parameters with no meaning in either the description or the schema.

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 names a specific verb pair ('copies and places') and resource ('an explicitly user-selected library track') and adds that the license record travels with the placement, which separates it from a generic add_music or add_sfx call. It never names the sibling it replaces, so the distinction from add_music/swap_music is left for the agent to infer.

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

Usage Guidelines3/5

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

'Explicitly user-selected' plus 'a valid selection token and the user's choice identify the track' implicitly tells the agent a prior user pick and token are prerequisites. However, it gives no explicit when-to-use routing against add_music, swap_music, or list_music_library, and no statement of what to do when no user selection exists.

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.