Skip to main content
Glama

Web search + read: top results with page text as Markdown

web_search_read
Read-onlyIdempotent

Use when an agent needs to search and read in one call. Input: q, optional max (1-10, default 5), time_range (day, week, month, year). Output: JSON results (title, URL, date) and, for the top 3, the page converted to Markdown (up to 4,000 characters each; a page that fails is marked, the rest still ship). Provider failure is not charged. Use instead: web_search for result links only; web_answer for a sourced answer; web_read_batch for URLs you already have. Example: ?q=EU+AI+Act+timeline&max=5 Price: $0.02 per call, paid in USDC (Base, Monad, Polygon, Arbitrum or Solana) 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": "web_search_read"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYesSearch query
maxNoNumber of results (default 5)
time_rangeNoOnly results from the past day, week, month or year

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedInput schema / additionalProperties
      Removed value: -false
  2. Changed1 schema field changed
    • addedInput schema / additionalProperties
      Added value: +false
  3. Changed1 schema field changed
    • removedInput schema / additionalProperties
      Removed value: -false
  4. Added

TDQS

A4.6/5.0
Behavior4/5

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

Beyond the readOnly/openWorld/idempotent annotations, it discloses that only the top 3 pages are converted, the 4,000-character cap, partial-failure behavior ('a page that fails is marked, the rest still ship'), and that provider failures are not billed. The remaining structural elements describe the pricing model, which helps, though it adds more noise than behavior guidance.

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 the usage trigger and alternatives, then inputs, outputs, and failure mode. It is dense and the trailing pricing/chain list plus the URL example are minor clutter, but no sentence is redundant.

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?

For a 3-parameter, read-only tool with no output schema, the description covers inputs, output shape (title/URL/date plus Markdown bodies), truncation limits, partial failure, and cost. An agent can invoke it correctly with no further information.

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 a 3 is the baseline; the description earns a bump by stating the 1-10 range for max (absent from the schema) and by enumerating the time_range values (the schema only describes them in prose). It still does not clarify whether the query string is interpolated as an example suggests.

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?

The title and opening sentence state a specific compound action (search the web and read the top pages in one call), and the 'Use instead' line names the sibling tools that do only part of this job, so the agent can distinguish it without opening schemas.

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?

Explicit selection rules are given for four alternatives: web_search for links only, web_answer for a sourced answer, web_read_batch for URLs already in hand, and this tool for search-plus-read. That is when-to-use plus when-not-to-use in a single line.

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