Skip to main content
Glama

Better Fetch

fetch_website_nested

Crawl nested URLs from a starting webpage, fetch content, and convert it into structured markdown. Control depth, page limits, domain scope, and URL inclusion/exclusion for precise content extraction.

Instructions

Fetch website content with nested URL crawling and convert to clean markdown

Input Schema

NameRequiredDescriptionDefault
excludePatternsNoRegex patterns for URLs to exclude
includePatternsNoRegex patterns for URLs to include (if specified, only matching URLs will be processed)
maxDepthNoMaximum depth to crawl (default: 2)
maxPagesNoMaximum number of pages to fetch (default: 50)
sameDomainOnlyNoOnly crawl URLs from the same domain (default: true)
timeoutNoRequest timeout in milliseconds (default: 10000)
urlYesThe starting URL to fetch and crawl

Input Schema (JSON Schema)

{ "properties": { "excludePatterns": { "description": "Regex patterns for URLs to exclude", "items": { "type": "string" }, "type": "array" }, "includePatterns": { "description": "Regex patterns for URLs to include (if specified, only matching URLs will be processed)", "items": { "type": "string" }, "type": "array" }, "maxDepth": { "default": 2, "description": "Maximum depth to crawl (default: 2)", "type": "number" }, "maxPages": { "default": 50, "description": "Maximum number of pages to fetch (default: 50)", "type": "number" }, "sameDomainOnly": { "default": true, "description": "Only crawl URLs from the same domain (default: true)", "type": "boolean" }, "timeout": { "default": 10000, "description": "Request timeout in milliseconds (default: 10000)", "type": "number" }, "url": { "description": "The starting URL to fetch and crawl", "type": "string" } }, "required": [ "url" ], "type": "object" }
Install Server

Other Tools from Better Fetch

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/flutterninja9/better-fetch'

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