Skip to main content
Glama

Web Crawl

web_crawl
Read-onlyIdempotent

Crawl one site's same-host pages starting from a URL (depth 1-2, at most 20 pages) and return each page's title, URL and readable text. When to use: you need several pages from one site (docs section, news index, product list) and web_map alone is not enough. Do not use: to mirror a whole site (hard cap 20 pages, same host), or for one page (web_fetch). Returns: {ok, url, final_url, count, pages:[{url, title, status, chars, content}], cached, took_ms, _metering}. Respects robots.txt and SSRF guards; partial page failures are skipped. Metered: uses the same shared free pool (10 free calls/day per IP shared by all web tools), then 3 credits per call over x402 - no API key.

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": {
      "url": "<url>"
    },
    "name": "web_crawl"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesStart URL (same host is crawled).
depthNoLink depth 1-2. Default 2.
max_charsNoPer-page content cap 200-4000. Default 1000.
max_pagesNoMax pages 1-20. Default 20.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, yet the description still adds genuinely new context: robots.txt compliance, SSRF guards, silent skipping of failed pages, and a metering/cost model (10 shared free calls per IP per day, then 3 credits via x402, no API key). It stops short of stating pagination or ordering of pages, but covers the main operational surprises.

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?

Front-loaded with the core action and scope, then segmented into 'When to use', 'Do not use', 'Returns' and metering clauses. Dense but every sentence carries information an agent needs, and the return shape is necessary because no output schema exists.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description supplies the full return envelope ({ok, url, final_url, count, pages, cached, took_ms, _metering}) and per-page fields. Combined with limits, failure behavior and billing, nothing material is missing for correct invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the parameters are already documented; the description nonetheless reinforces how they interact, notably the hard 20-page cap and that the crawl is confined to the same host. That is added meaning (consequence of max_pages and depth) rather than repetition of field 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?

States a specific verb and resource ('Crawl one site's same-host pages starting from a URL') plus hard scope bounds (depth 1-2, at most 20 pages) and the returned fields. It explicitly distinguishes itself from web_map and web_fetch, so an agent can route correctly without opening a 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?

Contains explicit 'When to use' guidance (need several pages from one site; web_map alone is not enough) and explicit 'Do not use' exclusions with named alternatives: whole-site mirroring and single pages (web_fetch). Both the positive and negative conditions are covered.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.