Skip to main content
Glama

Google Autocomplete API

google_autocomplete
Read-onlyIdempotent

Retrieve Google search suggestions as users type a word or phrase to discover popular related queries. Use it for keyword research and query expansion; results vary by country, language, and time.

Instructions

See the searches Google suggests as people type. Costs 1 credit per successful call. Suggestions are not search volumes. They show what is popular, not how many searches happen. Results can differ by country, language and time.

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

Input Schema

NameRequiredDescriptionDefault
queryYesStart of a search. Type a word or phrase. Add a trailing space to see what usually comes next.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Adds real context beyond annotations: cost of 1 credit per successful call, the semantic caveat that suggestions show popularity not search volume, and variability by country/language/time. Annotations already cover read-only/idempotent/open-world safety, and this adds pricing and interpretation guidance.

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?

Short and front-loaded with the core purpose, then cost, then interpretation caveats. Each sentence adds value; minor redundancy between 'not search volumes' and 'not how many searches happen' which say the same thing.

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?

For a single-parameter read tool with no output schema, it covers purpose, cost, and interpretation limits. It does not describe the shape of returned suggestions or rate limits/batching behavior, which would help an agent plan calls.

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% and the single parameter is documented in the schema itself, including the trailing-space trick. Description adds the note about country/language/time influence on results, though it doesn't explain how to set those if at all possible with one parameter.

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?

Specific verb/resource: 'See the searches Google suggests as people type' clearly describes an autocomplete/suggestion tool. It distinguishes from google_trends_explorer implicitly by noting suggestions are not search volumes, though it doesn't name alternatives directly.

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 implied by the description of what suggestions are and by the schema hint ('Add a trailing space to see what usually comes next'), but there is no explicit when-to-use/when-not or routing to alternatives like google_trends_explorer for volume data.

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