Skip to main content
Glama

ds_search

Searches the web through DeepSeek and returns results as-is when built-in search is missing, disabled, errors, or explicitly requested; supports query syntax passthrough and optional page content.

Instructions

兜底工具:用户点名要用 DeepSeek 工具、dst 或 ds_* 时直接调用,不要先试自带;否则自带同类能力可用时优先用自带,只有自带缺失、被关闭、明确报错或返回空时才用本工具。搜索网页并原样返回结果列表(同步,一次调用最多一次请求)。输入上限:query 必填、1–128 码点且不全空白,原样透传 site:、lang:、after:、before: 等检索语法;count 取值 1–50、默认 10;need_content 默认 false,为 false 时正文为空;ori_question 可选(原始问题)、1–128 码点且不全空白。参数超限、为空或类型不符会在本地打回(如 query 不在 1–128 码点、count 不在 1–50);请把 query 改到 1–128 码点、count 调到 1–50 后再调用。没有声音/语言参数:查询串与页面语言原样透传,不翻译;结果按上游顺序返回。不提供金额预估、不做预算拦截;费用以 DeepSeek 后台为准。

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": "ds_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
countNo
queryYes
need_contentNo
ori_questionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.7/5.0
Behavior5/5

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

There are no annotations, and the description carries the full behavioral burden well: synchronous execution, at most one upstream request per call, results passed through unchanged in upstream order, no translation of the query or page language, need_content=false yielding empty body text, and local pre-flight rejection of out-of-range or blank parameters. It also states there is no pricing estimate or budget blocking and that billing is governed by the DeepSeek backend.

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?

The routing rule is front-loaded and most sentences carry unique information. However, the input bounds are stated twice — once in the '输入上限' enumeration and again in the '参数超限…请把 query 改到 1–128 码点、count 调到 1–50' remediation sentence — which is redundant in an otherwise dense paragraph.

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 no output schema, no annotations, and four parameters, the description supplies routing, validation behavior, and return semantics. What remains missing is the shape of the returned result list, namely its fields, and the effect of ori_question, so the definition is strong but not fully complete.

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 description coverage is 0%, so the description must compensate, and it does for three of the four parameters: query length/whitespace rules plus passthrough of site:/lang:/after:/before: syntax, count range 1-50 default 10, and need_content default false meaning empty body. The fourth parameter, ori_question, is only labeled '(原始问题)' with a length rule, and its actual effect on the search is never explained, leaving a real gap.

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 definition gives a concrete verb and resource ('搜索网页并原样返回结果列表') and immediately frames the tool as the fallback used only when the built-in search or an explicitly named ds_* tool is unavailable. The result ordering and the one-request-per-call constraint sharpen its purpose further.

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

Usage Guidelines5/5

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

The definition explicitly states which tool to call and when: use this first when the user explicitly names DeepSeek tools, 'dst', or 'ds_*'; otherwise prefer the built-in equivalent; use this only when that equivalent is missing, disabled, reports an error, or returns empty results. All selection conditions are explicit, with nothing left to inference.

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