Skip to main content
Glama

map

Read-only

Discover all reachable URLs on a site by following links up to a set depth. Returns internal and external link counts, supports keyword filters, SPAs, and per-level limits.

Instructions

Discover all reachable URLs under a given site. Useful for understanding a domain's structure before crawling, or finding the sub-pages an agent should scrape. Returns lists of internal links, external links, and counts. Honors depth and limit parameters.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesThe starting URL for discovery (typically a homepage or section root).
depthNoHow many link-hops from the starting URL to follow.
limitNoMaximum number of URLs to return overall.
searchNoOptional keyword filter — only return URLs whose path/title matches.
useBrowserNoRender with a headless browser (for SPAs).
limitPerLevelNoMaximum URLs collected per depth level (controls breadth).
includeSubdomainsNoInclude URLs on subdomains of the starting host.
includeExternalLinksNoAlso collect (but do not follow) external links.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYes
linksYes
durationMsYes
totalLinksYes
externalLinksYes
totalExternalLinksYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.1

TDQS

A4/5.0
Behavior3/5

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

The description adds useful behavioral context beyond the readOnlyHint and openWorldHint annotations: it returns internal/external link lists and counts, and it honors depth/limit parameters. However, 'Returns lists of ... external links' is slightly imprecise because includeExternalLinks defaults to false, so the tool only collects external links when explicitly enabled.

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 sentences with no filler: the first states what it does, the second says when it is useful, and the third describes output and parameter behavior. The key purpose is front-loaded and every sentence earns its place.

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 8-parameter tool with full schema coverage, annotations, and an output schema, the description provides enough high-level orientation for an agent to select and invoke it. It does not mention SPA handling or subdomain options, but those are fully described in the input 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 coverage is 100%, so the schema already documents all 8 parameters. The description only reinforces depth and limit, which adds no new meaning beyond what the schema provides. Baseline 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?

The description states a specific verb and resource: 'Discover all reachable URLs under a given site.' It also distinguishes itself from sibling tools by framing the tool as pre-crawl reconnaissance and as a way to find sub-pages to scrape, which separates it from crawl/scrape tools.

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?

Gives two concrete use contexts: understanding a domain's structure before crawling, and finding sub-pages an agent should scrape. This makes when-to-use fairly clear, but it does not explicitly name alternatives or state when not to use it, so it stops short of a 5.

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