Skip to main content
Glama

Get File Content

get_file_content
Read-onlyIdempotent

Read the contents of a text file from a MikroTik router. Provide the router identifier and exact file name to retrieve the file's text.

Instructions

Read a text file's contents from a MikroTik router. Only suitable for text files — binary files will return garbled content.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
routerIdYesTarget router identifier from the router registry
nameYesExact file name on the router (e.g. flash/script.rsc)
Behavior4/5

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

Annotations already indicate read-only, non-destructive, and idempotent behavior. The description adds a critical behavioral constraint: binary files will produce garbled content, which goes beyond the annotations and helps prevent misuse. Minor deduction for lack of error handling details for missing files or permissions.

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 extremely concise with two sentences. The first states the primary function, and the second adds an essential limitation. No redundant or extraneous words.

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

Completeness4/5

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

For a simple read operation with strong annotations and fully described parameters, the description covers the key behavioral constraint (text-only files). However, it does not explicitly mention the return format or behavior when the file does not exist, which would benefit completeness.

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

Parameters3/5

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

The input schema already provides clear descriptions for both parameters (routerId and name) with 100% coverage. The tool description adds no additional parameter-specific semantics beyond what the schema provides, so a baseline score of 3 is appropriate.

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 action 'Read' and the specific resource 'a text file's contents from a MikroTik router'. It also explicitly distinguishes this tool from list_files and upload_file by noting its limitation to text files, which is a key operational constraint.

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 description provides clear context for usage (reading text files only) and includes a binary file caveat, but does not explicitly mention when to use this tool over alternatives or specify when not to use it. The binary file warning serves as a partial guideline.

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/AliKarami/MikroMCP'

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