Skip to main content
Glama

get_logs_by_topic

Read-onlyIdempotent

Retrieve MikroTik RouterOS logs filtered by topic, such as system, DHCP, interface, or firewall, to diagnose issues quickly.

Instructions

Gets logs for a specific topic/facility (system, dhcp, interface, firewall, etc.).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
topicYes
deviceNo
time_filterNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

Annotations already declare readOnlyHint=true and idempotentHint=true, so the description need not re-state safety. It adds topic examples but no further behavioral details such as pagination, time filtering behavior, or return format. This is adequate but minimal.

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 sentence, immediately front-loaded with the action and resource, and contains no filler words. It is appropriately concise for a tool of this simplicity.

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?

Although an output schema exists, the description does not cover the optional input parameters (limit, device, time_filter) that are part of the input schema. This leaves the agent without enough information to use the tool effectively beyond the required topic, so the description is incomplete.

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?

The schema has 4 parameters with 0% description coverage. The description conceptually references 'topic' but fails to explain the meanings or formats of limit, device, and time_filter, which are critical for correct invocation.

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 uses a specific verb ('Gets logs') and identifies the resource as a topic/facility, listing concrete examples (system, dhcp, interface, firewall). This clearly distinguishes it from sibling tools like get_logs_by_severity and search_logs.

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

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The phrase 'for a specific topic/facility' provides clear context for when to use this tool: when logs need to be filtered by topic. However, it does not explicitly mention alternatives or when-not-to-use conditions, so it falls short of a 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/jeff-nasseri/mikrotik-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server