Skip to main content
Glama

search_web

Read-only

Web search (open indexes) — Keyword search across open indexes in one call: Wikipedia, Hacker News stories, Crossref scholarly works (DOIs) and arXiv preprints, merged, de-duplicated and ranked by query-term match with source diversity. Each result has rank, title, url, snippet, source, date and score. Give q; optional n (1-25, default 10) and sources (comma list of wikipedia, hackernews, crossref, arxiv). Not a full-web crawl; sources that fail are listed in sourcesFailed. Price: $0.004 USDC (Base, via x402).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "q": "<q>"
    },
    "name": "search_web"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYessolid state batteries

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, openWorldHint and destructiveHint=false, and the description adds genuinely non-obvious behavior on top: results are merged, de-duplicated and rank-scored across sources, failed sources are surfaced in sourcesFailed, and each call costs $0.004 USDC via x402 on Base. The paid-call and partial-failure disclosures are exactly the kind of context annotations cannot carry, though processing latency and result-count limits for the merged set are not addressed.

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?

One dense paragraph ordered well: identity and sources, then result fields, then parameter usage, then scope caveat, then price. Every clause carries information; the only drag is the inline parameter recitation that duplicates (and here exceeds) the schema.

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?

With no output schema, the description compensates by listing the exact return fields (rank, title, url, snippet, source, date, score) plus the sourcesFailed field, and it discloses the per-call cost. Given a single required parameter and rich annotations, an agent has everything needed to invoke it and interpret the result, apart from the n/sources schema mismatch.

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 lists only q, documented solely by an example string, so the description's explanation of querying is welcome. However, it documents 'n (1-25, default 10)' and 'sources (comma list of wikipedia, hackernews, crossref, arxiv)' as accepted inputs when neither appears in the input schema, which is a real mismatch an agent could act on incorrectly.

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 (keyword search across open indexes) and enumerates the four corpora covered: Wikipedia, Hacker News, Crossref DOIs, arXiv. The parenthetical 'open indexes' and the explicit 'Not a full-web crawl' boundary separate it from web_crawl and generic full-web search siblings.

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

Usage Guidelines3/5

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

It gives a clear negative boundary ('not a full-web crawl') and describes the merge/dedupe/rank behavior that would tell an agent what to expect, but it never names when to prefer this over the numerous sibling search tools (wiki_search, news_search, sec_filings_search, search_answer). Usage is implied by the source list rather than stated as routing guidance.

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