Skip to main content
Glama

fetchWebContent

Read-onlyIdempotent

Fetch readable content from a public HTTP(S) URL (web pages, technical docs, and Markdown files). Defaults to format='markdown' to preserve headings, code blocks (with language), and GFM tables; auto-follows site-provided LLM .md versions…

Instructions

Fetch readable content from a public HTTP(S) URL (web pages, technical docs, and Markdown files). Defaults to format='markdown' to preserve headings, code blocks (with language), and GFM tables; auto-follows site-provided LLM .md versions when available. Set readability=true on noisy article/blog pages to strip chrome; when response has truncated=true, pass nextStartIndex as startIndex to read subsequent pages.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
rawNoReturn the raw response body (HTML/plain text) without extraction
urlYes
formatNoContent format (default: 'markdown' when raw is false): 'markdown' preserves headings, lists, fenced code blocks (with language) and GFM tables — better for technical docs; use 'text' for plain text
maxCharsNo
startIndexNoCharacter offset to start reading from (for paging through long content)
readabilityNo
includeLinksNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.0.25
    • changedInput schema / properties / format / description
      Previous value: -"Content format: 'markdown' preserves fenced code blocks (with language) and GFM tables — better for technical docs"New value: +"Content format (default: 'markdown' when raw is false): 'markdown' preserves headings, lists, fenced code blocks (with language) and GFM tables — better for technical docs; use 'text' for plain text"
  2. Changed1 schema field changedv1.0.15
    • addedInput schema / properties / format
      Added value: +{
      +  "description": "Content format: 'markdown' preserves fenced code blocks (with language) and GFM tables — better for technical docs",
      +  "enum": [
      +    "text",
      +    "markdown"
      +  ],
      +  "type": "string"
      +}
  3. First observedv1.0.11

TDQS

Score is being calculated.