Skip to main content
Glama
doranobik
by doranobik

Fetch Web Content

fetchWebContent

Fetch and extract readable main text from a URL, stripping ads and navigation for clean article content. Use for reading full pages after search or analyzing direct URLs.

Instructions

Fetch and extract the main text content from a webpage. Use this tool after webSearch to read the full content of a specific URL, or when given a direct URL to analyze.

  • Extracts readable article text, removing ads, navigation, and other non-content elements

  • Works best with article pages, blog posts, and documentation

  • May not work well with heavily JavaScript-rendered pages or pages requiring login

  • Use maxChars to limit returned content length for large pages

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesURL of the webpage to fetch content from
maxCharsNoMaximum number of characters to return (default: 5000, max: 200000)
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It transparently states what the tool does (extracts readable text, removes ads/navigation), its best-use scenarios (articles, blogs, docs), and its limitations (may not work with JS-rendered or login pages). It also mentions the maxChars parameter for controlling output size. However, it doesn't explicitly state that it is a read-only operation (though implied) or describe error handling, so it's not perfect.

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?

The description is structured as a use_case and important_notes, with the purpose stated upfront. It uses bullet points for key notes, making it scannable. Every sentence contributes value—purpose, usage context, and limitations—with no filler. It is concise yet complete.

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 simple two-parameter tool with no output schema, the description covers all necessary information: what it does, when to use it, limitations, and a parameter tip. It explains the tool's behavior and constraints sufficiently for an agent to use it correctly without additional context.

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 description coverage is 100%, so the schema already documents both url and maxChars with clear meanings. The description adds a small usage hint ('Use maxChars to limit returned content length for large pages') but doesn't provide additional semantics beyond what the schema already conveys. This meets the baseline of 3.

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 states a specific verb and resource: 'Fetch and extract the main text content from a webpage.' It clearly distinguishes itself from the sibling webSearch (which returns search results) by focusing on reading full content of a specific URL. It also specifies what it extracts (readable article text) and what it removes (ads, navigation), making the purpose unmistakable.

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?

Explicitly provides usage context: 'Use this tool after webSearch to read the full content of a specific URL, or when given a direct URL to analyze.' It also notes limitations (JS-rendered pages, login pages) that guide when to avoid it. While it doesn't explicitly name alternative tools for those cases, the guidance is clear and actionable, earning a 4.

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/doranobik/mcp-web-search'

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