Skip to main content
Glama
evgenyigumnov

url-text-fetcher

url-text-fetcher

URL Text Fetcher Tools

This MCP server provides two utilities for web content analysis.

Related MCP server: URL Text Fetcher MCP Server

How to install

pip install -e .

How to use with LM Studio

mcp.json file:

{
  "mcpServers": {
    "url-text-fetcher": {
      "command": "python",
      "args": [
        "-m",
        "url_text_fetcher.mcp_server"
      ]
    }
  }
}

Tools Description

1. fetch_url_text(url: str) → str

Description:
Extracts all visible text content from a webpage, stripping HTML tags and normalizing whitespace.

Output Format:
Cleaned plain text with:

  • All HTML removed

  • Line breaks normalized (\n)

  • Leading/trailing whitespace stripped


2. fetch_page_links(url: str) → List[str]

Description:
Finds all absolute and relative links (from <a href> tags) on a webpage.

Output Format:
List of URLs including:

  • Absolute paths (/about)

  • Relative paths (../contact)

  • Full domain URLs (https://example.com/page)

Available Tools

2 tools
fetch_url_textB

Download the text from a URL.

ParametersJSON Schema
NameRequiredDescriptionDefault
urlYes

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

B3.2/5.0
Behavior2/5

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

With no annotations provided, the description is the only source for behavioral traits. It mentions 'download' but does not disclose redirects, error handling, content type handling, size limits, or whether JavaScript is executed. Minimal behavioral information is present.

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 a single, direct sentence with no redundancy or extraneous information. It is appropriately concise for a one-parameter tool.

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?

Although an output schema exists and the tool is simple, the description omits use-case context, potential limitations, and guidance on when to choose this over the sibling tool. It is minimally adequate but leaves notable gaps.

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?

The input schema has only a 'url' string with 0% schema description coverage, and the description does not add any detail about URL format, schemes, or constraints beyond the parameter name itself. It fails to compensate for the low coverage.

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 specifies the verb 'download', the resource 'URL', and the outcome 'text', making it clear what the tool does. This implicitly distinguishes it from the sibling fetch_page_links, which targets links rather than text.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance is given on when to use this tool over fetch_page_links or other alternatives. It only states what it does, leaving usage circumstances entirely to the agent.

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

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 2 tool updatesv0.1.0
    • First observedfetch_page_links
    • First observedfetch_url_text

TDQS

A3.6/5.0

Scored across 2 tools

Disambiguation5/5

The two tools have clearly distinct purposes: one fetches the text content of a URL, the other extracts links from a page. There is no overlap or ambiguity between them.

Naming Consistency5/5

Both tool names follow the verb_noun pattern consistently: fetch_url_text and fetch_page_links. The naming is clear, predictable, and uniform.

Tool Count3/5

With only two tools, the set feels thin. While the scope is narrow and both tools are useful, this falls at the borderline where 1-2 tools are considered minimal.

Completeness5/5

For a URL text fetcher, the two tools cover the primary needs: retrieving the text content and discovering links on a page. The surface is complete for this simple, read-only domain, with no obvious gaps.

Maintenance

ActivityInactive
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    D
    maintenance
    Enables web content scanning and analysis by fetching, analyzing, and extracting information from web pages using tools like page fetching, link extraction, site crawling, and more.
    6
    13
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables web crawling and content extraction from web pages, supporting multiple output formats like text, markdown, XML, and JSON, with robots.txt compliance and rate limiting.
    14 npm
    1
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    Enables AI agents to read web pages reliably, returning clean markdown content, hyperlinks, and metadata without navigation or ad noise.
    3
    6 npm
    MIT