Skip to main content
Glama
sonarr-mcp

sonarr-mcp

by OrellBuehler

list_logs

Read-only

Pages through Sonarr's log entries newest first, letting you filter by level (trace to fatal) to quickly find and diagnose errors and health issues.

Instructions

Page through Sonarr's log entries, newest first by default. Filter by level to find errors quickly.

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

Input Schema

NameRequiredDescriptionDefault
pageNoPage number (default 1)
levelNoOnly entries at this level
sort_keyNoField to sort by, e.g. 'time'
page_sizeNoEntries per page (default 10 on the Sonarr side)
sort_directionNoSort direction

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?

Annotations already declare readOnlyHint=true, so the safety profile is covered. The description adds useful behavior beyond that: results are paginated and default to newest-first ordering, which an agent needs to know when reading logs. It does not mention page limits, retention, or return shape, so it is helpful but not rich.

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 short sentences, front-loaded with the core action and scope, followed by the practical filtering tip. Nothing is wasted or repeated from the schema.

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 simple read-only paginated listing with full schema coverage and a readOnly annotation, the description covers what it does, its default ordering, and a primary use case. Only minor gaps remain around result volume and the sibling log-file listing.

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 parameters are already documented, including defaults for page and page_size. The description only reinforces the default sort order ('newest first by default'), which adds marginal meaning over the schema's sort_key/sort_direction fields.

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 names a specific verb and resource ('Page through Sonarr's log entries'), which clearly distinguishes it as a read/pagination operation over log entries. It does not explicitly contrast with the nearby list_log_files sibling, but the resource is named precisely enough that confusion is unlikely.

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?

'Filter by level to find errors quickly' gives an implied use case (error triage) but stops short of explicit when-to-use/when-not guidance or pointing at an alternative such as list_log_files. Usage is inferable but not spelled out.

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

Deploy Server

Other Tools