Skip to main content
Glama
libsonare-mcp

libsonare-mcp

Official
by libraz

Read a project

project_read
Read-only

Inspect project tracks, clips, sources, tempo, and markers to find IDs before editing or locate sections in seconds; not for reading MIDI notes.

Instructions

Reads a project file: tracks (gain, pan, mute, solo, instrument), clips (positions in PPQ with their seconds), sources (path, resolved, hash match, orphan), tempo map, time signatures, markers and annotations. 'list' returns one list paged by offset and limit. Use it to find track, clip and source ids before project_edit, or to see where a section lies in seconds. Do not use it to read notes (midi_read). Example: {"path": "song.sonare.json", "list": "clips", "limit": 50}.

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": {
      "path": "<path>"
    },
    "name": "project_read"
  }
}

Input Schema

NameRequiredDescriptionDefault
listNoReturn only this list, paged by offset and limit: tracks, clips, sources, chords, keys, sections, markers, tempo or automation. Default: the overview.
pathYesThe project file (.sonare.json).
limitNoMost items per list, 1-1000 (default 100).
detailNo'concise' returns the summary and the most useful fields; 'full' returns all.concise
offsetNoFirst item of 'list' to return; past the end returns [] and the total.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered; the description adds non-obvious behavior such as 'list' returning a single paged list and the overview being the default. It does not discuss missing/corrupt file handling or what the overview payload contains, so it stops short of full behavioral disclosure.

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 sentences, front-loaded with what is read, then paging semantics, then usage routing, then a compact JSON example. Every sentence carries distinct information and nothing is repeated from the schema verbatim.

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?

With no output schema, the description carries the return-value burden and largely succeeds by enumerating the returned collections and their key fields. Minor gaps remain around overview contents and error cases for a bad path, but the agent has enough to call it correctly.

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 the baseline is 3, but the description adds value by explaining that 'list' isolates one collection paged by offset/limit and by supplying a concrete invocation example mixing path, list and limit. It does not clarify the practical difference between 'concise' and 'full' detail beyond the schema's own wording.

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?

States a specific verb and resource ('Reads a project file') and then enumerates exactly what is returned (tracks with gain/pan/mute/solo/instrument, clips in PPQ and seconds, sources with path/resolved/hash/orphan, tempo map, time signatures, markers, annotations). It explicitly names the sibling it is not for ('Do not use it to read notes (midi_read)'), so an agent can distinguish it from midi_read without opening either schema.

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

Usage Guidelines5/5

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

Provides concrete when-to-use framing — resolving track, clip and source ids before project_edit, and locating a section in seconds — plus an explicit exclusion routing note-reading to midi_read. Both the positive and negative cases are covered, leaving little to inference.

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