Skip to main content
Glama

search_files

Locate files in the LibreTime media library and optionally filter by genre, returning file IDs, names, titles, artists, albums, lengths, and MIME types.

Instructions

Search the LibreTime media library. Optionally filter by genre. Returns file id, name, track title, artist, album, length, and mime type.

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

Input Schema

NameRequiredDescriptionDefault
genreNoFilter files by genre

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It usefully discloses the returned fields, which is valuable without an output schema, but it does not state result limits, pagination behavior, ordering, or whether authentication affects results.

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?

The definition is three short sentences with no filler: purpose first, optional filter second, return fields third. The return-field list is justified because no output schema exists.

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 simple one-parameter search tool, the description covers purpose, filtering, and return fields. The main remaining gaps are pagination/result limits and the absence of any textual search-term parameter, which could be clarified for an agent expecting more than genre filtering.

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 description coverage is 100% for the single optional genre parameter, so the schema already explains its meaning. The description adds only the phrase 'Optionally filter by genre,' which matches rather than extends 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 verb and resource: search the LibreTime media library. It also names the filter and return fields, making the tool easy to distinguish from mutation-oriented siblings like upload_file or delete_file, though it does not explicitly contrast with the get_* list tools.

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

Usage Guidelines3/5

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

Usage is implied by 'Search the LibreTime media library' and 'Optionally filter by genre,' but the description does not say when to choose this tool over sibling listing tools such as get_playlists or get_shows, nor when not to use it.

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