Skip to main content
Glama

search

Run Google queries and optionally scrape top results, returning URLs and full markdown content for research or content extraction.

Instructions

Run a Google search and optionally scrape the content of the top results. Returns search result URLs and, when enabled, their full markdown content.

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
langNoResult language code, e.g. "en" (default: "en")
limitNoNumber of search results to return (default: 5)
queryYesThe search query
countryNoResult country code, e.g. "us" (default: "us")
timeoutNoTimeout per page in seconds (default: 60)
scrapeResultsNoScrape and return full content for each result (default: true)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full load and usefully discloses the return shape (URLs plus full markdown when scraping is on) and the conditional scrape behavior. It says nothing about rate limits, auth/API-key needs, or failure handling for pages that cannot be scraped, which are meaningful gaps for a network-bound tool.

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 sentences, zero filler, with the core action front-loaded and the return behavior following immediately. Nothing could be removed without losing information.

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 six-parameter tool with full schema coverage and no output schema, the description covers both what it does and what it returns, which is the main thing missing otherwise. It could go further on cost/latency implications of scraping the top results, but nothing essential for calling it correctly is absent.

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 every parameter including lang, country, limit, and timeout is already documented in structured data. The description adds only the conditional meaning of scrapeResults ('when enabled, their full markdown content'), which is a marginal but real addition over the schema's 'Scrape and return full content for each result'.

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 ('Run a Google search') plus the optional scraping behavior, which is enough to tell it apart from a pure 'scrape' sibling. It stops short of naming any sibling explicitly, so the differentiation is inferred rather than stated.

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?

Usage is implied by the word 'optionally' paired with the scrapeResults flag: the agent can infer it may want URLs only or URLs plus content. However, nothing says when to prefer this over 'scrape', 'batch_scrape', or 'deep_research', and no exclusions or prerequisites are given.

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