Skip to main content
Glama
l0kifs

Web Explorer MCP

by l0kifs

webpage_content_tool

Extract clean webpage content from any URL, including JavaScript-rendered pages, with automatic pagination for easy reading.

Instructions

Extract and clean webpage content for a provided URL.

This tool extracts full content from webpages using Playwright with JavaScript rendering. Content is automatically paginated for display if it exceeds max_chars.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesThe URL to fetch and extract.
pageNoPage number to return (default 1). Pagination is applied to main_content for readability, but full content is always extracted.
max_charsNoMaximum characters per page to include in the main text. If not provided, 5000 characters are used. Pagination is applied to main_content only.
raw_contentNoIf True, return raw HTML content without processing. Defaults to False.

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 provided, the description carries the full burden of behavioral disclosure. It reveals that it uses Playwright with JavaScript rendering and that content is paginated when exceeding max_chars. However, it does not explicitly state that it is read-only or disclose limitations like site-specific failures, leaving some behavioral traits implicit.

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 two sentences long, with the first sentence immediately stating the purpose. There is no redundant content; every clause contributes meaning. This is an exemplary concise structure.

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

Completeness4/5

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

Combined with the 100% schema coverage and output schema, the description provides a complete functional overview: extraction, cleaning, JS rendering, and pagination. It lacks explicit guidance on when to use this tool versus the sibling and does not clarify 'clean', but these are minor gaps given the existing structured 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?

The schema covers all four parameters with descriptions, so the high-coverage baseline applies. The description adds a note about pagination behavior, but this mostly restates the schema's 'pagination is applied to main_content only' without deepening parameter understanding. Therefore, a score of 3 is appropriate.

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 begins with a specific verb+resource: 'Extract and clean webpage content for a provided URL.' This clearly distinguishes it from the sibling web_search_tool, which searches rather than fetches a known URL. The wording is unambiguous and informative.

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?

The description gives clear context that this tool is for extracting content from a specific URL, implying use when a URL is already known. It does not explicitly state when not to use it or mention alternatives, but the distinction from web_search_tool is clear enough to guide selection.

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/l0kifs/web-explorer-mcp'

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