Skip to main content
Glama

Oxylabs Google Search

oxylabs_google_search
Read-onlyIdempotent

Run a Google search through the Oxylabs Web Scraper API and return structured organic results (position, title, url, description), Google structured scraping with geo-targeting. Calls are synchronous proxying and can take 10-30 seconds. BYOK: _apiKey is "username:password" from the Oxylabs dashboard. Example: oxylabs_google_search({ query: "best espresso machine", geo_location: "United States", _apiKey: "myuser:mypass" })

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": {
      "query": "best espresso machine 2026",
      "_apiKey": "your-oxylabs-username:your-oxylabs-password"
    },
    "name": "oxylabs_google_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
pagesNoNumber of result pages to fetch. Default 1.
queryYesThe Google search query, e.g. "best espresso machine 2026"
_apiKeyYesOxylabs API credentials as "username:password" from the Oxylabs dashboard (https://dashboard.oxylabs.io). Free trial includes up to 2K results.
geo_locationNoGeo location for localized results, e.g. "United States", "London,England,United Kingdom". Optional.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "_apiKey": "your-oxylabs-username:your-oxylabs-password",
      +    "query": "best espresso machine 2026"
      +  },
      +  {
      +    "_apiKey": "your-oxylabs-username:your-oxylabs-password",
      +    "geo_location": "London,England,United Kingdom",
      +    "pages": 2,
      +    "query": "restaurants near me"
      +  }
      +]
  2. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, and the description adds genuinely new operational context: calls are synchronous proxying and can take 10-30 seconds, and credentials are 'username:password' from the Oxylabs dashboard. It stops short of mentioning failure modes, rate limits, or how the 'pages' parameter affects latency/cost.

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?

The purpose and return shape are front-loaded, followed by latency, auth, and a concrete example — a sound ordering. The phrase 'Google structured scraping with geo-targeting' is a slightly redundant fragment, but overall the text is compact and mostly earns its place.

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 usefully names the returned fields, and it covers latency and authentication for a synchronous external API call. Remaining gaps — pagination limits, error behavior, and quota exhaustion — are modest but real for an open-world billed API.

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 coverage is 100%, so all four parameters are already documented, including the _apiKey format and geo_location syntax. The description largely restates schema content (query example, _apiKey format, geo example) rather than adding semantics such as expected geo string normalization or multi-page cost implications, 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 and resource: 'Run a Google search through the Oxylabs Web Scraper API and return structured organic results', and even enumerates the returned fields (position, title, url, description). It does not, however, differentiate itself from nearby tools such as oxylabs_scrape or oxylabs_amazon_product, so the agent must infer the boundary from the name alone.

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 'Run a Google search' plus the geo_location example, and the BYOK note sets a prerequisite for obtaining credentials. There is no explicit when-to-use/when-not guidance or reference to an alternative sibling for broader scraping or filtered search, so routing decisions are left to inference.

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.