Skip to main content
Glama
libsonare-mcp

libsonare-mcp

Official
by libraz

Server capabilities and limits

music_capabilities
Read-only

Reports server versions, audio formats, output directory, size/time limits, and canceled jobs; use it to diagnose files that will not open, refused formats, cut-off results, or unknown output paths.

Instructions

Reports what this server can do right now: the versions of the server, libsonare (its shared library path and ABI) and libcantus, which audio formats can be read and written (and whether ffmpeg is present), the output directory, the size and time limits with the environment variables that change them, canceled jobs still running, and a short guide to which tool family does what. Use it first when a file will not open, an output format is refused, a result looks cut off, or you need to know where files are written. Not for names of processors, presets or scales (use music_catalog). detail 'full' adds the build features, decoders, every ABI version and the host's CPU cores, memory and parallel workers (check it before a heavy job). Example: {}.

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

Input Schema

NameRequiredDescriptionDefault
detailNo'concise' returns the summary and the most useful fields; 'full' returns all.concise

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 behavior the annotations do not: this is a live snapshot of current state, it reports canceled jobs still running and active limits, and detail 'full' expands to build features, decoders, all ABI versions and host CPU/memory/worker counts. It stops short of saying how quickly the snapshot can go stale or what happens when ffmpeg is absent.

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?

The content is front-loaded with the core purpose and then proceeds through contents, trigger conditions, exclusion, the detail mode, and an example call. Every clause carries information, but it is one dense run-on sentence that an agent must parse as a list, which costs a little scanability.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/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 must describe what comes back, and it does so field group by field group, including the difference between the two detail levels. For a single-optional-parameter read-only introspection tool, nothing an agent needs in order to call it correctly is missing.

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% and the enum is documented, so the schema carries the basics. The description still adds real meaning: it says 'concise' returns the summary plus most useful fields and 'full' adds build features, decoders, every ABI version, and host CPU/memory/parallel workers, plus a usage heuristic (check before a heavy job). That is value beyond the enum values themselves.

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 description opens with a specific verb and resource ('Reports what this server can do right now') and then enumerates the exact contents: server/libsonare/libcantus versions, readable and writable audio formats, ffmpeg presence, output directory, size and time limits, canceled jobs, and a tool-family guide. It explicitly distinguishes itself from the catalog sibling, so an agent can separate the two 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?

It gives concrete trigger conditions ('use it first when a file will not open, an output format is refused, a result looks cut off, or you need to know where files are written') plus an explicit exclusion with the alternative named ('Not for names of processors, presets or scales (use music_catalog)'). It even states a proactive condition for the expensive mode: check detail 'full' before a heavy job.

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