Skip to main content
Glama

Extract one page in full

extract_url

Fetch one URL exactly as a project with the given settings would, and return the whole page: the bodies config's formats ask for plus the raw html (each capped at 12,000 characters), head and extracted fields, its images, and which engine read it -- without its link list. Use it for a single page that needs browser steps, structured fields or a settings trial before create_project; for plain content of one or many known URLs use scrape_urls, and get_page reads a page a project already stored without fetching. It climbs the fetch ladder -- plain http first, a browser only when the page needs one or render_js is 'always' -- and costs the credits of the rung that read it (1 to 4 for most pages, +1 when formats ask for a screenshot). Browser actions in config (click, type, select, press, wait, scroll; repeat 'until_gone' for Load-more buttons; each to act on every match) run before the page is read.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesThe absolute http(s) URL of the page to read.
configNoOptional fetch settings: any subset of the keys describe_project_config lists, e.g. {"render_js": "always", "only_main_content": true}. Omit for the defaults.
parse_documentsNoRead PDFs, Word files and spreadsheets as text (default true); false leaves their text out. A parse_documents key in config wins.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / config / description
      Added value: +"Optional fetch settings: any subset of the keys describe_project_config lists, e.g. {\"render_js\": \"always\", \"only_main_content\": true}. Omit for the defaults."
    • addedInput schema / properties / parse_documents / description
      Added value: +"Read PDFs, Word files and spreadsheets as text (default true); false leaves their text out. A parse_documents key in config wins."
    • addedInput schema / properties / url / description
      Added value: +"The absolute http(s) URL of the page to read."
  2. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations only cover safety flags (readOnly/openWorld/idempotent/destructive), so the description carries real weight and delivers: the fetch ladder (plain http first, browser only when needed or render_js is 'always'), credit cost 1-4 plus +1 for screenshots, the 12,000-char caps, and that browser actions run before the read. What it omits is failure/timeout behavior and auth requirements, but coverage is well above the annotation floor.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the return payload before the routing guidance, and every clause carries information (cap sizes, cost, ladder). The actions enumeration is dense but relevant; it is long without being padded.

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 describing the return shape in detail, and it supplies the cost, fallback, and browser-action behavior an agent needs to call correctly against a large sibling set.

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%, so the baseline is 3, but the description adds genuine semantic detail: it explains render_js 'always', the actions vocabulary (click, type, select, press, wait, scroll, 'until_gone', each), and that a parse_documents key in config overrides the top-level flag.

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+resource ('Fetch one URL ... return the whole page') and enumerates exactly what comes back (config formats, raw html capped at 12,000 chars, head, extracted fields, images, engine; no link list). It distinguishes itself from scrape_urls and get_page by name.

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

Usage Guidelines5/5

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

Gives explicit when-to-use ('a single page that needs browser steps, structured fields or a settings trial before create_project') and routes two alternatives with their selecting conditions: scrape_urls for plain content of known URLs, get_page for an already-stored page without fetching.

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.