Skip to main content
Glama
Tdarr MCP Server

Tdarr MCP Server

by OrellBuehler

scan_file_details

Read-only

Run ExifTool, MediaInfo, or closed-caption scans on one readable file path and return the results, including files outside a Tdarr library.

Instructions

Run ExifTool, MediaInfo and/or a closed-caption scan against one file and return the results (POST /api/v2/scan-individual-file). Works on any path the server can read, whether or not it is in a library.

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": {
      "file_path": "<file_path>"
    },
    "name": "scan_file_details"
  }
}

Input Schema

NameRequiredDescriptionDefault
exiftoolNoRun an ExifTool scan (default true)
file_pathYesFull file path, as Tdarr Server sees it
mediainfoNoRun a MediaInfo scan (default true)
closed_captionsNoScan for closed captions (default false; this one is slow)

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.2/5.0
Behavior4/5

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

readOnlyHint=true already covers the safety profile, but the description adds real behavioral context beyond annotations: the tool shells out to external scanners (ExifTool/MediaInfo/CC scan), returns their results, and can touch any server-readable path regardless of library membership. It does not discuss cost asymmetry between scanners (the 'slow' note lives only in the schema), so it is strong but not exhaustive.

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 tight sentences: the operation and endpoint come first, the access scope second. Nothing is wasted and there is no repetition of schema content.

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 read-only four-parameter scan tool with full schema coverage, the description covers purpose, scope, and access requirements. The one gap is return shape: with no output schema, the agent only knows the results come back loosely and cannot anticipate whether scanner outputs are merged or keyed, though this is a minor omission for a read-only tool.

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 coverage is 100%, so every parameter including defaults is already documented in structured data. The description names the three scanner switches and the file target, but adds no format, path-normalization, or defaulting detail beyond what the schema says. Baseline 3 applies since the schema carries the weight.

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 action (run ExifTool, MediaInfo and/or closed-caption scans) against a specific resource (one file), names the underlying endpoint, and clarifies scope with 'one file' versus the library-wide sibling scan_library. An agent can distinguish this from scan_library or get_file without opening a schema.

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?

The sentence 'Works on any path the server can read, whether or not it is in a library' gives a clear applicability condition, telling the agent this is valid even for files outside managed libraries. It stops short of explicitly routing to alternatives (e.g., use scan_library for bulk scans, get_file for existing metadata), so it is clear context without exclusions.

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