Skip to main content
Glama

WebExtract

Web page to Markdown

page_markdown
Read-only

Fetch a public web page (robots.txt respected) and return clean Markdown only. Cheaper than extract_url (0.4 credit). Free 50 calls/day per IP; pass 'Authorization: Bearer ' for prepaid credits.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesPublic http(s) URL

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYes
titleNo
markdownYes
final_urlYes
fetched_atNo
word_countNo
markdown_truncatedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "fetched_at": {
      +      "type": "string"
      +    },
      +    "final_url": {
      +      "type": "string"
      +    },
      +    "markdown": {
      +      "type": "string"
      +    },
      +    "markdown_truncated": {
      +      "type": "boolean"
      +    },
      +    "title": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "url": {
      +      "type": "string"
      +    },
      +    "word_count": {
      +      "type": "integer"
      +    }
      +  },
      +  "required": [
      +    "url",
      +    "final_url",
      +    "markdown"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations only cover readOnly and openWorld; the description goes well beyond them by disclosing robots.txt compliance, the free-tier rate limit (50 calls/day per IP), and how to authenticate with a Bearer key for prepaid credits. These are exactly the operational constraints an agent needs before invoking.

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 tight sentences: capability and output first, then cost/alternative, then rate limits and auth. No filler, and the most decision-relevant facts are front-loaded.

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?

With an output schema present, return-format explanation is unnecessary, and the description covers the remaining gaps: cost, sibling alternative, rate limits, auth, and robots.txt behavior. Nothing material is missing for correct invocation.

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 100% for the single url parameter, so the schema already documents it. The description adds the Authorization header convention, which is not represented in the input schema and would otherwise be invisible to the caller.

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) and resource (public web page), and specifies the output format (clean Markdown only). It also distinguishes itself from the sibling extract_url by naming it and noting the cost difference.

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?

Explicitly positions itself against extract_url on cost ('Cheaper than extract_url (0.4 credit)'), giving the agent a selection rationale. It stops short of stating when extract_url would be the better choice (e.g., richer extraction), so exclusions are implied rather than stated.

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