Skip to main content
Glama

Query the Library

library_query
Read-onlyIdempotent

Filter the open sample folder by Library filter words or plain-language descriptions, then return each sound's card with similarity ordering, measured traits, format, tempo, key, and history.

Instructions

Narrow the open folder's rows by the Library's filter words, or by plain words ("short punchy kick", "quiet vocal loops at 120") read into those words as the person's Return reads them, the reply saying what ran — the same filter the person sees in the window — and read each sound's card: what it is, how sure and what else it might be; four words for how long, bright, noisy and pitched it is; its length, format, level, loudness, root, key, tempo, shape and History. With like, the rows that sound most like one file come first. What the card calls unsure is a guess SoundEdit could not confirm: never put it in a name, a tag or INFO — leave it out and ask the person, and give their answer to library_teach.

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_query"
  }
}

Input Schema

NameRequiredDescriptionDefault
likeNoa file's name, path or #id: the rows nearest in sound to it first (after the filter), as the person's `a` orders them; give it on every page
briefNoone line a sound instead of the card
limitNocards to return (default 25)
filterNothe Library's filter words, ANDed: a bare word matches the name; is kick, tempo 80-110, lufs >-14, len <1s, note C, key Am (or key A minor, key 8A, key A, key minor), peak >-1, clip >0, stereo, mono, loop, history, ext wav, tag drums, hits >4, form perc. Empty: every row
offsetNocards to skip, to page through (default 0)
like_fileNoa sound file from anywhere, by path (~ is home): the rows nearest in sound to it first, as the person's Sounds Like a File… orders them; give it on every page
wait_secondsNoseconds to wait for the facts still being measured (default 10)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior4/5

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

The annotations already establish read-only, idempotent, non-destructive behavior. The description adds meaningful context about the reply, card contents, sound-similarity ordering, and how to handle uncertain guesses safely.

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

Conciseness2/5

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

The description is a long, dense run-on paragraph with awkward phrasing and several clauses that are hard to parse. It contains useful information, but the structure obscures rather than front-loads it.

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?

Given seven optional parameters and no output schema, the description usefully explains the returned card fields, filter behavior, similarity ordering, and the special handling of unsure facts. Some details, such as paging interaction, rely on the schema, but overall it is complete enough for correct invocation.

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 coverage is 100%, so all seven parameters are already well documented in the schema. The description adds some semantic color around `like` and card output, but does not materially improve parameter understanding beyond 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 states a specific action: narrow the open folder's rows using Library filter words or plain words, then read each sound's card. It is distinguishable as a query/filter tool rather than a mutation or teaching tool, though the phrasing is unconventional.

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?

It explains when to use filter words, plain-word queries, `like` ordering, and `brief` output. It also gives explicit guidance for unsure facts: leave them out and send the person's answer to `library_teach`.

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