Skip to main content
Glama

Get filesystem mediafiles

sonarr_get_filesystem_mediafiles
Read-onlyIdempotent

Retrieves media files from the filesystem, optionally scoped by a path, so clients can inspect available files for Sonarr library tasks.

Instructions

Get filesystem mediafiles.

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

Input Schema

NameRequiredDescriptionDefault
pathNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.1.1

TDQS

C2/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered without the description. The description adds nothing beyond that - no statement of what filesystem scope is read, what happens when path is null, or how results are shaped.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The single short sentence contains no waste but is under-specified rather than concise; it consumes the entire description budget without conveying actionable information. There is no structure, front-loading, or elaboration to help an agent decide.

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

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With a 0%-documented parameter, no output schema, and multiple near-identical sibling tools, the description needs to carry substantial weight and does not. Key facts an agent would need - what 'mediafiles' means, the meaning of path, and the default behavior - are absent.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and the single 'path' parameter (nullable, default null) is undocumented anywhere. The description does not clarify what path means here (a directory root? a filter?), nor what the null default implies, so it fails to compensate for the schema gap.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description is 'Get filesystem mediafiles,' which essentially restates the tool name and title rather than explaining what the operation actually does. It is ambiguous whether this lists directories, enumerates media files, or returns metadata, and it does not distinguish itself from siblings like sonarr_get_filesystem or sonarr_get_filesystem_type.

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

Usage Guidelines2/5

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

There is no guidance on when to use this tool versus the closely named siblings (sonarr_get_filesystem, sonarr_get_filesystem_type, or the *arr equivalents). The agent must infer the use case entirely from the name.

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

Deploy Server

Other Tools