Skip to main content
Glama

Live web search JSON

web_search
Read-onlyIdempotent

Search live web and news data in one JSON call to return relevance scores, sentiment, and named entities. Batch up to 5 queries per request.

Instructions

[$0.002] Fast live web and news search JSON (up to 5 batched queries) with relevance score, sentiment, and entities. $0.002/call — 2.5x to 5x cheaper than $0.005-$0.01 search APIs. Do not use for single-URL extraction (use web_fetch_markdown) or crypto ticker feeds (use news_crypto_feed). q and query are aliases, queries overrides them for up to 5 batched lookups (1 HTTP request), and omitting all returns top headlines. Live web/RSS data, read-only; requires x402 USDC or Stripe MPP (10 free lifetime calls via /api/free/*) at 60 HTTP req/min.

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

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 session token (x402s_...) from https://apix402data.com/pay after the 10-call free preview.

Output Schema

NameRequiredDescriptionDefault
countNo
queryNo
cachedNo
resultsNo
categoryNo
endpointNo
data_sourceNo
schema_versionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv5.3.0

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already cover readOnly/openWorld/idempotent/destructive, and the description still adds substantive context: per-call cost, the 60 HTTP req/min rate limit, x402 USDC or Stripe MPP payment prerequisites, 10 free lifetime calls via /api/free/*, and that batching five queries costs one HTTP request. It does not spell out error or quota-exhaustion behavior, which is the only remaining gap.

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 with cost and capability, then restrictions, then parameter mechanics, then auth — a sensible order with no filler sentences. It is dense to the point of being crowded, and the $0.002 price appears twice (bracketed tag and inline), a minor redundancy.

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?

Given an output schema (so return shape needn't be explained), full schema coverage, and already-declared annotations, the description covers everything else an agent needs: cost model, payment path, rate limit, batching semantics, alias precedence, and default behavior.

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 the baseline is 3, but the description adds real meaning the schema does not encode: that q and query are aliases, that queries overrides them for batched lookups, and that omitting all query parameters returns top headlines. That override precedence is genuinely useful and not derivable from the schema alone.

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?

States a specific verb and resource ('live web and news search JSON'), names the enrichment fields returned (relevance score, sentiment, entities), and explicitly distinguishes itself from 'single-URL extraction' and 'crypto ticker feeds', routing to web_fetch_markdown and news_crypto_feed. An agent can separate this from its siblings without reading any 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?

Gives explicit when-not-to-use rules with named alternatives ('Do not use for single-URL extraction (use web_fetch_markdown) or crypto ticker feeds (use news_crypto_feed)') plus the fallback behavior when no query is supplied. Both positive context and exclusions are present.

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