Skip to main content
Glama

Fetch URL

fetch_url
Read-only

Make HTTP/HTTPS requests from a MikroTik router to fetch web content. Returns response body inline (capped at 64 KB) or saves to router filesystem.

Instructions

Send an HTTP/HTTPS request from the router using /tool/fetch. Response body is returned inline (capped at 64 KB with [TRUNCATED] marker). Use outputFile to save to router filesystem instead.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
routerIdNoRouter ID; omit to use the default router.
urlYesURL to fetch from the router
methodNoHTTP methodGET
httpDataNoRequest body for POST
outputFileNoSave response body to this router file path instead of returning inline
Behavior4/5

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

The description adds behavioral context beyond annotations, notably the 64 KB inline response cap with a [TRUNCATED] marker. Annotations declare readOnlyHint true and destructiveHint false, which are consistent. The description does not cover authentication or rate limits, but the added detail about truncation is valuable.

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 two sentences with no extraneous words, front-loading the core action and providing key behavioral constraints immediately.

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?

Given five parameters (one required) and no output schema, the description covers the main behavioral aspects: inline vs file output and the 64 KB limit. It lacks details on error handling, timeouts, or authentication, but for a simple fetch tool, it is sufficiently complete.

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?

Schema coverage is 100%, so the baseline is 3. The description reiterates the outputFile parameter's purpose and clarifies the default inline behavior, but adds minimal new meaning beyond the schema descriptions.

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 tool sends an HTTP/HTTPS request from the router using /tool/fetch, which is a specific verb and resource. It distinguishes itself from sibling tools like ping, traceroute, and bandwidth_test by being the only tool for fetching URLs.

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 guidance on when to use the outputFile parameter to save to the router filesystem instead of returning inline. However, it does not explicitly state when not to use this tool or reference alternative tools for similar tasks, but the context is clear enough.

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