Skip to main content
Glama

search_web

Search the live web or read a page as clean Markdown, extract structured data per your JSON Schema, get AI answers, or fetch top Hacker News stories in one call.

Instructions

Search or read the live web: structured Google results (search_google), semantic/intent search with an AI-generated answer (search_semantic), a public page's main content as clean Markdown (read_page), structured data extracted from a page per a JSON Schema you provide (extract_from_page), or current top Hacker News stories (trending_hn). Prices: $0.005 (search_google, read_page, trending_hn), $0.01 (search_semantic), $0.02 (extract_from_page).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlNoread_page / extract_from_page only: the public page URL to fetch.
modeYesWhat kind of web lookup to perform.
limitNotrending_hn only: number of stories, 1-50 (default 20).
queryNosearch_google / search_semantic only: the search query.
schemaNoextract_from_page only: a JSON Schema describing the fields to extract from the page.
countryNosearch_google only: 2-letter ISO country code (default 'us').
num_resultsNosearch_semantic only: number of results, 1-10 (default 5).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the full burden, and it discloses a real behavioral trait the schema cannot express: per-call pricing for each mode ($0.005 / $0.01 / $0.02). That is meaningful cost information an agent can act on. It still omits rate limits, auth requirements, and return-shape behavior, which keeps it from a 5.

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?

Two sentences, both front-loaded and dense with useful information; the mode list is the highest-value content and comes first, with pricing relegated to a second sentence. It is slightly run-on, but every clause earns its place.

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 7-parameter, five-mode tool with no output schema, the description does the essential job of explaining what each mode returns (Markdown, AI answer, extracted JSON, HN stories). It does not differentiate from siblings like verify_fact or check_market, and gives no return-format constraints, but it is complete enough to call 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%, so every parameter (url, limit, query, schema, country, num_results) is already documented in the schema, including mode applicability. The description adds no parameter syntax or format detail beyond what the schema provides, so the baseline 3 applies.

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 names a concrete verb ('search or read the live web') and then disambiguates all five modes with a distinct purpose each ('structured Google results', 'semantic/intent search with an AI-generated answer', 'main content as clean Markdown', 'structured data extracted per a JSON Schema', 'top Hacker News stories'). An agent can map a user intent to the correct `mode` value without opening the 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?

By enumerating each mode's behavior the description implicitly tells the agent which mode to pick for a given intent (e.g. want an AI answer -> search_semantic; want raw page text -> read_page). It does not, however, state any exclusions, prerequisites, or how to choose between overlapping modes like search_google vs search_semantic for plain keyword lookups.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools