Skip to main content
Glama
vojtisprime11

mcp-server-web-fetcher

Extract page metadata

extract_metadata
Read-onlyIdempotent

Extract structured metadata from any web page: title, description, canonical URL, social tags, JSON-LD, feeds, and headings. Use this to classify or summarize a page before fetching full text.

Instructions

Extract structured metadata from a web page without downloading it twice: title, meta description, canonical URL, language, author, publish dates, Open Graph and Twitter card tags, JSON-LD blocks, RSS/Atom feeds, hreflang alternates, the h1-h6 outline and the raw HTTP response headers. Use this to classify or summarise a page cheaply before fetching its full text.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesAbsolute http(s) URL of the page to fetch.
timeoutMsNoRequest timeout in milliseconds (1000-120000).
includeJsonLdNoInclude parsed JSON-LD blocks.
includeHeadingsNoInclude the h1-h6 outline.
includeHttpHeadersNoInclude response headers (lower-cased keys).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYes
feedsYes
titleYes
authorYes
jsonLdYes
robotsYes
statusYes
charsetYes
faviconYes
twitterYes
headingsYes
languageYes
canonicalYes
fromCacheYes
openGraphYes
redirectsYes
wordCountYes
alternatesYes
contentTypeYes
descriptionYes
httpHeadersYes
modifiedTimeYes
requestedUrlYes
publishedTimeYes
Behavior4/5

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

The description adds value beyond annotations by stating the tool avoids fetching the page twice, implying efficiency. It also discloses the breadth of metadata extracted (e.g., JSON-LD, RSS feeds, hreflang). No contradiction with annotations (readOnlyHint, idempotentHint, etc.).

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?

Two well-structured sentences: the first lists all extracted metadata types, the second provides usage guidance. No fluff, every phrase adds value. Front-loaded with key 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?

Given the complexity (5 parameters, sibling tools), the description is complete. It covers purpose, usage, output scope, and efficiency benefits. The presence of an output schema means return values need no further explanation.

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 coverage is 100%, so baseline is 3. The description does not add parameter-level details beyond the schema, but the schema descriptions are self-explanatory (url, timeoutMs, booleans). No extra semantic value from description.

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 clearly states the tool's purpose: extracting structured metadata from a web page without downloading it twice. It lists 12 specific metadata elements (title, meta description, etc.), which distinguishes it from sibling tools fetch_page_markdown and extract_links.

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 explicitly advises using this tool 'to classify or summarise a page cheaply before fetching its full text,' providing clear context for when to use it. It does not mention when not to use it or name alternatives, but the 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/vojtisprime11/mcp-server-web-fetcher'

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