Skip to main content
Glama
DeepSeek Search MCP

DeepSeek Search MCP

by ky-rgb

DeepSeek Web Search

deepseek_search
Read-onlyIdempotent

Search the web via DeepSeek's engine for ranked, structured results with summaries, scores, and optional full-page content; supports site, language, and date filters.

Instructions

Search the web with DeepSeek's own search engine and return ranked, structured results.

Each result has:

  • rerank_score: 0-3 overall ranking score; >= 1.5 means high quality.

  • title, url: page title and link.

  • snippet: ~100-200 chars, meant for display; summary: ~600-800 chars, meant for LLM reading.

  • content: full page text in Markdown; empty unless need_content=true.

  • site_name, site_icon, date (RFC 3339 UTC or null), authority (0-4; >= 3 very authoritative).

Search syntax (passed through to the engine, combinable): site:github.com restrict to a site (use OR to allow several) -site:example.com exclude a site -word / -"exact phrase" exclude pages containing a word/phrase "exact phrase" exact match lang:zh,en restrict language(s) after:2025 / after:2025-01-01 published after a date before:2026 / before:2026-06-01 published before a date

Billing is per successful request regardless of count, so prefer one search with count=10-50 over several tiny ones. Keep need_content=false and read summary unless you truly need full pages; content can be very large.

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_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
countNoNumber of results to return, 1-50 (default 10). Billing is per request, not per result, so ask for more in one call instead of searching repeatedly.
queryYesSearch query, 1-128 characters (not all whitespace). Supports search operators: site:, -site:, -, "exact phrase", -"phrase", lang:zh,en, after:2025-01-01, before:2026-06-01; multiple operators can be combined.
localizationNoOptional: IP address suggesting where the user is located, used to prefer local results (e.g. "1.2.3.4").
need_contentNoIf true, include each page's full text in the `content` field (empty string otherwise). Content can be very large; prefer summaries first.
ori_questionNoOptional: the user's original question that triggered this search (1-128 chars). Improves intent understanding.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A4/5.0
Behavior4/5

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

Goes well beyond the readOnly/openWorld/idempotent annotations by disclosing the billing model (per successful request, not per result) and the cost profile of returning full page content. The field-by-field listing overlaps with the output schema, but the quality thresholds (rerank_score >= 1.5, authority >= 3) add interpretation that structured fields alone rarely convey.

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 purpose, then organized into two clearly labeled blocks (result fields, search syntax) with a closing cost note. It is longer than necessary given an output schema exists, but each remaining line carries usable information and there is no 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?

An agent has everything needed to call it well: valid query syntax, result-count policy, content-size tradeoff, and how to read ranking and authority scores. Any remaining gap about return structure is covered by the output schema.

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 each parameter is already documented in the input schema, and the search-operator syntax in the description largely duplicates the `query` description. The description does add strategy-level meaning for `count` (batching to exploit per-request billing) and `need_content` (prefer summaries), which lifts it slightly, but the baseline of 3 is right when the schema does the heavy lifting.

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 ("Search the web with DeepSeek's own search engine") plus the output shape ("ranked, structured results"), which makes it easy to distinguish from a page-retrieval tool like deepseek_fetch. It never names the sibling explicitly, so the differentiation is inferred from the verb rather than stated.

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 concrete operational guidance: consolidating searches into one call with count=10-50 because billing is per request, and preferring need_content=false with `summary` unless full pages are truly needed. It stops short of stating when to use this versus fetching a known URL with deepseek_fetch, so it lacks explicit exclusions.

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