Skip to main content
Glama
DatLab MCP server

DatLab MCP server

Official
by datlabhq

Website to Markdown crawler

site_to_markdown_crawler

Crawl a documentation site or section and convert every in-scope page to Markdown for RAG or knowledge bases.

Instructions

Crawl a docs site or a section of one and return each page as Markdown for RAG or a knowledge base. It follows links under the start URL. Use it when you need a whole site or section. Do not use it when you already know the exact URLs (use web_page_to_markdown) or when the site needs a login. Output fields: url, markdown, text, metadata, crawl.depth, crawl.renderedWith, wordCount, tokenEstimate. Cost: first 300 pages each UTC month are free, then $0.0001 per HTTP page, $0.00035 per browser page, $0.0005 per saved file, plus $0.00005 per run start. Always set maxCrawlPages.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "startUrls": "<startUrls>"
    },
    "name": "site_to_markdown_crawler"
  }
}

Input Schema

NameRequiredDescriptionDefault
startUrlsYesStart pages. The crawler follows in-scope links under these URLs.
crawlerTypeNoauto (default) uses HTTP and only renders with Chromium when a page needs JavaScript.
useSitemapsNo
maxCrawlDepthNo
maxCrawlPagesNoHard cap on pages visited. Set this. The actor default is 1000.
excludeUrlGlobsNo
includeUrlGlobsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations provided, the description carries the full behavioral burden and mostly meets it: it discloses crawl scope (follows in-scope links under the start URL), a detailed cost model with free tier and per-page/per-run pricing, and the exact output fields. What it omits is operational behavior an agent might need — robots.txt handling, request rate/politeness, partial-failure behavior, and how long a large crawl takes. These gaps keep it below 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with purpose and usage, then output fields, then cost — a sensible priority order with mostly tight sentences. The output-field enumeration and the granular pricing sentence are dense but each conveys a fact the agent cannot get elsewhere (no output schema exists). Slightly list-like rather than explanatory.

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 7-parameter crawler with no output schema and no annotations, the description covers purpose, exclusions, return fields, pricing, and a key default recommendation. Missing pieces are crawl-behavior specifics (robots, throttling, failure/timeout handling) and guidance on the filtering/scope parameters, but nothing essential to calling it correctly is absent.

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 description coverage is only 43%, so the description should compensate more than it does. It adds real meaning for maxCrawlPages ('Always set maxCrawlPages') and reinforces the startUrls link-following semantics, but says nothing about useSitemaps, maxCrawlDepth, includeUrlGlobs/excludeUrlGlobs, or when to pick a non-default crawlerType beyond the schema's own note. Partial compensation.

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?

States a specific verb and resource ('Crawl a docs site or a section of one') plus the return shape ('each page as Markdown') and the downstream use case (RAG, knowledge base). It also implicitly scopes itself against the sibling web_page_to_markdown, so an agent can distinguish the two without opening either schema.

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

Usage Guidelines5/5

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

Gives explicit positive guidance ('when you need a whole site or section'), explicit exclusions ('do not use it when you already know the exact URLs', 'when the site needs a login'), and names the alternative tool to use instead. It even adds an operational directive ('Always set maxCrawlPages'). This is the strongest dimension of the definition.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.