Skip to main content
Glama

map

Crawl a website's sitemap and link graph to discover URLs, then filter results by allowed or blocked words and return up to a set limit for site audits or indexing.

Instructions

Discover all URLs on a website by crawling its sitemap and link graph. Returns a list of URLs found on the site.

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": "map"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesThe root URL of the website to map
maxUrlsNoMaximum number of URLs to return (default: 1000)
allowedWordsNoOnly include URLs containing these words
blockedWordsNoExclude URLs containing these words

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations at all, the description carries the full burden. It does disclose meaningful behavior beyond the name: the discovery sources (sitemap plus link graph) and the return type (list of URLs). It omits crawl depth, pagination/truncation behavior under maxUrls, robots.txt or auth handling, and cost/time characteristics.

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?

Two short sentences, front-loaded with the purpose and mechanism; nothing extraneous. The second sentence partly restates the first, which is minor redundancy rather than clutter.

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

Completeness3/5

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

For a four-parameter read tool with a fully described schema and no output schema, the definition covers the essentials: what it does and that it returns URLs. It falls short on scope limits (depth, site-size behavior, what happens when maxUrls is hit), which matter for a mapping tool an agent will call on arbitrary sites.

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 100%, so all four parameters are already self-documenting, including defaults for maxUrls and the include/exclude semantics of allowedWords and blockedWords. The description adds no detail on parameter interaction (e.g., that allowedWords and blockedWords filter the crawled result set), so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Discover all URLs on a website') plus the mechanism ('crawling its sitemap and link graph') and the return shape ('a list of URLs'). This distinguishes it from likely siblings like scrape or crawl that return content, though it never names an alternative explicitly.

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?

Usage is only implied: the agent can infer this is a discovery/enumeration step before scraping, but the description never says when to choose this over crawl, search, or batch_scrape. No exclusions, prerequisites, or sequencing guidance are given.

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