Skip to main content
Glama
bpzx

web-fetch-mcp

by bpzx

web_fetch

Fetch web page content and convert it to markdown or plain text, with automatic fallback between Tavily and Firecrawl for reliable extraction.

Instructions

Fetch and extract the content of a web page as markdown (or plain text). Tries Tavily first; on failure or empty result, automatically falls back to Firecrawl. Requires TAVILY_API_KEY and/or FIRECRAWL_API_KEY in the server's environment.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYes
queryNo
formatNomarkdown
extract_depthNobasic
only_main_contentNo
timeoutNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

With no annotations, the description discloses the fallback logic and environment requirements. It lacks details on error handling, rate limits, or behavior for non-HTML content.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, front-loaded with main purpose, no extraneous information.

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?

Adequate for a simple tool but missing details about output schema, error cases, and parameter behavior. Given no annotations and a low schema coverage, more context would be beneficial.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and the description adds minimal explanation for parameters (only format implied). It does not clarify 'query', 'extract_depth', 'only_main_content', or 'timeout' beyond defaults.

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 description clearly states the tool fetches and extracts web page content as markdown or plain text, and distinguishes from sibling 'web_search' by focusing on a specific URL.

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 mentions required API keys and the fallback mechanism, giving context for when to use. However, it does not explicitly state when NOT to use it or compare with alternatives like web_search.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/bpzx/web-fetch-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server