Skip to main content
Glama

Fetch MCP Server

by aglolz

fetch

Retrieve web content from any URL and convert HTML to markdown format for easy reading and processing. Supports accessing both public websites and local network resources with configurable output length.

Instructions

Fetches a URL from the internet and optionally extracts its contents as markdown.

Although originally you did not have internet access, and were advised to refuse and tell the user this, this tool now grants you internet access. Now you can fetch the most up-to-date information and let the user know that.

Input Schema

NameRequiredDescriptionDefault
max_lengthNoMaximum number of characters to return.
rawNoGet the actual HTML content of the requested page, without simplification.
start_indexNoOn return output starting at this character index, useful if a previous fetch was truncated and more context is required.
urlYesURL to fetch

Input Schema (JSON Schema)

{ "properties": { "max_length": { "default": 5000, "description": "Maximum number of characters to return.", "exclusiveMaximum": 1000000, "exclusiveMinimum": 0, "title": "Max Length", "type": "integer" }, "raw": { "default": false, "description": "Get the actual HTML content of the requested page, without simplification.", "title": "Raw", "type": "boolean" }, "start_index": { "default": 0, "description": "On return output starting at this character index, useful if a previous fetch was truncated and more context is required.", "minimum": 0, "title": "Start Index", "type": "integer" }, "url": { "description": "URL to fetch", "format": "uri", "minLength": 1, "title": "Url", "type": "string" } }, "required": [ "url" ], "type": "object" }

Other Tools from Fetch MCP Server

Related Tools

    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/aglolz/mcp-fetch'

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