Skip to main content
Glama

search_web_or_read_page

Read-only

Searches the public web or reads one page, in one of two modes, and saves nothing. (1) SEARCH: pass query (a search string) to get matching pages' titles, links and snippets. (2) SCRAPE: pass url (a single page URL) to fetch that page's full content as markdown. Never pass both query and url.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "search_web_or_read_page"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNoA single page URL to fetch and read in full as markdown. Use when you already know the exact page that holds the answer (e.g. the user gave you a link, or a prior search surfaced the right page) — ideal for reading every person/item listed on a known page.
queryNoA general web search query for the public internet. Supports search operators like site:, intitle:, filetype:. Use EITHER `query` OR `url`, never both.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true and destructiveHint=false, so the safety profile is covered externally. The description adds genuine context beyond that: 'saves nothing' (no persistence side effects) and the return shape for each mode (titles/links/snippets vs. full markdown content). It does not cover rate limits, page-size truncation, or how JS-heavy or blocked pages behave, which matters for an open-web tool.

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?

Front-loaded framing, then numbered modes, then the exclusion rule — a well-ordered structure with no filler sentences. Minor waste in parenthetical restatements like '(a search string)' and '(a single page URL)' that duplicate the schema property descriptions.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-parameter, no-output-schema tool, the description covers both operating modes, the mutually exclusive invocation rule, the non-persistence guarantee, and what each mode returns. The only unfilled gap is the zero-required-parameter edge case, which is a small omission rather than a structural one.

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?

Schema coverage is 100%, so baseline is 3 and the schema already explains operators like site:/intitle:/filetype:. The description contributes one real constraint absent from the schema — strict mutual exclusivity of `query` and `url` ('never both') — plus a restatement of each mode's payload. It does not address that both parameters are optional (required: 0), leaving open what happens when neither is supplied.

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 states a specific dual verb+resource: search the public web, or read a single page, with two named modes and a note that nothing is persisted. An agent can immediately tell this is a general web search/fetch tool rather than a people or company search. It stops short of naming a sibling (e.g. scrape_web) to disambiguate against overlapping web-scraping tools.

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?

Mode selection is explicit: pass `query` to search, pass `url` to scrape a known page, and never pass both. That is clear context for when each mode applies, including the 'user gave you a link / prior search surfaced the page' trigger in the schema. There are no stated exclusions or named alternatives for overlapping siblings such as scrape_web, so it falls short of a 5.

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.