Skip to main content
Glama

Search Suggestions

search_suggestions
Read-onlyIdempotent

Autocomplete suggestions a search box shows for a partial query, from Google, DuckDuckGo, YouTube or Amazon (engine "bing" is accepted but Bing currently refuses our servers and fails with an upstream_down error naming Bing). Returns the ordered suggestion strings (suggestions) and, beside them, one object per suggestion with its position, completion suffix and word count (suggestion_details), plus the engine used, a cached flag and took_ms. Language and country steer Google and Amazon; DuckDuckGo and YouTube honour language only. Use it to see what people are typing next to a keyword.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "lang": "en",
      "query": "how to learn",
      "engine": "google",
      "country": "us"
    },
    "name": "search_suggestions"
  }
}

Input Schema

NameRequiredDescriptionDefault
langNoLanguage code, e.g. "en", "de" (default "en")
queryYesPartial query text, e.g. "how to"
engineNoWhich engine (default "google")
countryNoTwo-letter country code, e.g. "us", "gb" (default "us")

Output Schema

NameRequiredDescriptionDefault
langNo
noteNo
countNo
queryNo
cachedNoFalse: this pack always calls the engine live and keeps no cache of its own
engineNo
sourceNo
countryNo
took_msNoMilliseconds the upstream call took inside the pack
suggestionsNoSuggestion strings in engine order
not_providedNoDatacircle-style fields the engines do not give us
suggestion_detailsNoOne object per suggestion, same order as suggestions

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the annotations (which already mark it read-only, idempotent, open-world, non-destructive), the description discloses a concrete failure mode — engine "bing" is accepted but fails upstream_down — plus per-engine parameter behavior and a cached flag. That is exactly the kind of non-schema operational context annotations cannot 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?

Purpose is front-loaded in the first clause and the engine caveat follows immediately; every sentence carries operational information. It is somewhat dense as a single run-on sentence, and the enumeration of return fields (suggestions, suggestion_details, cached, took_ms) partly duplicates the 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 four-parameter read-only tool with a full output schema, the description covers the essentials: what it returns at a high level, engine-specific parameter relevance, and the one broken engine. Little is missing, though a note on result-limit or caching duration would complete the behavioral picture.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds real meaning: language and country steer Google and Amazon, while DuckDuckGo and YouTube honour language only, so country is effectively inert there. The bing failure note further qualifies the engine enum, though the query parameter itself gains nothing beyond the schema example.

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?

The description states a specific verb and resource — autocomplete suggestions a search box shows for a partial query — and enumerates the source engines (Google, DuckDuckGo, YouTube, Amazon). No sibling tool in the catalog offers anything comparable, so an agent can immediately tell what this tool returns and how it differs from the company/search/ask tools.

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?

It closes with explicit context for use: 'Use it to see what people are typing next to a keyword,' which tells the agent the intent (query-expansion research, not document retrieval). It does not name alternatives or state when-not to use it, keeping it below a 5, but the engine caveat about bing failing also gives the agent a practical routing constraint.

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.