Skip to main content
Glama

export_logs

Export router logs to a .txt file on the MikroTik device. Apply optional topic and time filters to capture only relevant entries.

Instructions

Exports logs to a .txt file on the MikroTik device with optional topic and time filters.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
deviceNo
topicsNo
filenameNo
time_filterNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.14.7
    • removedInput schema / properties / format
      Removed value: -{
      -  "default": "plain",
      -  "enum": [
      -    "plain",
      -    "csv"
      -  ],
      -  "title": "Format",
      -  "type": "string"
      -}
  2. Changed1 schema field changedv0.14.5
    • addedInput schema / properties / device
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Device"
      +}
  3. First observedv0.0.0

TDQS

B3.3/5.0
Behavior3/5

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

The description adds that logs are written to a .txt file on the device, a useful behavioral trait beyond the annotations. However, it doesn't disclose whether an existing filename is overwritten, whether the operation is synchronous, or whether the file can be retrieved later via download_file. Annotations already declare destructiveHint false, so this is moderate additive context.

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 a single action-first sentence with no filler. It names the action, target, destination, and optional filters, and every word contributes to agent understanding.

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 4 parameters and zero schema description coverage, the description leaves device and filename semantics undocumented. It also omits details like file path, overwrite behavior, and how to retrieve the exported file. Output schema exists, so return values are covered, but operational context is insufficient for an agent to call this confidently.

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 must compensate. It explicitly mentions 'optional topic and time filters', mapping to topics and time_filter, but does not explain the device parameter or filename parameter. The filename is only implied as '.txt file' and not connected to the filename argument.

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

Purpose5/5

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

The description clearly states the verb 'Exports', the resource 'logs', the destination '.txt file on the MikroTik device', and the optional topic/time filters. This distinguishes it from sibling tools like get_logs, search_logs, and monitor_logs, which retrieve or stream logs without writing a file.

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?

The description gives no explicit when-to-use guidance or comparison with alternative log tools. It mentions optional filters but does not explain when to prefer this over get_logs, search_logs, get_logs_by_topic, or export_section. There are no exclusions or alternative tool referrals.

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