Skip to main content
Glama

web_map

Read-onlyIdempotent

Lists a website's page URLs (no content) with Tavily Map so you can discover docs or crawl targets before reading; supports depth and path filters.

Instructions

List the pages of a website (URLs only, no content) using Tavily Map — e.g. to discover all pages of a documentation site before reading the relevant ones. Requires a Tavily API key (≈1 credit per 10 pages).

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

Input Schema

NameRequiredDescriptionDefault
urlYesRoot URL to start from (http/https)
freshNoBypass the result cache and force a new request
limitNoMax URLs to return (1–500, default 50)
maxDepthNoHow many link levels deep to go (1–5, default 1)
selectPathsNoRegex path filters to include, e.g. ['/docs/.*']
excludePathsNoRegex path filters to exclude, e.g. ['/blog/.*']
instructionsNoNatural-language focus, e.g. 'only API reference pages' (costs more credits)
allowExternalNoFollow links to other domains (default false)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.6.0

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, openWorldHint, idempotentHint and destructiveHint=false, so the safety profile is covered. The description adds real value beyond that with the API-key requirement and the credit cost model ('≈1 credit per 10 pages'), which affects whether an agent should call it or use a cheaper alternative. It says nothing about caching behaviour, failure modes, or result ordering, though the schema's 'fresh' parameter covers cache partially.

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?

Two compact sentences, front-loaded with what the tool returns and followed by the primary use case plus the operational cost note. Every clause earns its place and nothing is repeated from the schema or annotations.

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 an eight-parameter read-only tool with no output schema, the description covers return shape ('URLs only'), the use case, the auth requirement and the cost model, which is close to what an agent needs before calling it. It is slightly thin on how depth and path filters affect the scale of results, but that is largely handled by the schema.

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%, with each of the eight parameters documented in detail including defaults and ranges, so the schema carries the full burden. The description adds no parameter guidance such as when to raise maxDepth or how instructions interact with cost, so the baseline 3 applies.

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 gives a specific verb and resource ('List the pages of a website') and scopes the output precisely with '(URLs only, no content)', which immediately distinguishes it from the content-fetching siblings like web_get_contents and web_crawl. It also names the underlying engine (Tavily Map), so an agent knows exactly what is being invoked.

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 provides a concrete when-to-use scenario ('to discover all pages of a documentation site before reading the relevant ones'), which tells the agent this is a discovery step that precedes extraction. It stops short of explicitly naming the alternative tool to use instead when full content is needed, or stating exclusions, so it is clear but not fully routing.

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