Skip to main content
Glama

Get Google SERP results

get_serp_results
Read-onlyIdempotent

Fetch live Google organic search results for 1-10 keywords. Use this to inspect who ranks for a query, verify competitors, compare SERPs across keywords, or gather source URLs before content planning. Returns the top depth result rows per keyword (default 20). rank counts every SERP element (ads, People Also Ask, ...); organicRank counts organic results only and matches rank tracker positions. Charges credits per keyword: ~5 each at the default depth 20, and each additional 10 of depth adds ~2.5. A keyword fetched in this project in the last 12 hours with the same market, device, and depth returns those rows again at no charge once the original call has finished, so if a response is lost, wait a minute and repeat the same call. Per-keyword errors don't fail the batch.

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": {
      "projectId": "<projectId>",
      "queries": "<queries>"
    },
    "name": "get_serp_results"
  }
}

Input Schema

NameRequiredDescriptionDefault
depthNoHow many SERP rows to crawl per keyword — a multiple of 10 from 10 to 100, default 20. Google has no offset, so a deeper crawl re-fetches the top too: each additional 10 adds ~2.5 credits per keyword. Only raise it when you need ranks past the top 20.
queriesYes1-10 queries. Bulk-friendly — prefer this over multiple single-query calls.
projectIdYesRequired. The NameIO project ID to scope this call to. Get one from list_projects.

Output Schema

NameRequiredDescriptionDefault
metaNo
resultsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Beyond the readOnly/openWorld/idempotent annotations, the description discloses credit cost per keyword (~5 at depth 20, ~2.5 per extra 10 depth), a 12-hour same-parameter cache that returns results free once the original call completes, the practical retry guidance for lost responses, and per-keyword error isolation that keeps a batch from failing. These are exactly the behavioral traits annotations cannot express.

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 and scope are front-loaded, then output semantics, then billing, then caching/error behavior — a sensible order with no filler. The credit-pricing sentence is dense and slightly run-on, but every clause carries information an agent would otherwise have to discover by trial.

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 an output schema present and 100% schema coverage, the description only needed to cover behavior, and it does: cost model, caching and retry policy, partial-failure semantics, and the rank vs organicRank distinction. Nothing an agent needs to call this correctly and predict its cost and failure modes is missing.

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 schema already documents depth, queries, and projectId thoroughly; baseline would be 3. The description still adds value by tying depth to cost and by explaining that rank counts all SERP elements while organicRank counts organic results only and matches rank-tracker positions, which frames how the inputs drive the output.

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+resource+scope: 'Fetch live Google organic search results for 1-10 keywords.' That is concrete and actionable. It does not, however, explicitly differentiate itself from the sibling find_serp_competitors, which plausibly overlaps with the 'verify competitors' use case it names.

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 enumerates clear use contexts: inspecting who ranks, verifying competitors, comparing SERPs across keywords, and gathering source URLs before content planning. That is strong positive guidance, but there is no 'do not use this when...' exclusion or named alternative for overlapping cases such as competitor discovery.

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