Skip to main content
Glama

extract_clean_web_markdown

Fetch a public webpage live and convert it into clean, LLM-ready Markdown by removing boilerplate, ads, and navigation so agents can use the content.

Instructions

Convert any public webpage into clean, LLM-ready Markdown (boilerplate, ads and navigation removed).

Cost: $0.005 USDC per call.
Freshness: fetched live at request time.
Inputs: url - full http:// or https:// page address.

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

Input Schema

NameRequiredDescriptionDefault
urlYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does disclose two genuinely useful traits: a per-call cost of $0.005 USDC and live fetch at request time. It omits rate limits, failure behavior on JS-rendered or paywalled pages, and whether the output is truncated, so it is strong but not complete.

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?

Three short labeled lines with the core function front-loaded and no filler; cost, freshness, and input format each appear exactly once. Nothing could be cut without losing information.

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?

An output schema exists, so return-value explanation is correctly omitted, and for a single-parameter tool the description covers purpose, cost, freshness, and input format. The remaining gap is behavioral edge cases (JS-heavy pages, non-HTML responses), which matters somewhat given zero annotation coverage.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0% — the schema only declares 'url' as an untyped string — so the description must compensate, and it does by specifying 'full http:// or https:// page address', which adds a concrete format requirement. It still says nothing about URL length limits, query strings, or redirects.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb and resource ('Convert any public webpage into clean, LLM-ready Markdown') and characterizes the transformation (boilerplate, ads and navigation removed), which separates it from siblings like parse_remote_pdf_document or verify_citation_or_url by input type. It stops short of explicitly naming a sibling it is not, so it lands at 4 rather than 5.

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 is only implied: 'any public webpage' implicitly scopes out PDFs, authenticated pages, and non-HTML resources, but there is no explicit when-to-use, when-not-to-use, or named alternative. An agent must infer routing from the word 'webpage' alone.

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