Skip to main content
Glama

Get log file filename

lidarr_get_log_file_filename
Read-onlyIdempotent

Retrieves the log file filename for a given Lidarr log so you can locate the correct file for troubleshooting.

Instructions

Get log file filename.

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

Input Schema

NameRequiredDescriptionDefault
filenameYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.1.1

TDQS

C2.1/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. The description adds nothing beyond that — no note on where files are read from, whether the filename must come from lidarr_get_log first, 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?

The sentence is short and front-loaded with no filler, which is structurally fine. However, the brevity reflects under-specification rather than economy — nothing meaningful is conveyed.

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?

For a one-parameter read tool with no output schema, the description should at minimum say what comes back and how to source the filename. Neither is present, leaving the agent to guess at the call contract.

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% for the single required 'filename' parameter, so the description must carry the burden and does not. It never explains the expected filename format, whether a path is accepted, or how to obtain a valid value (presumably from lidarr_get_log).

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?

The description 'Get log file filename' only restates the tool name and title, adding no independent information. It does not clarify whether it returns a path, a name string, or file contents, nor how it differs from siblings such as lidarr_get_log_file or lidarr_get_log_file_update_filename.

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 exclusion of alternatives, and no prerequisites. An agent facing seven near-identical sibling tools (log vs log_file vs log_file_update_filename) gets no signal about which one this is for.

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