Skip to main content
Glama

Web Search & Data API

serp

Web search results (SERP). Keyless web search returning ranked title, URL, and snippet for a query — with locale/region targeting, freshness filters (past day, week, month, year), pagination, a news mode that adds publish date and source, and selectable backend engine (auto rotation, or pin Brave, Yahoo, or Yandex). [$0.05/call]. Params — q: search query; num_results: max results, cap 25; region: locale, e.g. us-en, uk-en, de-de; timelimit: restrict to past day/week/month/year (d|w|m|y); safesearch: string (on|moderate|off); page: result page (pagination); mode: web results or recent news (news adds date+source per item). the news index is narrow, so a long or highly specific news query that matches nothing falls through to web rather than returning empty; those items carry requestedMode=news and servedBy=web (web|news); engine: search backend: auto (recommended - rotates engines and falls back on blocks) or pin one of yahoo, yandex (web mode); news mode supports bing. when set, each result carries an 'engine' field; if the pinned engine returns nothing, auto serves instead and results also carry 'requestedEngine' Example params: {'q': 'best python web scraping library', 'num_results': 10}

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paramsNo

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?

With no annotations, the description carries the full disclosure burden and does it well: it reveals keyless access, cost, engine rotation/fallback on blocks, pinned-engine fallback with requestedEngine, and news-to-web fallback semantics. This is far beyond what structured metadata could express and gives the agent strong expectations for behavior.

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?

The definition is dense but almost every clause is functional, and the key result type is front-loaded. It reads as one long run-on paragraph; bullet-style structure would make it easier to scan.

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?

It covers inputs, output fields, mode-specific additions, engine behavior, fallbacks, and cost, which is substantial given no output schema and no annotations. It is slightly incomplete because of the Brave/engine inconsistency and the lack of explicit guidance on how serp differs from batch/multi siblings.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Every parameter (q, num_results, region, timelimit, safesearch, page, mode, engine) is defined with value ranges, format hints, and an example, compensating for the opaque schema. Deducting one point because the opening says Brave is pinnable while the engine param lists only yahoo/yandex, an inconsistency that could lead to an invalid engine value.

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?

Opens with a clear statement that this is a web search returning ranked title, URL, and snippet for a query, then lists capabilities that make the tool's role obvious. It does not explicitly distinguish serp from sibling tools such as serp_multi/serp_batch/serp_read, so it stops short of a 5.

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?

Gives some in-tool guidance, especially 'auto (recommended)' and the news fallback behavior, which helps an agent choose parameters. It never tells the agent when to prefer serp over sibling tools, so tool-selection guidance is only implied by the name and singular-query nature.

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