Skip to main content
Glama
SkillfulElectro

url-context-mcp

fetch_url

Fetch a URL and return its main readable content as clean markdown, with options for format, stripping links, and truncation. Useful for reading articles, docs, or pages without boilerplate.

Instructions

Fetch a URL and return its main readable content as clean markdown by default (Readability extraction). Options: format=markdown|text|html|readable, includeLinks=false to strip hyperlinks, maxChars to truncate. Useful for reading a web page, understanding a code/docs page, or getting article content without boilerplate.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesAbsolute URL to fetch (http/https).
formatNoOutput format. 'markdown' = readable article as markdown (default). 'readable' = same but also returns title/excerpt/length. 'text' = stripped text. 'html' = raw HTML.markdown
maxCharsNoTruncate output to this many characters (0/unset = no limit).
includeLinksNoIf false, strip <a> links when converting to markdown/text.
Behavior4/5

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

With no annotations provided, the description carries full burden for behavioral disclosure. It reveals the Readability extraction behavior, default markdown output, and the impact of options like includeLinks and maxChars. This goes beyond minimal disclosure, though it omits potential error behaviors or rate limits, which are not essential for this simple tool.

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 with no redundancy. The first sentence states the core function and default behavior, while the second lists options and use cases. It is front-loaded with the key action and every clause contributes value.

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?

For a simple four-parameter tool with a fully described schema and no output schema, the description covers the operation, options, and ideal use cases. It does not address error handling or rate limits, but these are not critical for this tool's primary functions. The description is sufficiently complete to guide usage.

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 baseline is 3. The description mentions format options, includeLinks, and maxChars, but essentially restates what the schema already provides. It adds no new semantic meaning beyond the schema descriptions, so a 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 explicitly states 'Fetch a URL and return its main readable content as clean markdown by default (Readability extraction)', giving a specific verb ('fetch') and resource ('URL'), and clearly distinguishes from sibling tools by focusing on readable content extraction. This differentiates it from extract_links (link extraction), fetch_image (image fetching), and search_content (content search).

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 explicit use cases: 'reading a web page, understanding a code/docs page, or getting article content without boilerplate.' It does not explicitly mention alternatives or when-not-to-use, but the context is clear enough to guide selection. The inclusion of sibling tool names in context also helps, but no direct comparison is made.

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/SkillfulElectro/url-context-mcp'

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