Skip to main content
Glama

DeepSeek 网页搜索

deepseek_search
Read-onlyIdempotent

Search the web via DeepSeek's standalone search API; submit multiple queries in parallel and get merged, deduplicated titles, URLs, relevance scores, authority, dates, and summaries.

Instructions

用 DeepSeek 官方独立搜索接口检索网页,返回标题、URL、相关性分数、权威度、发布日期与摘要。支持一次提交多个查询并行执行,跨查询自动合并去重。不调用任何模型,按成功请求计费(5 元/1000 次,无结果不计费)。查询语法支持 site:、-site:、"精确短语"、-排除词、lang:zh,en、after:2025-01-01、before:2026-06-01。

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": {
      "queries": "<queries>"
    },
    "name": "deepseek_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
countNo每个查询返回的结果条数上限(官方 1-50,不影响计费)。
queriesYes要搜索的查询(每条 ≤128 个 Unicode 字符),并行执行后合并去重。用 2-4 条不同角度的查询覆盖同一主题,比单条查询召回更全。
localizationNo用于优先返回本地化结果的 IP 地址(IPv4/IPv6),可省略;非法 IP 会在本地被拒绝。
need_contentNo为 true 时额外返回页面正文(token 消耗明显增加),仅在摘要不足时开启。
ori_questionNo触发本次搜索的用户原始问题(1-128 字符)。从对话派生短 query 时填上可改善搜索意图理解与召回。
max_summary_charsNo单条结果摘要的字符上限。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly, openWorld, idempotent and non-destructive, and the description still adds substantial context beyond them: no model invocation, per-successful-request billing (5元/1000次, no-result requests are free), automatic cross-query merge and de-duplication, and the exact field set returned. It does not mention rate limits or failure behavior beyond the schema's invalid-IP note, keeping it short of a 5.

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?

Three sentences: what it returns, then parallel/dedup behavior, then billing and query syntax. The most decision-relevant facts (return fields, no model calls, cost model) are front-loaded, and no sentence is filler.

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?

For a six-parameter, no-output-schema tool, the description covers the return shape, the merge behavior the caller must expect, the cost model, and the query syntax. Combined with 100% schema coverage and explicit annotations, an agent has everything needed to call it correctly and predict its cost.

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 is 100%, so the baseline would be 3; the description earns above that by documenting the supported query operators (site:, -site:, exact phrases, exclusions, lang:, after:, before:) which the schema does not convey at all and which directly change how the queries array is written. It adds no guidance about count, localization, or ori_question beyond what the schema already explains.

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 and resource ('用 DeepSeek 官方独立搜索接口检索网页') and enumerates the returned fields (title, URL, relevance score, authority, publish date, summary), so the agent knows exactly what it gets back. It does not differentiate itself from the sibling deepseek_fetch (URL retrieval vs web search), which is the one distinction an agent would most likely need.

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?

Usage is implied by 'web search' and by the note that multiple queries run in parallel and should cover a topic from 2-4 angles, which is real practical guidance. However, the description never states when to prefer this over deepseek_fetch or a direct fetch, and gives no exclusions or preconditions, so the agent must infer the routing.

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