Skip to main content
Glama

DeepSeek Web Search

deepseek_web_search

Search live web pages by keyword using DeepSeek Search API, returning titles, links, and snippets. Apply site filters and localization to find relevant, current results.

Instructions

使用 DeepSeek Search API 按关键词搜索实时网页,返回标题、链接、摘要,支持站点限定与本地化。

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": {
      "query": "<query>"
    },
    "name": "deepseek_web_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
countNo返回条数,1~50,默认 10。
queryYes搜索词,1~128 个 Unicode 字符,不能全为空白,支持 site:/-site:/-/精确短语/lang:/after:/before: 等搜索语法。
localizationNo用于优先返回本地化搜索结果的 IP 地址。
need_contentNo是否在 content 中返回网页正文,为 false 时 content 恒为空字符串。
ori_questionNo触发搜索的用户原始问题,1~128 个字符,有助于更好地理解搜索意图。

Output Schema

NameRequiredDescriptionDefault
resultsYes搜索结果列表

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

B3.3/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden; it does disclose the response shape (title, link, snippet) and that site restriction and localization are honored, which is useful. It says nothing about rate limits, quota, result freshness, or what happens on zero results, and it does not mention the 正文/content option that the schema exposes.

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?

A single front-loaded sentence: action, source API, and return payload in that order, with zero filler or repetition of the title.

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?

Because an output schema exists and the input schema is fully documented, the description needn't explain returns or parameters in detail, and it correctly stays brief. The remaining gap is routing guidance against deepseek_web_fetch for a 5-parameter search tool whose results are commonly followed by a fetch step.

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%, so every parameter is already documented in the schema, which sets the baseline at 3. The description adds only a light gloss — 站点限定 maps to the site:/-site: syntax and 本地化 to the localization IP parameter — without new syntax or behavior detail.

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 concrete verb and resource ('按关键词搜索实时网页') and names the return fields (标题、链接、摘要), so the agent knows exactly what it gets back. It is distinguishable from fetch/ASR/OCR/TTS siblings by the keyword-search framing, but it never explicitly contrasts itself with deepseek_web_fetch, which is the closest alternative.

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

Usage Guidelines2/5

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

There is no when-to-use or when-not-to-use guidance and no named alternative. The mention of 站点限定 and 本地化 hints at capability, not at selection criteria, so an agent must infer on its own when to search keywords versus fetch a known URL.

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