Skip to main content
Glama
damonwill78-a11y

clean-markdown-mcp

Scrape URL to Markdown

scrape_url

Fetch any web page and extract its main content as clean, readable Markdown, removing navigation, ads, and other clutter for direct use in LLM workflows.

Instructions

Fetch any web page and return its main content as clean, readable Markdown. Strips out navigation, ads, cookie banners, scripts, and other boilerplate. Ideal for feeding article or documentation content to an LLM.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesThe full URL of the web page to scrape (must start with http:// or https://).
renderJsNoRender the page in a real browser first (default false). Use for sites whose content is built by JavaScript. Requires Playwright to be installed.
includeLinksNoKeep hyperlinks in the output (default true). Set to false for cleaner plain prose.
Behavior4/5

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

Since no annotations are present, the description carries the full burden. It discloses that the tool strips navigation, ads, cookie banners, scripts, and other boilerplate, and outputs clean Markdown. This gives the agent meaningful behavioral expectations, though it does not cover error handling or rate limits, which would be desirable but not essential for this tool type.

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, front-loaded with the core functionality, and contains no fluff. It efficiently conveys the behavior and use case.

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?

Given the tool's simplicity and the fully documented schema, the description covers the essential context. It clarifies the return format (Markdown) and the cleaning behavior, which is important because there is no output schema. The description is complete for this tool.

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 fully documents each parameter. The description adds no extra meaning beyond what the schema provides for url, renderJs, and includeLinks. The baseline 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 states a clear verb-resource pair: 'Fetch any web page and return its main content as clean, readable Markdown.' It also specifies the cleanup behavior, making the tool's purpose unmistakable. No sibling tools exist, so no differentiation is needed.

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 provides a clear usage context: 'Ideal for feeding article or documentation content to an LLM.' It implies the tool is for extracting clean main content, but does not explicitly mention when not to use it or list alternatives (none exist). The use case guidance is sufficient.

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/damonwill78-a11y/clean-markdown-mcp'

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