Skip to main content
Glama

x420_web_search

Read-onlyIdempotent

Web search: Web search results (title, URL, snippet) for a query, up to 20, from DuckDuckGo's HTML results (best effort) or Wikipedia's search API (engine=wikipedia). No key, no account. Source: DuckDuckGo / Wikipedia. Not professional, legal, insurance, engineering, medical, financial or tax advice. Price: $0.002 USDC per call (x402 on Base). This hosted tool does NOT pay and does NOT return the deliverable: it validates the input and returns payment instructions (pay_to, network, price and the x402 URL to pay at). GET the url; read PAYMENT-REQUIRED from the 402; retry with PAYMENT-SIGNATURE (x402 v2). Or run the local x420-mcp server with your own wallet key to pay automatically. Deliverable once paid: JSON: results[]{title, url, snippet}.

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": {
      "query": "<query>"
    },
    "name": "x420_web_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYessearch query
engineNoweb (default) or wikipedia
max_resultsNo1-20 (default 10)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior5/5

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

Well beyond the annotations, the description discloses that the hosted tool is unpaid and does NOT return the deliverable — it returns payment instructions (pay_to, network, price, x402 URL) — and gives the exact 402 handshake: GET the url, read PAYMENT-REQUIRED, retry with PAYMENT-SIGNATURE. It also states the cost ($0.002 USDC per call on Base) and that no key or account is needed. This is exceptional behavioral disclosure for a metered tool and is consistent with readOnlyHint=true.

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 purpose and result shape are front-loaded, and every sentence carries non-obvious information (engines, cost, payment flow, deliverable format). It is dense rather than bloated, though the payment instructions are compressed into telegraphic fragments ('GET the url; read PAYMENT-REQUIRED from the 402') and the boilerplate 'not professional... advice' disclaimer is padding in a tool contract.

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?

There is no output schema, so the description supplies the return shape itself (JSON with results[]{title, url, snippet}) plus what is returned in the unpaid state. Together with the cost, engine options and 402 retry procedure, an agent has everything needed to call it and to interpret either response.

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 the schema already documents all three parameters. The description confirms the Wikipedia engine mode and the 20-result ceiling, but adds essentially nothing about query syntax, defaults, or failure behavior beyond the schema text. Baseline 3 is appropriate when the schema does the heavy lifting.

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?

The description states a specific verb and resource — web search returning title, URL and snippet for a query — plus the two backing engines (DuckDuckGo HTML, Wikipedia API) and the result cap of 20. It is clearly not a page fetcher, so an agent can distinguish it from x420_web_page-extract by inference, but it never names that sibling explicitly, which keeps it just below a 5.

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?

It gives concrete selection guidance for the engine parameter (default web vs engine=wikipedia) and describes an alternative execution path: run the local x420-mcp server with your own wallet key to pay automatically. What is missing is any explicit statement of when to prefer this tool over a sibling such as page-extract, or when search is inappropriate.

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