Skip to main content
Glama

Google Search

search
Read-only

Execute a Google query and get page title, URL, and snippet for each result. Use site: filters and quotes for precise matches. Returns up to 20 results per request.

Instructions

Single Google search -> title/url/snippet per result. Results are cached 24h, so repeating a query is free -- prefer re-querying over caching results yourself. For latest/today/breaking queries set SURF_CACHE_TTL_SEARCH_MS=0 to bypass the cache. Default limit 10 (max 20). First call ~4s (Chromium warmup), then ~2s. On CAPTCHA a visible Chrome opens for a human to solve (shared-IP protection); SURF_CLOUD_MODE=true makes it fail-fast instead.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMax results (default 10).
queryYesGoogle search query. Use site: filters and quotes for exact match.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
metaNo
errorNo
queryNo
resultsNo
elapsed_msNo
Behavior5/5

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

Despite annotations marking readOnlyHint, the description goes far beyond by disclosing caching behavior (24h TTL), timing expectations (~4s first call, ~2s subsequent), CAPTCHA fallback with human interaction, and the fail-fast env var. This provides valuable operational context that annotations alone do not convey.

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 description is somewhat long but front-loaded with the core purpose. Each sentence contributes unique operational facts (performance, caching, CAPTCHA, env vars) without redundancy. The 'Default limit 10 (max 20)' slightly duplicates schema, but overall it earns its place.

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?

The description covers all key operational aspects: output structure, caching, performance, error handling (CAPTCHA), and configuration via env vars. With an output schema present, return values are already defined, and the description fills the remaining gaps comprehensively.

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?

The input schema fully documents both parameters ('query' and 'limit') with descriptions and constraints, so the description adds little param-specific detail beyond the default limit and max. The caching and env var info are not directly about parameter syntax, so baseline 3 is appropriate.

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?

The description clearly states 'Single Google search -> title/url/snippet per result', specifying the exact resource (Google search) and output. The word 'single' differentiates it from sibling search_parallel, and the context makes it unambiguous what this tool performs.

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?

The description gives clear practical usage guidance: 'prefer re-querying over caching results yourself', how to bypass cache for fresh queries, and the CAPTCHA/cloud-mode behavior. It implies the single-query use case but doesn't explicitly contrast with alternatives like search_parallel, so no explicit exclusion.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/tamir-ariunsukh/google-surf-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server