Skip to main content
Glama

webintel_markdown

Read-onlyIdempotent

Convert any public webpage into clean, high-signal, LLM-optimized Markdown stripped of boilerplate noise.

Purpose

Fetch a remote HTML page and strip navigational menus, header/footer links, cookie banners, script tags, style sheets, inline SVG vectors, modals, and advertisement wrappers. Converts remaining semantic elements (H1-H4, paragraphs, bulleted and ordered lists, blockquotes, and tables) into standard Markdown formatted for token efficiency and LLM reasoning.

When to Use

  • Ingesting web articles, documentation, landing pages, or company profiles into an LLM context window for summarization, Q&A, or RAG embeddings.

  • Extracting core reading content without paying LLM token costs for repetitive HTML markup and site navigation.

When NOT to Use

  • Do NOT use if you need structured metadata (title, Open Graph preview, JSON-LD); use webintel_seo_meta instead.

  • Do NOT use if you need company emails, phone numbers, or technologies; use webintel_scan instead.

  • Do NOT use if you need to extract and follow website links; use webintel_links instead.

Disambiguation

Unlike standard web scrapers that return messy raw HTML or unstructured text dumps, webintel_markdown applies intelligent semantic noise filtering, stripping cookie policies and navigation bars, and caps output at 4,000 characters to fit predictably inside prompt budgets.

Behavior & Performance

  • Side Effects: None. Strictly read-only.

  • Idempotency: Yes.

  • Output Length: Capped at 4,000 characters by default to protect agent context windows.

  • Latency: Typically 500ms to 2.2s.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "url": "<url>"
    },
    "name": "webintel_markdown"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesThe webpage URL to fetch and convert into Markdown (e.g. 'https://docs.github.com'). Must include http:// or https://.

Output Schema

NameRequiredDescriptionDefault
urlYes
markdownYes
characterCountYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 schema fields changed
    • addedInput schema / additionalProperties
      Added value: +false
    • changedInput schema / properties / url / description
      Previous value: -"The website URL to convert to Markdown"New value: +"The webpage URL to fetch and convert into Markdown (e.g. 'https://docs.github.com'). Must include http:// or https://."
    • addedInput schema / properties / url / examples
      Added value: +[
      +  "https://docs.github.com",
      +  "https://stripe.com/pricing",
      +  "https://openai.com/research"
      +]
    • addedInput schema / properties / url / format
      Added value: +"uri"
    • addedInput schema / properties / url / maxLength
      Added value: +2048
    • addedInput schema / properties / url / minLength
      Added value: +8
    • addedInput schema / properties / url / pattern
      Added value: +"^https?://.+"
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "characterCount": {
      +      "type": "number"
      +    },
      +    "markdown": {
      +      "type": "string"
      +    },
      +    "url": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "url",
      +    "characterCount",
      +    "markdown"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint, so the safety profile is covered; the description's 'Side Effects: None' and 'Idempotency: Yes' lines partly restate that. It does add genuinely new behavioral context the annotations lack: a 4,000-character output cap and a 500ms–2.2s latency range, both relevant to planning.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Headers front-load purpose, usage, and exclusions in a scannable order with no filler prose. Minor waste in repeating annotation-backed traits ("Strictly read-only", "Idempotency: Yes") rather than spending those lines on new information.

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?

Covers stripping behavior, output size cap, latency, side effects, and sibling disambiguation; an output schema exists so return-value detail is unnecessary here. Nothing an agent needs to invoke this one-parameter read tool correctly is missing.

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?

Only one parameter (url) with 100% schema description coverage including format, pattern, length bounds, and examples, so the schema fully documents it. The description adds nothing beyond the schema about the URL argument, which is the correct baseline for a single well-documented parameter.

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?

States a specific verb and resource ("Convert any public webpage into clean, LLM-optimized Markdown") and then details exactly what is stripped and what semantic elements survive. The Purpose section leaves no ambiguity about what the tool returns versus a raw HTML fetch.

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

Usage Guidelines5/5

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

Provides an explicit 'When to Use' list plus a 'When NOT to Use' section that routes to three named siblings (webintel_seo_meta, webintel_scan, webintel_links) with the condition selecting each. An agent can choose correctly without inspecting other schemas.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources