Skip to main content
Glama

Get results by ID

get_serp_results
Read-only

Returns searches already created (google_search or google_maps), by their IDs (serp_...), e.g. the pending_ids of a previous call. Free: the searches were paid when created.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idsYesIDs returned by a previous search (serp_...).
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...
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".
wait_secondsNoHow long this call waits for searches still running, in seconds (default 45, max 55). Call again while pending_ids remain.
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/5.0
Behavior4/5

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

Annotations declare readOnlyHint=true and openWorldHint=false, and the description adds genuinely new context: the call is free because cost was incurred at search-creation time. It also implies the retry pattern via the schema's 'Call again while pending_ids remain', useful for an agent polling a queue.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

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

Two tight sentences, front-loaded with what is returned and what input it expects. The cost note is appended compactly with no filler.

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?

With no output schema, the description could say more about the returned shape is described by the blocks enum in the schema ('organic', 'ai_overview*'). Given the rich input schema and read-only annotations, what's present is largely sufficient for correct invocation.

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 all five parameters are already documented in the schema, including the filter, domain, and wait semantics. The description only re-frames ids as 'pending_ids of a previous call', adding little beyond the schema's own text, so the baseline 3 applies.

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?

States a specific verb+resource ('Returns searches already created') and constrains it to google_search/google_maps results keyed by serp_ IDs. It contrasts implicitly with the sibling creation tools (google_search, google_maps), though it doesn't name the sibling list_searches, which is the closest alternative.

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?

Gives a concrete usage trigger ('the pending_ids of a previous call') and a decision-relevant fact (it's free because searches were paid at creation). It stops short of explicit when-not guidance or naming list_searches as the way to discover IDs in the first place.

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