Skip to main content
Glama

Web search (free tier, then x402)

web_search
Read-onlyIdempotent

Paid web search via x402 ($0.004 USDC on base). Pass an x402 payment in the X-PAYMENT header of the MCP request, or send header X-Trial: 1 for free trial calls (25 per network). Free tier: up to 20 calls a day with no payment or key (10 results per call). Supports freshness (hour/day/week/month/year), dateFrom/dateTo, page and num up to 100.

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
qNo
glNo
hlNo
numNo
pageNo
queryNoSearch query (alias: q)
dateToNoYYYY-MM-DD
dateFromNoYYYY-MM-DD
freshnessNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 schema fields changed
    • addedInput schema / properties / dateFrom
      Added value: +{
      +  "description": "YYYY-MM-DD",
      +  "type": "string"
      +}
    • addedInput schema / properties / dateTo
      Added value: +{
      +  "description": "YYYY-MM-DD",
      +  "type": "string"
      +}
    • addedInput schema / properties / freshness
      Added value: +{
      +  "enum": [
      +    "hour",
      +    "day",
      +    "week",
      +    "month",
      +    "year"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / gl
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / hl
      Added value: +{
      +  "type": "string"
      +}
    • removedInput schema / properties / num / description
      Removed value: -"Results, default 10"
    • changedInput schema / properties / num / maximum
      Previous value: -20New value: +100
    • addedInput schema / properties / page
      Added value: +{
      +  "maximum": 10,
      +  "minimum": 1,
      +  "type": "number"
      +}
  2. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnly/openWorld/idempotent/non-destructive, so the safety profile is covered. The description adds genuinely valuable non-obvious behavior: pricing ($0.004 USDC on base), required headers, rate limits, and result count. It stops short of describing pagination behavior across pages or response shape, keeping it from a 5.

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?

Dense but front-loaded: identity and payment model come first, then trial mechanics, then supported parameters. Every sentence carries information, though the payment/header detail dominates a description that is otherwise thin on tool differentiation.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 9-parameter, zero-required tool with no output schema, the description covers the call mechanics well but omits any description of the return value beyond result count, and leaves two parameters (gl, hl) undocumented. Adequate to invoke, but not fully complete.

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 low at 33%, so the description is expected to compensate. It does explain freshness values, dateFrom/dateTo, page, and num up to 100, but leaves gl and hl completely undefined in both schema and description, and the 'page and num up to 100' phrasing is misleading since page is capped at 10.

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+resource combination ("web search") and immediately defines the commercial model (x402 paid search). However, it never distinguishes this from the many sibling search tools (news_search, image_search, scholar_search, batch_search), leaving the agent to infer that this is the general-purpose web index.

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?

Provides useful operational context — free tier of 20 calls/day, 25 X-Trial calls per network, payment via X-PAYMENT header — which helps the agent know how to call it. But there is no guidance on when to pick this over sibling search tools or when-not to use it, so routing guidance is entirely absent.

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