Skip to main content
Glama
Tdarr MCP Server

Tdarr MCP Server

by OrellBuehler

list_subdirectories

Read-only

Lists subfolders visible to Tdarr Server for a given folder path, helping you find container paths that libraries can use rather than host paths.

Instructions

List the subfolders of a path as seen by Tdarr Server (POST /api/v2/get-subdirectories). Use it to discover the paths a library can point at — the server sees container paths, not host paths.

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": {
      "folder_path": "<folder_path>"
    },
    "name": "list_subdirectories"
  }
}

Input Schema

NameRequiredDescriptionDefault
folder_pathYesFolder path to list, as visible to Tdarr Server

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.2.0
    • removedInput schema / additionalProperties
      Removed value: -false
  2. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=true; the description adds the important behavioral caveat that results reflect the server's container view rather than host paths, and cites the backing endpoint. It doesn't describe the return shape (names vs. objects), leaving a small gap.

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?

Two short sentences, front-loaded with the operation, then the use case and caveat. Every clause contributes information; nothing is redundant.

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 one-parameter read-only discovery tool this covers purpose, usage, and the container-vs-host path subtlety well. The only missing element is what the returned list looks like, which matters slightly since there is no output schema.

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 already documents folder_path, so the baseline is 3. The description earns extra credit by clarifying that the path must be the server-visible container path, which adds real meaning to the single parameter beyond the schema text.

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 ('List the subfolders of a path') and even names the underlying endpoint, so an agent knows exactly what operation this performs and can distinguish it from siblings like list_libraries or get_file.

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?

Explicitly frames the use case: 'Use it to discover the paths a library can point at,' which tells the agent when this tool is relevant. It stops short of naming exclusions or alternatives, but the intended context is clear.

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