Skip to main content
Glama

DeepSeek 网页抓取

deepseek_fetch
Read-onlyIdempotent

Fetch up to 10 public HTTP/HTTPS pages and return their titles and Markdown body text; use offset to read long pages in parts.

Instructions

用 DeepSeek 官方独立抓取接口读取 1-10 个公开 HTTP/HTTPS 页面,返回 Markdown 正文与标题。不调用任何模型,按成功请求计费(5 元/1000 次,未取到正文不计费)。支持并行。长页面可配合 offset 分次读取(每次都会重新抓取并计费)。

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": {
      "urls": "<urls>"
    },
    "name": "deepseek_fetch"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlsYes要抓取的页面 URL(≤8192 字符,必须是含 host 的 HTTP/HTTPS 地址,不能带用户名或密码)。
offsetNo从正文第几个字符开始返回,用于接着上次的进度读长页面。截断时会给出下次应使用的 offset。注意官方没有服务端分页,每次调用都会完整抓取并计费。
max_charsNo单个页面本次返回的正文上限。多 URL 时 24000 字符的总预算按剩余页面均摊,max_chars 仍作为单页上限。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.4/5.0
Behavior5/5

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

Although annotations already declare the read-only, open-world, non-destructive profile, the description adds material context they do not carry: per-success billing at 5 yuan/1000 calls, no charge when no body is retrieved, parallel execution, and the fact that each offset call re-fetches and re-bills. These billing and refetch behaviors are exactly what an agent needs to avoid costly mistakes.

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?

Purpose is front-loaded in the first sentence, followed by cost, concurrency, and long-page handling in a compact sequence with no filler. Billing is mentioned twice in slightly different forms, which is the only redundancy.

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

Completeness5/5

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

With no output schema, the description still discloses the return shape (Markdown body plus title) and notes that truncation surfaces the next offset, so an agent knows how to continue. For a three-parameter, schema-complete tool this leaves nothing essential unstated.

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 url format, offset semantics, and max_chars budgeting are already fully documented in the schema. The description only restates the offset-refetch-billing caveat that the schema also states, adding no new meaning beyond it.

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 ('读取 1-10 个公开 HTTP/HTTPS 页面'), the returned payload ('Markdown 正文与标题'), and explicitly rules out model invocation, which cleanly separates it from the model-backed siblings such as deepseek_search. An agent can identify the tool without opening the schema.

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?

It gives clear conditions for use (public HTTP/HTTPS pages, 1-10 per call) and explains the long-page pattern via offset with its cost consequence. It stops short of naming an alternative for cases like page discovery, so there is no explicit when-not guidance.

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