Skip to main content
Glama

Search the web

web_search
Read-onlyIdempotent

Search the web through many search engines at once and get merged, de-duplicated results with title, URL and snippet. No tracking, no ads. Costs 1 credit.

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

Input Schema

NameRequiredDescriptionDefault
pageNoResult page number, starting at 1.
countNoNumber of results to return (1 to 30).
queryYesWhat to search for, in plain words. Search operators such as site:example.com work.
categoryNoKind of results: general web (default), news, science papers, IT/code, images or videos.general
languageNoLanguage code such as en, de or fr; empty (default) for any language.
time_rangeNoOnly results from the last day, week, month or year; empty (default) for any time.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and open-world behavior, so the bar is lower. The description still adds meaningful context beyond them: results are aggregated across multiple engines and de-duplicated, no tracking or ads, and each call costs 1 credit — the credit cost is the kind of operational detail annotations cannot convey. It stops short of stating rate limits, result-count caps beyond the schema, or what happens when a page exceeds available results.

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?

Three short sentences, front-loaded with the action and its distinguishing mechanism, then the result shape, then the cost caveat. Nothing is redundant with the schema or annotations, and no sentence is padding.

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?

Return values are covered by an output schema and the input schema fully documents all six parameters, so the description does not need to carry those burdens. What remains missing is guidance on selecting among category/time_range/language and on relative cost of repeated calls, but the definition is otherwise sufficient to invoke the tool correctly.

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 enums and ranges documented for page, count, category, language, and time_range, so the baseline is 3. The description adds no parameter-level meaning beyond the schema — it does not explain operator behavior, language fallback, or how category affects merging, all of which would have raised the score.

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?

The description uses a concrete verb and resource ("Search the web") and characterizes the mechanism (many engines queried at once, merged and de-duplicated) plus the returned fields (title, URL, snippet). It does not, however, distinguish this tool from the sibling tools (search_collect_key, search_credits, search_order), so an agent must infer that those handle credentials/credits/ordering rather than searching.

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 only implied by the purpose: an agent can infer it should call this when it needs live web results. There is no explicit when-to-use vs. when-not guidance, no mention of alternatives, and no advice on choosing category, time_range, or language for a given intent — all of which are real decisions for this tool.

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