Skip to main content
Glama

Library field

library_command
Destructive

Executes typed Library field commands on selected or specified rows to rename files, group or ungroup drums, write tags and tempo into files, and set Library tempo, with each change undoable.

Instructions

Run the words the person types in the Library's field, on the rows given (or selected). rename {is} {n} renames the files in place by their measured word and a number (tokens: {name} {is} {n} {tempo} {key} {note} …; {is} leaves an unsure class out); names renames them to the agent's own names, which leave out an instrument or key the card calls unsure, as {is} does (refused otherwise, unless person_said); write writes their tempo, root, loop and tags into the files' own chunks (Write Into Files); group drums, ungroup, smart kicks keep Groups; lock 98 sets the Library tempo. A rename and Write Into Files show in the band (and wait for the person's Return there if they asked SoundEdit to wait); each undoes with library.undo.

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

Input Schema

NameRequiredDescriptionDefault
rowsNothe rows it acts on; leave out for the rows selected now
textNowhat the person types in the Library's field: rename {is} {n} · group drums · ungroup · smart kicks · write · lock 98 · lock folder · sort lufs · columns …
namesNoa rename the agent wrote itself: one name for each row given or selected, in order
person_saidNotrue only when the person told you these instruments or keys themselves
wait_secondsNoseconds to wait for the person's Return (default 120)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

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

The description adds real behavior beyond the annotations: renames happen in place, `write` embeds tempo/root/loop/tags into the files' own chunks, results surface in the band and may block waiting for the person's Return, and every action undoes with library.undo. That is meaningful context for a destructiveHint=true, idempotentHint=false mutator. However, the notation is cryptic (`{is}`, `{n}`, 'unsure class') and the exact semantics of the refusal and the tempo/lock effects remain partly opaque, so it is good but not fully transparent.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The opening clause is front-loaded and clear, but the body collapses into long semicolon-chained sentences dense with ad-hoc notation (`rename {is} {n}`, `{is} leaves an unsure class out`) that the agent must decode. Information is useful but parsing cost is high; a bulleted subcommand list would serve better.

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 five-parameter, multi-mode command tool with no output schema and full schema coverage, the description covers side effects, undo path, waiting behavior, and the person_said gate. What is missing is the shape of the response and the exact effect of `lock`, `sort`, or `columns`, which the ellipsis in the text example leaves undefined.

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

Parameters4/5

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

Schema coverage is 100%, so baseline is 3; the description earns above that by explaining that `names` must supply one name per row in order and why `person_said` gates it, and by spelling out what `wait_seconds` is waiting for (the person's Return in the band). `text` semantics are documented as a mini-language, though the token vocabulary is only partially defined.

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 opening states a specific verb and resource: it runs the words typed in the Library's field against the given or selected rows, and it enumerates the subcommands (rename, names, write, group drums, ungroup, smart kicks, lock). An agent can tell what the tool does, though it never differentiates itself from adjacent siblings such as library_query, library_set_info, or library_files.

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?

Usage context is concrete: `rows` omitted means act on the current selection, and the `names` variant is explicitly refused unless `person_said` is true, which tells the agent when not to use that path. It stops short of naming an alternative tool for related work, so routing between this and the other library_* siblings is left to inference.

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