Skip to main content
Glama

List a site's pages

map_site
Read-onlyIdempotent

Discover the page URLs of a public website (from its sitemap and links) without downloading them. Use it to choose what to pass to scrape_url. Costs 1 credit.

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
urlYesPublic URL of the site's home page or a section of it.
limitNoMaximum number of page URLs to return (1 to 500).
searchNoOptional keyword; only URLs relevant to it are returned.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/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 behavior, so the safety profile is covered. The description adds value beyond that with a concrete cost disclosure ("Costs 1 credit") and the key behavioral fact that pages are enumerated but not fetched, which matters when choosing between this and scrape_url. Return details are left to the output schema.

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?

Three short sentences, front-loaded with purpose followed by the pipeline guidance and the cost. No filler or redundancy; every sentence carries a distinct, actionable fact.

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?

The definition covers purpose, mechanism, cost, and its role relative to scrape_url, while the input schema documents all three parameters and an output schema exists for return values. Minor omission: no note on the practical impact of limit/search when mapping a large site, but nothing essential for a correct call is missing.

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 url, limit, and search are already fully documented with defaults and bounds. The description adds no syntax, format, or semantic detail beyond the schema, so the baseline of 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?

Specific verb and resource ("Discover the page URLs of a public website"), plus the mechanism ("from its sitemap and links") and an explicit scope limitation ("without downloading them"). It also distinguishes itself from the sibling scrape_url by positioning itself as the discovery step that feeds scraping.

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?

Explicitly states the usage context: "Use it to choose what to pass to scrape_url," which tells the agent this is the discovery/planning step before fetching content. It also implicitly excludes fetching ("without downloading them"). It lacks an explicit when-not or a note about using the search/limit parameters to narrow discovery, but the routing guidance is clear.

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