Skip to main content
Glama

Google Search

search
Read-only

Run a Google query via browser or API fallback to yield titles, URLs, and snippets. Cache results 24 hours, with an option to bypass for fresh data.

Instructions

Single Google search via browser, SearchApi primary, or browser-to-SearchApi fallback. Returns title, URL, and snippet. Results are cached 24h. For latest/today/breaking queries set SURF_CACHE_TTL_SEARCH_MS=0 to bypass the cache. Browser is the default provider and requires no API key. Default limit 10, max 20.

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
Behavior4/5

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

With annotations already marking readOnlyHint and openWorldHint, the description adds essential operational details: results cached for 24h, environment variable to bypass cache, provider fallback logic, and no API key requirement for the default browser provider. No contradiction with annotations.

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?

The description is compact, front-loaded with the primary action, and every sentence delivers operational value (provider, return fields, cache, limits, auth). No unnecessary fluff.

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?

For a simple search tool with a small schema and output schema, the description covers all essential aspects: provider selection, caching and bypass, authentication, return fields, and limits. No major gaps in operational context.

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 schema already provides full descriptions for both parameters, including default/max limit and query search operators. The description only reiterates the default limit and max, adding minimal value beyond the schema.

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 it performs a single Google search and specifies the return fields (title, URL, snippet). It distinguishes itself from sibling tools like search_parallel by emphasizing 'single' and from scholar_search by being a general Google search.

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?

Provides clear context on when to use it, including default provider, caching behavior, and the cache-bypass instruction for breaking queries. However, it does not explicitly mention alternatives or state when not to use it versus siblings like search_parallel or scholar_search.

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/HarimxChoi/google-surf-mcp'

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