Skip to main content
Glama
rollecode

Sonarr MCP server

by rollecode

list_log_file

Read-onlyIdempotent

Retrieve available log files from Sonarr to inspect system activity and troubleshoot issues.

Instructions

Read LogFile.

GET /api/v3/log/file

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior2/5

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

The annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, which cover the safety profile. The description adds no behavioral context beyond the endpoint, such as what the response contains (e.g., raw file content) or any special handling. It does not contradict the annotations.

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?

The description is extremely concise and front-loaded: the primary purpose is stated first ('Read LogFile.') followed by the concrete endpoint. There is no fluff or repetition. It is appropriately sized for a parameterless read operation.

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

Completeness3/5

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

Given the simplicity of the tool (no parameters, annotations covering safety, and an output schema), the description is minimally sufficient. However, it does not clarify what the log file is (e.g., main log vs. update log) or contrast with similar list_log and get_log_file_variants. An agent might struggle to choose this over list_log without additional context.

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 has zero parameters, so the schema coverage is trivially 100%. Per the rubric, a baseline of 4 applies when there are no parameters. The description does not need to elaborate on parameters, and it correctly does not.

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 states a clear action and resource: 'Read LogFile.' and provides the endpoint 'GET /api/v3/log/file'. This is specific and not a tautology. However, it does not distinguish itself from sibling tools like list_log or get_log_file_by_filename, which could be confused with this endpoint.

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 guidance on when to use this tool versus alternatives. The description is limited to 'Read LogFile.' and the endpoint, with no mention of use cases, exclusions, or relationship to siblings like list_log or get_log_file_by_filename.

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