Skip to main content
Glama
search-all-in-one

search-all-in-one

by bjk333

Safe Web Fetch, Map & Crawl

omni_fetch
Read-onlyIdempotent

Fetch public web page text from one or up to 20 URLs safely, map a site's docs tree, or crawl relevant top pages; includes query trimming, SSRF blocking, and untrusted-content tagging.

Instructions

安全拉取单条或批量(urls,上限 20)公网 URL 正文(支持 query 聚焦裁剪与 PDF/GitHub/PyPI/npm 官方 API),或设置 mode='map' 映射站点文档目录树、mode='crawl' 一键站内定向采集 Top-N 正文,内置 SSRF 阻断与 untrusted_content 标记。

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "omni_fetch"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNo单条目标公网 http/https URL(与 urls 二选一)
modeNofetch=读取正文,map=映射站点目录树,crawl=按 query 映射并并发采集站内 Top-N 正文fetch
urlsNo批量并发抓取 URL 列表(上限 20 条,单条失败隔离)
queryNo可选聚焦查询词(fetch/crawl 模式按相关性裁剪长文,map/crawl 模式按相关性排序 URL)
maxUrlsNo仅 mode='map' 生效:最大返回 URL 数量
noCacheNo绕过磁盘 TTL 缓存强制实时抓取
maxCharsNo
maxPagesNo仅 mode='crawl' 生效:站内最大采集页数
timeoutSecNo
concurrencyNo批量抓取最大并发数
preferLlmsTxtNo对站点根路径优先探测 /llms.txt

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.10.0

TDQS

A3.7/5.0
Behavior4/5

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

The annotations already cover read-only, idempotent, non-destructive, and open-world behavior, so the description's extra detail here is valuable: built-in SSRF blocking, untrusted_content marking on fetched content, per-URL failure isolation in batch mode, disk TTL caching with a noCache bypass, and a 20-URL batch cap. The one gap is that it does not say whether fetched content is returned verbatim or summarized.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is a single dense sentence that front-loads the primary verb and the resource, with the mode alternatives following in a logical order. There is no filler, but the heavy parenthetical nesting makes it harder to parse than it needs to be.

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 11-parameter tool with an output schema and fully populated annotations, the description covers the mode split, the batch limits, safety behavior, and special content handling. What it leaves out is minor: it does not explain what happens when both url and urls are supplied, and it does not specify truncation behavior when maxChars is set.

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?

With 82% schema-description coverage, the schema itself already documents nearly every parameter, so the baseline is a 3. The description does add some meaning beyond the schema by noting official API support for PDF, GitHub, PyPI, and npm, and how query trimming applies in fetch and crawl. The 20-URL cap and the query behavior are restated from the schema and add nothing new.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names specific verbs and resources: fetch body text from single or batch public URLs, mode='map' to map a site's documentation tree, and mode='crawl' to collect Top-N in-site pages. An agent can tell what the tool does and how its three modes differ. It stops short of contrasting itself with siblings such as omni_search or omni_research, so it scores a 4 rather than a 5.

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

Usage Guidelines3/5

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

The description gives usage context only implicitly, explaining what each mode does but never stating when to choose this tool over omni_search or omni_research, nor any case in which it should not be used. The mode semantics largely duplicate the enum descriptions already in the schema. It is enough to get started and nothing more.

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