Skip to main content
Glama
OrellBuehler

Tdarr MCP Server

by OrellBuehler

query_table

Retrieve paginated Tdarr UI table data with server-side filtering, sorting, and paging. Use this low-level endpoint for transcode/health-check queues and results that plain file search cannot express.

Instructions

Query one of the paginated tables behind the Tdarr UI (POST /api/v2/client/{client_type}) with server-side filtering, sorting and paging. This is the low-level escape hatch for views search_files cannot express; the valid client_type and opts.table values are the ones the Tdarr UI uses for that page. Prefer search_files for plain file lookups.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
optsNoEndpoint-specific options, e.g. { table: 'table1', dbID: '<libraryId>' }. Tdarr's file tables are table1 transcode queue, table2 transcode success, table3 transcode error, table4 health check queue, table5 health check success, table6 health check error.
sortsNoSort order, e.g. [{ id: 'file_size', desc: true }]
startNoRow offset (default 0)
filtersNoColumn filters, e.g. [{ id: 'file', value: 'Movie' }]
page_sizeNoRows per page (default 25)
client_typeYesThe client endpoint segment, i.e. the UI table being queried

Schema Changelog

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

  1. First observedv0.1.0

TDQS

A4.6/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 of behavioral disclosure. It conveys that this is a read-style query operation, mentions server-side filtering/sorting/paging, and warns that it is low-level. It could be more explicit about no mutation or response behavior, but the verb and framing are reasonably transparent.

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 three sentences with no filler. The core purpose is front-loaded, the low-level nature is stated, and the alternative is named efficiently.

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 complex tool with 6 parameters and no output schema, the description covers the essential context: endpoint, valid value source, relationship to search_files, and pagination capabilities. It stops short of describing the expected response envelope or error behavior, which would improve completeness.

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 meaningful context by explaining that valid client_type and opts.table values are the ones used by the Tdarr UI, which is not stated in the schema and is essential for correct use.

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 clearly states a specific action ('Query one of the paginated tables behind the Tdarr UI') and identifies the underlying endpoint. It also distinguishes itself from search_files, making its purpose and scope immediately clear.

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

Usage Guidelines5/5

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

It explicitly frames the tool as a low-level escape hatch for views search_files cannot express and instructs agents to prefer search_files for plain file lookups. This gives a concrete selection rule and clearly identifies the main alternative.

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