Skip to main content
Glama

Get log file update filename

sonarr_get_log_file_update_filename
Read-onlyIdempotent

Fetch updated content from a specified Sonarr log file by filename to inspect recent changes and diagnose issues.

Instructions

Get log file update content.

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": {
      "filename": "<filename>"
    },
    "name": "sonarr_get_log_file_update_filename"
  }
}

Input Schema

NameRequiredDescriptionDefault
filenameYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.1.1

TDQS

D1.9/5.0
Behavior2/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is covered. The description adds nothing beyond that: it does not say what is returned, how the filename maps to a log file, or what happens for an unknown filename.

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

Conciseness3/5

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

It is a single short sentence with no filler, but it is under-specified rather than efficient; the one clause it does contain confuses rather than front-loads useful information.

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

Completeness2/5

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

With no output schema and a 0%-documented required parameter, the description carries the full burden of explaining input provenance and return behavior, and it does neither. For a log-retrieval tool in a crowd of look-alike siblings, this is insufficient.

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

Parameters2/5

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

Schema description coverage is 0% and the single parameter is a bare 'filename' string with no format or provenance. The description never explains where a valid filename comes from (presumably the corresponding log-list or update endpoint), so the agent must infer it entirely.

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 file update content' nearly restates the tool name and actually diverges from the title ('filename' vs 'content'), leaving it unclear whether this returns file contents or a filename. Against near-identical siblings like sonarr_get_log_file_update and sonarr_get_log_file_filename, nothing in the description distinguishes which one an agent should pick.

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

Usage Guidelines1/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 prerequisite, and no mention of the closely named alternatives. An agent has to guess between at least three sibling tools whose names differ by a single word.

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