Skip to main content
Glama
asg4090

web_to_readable

by asg4090

web_to_readable

Fetches a public webpage or PDF URL, extracts readable content, saves Markdown, JSON, HTML and images, and returns full Markdown in one call; optional PDF export.

Instructions

网页读取和归档的默认入口。给网址,一次调用自动提取正文、保存 Markdown/JSON/HTML 和图片,并直接返回完整 Markdown 正文(markdown 字段和首个文本内容块),无需二次读取。默认不生成 PDF;用户要求 PDF 时设置 include_pdf=true,可指定纸张和方向。默认返回全文,仅显式设置 max_content_chars 时限长。全流程由脚本执行。

Input Schema

NameRequiredDescriptionDefault
urlYes公开网页或 PDF 的完整 http/https 网址。
mediaNoscreen 使用屏幕样式,print 使用网页打印样式。screen
paperNoPDF 纸张;include_pdf=true 时使用。A4
filenameNo可选输出资料夹名称。
landscapeNoPDF 是否横向;include_pdf=true 时使用。
include_pdfNo是否额外导出 PDF;默认关闭,用户要求 PDF 时开启。
wait_secondsNo
wait_selectorNo
content_selectorNo可选正文区域 CSS 选择器。
max_content_charsNo可选正文返回长度上限;默认返回完整 Markdown,不需再次调用读取接口。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, openWorldHint=true, non-idempotent and non-destructive; the description adds the useful context that files (Markdown/JSON/HTML/images) are written as a side effect and that PDF is off by default. It does not say where artifacts are written, what happens on fetch failure, or whether repeated calls overwrite output — meaningful gaps for a non-idempotent write tool. No contradiction with the annotations.

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 default entry-point claim and the one-call-read guarantee, then the optional behaviors. Dense but efficient; the closing sentence '全流程由脚本执行' adds little actionable information.

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?

With 10 parameters and no output schema, the description covers the return shape (markdown field and first text content block), the default full-text behavior, and the PDF opt-in. It leaves artifact location and the wait_seconds/wait_selector tuning unaddressed, but the essentials for calling it correctly are present.

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 80%, so the baseline is 3. The description adds selection logic for include_pdf, paper/orientation, and max_content_chars, but wait_seconds and wait_selector have no documentation in either the schema or the description, leaving two parameters opaque.

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 combination: read a web page, extract the main body, archive Markdown/JSON/HTML plus images, and return the Markdown in a single call. It also positions itself as the 'default entry point' and says no second read is needed, which implicitly separates it from read_exported_article. It stops short of naming the sibling outright, so the differentiation is inferred rather than explicit.

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 clear conditional guidance: default behavior returns full text, set max_content_chars only when truncation is wanted, and set include_pdf=true only when the user asks for a PDF. No explicit 'do not use this when…' or named alternative is given, so an agent must infer the boundary with read_exported_article.

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

Deploy Server

Other Tools