Skip to main content
Glama

url_to_extract

Read-only

Extract structured data from a page as JSON: title, meta description, canonical URL, language, main text and links. Readability-first, no LLM involved. Requires an API key purchased at https://url-pdf.hammbox.com/buy. Same auth as the other paid tools.

Input Schema

NameRequiredDescriptionDefault
urlYesAbsolute http(s) URL of the page to extract. Required.
waitMsNoExtra settle time after load, 0-10000ms. Few dynamics pages need this.
blockAdsNoBlock requests to major ad/analytics domains before rendering. Default false.
darkModeNoRender with prefers-color-scheme: dark. Default false.
maxLinksNoMaximum number of links to return, 0-500. Default 100.
timeoutMsNoNavigation timeout in ms, 5000-100000. Default 45000.
waitUntilNoPuppeteer navigation wait condition. Default networkidle2.
maxTextCharsNoTruncate main text to this many characters, 500-200000. Default 20000.
clickSelectorNoCSS selector to click before rendering (expand, dismiss modal, switch tab).
waitForSelectorNoOptional CSS selector to wait for before rendering.
hideCookieBannersNoRemove elements that look like cookie consent banners. Default false.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint=true, destructiveHint=false, openWorldHint=true, idempotentHint=false). The description adds genuinely non-obvious behavioral context: an API key must be purchased at a specific URL, and auth matches the other paid tools. It does not mention rate limits or noise, but the auth gating is valuable.

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 tightly written sentences with no filler: output fields first, then the rendering approach, then the auth requirement. Every sentence earns its place and the most useful information is front-loaded.

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?

With no output schema, the description usefully enumerates the returned fields (title, meta description, canonical URL, language, main text, links), covering the return-value gap. Auth requirements are also stated. For an 11-parameter tool it is nearly complete, though it could clarify behavior on failed extractions or redirects.

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 100% and all 11 parameters carry detailed descriptions with ranges, defaults, and semantics (e.g., waitUntil enum, maxLinks default 100). The description adds no parameter-level meaning, so the schema alone carries the load — the baseline 3 applies.

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 ('Extract') and resource ('structured data from a page') and enumerates the exact fields returned (title, meta description, canonical URL, language, main text, links). This clearly separates it from url_to_markdown and url_to_screenshot, though it never names those siblings explicitly.

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

Usage Guidelines2/5

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

The phrase 'Readability-first, no LLM involved' hints at a positioning but gives no when-to-use guidance against the sibling tools (url_to_markdown, url_to_pdf, url_to_screenshot). It does not state when this tool is preferred over extracting markdown or a PDF.

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.