Skip to main content
Glama
NikkeTryHard

ddg-search

by NikkeTryHard

search

Retrieve DuckDuckGo search results with automatic failover across multiple backends, returning titles, URLs, and snippets to identify pages for further review.

Instructions

Search DuckDuckGo via ddg-search (local + remote backends). Discovery only — titles/URLs/snippets, not page proof. Then open promising URLs with fast-webfetch. Routing: auto = healthy low-use backends; manual = target/targets. On failure, read Attempts tags: [empty] = DDG no matches; [local]/[local-transport] = this machine (do not assume remote VPS missing packages); [remote-rpc]/[remote-tool-error] = remote answered badly; [timeout] = real wait timeout.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYesDuckDuckGo query. Prefer exact nouns, error strings, version, site/domain, or API names. Avoid vague one-word searches.
regionNoDuckDuckGo region code. Empty = default/global.
targetNoManual mode: single backend name, alias, or IP. Empty = all backends.
targetsNoManual mode: ordered backend names/aliases/IPs. Combined with target; duplicates ignored.
route_modeNo'auto' for normal failover; 'manual' only when targeting specific backend(s).auto
max_resultsNoMax results. Use 5-10 normally; raise when the first page looks noisy.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations, the description must carry the behavioral burden. It discloses the local+remote backend split, that it's read-only discovery, and decodes error tags to distinguish local vs remote failures. It does not mention rate limits, caching, or concurrency behavior, but for a search tool it covers the most critical operational behaviors.

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 description is a single dense paragraph, but every sentence adds value: purpose, follow-up action, routing modes, and failure decoding. It is slightly long but not verbose; front-loads the core purpose before details. Could be improved with bullet points but is acceptable.

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?

Given 6 parameters (1 required), an output schema exists (not shown), and helper sibling 'status', the description covers all necessary operational context: what it returns (titles/URLs/snippets), when to use each route mode, how to interpret failures, and the follow-up tool (fast-webfetch). Nothing essential is missing—an agent could call this tool correctly without further clarification.

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 baseline is 3. The description does not add meaning beyond the schema; it repeats the routing guidance already in route_mode and the query tips already in the query parameter. The extra notes about backend combinations and error tags are behavioral rather than parameter-specific, so no increment.

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 and resource: 'Search DuckDuckGo via ddg-search'. It clearly delimits scope with 'Discovery only — titles/URLs/snippets, not page proof', distinguishing it from follow-up fetch tools and giving an agent an unambiguous sense of what it returns and what it does not.

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?

Provides explicit routing rules: 'auto = healthy low-use backends; manual = target/targets' and tells when to use manual mode. It also instructs on failure interpretation: 'read Attempts tags' with specific meanings for [empty], [local]/[local-transport], [remote-rpc]/[remote-tool-error], and [timeout]. This is actionable when-to-use and how-to-handle guidance.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/NikkeTryHard/ddg-search'

If you have feedback or need assistance with the MCP directory API, please join our Discord server