Skip to main content
Glama

Teach the Library

library_teach
Destructive

Teach an explicit class correction for a Library file, persist it as a lesson, and update similar sounds without changing audio, filenames, or Recipe overrides.

Instructions

Teach SoundEdit an explicit class correction for a Library file. Uses the same persistent lessons as the window and updates similar sounds; changes no audio, file names or Recipe overrides. Return the lesson ids, then use action status or retract with lesson_ids. Teach and retract use the normal write permission, including standing permission headlessly. Do not teach from guesses or generated labels.

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

Input Schema

NameRequiredDescriptionDefault
rowNoone file in the open Library: its name, relative path or #id
labelNothe person's explicit class correction; never the agent's unverified guess
actionNoteach (default), status, or retract
lesson_idsNostatus or retract: the receipt's ids
wait_secondsNoseconds for Return and then completion (default 60)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

Beyond destructiveHint=true it discloses real behavior: lessons are persistent and shared with the window, they propagate to similar sounds, and no audio, filenames, or Recipe overrides are altered. It also flags the authorization model (normal write permission, including standing headless permission). It does not state whether retract undoes propagation to similar sounds or whether it is reversible, which matters given destructiveHint=true.

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?

Four dense sentences, each carrying distinct information: purpose, side effects, follow-up flow, and permission/prohibition. The prohibition is placed last where it lands as a guardrail, and there is no filler.

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 mutating, persistent-state tool with no output schema, the description covers return values (lesson ids), the follow-up actions, and what is left untouched. It stops short of explaining the breadth of the "similar sounds" propagation or the reversibility of retract, which an agent would want before writing.

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 the schema already documents row, label, action, lesson_ids, and wait_seconds. The description adds only the sequencing relationship between the receipt ids and the status/retract actions; it offers no extra detail on row addressing or wait_seconds semantics.

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?

"Teach SoundEdit an explicit class correction for a Library file" gives a specific verb (teach), a specific object (a Library file's class correction), and clarifies the effect (persistent lessons that also update similar sounds). It is clearly distinct from the surrounding Library/query/file tools, though it never names a sibling it should be preferred over.

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 tells the agent the follow-up flow ("Return the lesson ids, then use action status or retract with lesson_ids") and gives an explicit when-not ("Do not teach from guesses or generated labels"), plus the permission precondition. What's missing is guidance on when this is preferable to adjacent tools such as library_set_info or file-level corrections.

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