Skip to main content
Glama

Search the web

search
Read-only

Search Google and return the results: titles, URLs and snippets, plus Google's own answer boxes, People Also Ask and related searches when it shows them. vertical picks web (the default), news or videos. Returns up to 100 results per call (10 by default), with country and language. Costs 7 credits per call whatever the vertical or limit; a failed search costs nothing. Results are links and snippets: use scrape to read a page.

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": "search"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoHow many results to return (10 by default). The price is the same whatever the number.
queryYesWhat to search for. Quoted phrases and site: operators are kept.
countryNoTwo lowercase letters for the search market, for example us, gb or ae (default "us").us
languageNoTwo lowercase letters for the result language, for example en or ar (default "en").en
verticalNo"web" (the default), "news" or "videos".web
idempotency_keyNoOptional. Send the same key (16 to 128 letters, digits, _ . : -) to retry this exact call safely: a retry within 24 hours returns the first result and is not charged again.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior5/5

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

Annotations only declare readOnly and openWorld; the description adds economics and failure semantics the agent cannot get elsewhere: 7 credits per call regardless of vertical or limit, and a failed search costs nothing. It also discloses the shape of the response (links and snippets, not page content) and points to scrape for that. This is exactly the beyond-annotation context that earns a high score.

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?

Front-loaded with what comes back, then verticals, then limits, then cost, then the handoff to scrape. No sentence is filler, and both the price and the failure carve-out are stated compactly rather than buried in prose.

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 does the work of describing the return value, which it does concretely through the answer-box and People Also Ask enumeration. The only real gap is that it never addresses pagination or result exhaustion for a 6-parameter search tool, though that is minor given it caps at 100 per call.

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 the schema already documents every parameter, including the enum for vertical and the idempotency retry. The description restates the vertical choices, the 10/100 limits and country/language, adding only the pricing note that the limit does not change the cost. Baseline 3 is appropriate when the schema carries the load.

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 return the results') and enumerates the payload: titles, URLs, snippets, answer boxes, People Also Ask and related searches. It also names the verticals. What it never does is distinguish itself from the closest siblings, google_serp and ai_answers, which an agent looking at the tool list will find confusingly similar.

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?

It gives one useful routing instruction, 'use scrape to read a page', and implies usage via the credit cost. It says nothing about when to choose this over google_serp or ai_answers, which are the alternatives an agent most needs disambiguated. Usage is implied rather than stated.

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.

Resources