Skip to main content
Glama

oassis — web for agents

web_scrape

Processes a page and returns every output you ask for at once: markdown, html, links, screenshot, PDF, accessibility tree, elements by selector, AI-structured data, and controls (what can be clicked). One call, and a partial failure does not void the rest. From $0.001 per output. A url pointing at a PDF, Word, Excel or CSV file is converted to markdown instead, with no browser, for $0.002.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlNoPage to process.
htmlNoRaw HTML instead of `url`.
jsonNoFor the `json` format: `prompt` and/or `schema`.
waitNoWhen to consider the page loaded: `until`, `selector`, `timeout`.
maxAgeNoAccept an answer up to this many milliseconds old. A cache hit costs $0.0002 instead of the format price. Leave it out to force a fresh render.
formatsNoOutputs you want in the same response. `controls` is the map of what can be clicked; `elements` needs `selectors`; `json` needs `json.prompt`.
selectorsNoCSS selectors for `elements`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses partial-failure semantics ('a partial failure does not void the rest'), cost per output, cache pricing for maxAge, and that file URLs are converted without a browser. It stops short of covering auth requirements or rate limits.

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 tight sentences, front-loaded with the core capability and output list, then failure/cost behavior, then the special file-conversion case. No filler and nothing buried.

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?

No output schema exists, and the description compensates by enumerating every returnable format and the `controls` semantics. Missing pieces are minor: no mention of authentication, rate limits, or what an error response looks like when all formats fail.

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 baseline is 3, but the description adds real meaning: maxAge's cache-hit pricing and fresh-render default, the dependency of `elements` on `selectors` and `json` on `json.prompt`, and the alternate non-browser path for file URLs.

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+resource ('Processes a page') and enumerates exactly what comes back (markdown, html, links, screenshot, PDF, accessibility, elements, json, controls). It is distinguishable from a plain crawler by the multi-output single-call framing, though it never names a sibling to sharpen the boundary.

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?

It never says when to choose this over web_crawl, web_search_exa, or web_scrape_batch, nor when a targeted alternative is preferable. The 'one call' phrasing implies a preference for batching outputs but no explicit selection criteria are given.

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