Skip to main content
Glama

Get log file filename

chaptarr_get_log_file_filename
Read-onlyIdempotent

Retrieve the filename of a Chaptarr log file by supplying the required filename, helping you identify and reference the correct log 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": "chaptarr_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, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is covered structurally. The description adds nothing on top of that: it does not say whether the returned filename is relative or absolute, whether the file must already exist, or how it relates to the log listing tool.

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 single short sentence is front-loaded and free of filler, so it is not verbose. However, the brevity comes from under-specification rather than efficiency, leaving the definition effectively empty.

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 simple one-parameter, read-only tool with no output schema, the description still needs to say what value is returned and how the filename argument is formed. Neither is present, so an agent must guess at both the return shape and the argument format.

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%, so the description carries the full burden for the single required 'filename' parameter, yet it only echoes the word back. It gives no format hints (extension, path separators, case sensitivity) or indication of whether the value comes from a prior listing call.

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" restates the tool name and title almost verbatim, adding no verb or resource clarification beyond what the identifier already says. It does not distinguish this from close siblings such as chaptarr_get_log_file_update_filename or chaptarr_get_log_file, so an agent cannot tell what distinct object this returns.

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 alternatives, and no precondition for calling it. The agent is left to infer entirely on its own whether this is the tool for fetching a log's name versus listing logs or fetching log contents.

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