Skip to main content
Glama

Google Search

search
Read-onlyIdempotent

Search Google. Returns organic results, answer box, knowledge graph, People-also-ask and related searches as Markdown. 1 credit.

Input Schema

NameRequiredDescriptionDefault
qYesSearch query
numNoResults (depth >10 costs up to 7 credits)
pageNo
timeNoRestrict to recent results
engineNogoogle (default), auto (fall back to other engines when Google is unavailable), consensus (several engines in parallel, merged and ranked by agreement; costs the sum of the engines that answered), or brave, bing, yahoo, duckduckgo, wikipedia, yandex (Yandex web search, strongest for Russian and CIS queries); a comma-separated list also works
countryNoCountry code, e.g. us, de, ru. Uses shared proxy routes
end_dateNoOnly results published on or before this date (YYYY-MM-DD)
languageNoLanguage code, e.g. en, ru (Russian). Does not change country
locationNoCity-level location, e.g. "Austin, Texas, United States"
highlightsNoWith include_content: return the 3 passages most relevant to q per page instead of the whole page (free)
start_dateNoOnly results published on or after this date (YYYY-MM-DD)
boost_domainsNoMove results from these sources to the top, keeping the rest: a domain (example.com, subdomains match), a path prefix (github.com/org) or a TLD (.gov)
include_answerNoAlso write a short cited answer over the results (+2 credits, +4 with include_content; free if it fails)
exclude_domainsNoDrop results from these sources: a domain (example.com, subdomains match), a path prefix (github.com/org) or a TLD (.gov)
include_contentNoAlso fetch the top N result pages as Markdown (+1 credit each)
include_domainsNoOnly results from these sources: a domain (example.com, subdomains match), a path prefix (github.com/org) or a TLD (.gov)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / include_answer
      Added value: +{
      +  "description": "Also write a short cited answer over the results (+2 credits, +4 with include_content; free if it fails)",
      +  "type": "boolean"
      +}
  2. Changed1 schema field changed
    • changedInput schema / properties / engine / description
      Previous value: -"google (default), auto (fall back to other engines when Google is unavailable), consensus (several engines in parallel, merged and ranked by agreement; costs the sum of the engines that answered), or brave, bing, yahoo, duckduckgo, wikipedia; a comma-separated list also works"New value: +"google (default), auto (fall back to other engines when Google is unavailable), consensus (several engines in parallel, merged and ranked by agreement; costs the sum of the engines that answered), or brave, bing, yahoo, duckduckgo, wikipedia, yandex (Yandex web search, strongest for Russian and CIS queries); a comma-separated list also works"
  3. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered. The description adds genuine value beyond that by disclosing the credit cost and the output shape (Markdown with named sections), but it says nothing about rate limits, pagination semantics, or what happens when Google is unavailable with the default engine.

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 short sentences with zero waste: the action first, then the return shape and cost. Nothing is buried and nothing is redundant.

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?

For a 16-parameter tool with no output schema, the description adequately covers what is returned (named result sections, Markdown) and the base cost, while the rich schema covers parameter behavior. The main residual gap is that engine fallback behavior and multi-credit combinations are left entirely to the schema rather than being framed at the definition level.

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 94%, so the schema already documents nearly every parameter, including the engine list and cost implications of num/include_answer/include_content. The description only restates baseline cost ('1 credit'), which the schema partially duplicates for the paid options; baseline 3 is correct when the schema does the heavy lifting.

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 ('Search Google') and enumerates exactly what comes back (organic results, answer box, knowledge graph, People-also-ask, related searches) as Markdown. That makes it distinguishable from news/images/scholar/videos siblings, though it never names those siblings explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No statement about when to choose this over the 18 sibling tools (news, images, scholar, maps, answer, research) and no prerequisites or exclusions. The only guidance-adjacent content is a cost note ('1 credit'), which informs budget but not tool selection.

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.