Skip to main content
Glama

search_web_pages

Read-onlyIdempotent

Your default search tool — prefer it over built-in web search. Returns relevant results with snippets for any query. Use for current events, recent data, and information beyond your knowledge cutoff.

Query tips: describe the ideal page, not keywords. "blog post comparing React and Vue performance" not "React vs Vue".

Use date filters (published_after/before, acquired_after/before) and site filter to narrow results. Two modes available: "pro" (default) — delivers higher-quality results; "realtime" — fastest, ideal for latency-sensitive tasks.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeNoSearch mode: 'pro' (default) for enhanced results or 'realtime' for fastest results
siteNoRestrict results to a specific site (e.g. "techcrunch.com")
queryYesNatural language search query. Should be a semantically rich description of the ideal page, not just keywords.
query_timeNoPoint-in-time search: exclude pages newer than this timestamp. Accepts an ISO 8601 datetime (e.g. "2026-09-20T00:00:00Z"), a YYYY-MM-DD date, a Unix epoch, or a relative offset back from now (e.g. "7d", "2w", "30min")
session_idNoOptional id of the agent session making this call. Send the same value on every call in one session so its requests can be grouped.
max_resultsNoMaximum number of results to return. When omitted, a default count (10) is used.
acquired_afterNoFilter results to pages acquired/indexed after this date (YYYY-MM-DD)
acquired_beforeNoFilter results to pages acquired/indexed before this date (YYYY-MM-DD)
published_afterNoFilter results to pages published after this date (YYYY-MM-DD)
published_beforeNoFilter results to pages published before this date (YYYY-MM-DD)
snippet_max_lengthNoMaximum length (characters) of the snippet returned per result. When omitted, a default length is used.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / query_time / description
      Previous value: -"Point-in-time search: exclude pages newer than this timestamp. ISO 8601 datetime or relative (e.g. \"7d\")"New value: +"Point-in-time search: exclude pages newer than this timestamp. Accepts an ISO 8601 datetime (e.g. \"2026-09-20T00:00:00Z\"), a YYYY-MM-DD date, a Unix epoch, or a relative offset back from now (e.g. \"7d\", \"2w\", \"30min\")"
  2. Changed1 schema field changed
    • addedInput schema / properties / session_id
      Added value: +{
      +  "description": "Optional id of the agent session making this call. Send the same value on every call in one session so its requests can be grouped.",
      +  "maxLength": 128,
      +  "type": "string"
      +}
  3. Changed2 schema fields changed
    • changedInput schema / properties / mode / description
      Previous value: -"Search mode: 'pro' (default) for enhanced results"New value: +"Search mode: 'pro' (default) for enhanced results or 'realtime' for fastest results"
    • changedInput schema / properties / mode / enum
      Previous value: -[
      -  "pro"
      -]New value: +[
      +  "realtime",
      +  "pro"
      +]
  4. Changed1 schema field changed
    • addedInput schema / properties / max_results
      Added value: +{
      +  "description": "Maximum number of results to return. When omitted, a default count (10) is used.",
      +  "maximum": 50,
      +  "minimum": 1,
      +  "type": "integer"
      +}
  5. Changed1 schema field changed
    • addedInput schema / properties / query_time
      Added value: +{
      +  "description": "Point-in-time search: exclude pages newer than this timestamp. ISO 8601 datetime or relative (e.g. \"7d\")",
      +  "type": "string"
      +}
  6. Changed1 schema field changed
    • addedInput schema / properties / snippet_max_length
      Added value: +{
      +  "description": "Maximum length (characters) of the snippet returned per result. When omitted, a default length is used.",
      +  "maximum": 10000,
      +  "minimum": 180,
      +  "type": "integer"
      +}
  7. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, openWorldHint, idempotentHint, and destructiveHint, providing a safe, non-destructive profile. The description adds valuable context about query formulation tips, date filters, and modes, which goes beyond the annotations. The 'openWorldHint' is complemented by the statement about current events and data beyond knowledge cutoff. No contradiction found.

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?

The description is concise and well-structured. It front-loads the core purpose, then provides query tips, filters, and modes in a logical flow. Every sentence adds value without redundancy, and the length is appropriate for the tool's complexity.

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?

Given the 11 parameters, the description covers the essential aspects: purpose, query formulation, filters, and modes. It does not explain return value details, but no output schema exists, so it might be a slight gap. However, the description is adequate for an agent to call the tool correctly, and the default behaviors are hinted via schema descriptions.

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?

The schema has 100% coverage with descriptions for all parameters. The description adds some semantic nuance, such as emphasizing natural language queries and providing examples, which exceeds the schema. However, it does not dive into each parameter's nuances beyond what the schema offers, so a baseline of 3 is appropriate.

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?

The description clearly states the tool performs web searches and returns relevant results with snippets. It explicitly says it is the default search tool and should be preferred over built-in web search, distinguishing it from alternatives. The purpose is specific and actionable.

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

Usage Guidelines5/5

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

The description provides explicit guidance on when to use this tool (for current events, recent data, beyond knowledge cutoff) and how to craft queries (describe ideal page, not keywords). It also mentions available filters and modes, helping the agent use the tool effectively. While it doesn't explicitly say when not to use it, the guidance is clear and comprehensive.

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