Skip to main content
Glama
WebSearch MCP

WebSearch MCP

by NeaByteLab

web_fetch

Fetch any URL and convert its page content into readable markdown for research, quoting, summarization, or link checking. Retrieves live webpage text one URL per call.

Instructions

What it does: Fetches the content of a single URL and returns it as readable markdown. HTML is converted to markdown so the result is easy to read and quote.

When to use: Use this tool whenever you need to retrieve or analyze live webpage content (e.g. research, quoting, summarization, checking a link, comparing pages).

Use cases (in order):

  • Recall: The LLM recalls or selects the relevant URL(s) from the user's question, its knowledge, context, or links the user provided. Then call this tool for each URL to get up-to-date content. One URL per call.

  • Crawling: When you need many pages or want to crawl multiple URLs, call this tool in a loop. One tool call per URL. Do not pass multiple URLs in one call. Iterate over the list and call once per URL.

Rules and limits:

  • The URL must be a fully-formed, valid URL (http or https).

  • This tool is read-only. It does not perform actions that change state or have side effects.

  • Results may be live or cached; the tool does not guarantee real-time freshness.

  • Authentication is not supported. If the URL requires login or auth, an error will be returned.

  • If the server returns a non-200 status (e.g. 404, 500), the tool returns an error message instead of page content.

  • This fetch runs from an isolated environment. Hosts like localhost and private IPs may not work.

  • Binary content is not supported (e.g. media files, PDFs). Only text-like responses are returned.

  • Requests are bounded by a maximum timeout. Very slow or unresponsive URLs will return a timeout error.

  • For static assets or non-webpage URLs, use another tool if available.

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": {
      "url": "<url>"
    },
    "name": "web_fetch"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesThe URL to fetch. The content will be converted to a readable markdown format.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.8/5.0
Behavior5/5

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

With no annotations supplied, the description carries the full burden and does so: read-only/no side effects, live-or-cached results with no freshness guarantee, no authentication, error on non-200 status, isolated network environment blocking localhost/private IPs, no binary content, and a bounded timeout. These are exactly the failure modes an agent needs to plan around.

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?

Sectioned with clear headers (what it does / when to use / use cases / rules and limits), and the core purpose is front-loaded. The "Recall" bullet is somewhat verbose and restates the when-to-use line, costing a bit of tightness.

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, and the description covers both the success shape (markdown text) and the error shape (non-200, auth-required, timeout, unsupported binary). For a one-parameter fetch tool this leaves nothing material an agent would need before calling it.

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% for the single url parameter, so the schema already documents type and meaning. The description still adds real constraints beyond it: the URL must be fully formed http/https, and exactly one URL per call with an explicit prohibition on batching multiple URLs.

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 first line states a specific verb and resource ("Fetches the content of a single URL") plus the return format (readable markdown from HTML). The "single URL" scoping and "one URL per call" constraint clearly separate it from a search-style sibling.

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?

It gives an explicit when-to-use clause (research, quoting, summarization, link checking, comparing pages) and two ordered usage patterns (recall vs. crawling loop). It also states when not to use it: "For static assets or non-webpage URLs, use another tool if available."

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools