Skip to main content
Glama

web_search

Read-only

$0.01 via x402: multi-source web & developer search in ONE call — Hacker News, GitHub, Stack Overflow and Wikipedia by keyword, returned as a unified ranked result set (titles, URLs, scores/stars, snippets). The research/search read agents make to ground answers, find code and gather context. No API keys, no per-source accounts.

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

Input Schema

NameRequiredDescriptionDefault
qYesSearch query / keywords
limitNoResults per source 1-10 (default 5)
sourcesNoComma list to narrow: hackernews,github,stackoverflow,wikipedia (default all)
x_paymentNosigned x402 payment payload (the X-PAYMENT header value) for the terms the first call returns; omit it to get the price and terms

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / x_payment / description
      Added value: +"signed x402 payment payload (the X-PAYMENT header value) for the terms the first call returns; omit it to get the price and terms"
  2. Changed6 schema fields changed
    • removedInput schema / properties / limit / default
      Removed value: -5
    • addedInput schema / properties / limit / description
      Added value: +"Results per source 1-10 (default 5)"
    • changedInput schema / properties / limit / type
      Previous value: -"integer"New value: +"number"
    • addedInput schema / properties / q / description
      Added value: +"Search query / keywords"
    • addedInput schema / properties / sources
      Added value: +{
      +  "description": "Comma list to narrow: hackernews,github,stackoverflow,wikipedia (default all)",
      +  "type": "string"
      +}
    • addedInput schema / properties / x_payment
      Added value: +{
      +  "type": "string"
      +}
  3. Changed6 schema fields changed
    • addedInput schema / properties / limit / default
      Added value: +5
    • removedInput schema / properties / limit / description
      Removed value: -"Results per source 1-10 (default 5)"
    • changedInput schema / properties / limit / type
      Previous value: -"number"New value: +"integer"
    • removedInput schema / properties / q / description
      Removed value: -"Search query / keywords"
    • removedInput schema / properties / sources
      Removed value: -{
      -  "description": "Comma list to narrow: hackernews,github,stackoverflow,wikipedia (default all)",
      -  "type": "string"
      -}
    • removedInput schema / properties / x_payment
      Removed value: -{
      -  "type": "string"
      -}
  4. Added
  5. Removed
  6. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover readOnlyHint and openWorldHint, and the description adds genuinely non-obvious behavior: a $0.01 x402 charge, no API keys or per-source accounts, and the two-step handshake where omitting x_payment returns price and terms. Missing only failure modes and rate/limit behavior under load.

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?

Roughly three sentences, front-loaded with price and the one-call differentiator, with zero filler lines. The phrase 'The research/search read agents make to ground answers' is slightly marketing-flavored but still carries usage signal.

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?

With no output schema, the description usefully characterizes the return set (unified ranked results with titles, URLs, scores/stars, snippets) and explains the paid-call flow. Complete enough to invoke correctly; only edge-case behavior is unaddressed.

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 coverage is 100%, so q, limit, sources and x_payment are fully documented in the schema; baseline 3 applies. The description reinforces the result fields (titles, URLs, scores/stars, snippets) and the credential-free model but adds no syntax or constraint detail beyond the schema.

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?

States a specific verb and resource ('multi-source web & developer search') and enumerates the exact sources (Hacker News, GitHub, Stack Overflow, Wikipedia) plus the shape of the result set. That is far more specific than the name alone. It stops short of naming a sibling it replaces (e.g. tavily_search or papers_search) to draw a hard boundary.

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?

'The research/search read agents make to ground answers, find code and gather context' gives clear use-context, and 'in ONE call' implicitly routes away from per-source tools. There is no explicit when-not guidance or named alternative, 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.