Skip to main content
Glama

RenderForge Web & Document Engine

Convert Webpage URL to Markdown

url_to_markdown
Read-onlyIdempotent

Render any public HTTP or HTTPS webpage (including client-side JavaScript SPAs) in headless Chromium and return clean LLM-ready Markdown along with page title, final URL, HTTP status, word count, and estimated token count. Rejects private/internal URLs. Cost: 1 credit.

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

Input Schema

NameRequiredDescriptionDefault
urlYesPublic http:// or https:// URL of the webpage to render and extract.
include_linksNoWhen true, preserve hyperlinks as Markdown links in the extracted output.
main_content_onlyNoWhen true, strip navigation bars, footers, ads, and boilerplate.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.1/5.0
Behavior4/5

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

Goes well beyond the annotations by disclosing the rendering mechanism (headless Chromium), the SPA/JavaScript handling, the metadata returned, the private-URL rejection policy, and a per-call cost of 1 credit. Still silent on timeouts, rate limits, or how JS-heavy pages that never settle are handled.

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?

A single dense sentence that front-loads the action, the engine, and the returned fields, followed by the URL restriction and cost. No filler and no repetition of the title.

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 no output schema, the description compensates by enumerating the returned fields (Markdown, title, final URL, HTTP status, word count, token count). Combined with the annotations covering safety and openness, an agent has enough to call this correctly.

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% and each of the three parameters already carries its own description, so the schema does the heavy lifting. The description reinforces the URL parameter's public-only constraint but adds no meaning about include_links or main_content_only beyond what the schema states.

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?

States a specific verb and resource: render a public HTTP/HTTPS webpage in headless Chromium and return Markdown plus metadata. The URL-to-Markdown framing naturally separates it from doc_to_markdown, html_to_pdf, and website_screenshot, though it never names those siblings to make the distinction explicit.

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?

Gives a clear inclusion scope (any public http/https page, including JS SPAs) and an explicit exclusion (private/internal URLs are rejected), which is real when-to-use guidance. It does not route the agent to alternatives such as doc_to_markdown for files or website_screenshot for images, so guidance stops short of a full routing rule.

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.