Skip to main content
Glama
Sonarr MCP Server

Sonarr MCP Server

by jbydeley

Get Logs

get-logs
Read-only

Retrieve Sonarr logs with filtering by level, pagination, and sorting to troubleshoot and monitor your instance.

Instructions

Get logs from Sonarr

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

Input Schema

NameRequiredDescriptionDefault
pageNo
levelNoinfo
sortKeyNodate
pageSizeNo
sortDirectionNodefault

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.7.0

TDQS

C2.2/5.0
Behavior2/5

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

The readOnlyHint annotation already establishes that this is a safe read operation, so the description's job is to add behavioral context beyond that. It adds none: no mention of pagination behavior, result limits, log scope, or what Sonarr instance/context is queried.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single front-loaded phrase with no wasted words. It is efficient, though its brevity reflects under-specification rather than well-targeted detail.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool with five optional parameters, two enums, zero schema descriptions, and no output schema, this description is far too thin. It leaves the agent without enough information to call the tool correctly or understand the results.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

There are five parameters with 0% schema description coverage, and the description does not mention any of them. It provides no meaning for page, level, sortKey, pageSize, or sortDirection, so the agent must infer their semantics from property names and defaults alone.

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

Purpose3/5

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

The description gives a clear verb and resource ('Get logs from Sonarr'), so an agent knows the general operation. However, it doesn't specify scope, filtering behavior, or how it differs from any sibling, and 'Get logs' is generic enough that the purpose is only minimally clear.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no mention of prerequisites, and no alternative or exclusion conditions. The agent is left to infer usage entirely from the name and annotations.

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