Skip to main content
Glama
OrellBuehler

Tdarr MCP Server

by OrellBuehler

scan_library

Launch a library scan to discover new files, rescan the full library, or target specific folders, then monitor progress via scanner status.

Instructions

Start a file scan on a library (POST /api/v2/scan-files). 'scanFindNew' adds files not yet in the database, 'scanFresh' rescans everything from scratch, and 'scanFolderWatcher' scans a specific list of file paths. Scanning is asynchronous — poll get_scanner_status for progress.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeYesScan mode. scanFresh discards existing scan results for the library.
pathNoFolder to scan, for scanFresh and scanFindNew. Defaults to the library's own folder.
pathsNoExplicit list of file paths, required for scanFolderWatcher
library_idYesLibrary ID (dbID), from list_libraries

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does disclose key behavioral traits: scanning is asynchronous and should be followed with get_scanner_status. It also explains what each mode does (adds new files, rescans from scratch, scans specific paths), which goes beyond the schema.

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 description is exactly three sentences with no filler: it states the action, explains the modes, and gives post-invocation guidance. Each sentence earns its place.

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 4-parameter asynchronous action with no output schema, the description covers the start action, mode selection, and follow-up polling. It does not state what the API immediately returns, but the polling instruction partially fills that gap.

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. The description adds meaning by explaining the three mode values in plain language and implicitly linking scanFolderWatcher to the paths parameter, which the schema only labels as 'required for scanFolderWatcher'.

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 uses a specific verb 'Start' and resource 'a file scan on a library', names the HTTP endpoint, and explains all three scan modes. This clearly distinguishes it from status-only or single-file sibling 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?

The description gives clear context for starting a library scan and tells the caller to poll get_scanner_status for progress. However, it does not explicitly mention when to prefer this tool over alternatives like rescan_file or scan_file_details, nor any exclusions.

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/OrellBuehler/tdarr-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server