Skip to main content
Glama

List a site's URLs

map_site

Hand back every URL a site lists, without reading the pages: what its robots.txt and sitemaps name (gzipped ones too, and indexes of sitemaps), plus the links on the page you named. Each URL comes back once, without tracking parameters or a trailing slash, with lastmod when the sitemap gives one. Only the host you named is kept unless you set includeSubdomains, and search keeps the URLs that contain a word. To read a page, pass its URL to scrape.

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_site"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesThe site to map, as any http(s) URL on it. Private and loopback hosts are refused.
limitNoHow many URLs to hand back at most, 1 to 30,000. The price is the same whatever you ask for.
proxyNoWhere the map's requests leave from. Every file it reads goes through the same exit.
searchNoOnly URLs that contain this text, upper or lower case alike: `blog` keeps `/blog/` and `/Blog-post`.
sitemapNoWhere to look. "include" reads the site's sitemaps and the links on the page you named; "only" reads the sitemaps alone; "skip" reads the page's links alone.include
includeSubdomainsNoAlso keep URLs on other hosts of the same domain, like `blog.example.com` for `example.com`. Off by default: only the host you named, with or without `www.`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations declare openWorldHint=true and destructiveHint=false, so the safety profile is largely covered; the description still adds real behavioral detail the annotations cannot express: deduplication, tracking-parameter and trailing-slash normalization, and `lastmod` passthrough. It does not mention that the call makes live outbound requests subject to metering or how failures/empty results appear, though pricing is covered in the schema. readOnlyHint=false is not contradicted, since the text never claims the operation is side-effect-free.

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, then sources, then normalization guarantees, then scoping modifiers, closing with the sibling hand-off. Every clause carries distinct information; nothing is repeated from the schema verbatim.

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 six-parameter tool with a nested proxy object and no output schema, the description does the important work of describing what a result set looks like (unique, normalized URLs with optional `lastmod`). Remaining gaps—error behavior, proxy/country interaction, and cost implications—are handled in the schema text, so the description is adequate if not exhaustive.

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 baseline is 3, but the prose adds cross-parameter behavior rather than restating field docs: host scoping by default with `includeSubdomains` as the exception, and `search` as a case-insensitive substring filter. It leaves `limit` and the nested `proxy` object entirely to the schema, which is acceptable given full coverage.

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?

The description names a concrete verb and resource ('Hand back every URL a site lists') and immediately scopes it ('without reading the pages'), listing the sources: robots.txt, sitemaps (including gzipped and indexed ones), and links on the named page. This is clearly distinguishable from `scrape`, which it explicitly routes reading tasks to.

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

Usage Guidelines4/5

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

It gives a direct alternative-selection rule: 'To read a page, pass its URL to `scrape`,' which tells an agent this tool is for discovery, not extraction. It stops short of describing a broader when-to-use workflow (e.g., map first, then scrape selected URLs), which the schema's `sitemap` modes only partially imply.

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.

Resources