Skip to main content
Glama
Tdarr MCP Server

Tdarr MCP Server

by OrellBuehler

get_resource_stats

Read-only

Retrieve current Tdarr server resource usage, including process uptime, heap, host CPU percentage, and memory used/total.

Instructions

Get current Tdarr Server resource usage: process uptime and heap, plus host CPU percentage and memory used/total (POST /api/v2/get-res-stats).

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_resource_stats"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, so the safety profile is covered. The description adds genuine value by disclosing the exact metric set returned and the underlying endpoint (POST /api/v2/get-res-stats), which is useful since POST for a read call would otherwise be surprising. It stops short of noting freshness, caching, or cost of the call.

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?

A single sentence with the resource named first, the returned metrics listed second, and the endpoint as a trailing clarification. No filler and nothing buried.

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?

With no output schema, the description carries the burden of explaining returns, and it does so by naming each metric. For a zero-parameter read tool this is close to sufficient; only freshness or sampling semantics are missing.

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?

The tool takes zero parameters, so there is nothing for the description to disambiguate; baseline 4 applies. The description correctly avoids inventing parameter detail.

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?

The description pairs a specific verb (Get) with a specific resource (current Tdarr Server resource usage) and enumerates the returned metrics: process uptime and heap, host CPU percentage, and memory used/total. The word 'current' implicitly distinguishes it from get_resource_history, though no sibling is named 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?

Usage is only implied by 'current', which suggests a point-in-time snapshot versus the historical sibling. There is no explicit statement of when to prefer this over get_resource_history or get_performance_stats, and no prerequisites are mentioned.

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