Skip to main content
Glama

google_search

Run factual web searches through Google Custom Search API to return 1–10 relevant results for a query.

Instructions

Canonical web search: Google Custom Search API. Use for factual lookups; prefer over browser-scoped search.

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": {
      "query": "<query>"
    },
    "name": "google_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
numNoNumber of results (1-10)
queryYesSearch query

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv4.3.3

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full disclosure burden; it does reveal the underlying Google Custom Search API, which usefully signals result provenance and a likely quota. It says nothing about rate limits, paid quota, result ordering, or whether results include snippets/URLs, which matters for a tool with no output schema.

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 compact clauses, front-loaded with the core identity followed by the usage rule; there is no filler and nothing is buried. Every phrase adds either identification or routing value.

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 two-parameter read tool with fully documented schema and no output schema, the description covers what it does, what backs it, and a coarse usage rule. Missing only quota/result-format notes and sharper sibling routing, which are modest gaps at this complexity 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 100%, with both 'query' (search query, minLength 1) and 'num' (1-10, default 5) documented directly in the schema. The description adds no syntax guidance such as supported operators, phrase matching, or how to tune 'num', so the baseline of 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?

Names a specific verb and resource ('Canonical web search') and identifies the backing engine (Google Custom Search API), which is more informative than a generic 'search the web'. It differentiates itself from a 'browser-scoped search' but does not contrast with strong siblings like academic_search, wikipedia_search, or news_monitor, so an agent must still infer which source to pick for scholarly or encyclopedic queries.

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?

'Use for factual lookups' gives a clear positive trigger, and 'prefer over browser-scoped search' gives one relative preference. It supplies no exclusions or routing rules for specialized siblings (academic, wikipedia, news, trends), leaving the agent to guess at boundaries for non-factual or source-specific queries.

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