Skip to main content
Glama

Set INFO

library_set_info

Set INFO fields—tempo, key, root, levels, loop, meter, and tags—on selected sound rows as the person types them; values stay with each sound until a library write stores them in files.

Instructions

Set INFO's fields on the rows given (or selected), as the person types them: tempo (98, 8 beats, 2 bars, x2, none), key (Am), root (C3), low, high, velocity, loop, meter, title, artist, comment, copyright, date, finder (Finder's tags). Kept with each sound; library_command write puts them into the files. Undoes with library.undo. A class is the person's to correct: library_teach. A key on a row whose card is unsure of it is the person's to give (person_said).

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": {
      "fields": "<fields>"
    },
    "name": "library_set_info"
  }
}

Input Schema

NameRequiredDescriptionDefault
rowsNothe rows it acts on; leave out for the rows selected now
fieldsYes
person_saidNotrue only when the person told you these instruments or keys themselves

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

Beyond the annotations (non-destructive, non-open-world), the description discloses the crucial two-stage behavior: values persist in the library but are not written to files until library_command `write` runs, and library.undo reverts them. It also discloses the authority rule that an unsure key must come from the person (person_said). It stops short of describing error handling or what the call returns.

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?

It packs purpose, accepted value forms, persistence semantics, undo, and sibling routing into a short paragraph with no filler sentences. The tradeoff is terse, jargon-heavy phrasing such as 'the person's to correct' and 'whose card is unsure of it', which takes parsing but is not wasted space.

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 mutation tool with a nested 16-field object and no output schema, the description covers target scope, value formats, persistence timing, and reversal, which is most of what an agent needs. Remaining gaps are minor: no statement of the 500-row cap, error behavior, or confirmation of what a call returns.

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 67% and the per-field descriptions are largely repetitive boilerplate, so the description earns credit for supplying concrete value syntax the schema lacks: tempo accepts '98, 8 beats, 2 bars, x2, none', key 'Am', root 'C3', and finder as Finder's tags. It also explains why `class` is excluded from this tool, adding meaning beyond the field description.

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?

The first sentence states a specific verb and resource (set INFO's fields), the target scope (rows given or selected), and the field set, so the agent knows exactly what changes. It also differentiates from siblings by naming library_command `write` as the persistence step and library_teach as the correct path for classes.

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 gives clear context on how the tool fits a workflow: edits are kept with each sound and only land in the files after library_command `write`, and can be reverted with library.undo. It also routes the class field away from this tool to library_teach and states the person_said condition, though it never states an explicit 'do not use this when...' case.

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