Skip to main content
Glama
web-data-mcp

web-data-mcp

by librevlad

page_to_markdown

Read-onlyIdempotent

Fetch a public web page and convert its main content into clean Markdown, removing menus, footers, and cookie banners, with title and final URL; optionally truncate output by character limit.

Instructions

Fetch one public web page and return its main content as clean Markdown (menus, footers and cookie banners removed), with title and final URL. max_chars truncates the Markdown (0 = no limit).

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": "page_to_markdown"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYes
max_charsNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, openWorldHint and idempotentHint, so the description adds real value on top by disclosing the content-cleaning behavior (menus, footers, cookie banners removed) and that the response includes the title and final URL, which implies redirect following. It does not cover failure modes for non-public or JS-heavy pages, which is the remaining gap.

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 compact sentences with the primary action and output format front-loaded and the max_chars qualifier second. Every clause carries information; nothing is repeated from the annotations or schema.

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 two-parameter, read-only fetch tool with an output schema (so return fields need not be described) and full annotation coverage, this is close to sufficient. The only real omission is behavior on pages that cannot be fetched or that require JS rendering.

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 0%, so the description must carry parameter meaning; it does explain max_chars semantics (truncation, 0 = no limit) better than the bare integer/default in the schema. The url parameter is left entirely unexplained beyond the word 'public', so format expectations and any restriction on non-public URLs are not addressed.

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 (fetch) plus resource (one public web page) and names the transformation and output shape (clean Markdown with title and final URL). The word 'one' plus 'public' distinguishes it from the multi-page crawl_to_markdown sibling without needing the sibling list.

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

Usage Guidelines3/5

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

Usage context is implied rather than stated: 'one public web page' signals single-page fetching and no authenticated content, which implicitly routes multi-page work elsewhere. It never explicitly names crawl_to_markdown or states a when-not-to-use condition, so the agent must infer the boundary.

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