Skip to main content
Glama

searchWeb

searchWeb
Read-onlyIdempotent

Searches the live web via KnockKnock Search and returns ranked URLs and snippets. Use this to discover sources before calling scrapePage or batchScrape.

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

Input Schema

NameRequiredDescriptionDefault
pageNoPage number for local result slicing (starts at 1).
limitNoMaximum number of results to return.
queryYesSearch query string (supports site: and -site: operators).
purposeNoOptional short description of your intent to refine relevance.
languageNoOptional language code (e.g. 'en').
locationNoOptional country code (e.g. 'US', 'IN', 'GB').
after_dateNoOptional date cutoff filter (YYYY-MM-DD).
exclude_domainsNoOptional comma-separated domains to exclude.
include_domainsNoOptional comma-separated domains to include.
recency_minutesNoOptional freshness window in minutes (e.g. 43200 for 30 days, 525600 for 1 year).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so safety is covered. The description adds useful behavior beyond that — live web access and a ranked URL+snippet result shape (important since there is no output schema) — but says nothing about result caps, rate limits, or failure behavior for an external search dependency.

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 sentences, both earning their place: the first covers mechanism and return, the second covers workflow position. Nothing is redundant with the title or annotations.

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 ten-parameter search tool with no output schema, the description covers purpose, return shape, and follow-up workflow, while the schema fully documents parameters. It stops short of noting defaults for limit/page or the external service's constraints, which would round it out.

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 all ten parameters documented including site: operator support, date cutoffs, and recency windows. The description adds no parameter-level meaning, so the baseline 3 applies; the schema is doing all the semantic work.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource (searches the live web), names the provider, and specifies the return shape (ranked URLs and snippets). The second sentence distinguishes it from scrapePage and batchScrape, so an agent can place it in the workflow without opening a schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit routing guidance: use this to discover sources before calling scrapePage or batchScrape. It does not address when to prefer a sibling like deepResearch for discovery, so the exclusion set is incomplete, but the positive guidance is unambiguous.

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