Skip to main content
Glama
Tdarr MCP Server

Tdarr MCP Server

by OrellBuehler

get_node_log

Read-only

Retrieves a node's trailing log lines so you can diagnose failing transcodes in Tdarr. Specify the node ID and line count to inspect recent errors.

Instructions

Get a node's log as plain text (POST /api/v2/get-node-log). Returns the trailing lines only (default 100). Use it to see why a node's transcodes are failing.

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": {
      "node_id": "<node_id>"
    },
    "name": "get_node_log"
  }
}

Input Schema

NameRequiredDescriptionDefault
linesNoNumber of trailing lines to return (default 100; use 0 for the full log)
node_idYesNode ID, from list_nodes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.2.0
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / lines / maximum
      Added value: +9007199254740991
  2. First observedv0.1.0

TDQS

A3.8/5.0
Behavior3/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 genuinely useful behavior beyond that: output is plain text and truncated to trailing lines, so the agent knows the result may be incomplete. It says nothing about permissions, rate limits, or how to detect truncation, which keeps it at a solid 3 rather than higher.

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 compact sentences with the return behavior front-loaded and the use case last. Every clause carries information; nothing is filler.

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 correctly explains the return format (plain text, trailing lines) and the default window. It is close to complete for a simple read tool, with only the full-log option and truncation signaling left under-described.

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% and both parameters are documented, including the 'lines' default and the 0-means-full-log semantics. The description's mention of the default 100 lines largely restates the schema, so it adds little parameter-level meaning.

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 a node's log as plain text'), plus the underlying endpoint and the truncation behavior. The resource noun 'node's log' implicitly separates it from get_server_log, but no sibling is named explicitly, so differentiation is left to inference.

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?

Gives a concrete diagnostic scenario: 'Use it to see why a node's transcodes are failing.' That is clear when-to-use context, but there are no exclusions or pointers to alternatives such as get_server_log for server-wide log data.

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