Skip to main content
Glama

scrape_url

Scrape documentation websites by recursively following links, convert HTML to searchable markdown, and add all pages to a knowledge base.

Instructions

Scrape a documentation website and add all pages to the knowledge base. Supports recursive scraping of entire sites by following links. Great for ingesting online documentation like http://www.sidmusic.org/sid/. Converts HTML to searchable markdown.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesStarting URL to scrape (e.g., http://www.sidmusic.org/sid/)
titleNoBase title for scraped documents (optional, defaults to page titles)
tagsNoTags for scraped documents (domain name auto-added)
follow_linksNoFollow links to scrape sub-pages (default: true). Set to false to scrape only the single page.
same_domain_onlyNoOnly follow links on the same domain (default: true). Prevents scraping external sites.
max_pagesNoMaximum number of pages to scrape (default: 50)
depthNoMaximum link depth to follow (default: 3). Depth of 1=single page, 2=linked pages, 3=two levels deep.
limitNoAdvanced: Only scrape URLs with this prefix (overrides same_domain_only)
threadsNoNumber of concurrent download threads (default: 10)
delayNoDelay between requests in milliseconds (default: 100)
selectorNoCSS selector for main content (optional, auto-detected)
Behavior3/5

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

No annotations, so description carries full burden. Discloses recursive scraping, follow-links behavior, and markdown conversion. However, omits potential side effects (duplicate pages), rate limiting, or authentication requirements. Adequate but not rich.

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?

Four sentences, front-loaded with core action and example. Every sentence adds value; no fluff.

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 11 parameters, no output schema, and no annotations, the description provides sufficient operational context (recursive, follow links, markdown output). Could mention return value but otherwise 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 covers 100% of parameters with descriptions. The tool description adds overall context (recursive, markdown) but does not enhance individual parameter meaning beyond schema. Baseline 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?

Description clearly states 'Scrape a documentation website and add all pages to the knowledge base' with specific verb and resource. It distinguishes from siblings by focusing on recursive site scraping and HTML-to-markdown conversion. Example URL and context clarify purpose.

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

Usage Guidelines3/5

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

Implies usage for online documentation ingestion with example, but lacks explicit when-not-to-use or alternatives among siblings like 'rescrape_document' or 'check_url_updates'. No exclusions provided.

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/MichaelTroelsen/tdz-c64-knowledge'

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