Skip to main content
Glama

web_search

web_search
Read-only

Web search results as JSON: up to 30 organic results with rank, title, URL, domain and snippet, ads removed. Optional region (us-en, mx-es, de-de...) and recency filter (past day, week, month or year). No account, no key, no per-query quota to manage. Price: $0.005 USDC per call (x402).

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": {
      "q": "<q>"
    },
    "name": "web_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYesSearch query, up to 400 characters
timeNoRecency: d (day), w (week), m (month), y (year)
limitNoResults to return, 1-30 (default 10)
regionNoRegion-language code such as us-en, mx-es, gb-en, de-de; wt-wt for no region (default)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=true, so the description carries the rest, and it does disclose meaningful behavior: ads are stripped, results cap at 30, there is no per-query quota, and each call costs $0.005 USDC via x402 micropayment. The payment/auth requirement is exactly the kind of context annotations cannot express; only error behavior and empty-result handling are missing.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three tight sentences, front-loaded with what is returned, then optional filters, then cost and access model. Every sentence carries information; the only minor redundancy is re-describing region/recency values already in the schema.

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 simple 4-parameter tool with no output schema, the description compensates by enumerating the returned fields and stating the result cap, pricing and no-quota policy. Remaining gaps are minor: no mention of failure modes, empty results, or truncation when the query exceeds 400 characters.

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%, so all four parameters (q, time, limit, region) are already documented. The description restates the region codes and recency granularity in prose without adding syntax or defaults beyond the schema, so baseline 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?

States a specific verb+resource (web search) and pins down the return shape: up to 30 organic results with rank, title, URL, domain and snippet, ads removed. That clearly distinguishes it from a scraper or browser tool, though it never names when to prefer it over the domain-specific search siblings (papers_search, clinical_trials_search).

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 context is implied: optional region and recency filters, no account or key needed, so it can be called freely for general web lookups. There is no explicit when-to-use/when-not guidance and no routing to alternative sibling search tools for academic, regulatory or company data.

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.