Skip to main content
Glama

Live web search JSON

search_web
Read-onlyIdempotent

Search live web and news across up to five queries to get structured titles, URLs, and snippets for research, monitoring, and topic discovery.

Instructions

Run live web and news search across up to 5 queries with structured snippets and URLs. Pass q (single query) or queries (array of up to 5 strings; billed per query) and optional limit (1-20). Returns results[] with title, url, snippet, and source. Do not use to extract full content from one known URL (use fetch_web_markdown) or for crypto-only feeds (use get_crypto_news). 1 free try per IP, then HTTP 402 ($0.002 USDC/query).

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

Input Schema

NameRequiredDescriptionDefault
qNoSearch query — supports AI, crypto, finance, tech, biotech, energy topics
limitNoMax results to return per query (default 50, max 500)
queryNoSearch query (alias: q)
fieldsNoReturn only these result keys, e.g. ["title","url","enrichment.sentiment"]
queriesNoBatch: array of up to 5 queries; priced unit price x count
categoryNoFilter by category: web or news
session_tokenNoOptional prepaid x402s_... session token from open_agent_session or https://apix402data.com/pay used after the 1 free try rolls over to HTTP 402.

Output Schema

NameRequiredDescriptionDefault
countNo
queryNo
cachedNo
resultsNo
categoryNo
endpointNo
data_sourceNo
schema_versionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv5.6.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare read-only, open-world, idempotent, and non-destructive behavior, while the description usefully adds the free-try limit, HTTP 402 paywall, USDC per-query pricing, and result shape. However, it states the limit range as 1-20, which conflicts with the schema's default of 50 and maximum of 500, making the operational behavior less reliable.

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 description is compact, front-loaded with purpose and usage, and avoids filler. The only weak point is the stale limit constraint, which makes one sentence actively misleading rather than merely verbose.

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?

An output schema exists, so the description does not need to document return values in detail, though it helpfully names the result keys. It covers the main usage, billing, and exclusion context; the main completeness gap is the inconsistent limit bounds and the lack of mention for fields, category, and session_token usage.

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 the schema already documents all seven parameters, including fields, category, query alias, and session_token. The description adds useful emphasis on q versus queries and per-query billing, but it omits several schema parameters and gives an incorrect limit range, so it does not clearly exceed the baseline.

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 states a specific verb and resource: live web/news search, batch support up to 5 queries, structured snippets and URLs. It also distinguishes the tool from fetch_web_markdown and get_crypto_news, so an agent can identify its role 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 Guidelines5/5

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

It gives explicit when-to-use guidance for single and batch queries and names two alternatives with the conditions that select them: full-page extraction belongs to fetch_web_markdown, and crypto-only feeds belong to get_crypto_news. Billing behavior is also tied to the query count.

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