Skip to main content
Glama

stagenth · 网页数据

site_map

发现站点 URL 清单:优先 robots.txt / sitemap.xml,无站点地图时退化为入口页链接发现。

    配合 scrape_url / crawl 使用:先 site_map 挑准页面,再精准抓取,省 credit。
    

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYes站点入口 URL(用于确定站点与域名)
max_urlsNo最多返回 URL 数(1-1000)

TDQS

A4.2/5.0
Behavior4/5

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

No annotations are provided, so the description carries full burden. It discloses key behaviors: prioritizing robots.txt/sitemap.xml and falling back to entry-page link discovery when no sitemap exists. It also hints at cost efficiency ('省 credit'). While it doesn't cover rate limits or error handling, the disclosed behavior is meaningful and non-generic.

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 concise sentences deliver the core purpose, method, fallback behavior, and integration guidance. Every sentence earns its place, with no filler or repetition of schema content.

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?

Given the tool's moderate complexity, the description adequately covers how it discovers URLs and how to use it in conjunction with sibling tools. It lacks an explicit statement about return format, but that's not required given the absence of an output schema and the simplicity of the tool. Overall, it provides sufficient context for an agent to select and invoke it correctly.

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%: both 'url' and 'max_urls' are already described in the schema. The description adds no extra parameter-level detail beyond what the schema provides, so it receives the baseline score for high 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 uses a specific verb+resource: '发现站点 URL 清单' (discover site URL list) and clearly states the method (robots.txt/sitemap.xml first, fallback to entry page links). It distinguishes itself from siblings like crawl and scrape_url by focusing on URL list discovery rather than full crawling or content extraction.

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?

The description explicitly advises using site_map before scrape_url or crawl to select target pages and save credits, providing clear when-to-use context. It doesn't mention when not to use it or alternatives beyond the stated sibling tools, but the cooperative workflow is well articulated.

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.

TDQS

A4.4/5.0
Disambiguation5/5

Each tool has a clearly distinct role: site_map discovers URLs, scrape_url fetches a single page, crawl fetches multiple pages, and extract returns structured JSON. The overlap between scrape_url and crawl is clearly addressed in descriptions by single vs multi-page, so an agent can easily select the right tool.

Naming Consistency4/5

The names are mostly intuitive, with two verbs (crawl, extract) and two noun phrases (scrape_url, site_map). The mix of verb and noun forms is a slight inconsistency, but all names are lowercase with underscores, so the pattern is still predictable.

Tool Count5/5

With only 4 tools, each serves a distinct step in the web data workflow: discovery, single-page fetch, multi-page crawl, and structured extraction. This is an appropriate scope for the server's purpose, neither too sparse nor overwhelming.

Completeness5/5

The tool set covers the full pipeline from discovering URLs (site_map) to fetching content (scrape_url, crawl) to extracting structured data (extract). There are no obvious gaps for the server's stated purpose of web data collection and transformation.

Resources