Skip to main content
Glama

Google Search results

google_search

Collects the real Google results page (SERP) for one or more keywords, rendered in a real browser, and returns every block (organic results, ads, local pack, People Also Ask, AI Overview with its citations and sources...) with, for each item, its rank in its block (rank_type), its rank on the page (rank_serp), its Google page and its pixel position. Use it to know what Google actually shows for a query, in a given country, language, city and device. Paid from the account balance: about EUR 0.0003 per keyword for the first page, EUR 0.0002 per extra page. Takes about 30 seconds per keyword (about a minute for 10 pages); the tool waits for the results. Returns titles, snippets and URLs, not the full content of the pages.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
depthNoNumber of Google result pages to collect, 1 (about 10 results) to 10 (about 100). Each extra page costs more and takes longer.
blocksNoOnly return these result blocks, e.g. ["organic"] or ["ai_overview*"] (a trailing * matches a prefix). Block types: organic, paid_top, paid_bottom, local_pack, people_also_ask, featured_snippet, knowledge_graph, top_stories, videos, images, shopping, sitelinks, ai_overview_citation, ai_overview_citation_source, ai_overview_panel, related_searches...
deviceNoDevice to emulate.desktop
domainNoOnly return the positions of this domain (e.g. "example.com", subdomains included) in every block, with its best organic rank and whether it appears in the AI Overview, instead of the whole SERP. Much shorter: use it to answer "where does this site rank".
keywordsYesKeywords to search, one search per keyword (max 100). Google operators work (site:, inurl:, intitle:, quotes, -term). No comma inside a keyword.
languageYesInterface language code, e.g. fr, en, de, es, it, pt, ja. Must form a valid pair with location (see list_google_versions).
locationYesGoogle version as a country code: fr for google.fr, de for google.de, br for google.com.br, jp for google.co.jp, us for google.com. Must form a valid pair with language (see list_google_versions).
priorityNoPriority in the account queue, 1 to 10 (10 first). Use a high value for a few urgent searches when a large batch is already running.
geolocationNoOptional city-level geolocation: "City, Region, Country" (e.g. "Lyon, Rhone, France") or a GPS position "latitude,longitude" (e.g. "43.7102,7.2620").
wait_secondsNoHow long this call waits for the results, in seconds (default 45, max 55). Searches still running are returned in pending_ids: fetch them with get_serp_results. Use 0 to start a large batch and return right away.
max_items_per_blockNoMaximum number of items returned per block, to keep the answer short.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing the pricing model (EUR 0.0003 first page, 0.0002 per extra page), latency (~30s/keyword, ~a minute for 10 pages), that the tool blocks waiting for results, the pending_ids handoff path, and the output boundary (titles/snippets/URLs, not page content). This is exactly the operational context an agent needs before invoking a slow, metered call.

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?

Dense but front-loaded: what it does first, then how to use it, then cost and duration, then the output boundary. The mid-sentence enumeration of block types is long, though it earns its place by naming the returned structures; nothing is padded or repeated.

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?

With 11 parameters, no output schema and a metered async call, the description covers the missing pieces: cost, duration, blocking-vs-pending behavior, and what the response actually contains. An agent has everything needed to call it correctly and to decide whether to wait or poll.

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 baseline is 3, but the description adds real meaning on top: cost/time scaling with depth, the domain parameter reframed as 'where does this site rank', priority as a queue-jumping lever, and the async contract of wait_seconds. It stops short of adding anything for blocks/geolocation beyond what the schema already documents.

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 concrete verb and resource: collects the real Google SERP for keywords in a real browser, enumerates the block types returned and the per-item ranking fields (rank_type, rank_serp, page, pixel position). This is specific enough that an agent can distinguish it from get_serp_results (pending fetch) and google_maps without opening a schema.

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?

Explicitly says when to reach for it ('to know what Google actually shows for a query, in a given country, language, city and device') and routes batched work to get_serp_results and wait_seconds=0. It does not contrast itself against siblings like google_maps or ai_overview_sources, so it is clear context but without full alternative routing.

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.

Resources