Skip to main content
Glama
SearXNG MCP Server

SearXNG MCP Server

by the-bao

SearXNG Autocomplete

searxng_autocomplete
Read-onlyIdempotent

Get search query autocomplete suggestions from SearXNG for partial queries, returning completion options that help refine and expand searches.

Instructions

Get search query autocomplete suggestions from SearXNG. Returns a list of suggested completions for a partial search query.

Args:

  • query (string, required): Partial search query

  • language (string, optional): Language code (e.g., 'en', 'zh')

Returns: Array of suggested search query completions.

Examples:

  • query="rust prog" -> ["rust programming", "rust programming language", "rust programming tutorial"]

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

Input Schema

NameRequiredDescriptionDefault
queryYesPartial search query to get autocomplete suggestions for.
languageNoLanguage code for suggestions (e.g., 'en', 'zh').

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.2

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, openWorldHint, idempotentHint and destructiveHint=false, so the safety profile is covered. The description adds value the annotations cannot: it states the return shape ('Array of suggested search query completions') and gives a concrete input-to-output example, which matters because there is no output schema. It stops short of mentioning error or 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.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose sentence is front-loaded and the whole entry is short. The Args block mostly duplicates the schema, which is mild waste, but the Returns line and example each earn their place given there is no output schema.

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?

For a simple two-parameter read tool with full schema coverage, the description covers purpose, inputs, and return shape with an example, which is nearly everything an agent needs. Minor gaps remain: no guidance on unsupported language codes or on what an empty suggestion list means.

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 both the required 'query' and optional 'language' are already documented in the schema, and the description largely restates them. The worked example ('rust prog' -> three suggestions) adds a little intuition about partial-query semantics, but the baseline of 3 applies 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?

The description opens with a specific verb and resource: 'Get search query autocomplete suggestions from SearXNG,' and clarifies it works on a 'partial search query.' That is enough to separate it from the sibling searxng_search in practice, though it never explicitly names the sibling or states that it does not return full search results.

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

Usage Guidelines3/5

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

Usage is only implied by the phrase 'for a partial search query' and the 'rust prog' example. There is no explicit statement of when to prefer this over searxng_search, nor any note about prerequisites such as language support or query length limits.

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