Skip to main content
Glama
Tdarr MCP Server

Tdarr MCP Server

by OrellBuehler

get_space_saved

Read-only

Reports storage space saved by transcoding over time in buckets, with filters for library, node, worker type, or plugin to identify which saves storage.

Instructions

Get space saved by transcoding over time, bucketed (POST /api/v2/stats/get-space-saved). Filter by library, node, worker type or plugin to see which of them actually saves storage.

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

Input Schema

NameRequiredDescriptionDefault
node_idNoRestrict to one node
plugin_idNoRestrict to one plugin
timeframeNoTimeframe to report over, as used by the Tdarr UI
library_idNoRestrict to one library
worker_typeNoRestrict to one worker type, e.g. 'transcodecpu'

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

A3.6/5.0
Behavior3/5

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

readOnlyHint=true already tells the agent this is a safe read; the description usefully reveals that the read is issued as a POST to /api/v2/stats/get-space-saved, which matters for agents reasoning about transport. It does not describe the bucket granularity, timeframe defaults, result size, or whether the POST body carries filters, so meaningful behavioral detail is still missing.

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 sentences, no filler: the measurement and its bucketing come first, followed by the filtering rationale. Every clause carries information the agent can act on.

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, zero-required-parameter stats query with full schema coverage and no output schema, the definition covers what is measured and what can be filtered. The main gap is the absence of any sense of the time-series output shape (bucket size, ordering) or default timeframe behavior.

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 all five filters are already documented in the schema, and the description only restates four of them (omitting timeframe). It adds the interpretive framing that these filters identify which dimension 'actually saves storage,' but no syntax or format detail beyond the schema.

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

Purpose4/5

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

States a specific verb and resource ('Get space saved by transcoding over time, bucketed') plus the underlying endpoint, so the agent knows exactly what data comes back. It is distinguishable from siblings like get_pie_stats or get_performance_stats by the storage-savings metric, though it never names an alternative explicitly.

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 clause 'Filter by library, node, worker type or plugin to see which of them actually saves storage' implies the intended analytical use case. There is no explicit guidance on when to prefer this over other stats tools, nor any exclusions or prerequisite conditions.

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