Skip to main content
Glama

Get log

sonarr_get_log
Read-onlyIdempotent

Retrieve Sonarr logs with pagination, level filtering, and sorting to inspect events and troubleshoot issues.

Instructions

Get log.

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

Input Schema

NameRequiredDescriptionDefault
pageNo
levelNo
sortKeyNo
pageSizeNo
sortDirectionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.1.1

TDQS

D1.8/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered without the description. The description adds nothing beyond them – it does not say whether results are paginated, how large the default page is, whether logs are truncated by level, or whether output ordering matters – so it contributes no behavioral value.

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

Conciseness2/5

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

The text is short but only because it is under-specified, not because it is efficient; there is no front-loaded statement of scope, result, or filtering behavior. Per the calibration for one-word restatements, brevity here is a defect rather than a virtue.

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?

A paginated, filterable, sortable log-listing tool with five undocumented parameters and no output schema needs the description to explain pagination semantics at minimum. None of that is present, leaving an agent unable to construct a meaningful query.

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?

Five optional parameters (page, level, sortKey, pageSize, sortDirection) have 0% schema description coverage, and the description supplies no meaning for any of them. Accepted values for level and sortDirection, default page sizes, and sort key names are all left entirely undocumented.

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

Purpose2/5

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

"Get log." merely restates the tool name and title verbatim; it names a resource class (logs) but gives no indication of what a log entry is, what the result set represents, or how it differs from the many sibling log tools such as sonarr_get_log_file or chaptarr_get_log. It sits in the tautology bucket rather than providing a specific verb+resource distinction.

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 at all: no statement of when to call this paged log endpoint versus the log-file variants, no mention of when the filters should be applied, and no prerequisites. An agent must infer everything from the parameter names alone.

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