Skip to main content
Glama

duckduckgo_search

Read-only

Search DuckDuckGo web results for q and return normalized title, destination URL, description, and hostname with page-based pagination and region, time-range, and safe-search filters. Result URLs are decoded destinations, not DuckDuckGo click-tracking redirects. Use duckduckgo_news, duckduckgo_image, duckduckgo_video, or duckduckgo_shopping for vertical results.

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": {
      "q": "<q>"
    },
    "name": "duckduckgo_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYesSearch query
pageNo1-based page number, defaults to 1
regionNoDuckDuckGo region/locale code, e.g. us-en, uk-en, wt-wt (worldwide, the default)
time_rangeNoRestrict results to a recency window. Documented values: d, w, m, y.
safe_searchNoSafe search level, defaults to DuckDuckGo's own moderate setting when omitted. Documented values: strict, moderate, off.

Output Schema

NameRequiredDescriptionDefault
dataYesThe tool result payload (shape varies per tool; see each tool's docs resource).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • addedInput schema / properties / page / description
      Added value: +"1-based page number, defaults to 1"
    • addedInput schema / properties / q / description
      Added value: +"Search query"
    • addedInput schema / properties / region / description
      Added value: +"DuckDuckGo region/locale code, e.g. us-en, uk-en, wt-wt (worldwide, the default)"
    • addedInput schema / properties / safe_search / description
      Added value: +"Safe search level, defaults to DuckDuckGo's own moderate setting when omitted. Documented values: strict, moderate, off."
    • addedInput schema / properties / time_range / description
      Added value: +"Restrict results to a recency window. Documented values: d, w, m, y."
  2. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnly/openWorld/non-idempotent, and the description adds real behavioral value: results are page-paginated and URLs are decoded destinations rather than DuckDuckGo click-tracking redirects, which prevents downstream agents from mishandling links. It stops short of describing result-count limits per page or failure/empty-result behavior.

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?

Two sentences, no filler: capability and return shape first, sibling routing second. Every clause carries information an agent needs.

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 five-parameter read-only search with a full output schema and annotations, what remains to be conveyed – scope, return shape, URL semantics, and the vertical alternatives – is all present. Nothing needed for correct invocation is missing.

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 defaults (page=1, wt-wt, moderate safe search) and documented enum-like values are already in the schema. The description only restates that pagination is page-based and that region, time-range, and safe-search filters exist, adding little beyond the parameter descriptions themselves.

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?

States a specific verb+resource ('Search DuckDuckGo web results for `q`') and pins down what comes back: normalized title, destination URL, description, hostname. The final sentence explicitly separates it from the vertical-search siblings, so an agent can route without opening schemas.

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?

Names the four alternative tools (duckduckgo_news, _image, _video, _shopping) and the condition that selects them – vertical results – leaving general web search as the default. That is explicit alternative routing rather than implied usage.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.