Skip to main content
Glama
mcp-ddg-research

mcp-ddg-research

by isyuricunha

ddg_deep_search

Read-only

Search DuckDuckGo, then extract text from multiple result pages in parallel to support manual research without AI-generated summaries.

Instructions

Legacy DuckDuckGo search plus parallel webpage extraction. No AI synthesis.

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

Input Schema

NameRequiredDescriptionDefault
queryYesWeb search query text.
max_pagesNoNumber of top search result pages to fetch in ddg_deep_search. Omit to inherit.
max_resultsNoFinal number of search results returned after URL dedupe and optional domain controls. This is not the provider request window. Omit to inherit.
safe_searchNoSafe search level: off, moderate, or strict (provider support varies). Omit to inherit.
time_filterNoRecency: day, week, month, or year (provider support varies). Use any to override freshness.
search_windowNoInternal provider result count requested before URL dedupe, domain filtering, and final max_results capping. This is a result-count window, not a time range or number of days.
allowed_domainsNoExclusive domain allowlist. When provided, only matching domains and their subdomains are kept.
blocked_domainsNoExclusion list of domains to remove from search results. Exact domains and subdomains match; lookalike substring matches do not.
max_concurrencyNoPer-call concurrent page fetch limit for ddg_deep_search. If omitted, MAX_CONCURRENCY from the environment is used. Omit to inherit.
preferred_domainsNoStable ordering preference. Matching domains are moved earlier while preserving relative order; this is not exclusive filtering and does not add numeric scores.
max_chars_per_pageNoMaximum number of extracted characters returned per fetched page. Omit to inherit.

Output Schema

NameRequiredDescriptionDefault
pagesYes
queryYes
cachedYes
sourcesYes
failed_pagesYes
search_errorNo
search_providerYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed33 schema fields changedv0.17.3
    • changedInput schema / properties / allowed_domains / anyOf
      Previous value: -[
      -  {
      -    "items": {
      -      "type": "string"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "items": {
      +      "type": "string"
      +    },
      +    "maxItems": 50,
      +    "type": "array"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedInput schema / properties / blocked_domains / anyOf
      Previous value: -[
      -  {
      -    "items": {
      -      "type": "string"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "items": {
      +      "type": "string"
      +    },
      +    "maxItems": 50,
      +    "type": "array"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedInput schema / properties / max_chars_per_page / anyOf
      Added value: +[
      +  {
      +    "maximum": 50000,
      +    "minimum": 1000,
      +    "type": "integer"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedInput schema / properties / max_chars_per_page / default
      Previous value: -12000New value: +null
    • changedInput schema / properties / max_chars_per_page / description
      Previous value: -"Maximum number of extracted characters returned per fetched page."New value: +"Maximum number of extracted characters returned per fetched page. Omit to inherit."
    • removedInput schema / properties / max_chars_per_page / maximum
      Removed value: -50000
    • removedInput schema / properties / max_chars_per_page / minimum
      Removed value: -1000
    • removedInput schema / properties / max_chars_per_page / type
      Removed value: -"integer"
    • changedInput schema / properties / max_concurrency / description
      Previous value: -"Per-call concurrent page fetch limit for ddg_deep_search. If omitted, MAX_CONCURRENCY from the environment is used."New value: +"Per-call concurrent page fetch limit for ddg_deep_search. If omitted, MAX_CONCURRENCY from the environment is used. Omit to inherit."
    • addedInput schema / properties / max_pages / anyOf
      Added value: +[
      +  {
      +    "maximum": 10,
      +    "minimum": 1,
      +    "type": "integer"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedInput schema / properties / max_pages / default
      Previous value: -5New value: +null
    • changedInput schema / properties / max_pages / description
      Previous value: -"Number of top search result pages to fetch in ddg_deep_search."New value: +"Number of top search result pages to fetch in ddg_deep_search. Omit to inherit."
    • removedInput schema / properties / max_pages / maximum
      Removed value: -10
    • removedInput schema / properties / max_pages / minimum
      Removed value: -1
    • removedInput schema / properties / max_pages / type
      Removed value: -"integer"
    • addedInput schema / properties / max_results / anyOf
      Added value: +[
      +  {
      +    "maximum": 30,
      +    "minimum": 1,
      +    "type": "integer"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedInput schema / properties / max_results / default
      Previous value: -10New value: +null
    • changedInput schema / properties / max_results / description
      Previous value: -"Final number of search results returned after URL dedupe and optional domain controls. This is not the provider request window."New value: +"Final number of search results returned after URL dedupe and optional domain controls. This is not the provider request window. Omit to inherit."
    • removedInput schema / properties / max_results / maximum
      Removed value: -30
    • removedInput schema / properties / max_results / minimum
      Removed value: -1
    • removedInput schema / properties / max_results / type
      Removed value: -"integer"
    • changedInput schema / properties / preferred_domains / anyOf
      Previous value: -[
      -  {
      -    "items": {
      -      "type": "string"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "items": {
      +      "type": "string"
      +    },
      +    "maxItems": 50,
      +    "type": "array"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedInput schema / properties / query / description
      Previous value: -"DuckDuckGo search query text."New value: +"Web search query text."
    • addedInput schema / properties / query / maxLength
      Added value: +4000
    • addedInput schema / properties / safe_search / anyOf
      Added value: +[
      +  {
      +    "enum": [
      +      "off",
      +      "moderate",
      +      "strict"
      +    ],
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedInput schema / properties / safe_search / default
      Previous value: -"off"New value: +null
    • changedInput schema / properties / safe_search / description
      Previous value: -"DuckDuckGo safe search level: off, moderate, or strict."New value: +"Safe search level: off, moderate, or strict (provider support varies). Omit to inherit."
    • removedInput schema / properties / safe_search / enum
      Removed value: -[
      -  "off",
      -  "moderate",
      -  "strict"
      -]
    • removedInput schema / properties / safe_search / type
      Removed value: -"string"
    • changedInput schema / properties / search_window / description
      Previous value: -"Internal provider result count requested from DuckDuckGo before URL dedupe, domain filtering, and final max_results capping. This is a result-count window, not a time range or number of days."New value: +"Internal provider result count requested before URL dedupe, domain filtering, and final max_results capping. This is a result-count window, not a time range or number of days."
    • changedInput schema / properties / time_filter / anyOf
      Previous value: -[
      -  {
      -    "enum": [
      -      "day",
      -      "week",
      -      "month",
      -      "year"
      -    ],
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "enum": [
      +      "any",
      +      "day",
      +      "week",
      +      "month",
      +      "year"
      +    ],
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedInput schema / properties / time_filter / description
      Previous value: -"DuckDuckGo time filter for search recency: day, week, month, or year."New value: +"Recency: day, week, month, or year (provider support varies). Use any to override freshness."
    • removedOutput schema / properties / search_provider / enum
      Removed value: -[
      -  "ddgs",
      -  "duckduckgo_html",
      -  "auto",
      -  "all",
      -  "bing_html",
      -  "4get",
      -  "mwmbl",
      -  "freeserp",
      -  "keenable",
      -  "searxng",
      -  "wikipedia",
      -  "hackernews"
      -]
  2. First observedv0.13.0

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, openWorldHint, idempotentHint=false, and destructiveHint=false. The description adds real value beyond them by disclosing that pages are fetched in parallel and that no AI synthesis is applied, but it says nothing about latency, cost, or failure behavior when pages cannot be fetched.

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?

Two short sentences with no waste and the core mechanism stated first. The size is appropriate, though 'legacy' is an unearned word that adds ambiguity rather than information.

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?

The tool has 11 parameters, an output schema, and rich annotations, so the description's burden is reduced. Still, for a parallel page-fetching tool sitting among nine siblings, it omits any guidance on when to choose it and leaves 'legacy' undefined, which is a meaningful gap for agent selection.

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 all 11 parameters — including the nuanced distinction between search_window and max_results — are already documented in the schema. The description adds no parameter-level meaning, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description identifies the mechanism — DuckDuckGo search plus parallel webpage extraction — and explicitly negates AI synthesis, which tells an agent this returns raw material. However, 'legacy' is unexplained and there is no differentiation from the numerous sibling search tools (ddg_search, web_search, vertical_search), so the agent cannot tell what this variant uniquely offers.

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?

'No AI synthesis' only implicitly suggests when to prefer this over web_research or web_answer; there is no explicit when-to-use or when-not-to-use statement, no mention of prerequisites, and no named alternative. Usage must be inferred from the negation alone.

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