Skip to main content
Glama

oassis — web scraping, crawling and browser control for AI agents

web_scrape

Read-only

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 1 credit ($0.002) per output. A url pointing at a PDF, Word, Excel or CSV file is converted to markdown instead, with no browser, for $0.002. Reference for the oassis API: https://oassis.dev/openapi.json

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pdfNoOptions for the `pdf` format: `format` (a4, letter, legal…), `landscape`, `printBackground`, `scale` 0.1 to 2.
urlNoPage to process.
htmlNoRaw HTML instead of `url`, for a page you already have. Nothing leaves for the network.
jsonNoFor the `json` format: a `prompt` describing what to pull out, a JSON `schema` to fill, or both.
waitNoWhen to consider the page loaded: `until` (load, domcontentloaded, networkidle0, networkidle2), `selector` to wait for, `timeout` in ms.
blockNoWhat not to load, which makes a render faster and cheaper. `resourceTypes` takes image, font, stylesheet, media… and `urlPatterns` are regular expressions, not globs: `\.svg$`, not `*.svg`.
linksNoOptions for the `links` format: `visibleOnly`, `excludeExternal` to keep only internal links.
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` or `json.schema`.
requestNoHow to make the request: `headers`, `cookies`, `userAgent`, and `auth` for basic authentication.
binaryAsNoHow a screenshot or a PDF comes back. `base64` is the only value today.base64
controlsNoOptions for the `controls` format: `visibleOnly`, and `limit` (1 to 1000) to cut the map.
viewportNoThe window to render in: `width`, `height`, `deviceScaleFactor`.
selectorsNoCSS selectors for the `elements` format.
screenshotNoOptions for the `screenshot` format: `fullPage` for the whole page, `type` (png, jpeg, webp), `quality` 1-100 (not with png), `omitBackground`, `selector` to capture one element, and its own `viewport`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / binaryAs / enum
      Previous value: -[
      -  "base64",
      -  "url"
      -]New value: +[
      +  "base64"
      +]
    • removedInput schema / properties / json / properties / model
      Removed value: -{
      -  "minLength": 1,
      -  "type": "string"
      -}
  2. Changed33 schema fields changed
    • addedInput schema / properties / binaryAs
      Added value: +{
      +  "default": "base64",
      +  "description": "How a screenshot or a PDF comes back. `base64` is the only value today.",
      +  "enum": [
      +    "base64",
      +    "url"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / block
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "What not to load, which makes a render faster and cheaper. `resourceTypes` takes image, font, stylesheet, media… and `urlPatterns` are regular expressions, not globs: `\\.svg$`, not `*.svg`.",
      +  "properties": {
      +    "resourceTypes": {
      +      "items": {
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "urlPatterns": {
      +      "items": {
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "type": "object"
      +}
    • addedInput schema / properties / controls
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "Options for the `controls` format: `visibleOnly`, and `limit` (1 to 1000) to cut the map.",
      +  "properties": {
      +    "limit": {
      +      "maximum": 1000,
      +      "minimum": 1,
      +      "type": "integer"
      +    },
      +    "visibleOnly": {
      +      "type": "boolean"
      +    }
      +  },
      +  "type": "object"
      +}
    • addedInput schema / properties / formats / default
      Added value: +[
      +  "markdown"
      +]
    • changedInput schema / properties / formats / description
      Previous value: -"Outputs you want in the same response. `controls` is the map of what can be clicked; `elements` needs `selectors`; `json` needs `json.prompt`."New value: +"Outputs you want in the same response. `controls` is the map of what can be clicked; `elements` needs `selectors`; `json` needs `json.prompt` or `json.schema`."
    • addedInput schema / properties / formats / maxItems
      Added value: +9
    • addedInput schema / properties / formats / minItems
      Added value: +1
    • changedInput schema / properties / html / description
      Previous value: -"Raw HTML instead of `url`."New value: +"Raw HTML instead of `url`, for a page you already have. Nothing leaves for the network."
    • addedInput schema / properties / html / minLength
      Added value: +1
    • addedInput schema / properties / json / additionalProperties
      Added value: +false
    • changedInput schema / properties / json / description
      Previous value: -"For the `json` format: `prompt` and/or `schema`."New value: +"For the `json` format: a `prompt` describing what to pull out, a JSON `schema` to fill, or both."
    • addedInput schema / properties / json / properties / model
      Added value: +{
      +  "minLength": 1,
      +  "type": "string"
      +}
    • addedInput schema / properties / json / properties / prompt / minLength
      Added value: +1
    • addedInput schema / properties / json / properties / schema / additionalProperties
      Added value: +{}
    • addedInput schema / properties / links
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "Options for the `links` format: `visibleOnly`, `excludeExternal` to keep only internal links.",
      +  "properties": {
      +    "excludeExternal": {
      +      "type": "boolean"
      +    },
      +    "visibleOnly": {
      +      "type": "boolean"
      +    }
      +  },
      +  "type": "object"
      +}
    • addedInput schema / properties / maxAge / maximum
      Added value: +604800000
    • addedInput schema / properties / maxAge / minimum
      Added value: +0
    • changedInput schema / properties / maxAge / type
      Previous value: -"number"New value: +"integer"
    • addedInput schema / properties / pdf
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "Options for the `pdf` format: `format` (a4, letter, legal…), `landscape`, `printBackground`, `scale` 0.1 to 2.",
      +  "properties": {
      +    "format": {
      +      "enum": [
      +        "letter",
      +        "legal",
      +        "tabloid",
      +        "ledger",
      +        "a0",
      +        "a1",
      +        "a2",
      +        "a3",
      +        "a4",
      +        "a5",
      +        "a6"
      +      ],
      +      "type": "string"
      +    },
      +    "landscape": {
      +      "type": "boolean"
      +    },
      +    "printBackground": {
      +      "type": "boolean"
      +    },
      +    "scale": {
      +      "maximum": 2,
      +      "minimum": 0.1,
      +      "type": "number"
      +    }
      +  },
      +  "type": "object"
      +}
    • addedInput schema / properties / request
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "How to make the request: `headers`, `cookies`, `userAgent`, and `auth` for basic authentication.",
      +  "properties": {
      +    "auth": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "password": {
      +          "type": "string"
      +        },
      +        "username": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "username",
      +        "password"
      +      ],
      +      "type": "object"
      +    },
      +    "cookies": {
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "domain": {
      +            "type": "string"
      +          },
      +          "httpOnly": {
      +            "type": "boolean"
      +          },
      +          "name": {
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "path": {
      +            "type": "string"
      +          },
      +          "secure": {
      +            "type": "boolean"
      +          },
      +          "value": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "name",
      +          "value"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "headers": {
      +      "additionalProperties": {
      +        "type": "string"
      +      },
      +      "type": "object"
      +    },
      +    "userAgent": {
      +      "minLength": 1,
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
    • addedInput schema / properties / screenshot
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "Options for the `screenshot` format: `fullPage` for the whole page, `type` (png, jpeg, webp), `quality` 1-100 (not with png), `omitBackground`, `selector` to capture one element, and its own `viewport`.",
      +  "properties": {
      +    "fullPage": {
      +      "type": "boolean"
      +    },
      +    "omitBackground": {
      +      "type": "boolean"
      +    },
      +    "quality": {
      +      "maximum": 100,
      +      "minimum": 1,
      +      "type": "integer"
      +    },
      +    "selector": {
      +      "minLength": 1,
      +      "type": "string"
      +    },
      +    "type": {
      +      "enum": [
      +        "png",
      +        "jpeg",
      +        "webp"
      +      ],
      +      "type": "string"
      +    },
      +    "viewport": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "deviceScaleFactor": {
      +          "maximum": 3,
      +          "minimum": 0.1,
      +          "type": "number"
      +        },
      +        "height": {
      +          "maximum": 4096,
      +          "minimum": 1,
      +          "type": "integer"
      +        },
      +        "width": {
      +          "maximum": 4096,
      +          "minimum": 1,
      +          "type": "integer"
      +        }
      +      },
      +      "required": [
      +        "width",
      +        "height"
      +      ],
      +      "type": "object"
      +    }
      +  },
      +  "type": "object"
      +}
    • changedInput schema / properties / selectors / description
      Previous value: -"CSS selectors for `elements`."New value: +"CSS selectors for the `elements` format."
    • addedInput schema / properties / selectors / items / minLength
      Added value: +1
    • addedInput schema / properties / selectors / minItems
      Added value: +1
    • addedInput schema / properties / url / format
      Added value: +"uri"
    • addedInput schema / properties / viewport
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "The window to render in: `width`, `height`, `deviceScaleFactor`.",
      +  "properties": {
      +    "deviceScaleFactor": {
      +      "maximum": 3,
      +      "minimum": 0.1,
      +      "type": "number"
      +    },
      +    "height": {
      +      "maximum": 4096,
      +      "minimum": 1,
      +      "type": "integer"
      +    },
      +    "width": {
      +      "maximum": 4096,
      +      "minimum": 1,
      +      "type": "integer"
      +    }
      +  },
      +  "required": [
      +    "width",
      +    "height"
      +  ],
      +  "type": "object"
      +}
    • addedInput schema / properties / wait / additionalProperties
      Added value: +false
    • changedInput schema / properties / wait / description
      Previous value: -"When to consider the page loaded: `until`, `selector`, `timeout`."New value: +"When to consider the page loaded: `until` (load, domcontentloaded, networkidle0, networkidle2), `selector` to wait for, `timeout` in ms."
    • addedInput schema / properties / wait / properties / selector / minLength
      Added value: +1
    • addedInput schema / properties / wait / properties / timeout / maximum
      Added value: +60000
    • addedInput schema / properties / wait / properties / timeout / minimum
      Added value: +100
    • changedInput schema / properties / wait / properties / timeout / type
      Previous value: -"number"New value: +"integer"
    • removedInput schema / required
      Removed value: -[]
  3. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare read-only, open-world, non-destructive semantics, and the description adds genuinely new operational context: per-output pricing from 1 credit ($0.002), partial-failure isolation, $0.0002 cache hits via maxAge vs a forced fresh render, and that document URLs are converted without a browser. It stops short of covering auth requirements, rate limits, or response shape, but it discloses far more behavior than the annotations alone.

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?

The opening sentence front-loads the core capability and the output list, with cost and the document-conversion fallback immediately after; the API reference URL is appended cleanly at the end. Pricing details are repeated in a slightly dense way ('From 1 credit ($0.002) per output' plus 'for $0.002'), but nothing is wasted enough to hurt readability.

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?

For a 15-parameter, deeply nested tool with no output schema, the description covers the essential call contract: multiple formats in one response, which sub-options certain formats require, cost/caching behavior, and the non-browser document path — and it points to the OpenAPI reference for full detail. With no output schema to explain returns and 100% schema coverage on parameters, this is sufficient for correct invocation.

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 every parameter (formats, json, wait, block, screenshot, selectors, maxAge) already carries its own schema prose, so the schema does the heavy lifting. The description reinforces a few cross-parameter dependencies (elements needs selectors, json needs json.prompt or json.schema, controls is the click map) but adds little syntax or format detail beyond the schema, matching the baseline 3.

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?

The description gives a concrete verb and resource ('Processes a page and returns every output you ask for at once') and enumerates the concrete output formats (markdown, html, links, screenshot, PDF, accessibility tree, elements, json, controls), so an agent immediately knows the scope. However, it never names or contrasts against the close siblings such as web_crawl, web_map, or web_act, so differentiation relies on inference from the sibling names alone.

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

Usage Guidelines3/5

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

Usage is implied rather than stated: 'One call, and a partial failure does not void the rest' hints at batching many formats into a single request, and the PDF/Word/Excel/CSV branch tells the agent what happens when url points at a document. There is no explicit when-to-use-this-vs-web_crawl/web_map/web_act guidance and no stated prerequisites, so the guidance stays at the implied level.

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