Skip to main content
Glama

Engine Heart

web.web_read

读取任意网页的正文。三档引擎:常驻 Lightpanda CDP(约 1.6s/70MB,实测 10 站全通)→ Lightpanda dump markdown(结构好,保留标题/表格/链接)→ Chromium(完整 JS、可换真 UA)。适合新闻、文章、文档、产品页、博客。自动剥离导航/侧栏/广告、base64 内联图、广告拦截提示。实测 10 个主流中文站 100% 成功、均 1.62s;并发 5 站 2.74s。禁止访问内网地址。

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.web_read"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYes完整网址,含 http(s):// 或裸域名
engineNoauto(默认,先 Lightpanda 再 Chromium)/ lightpanda / chromiumauto
max_charsNo正文最大字符数,500~20000,默认 8000

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description carries the full disclosure burden and does well on processing behavior: engine fallback ordering, latency/memory figures, automatic removal of navigation/sidebars/ads, base64 inline images and ad-block notices, plus the intranet access prohibition. However it never describes the return format (markdown vs plain text), truncation behavior when max_chars is hit, or whether failures return partial content, which are the behaviors an agent most needs for a read tool.

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?

Front-loaded with the core capability, then progressively adds engine tiers, suitable content types, and pre-processing behavior. Sentences are dense but each carries distinct information. The benchmark statistics (10 sites, 1.62s, 5 concurrent sites at 2.74s) are the weakest part — marketing-flavored and marginally useful for tool selection.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, so the description should describe what comes back; it mentions markdown structure preservation for one engine tier but never states the actual response shape or whether truncation is flagged. Combined with the absent return-format and error semantics, an agent knows how to call it but not fully what to expect. The engine and safety context is otherwise reasonably complete for a 3-parameter read tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage for 3 parameters is 100%, so the baseline is 3. The description earns an extra point by explaining the tradeoff behind the engine tiers — Lightpanda as low-cost default with structured markdown output versus Chromium for full JavaScript and real user-agent swapping — which clarifies why an agent would override engine=auto. The url and max_chars parameters are only echoed from the schema, not enriched.

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?

States a specific verb+resource: reads the main body text of any web page ("读取任意网页的正文"). It immediately distinguishes this content-extraction capability from other web tools by listing the three-engine architecture and the strip-down post-processing, so an agent understands it returns cleaned article text rather than raw HTML or an image. It stops short of naming the sibling web.screenshot_url to explicitly rule out visual capture.

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 concrete positive guidance on when to use it — news, articles, documentation, product pages, blogs — which is clear context for selection. It also states a hard constraint (no internal/intranet addresses allowed). It does not describe when NOT to use it in favor of an alternative sibling, so it falls 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.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources