Skip to main content
Glama

AI Web Scraper — No-Code, Plain-English Extraction

ai_web_extractor
Read-only

Scrape any webpage with plain English instructions

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": {
      "urls": "<urls>",
      "what_to_extract": "<what_to_extract>"
    },
    "name": "ai_web_extractor"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlsYesThe web pages to extract from (one per line)
apify_api_keyNoYour Apify API token (optional). When provided the actor runs live and returns real data. Get one free at https://apify.com/sign-up
openai_api_keyNoOptional — provide your own OpenAI API key to run on your own account (recommended for heavy use)
what_to_extractYesDescribe, in plain English, the fields you want
desired_json_shapeNoOptional: give the exact field names / JSON shape you want back, so the output is consistent across pages

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / apify_api_key
      Added value: +{
      +  "description": "Your Apify API token (optional). When provided the actor runs live and returns real data. Get one free at https://apify.com/sign-up",
      +  "type": "string"
      +}
  2. Changed6 schema fields changed
    • addedInput schema / properties / desired_json_shape
      Added value: +{
      +  "description": "Optional: give the exact field names / JSON shape you want back, so the output is consistent across pages",
      +  "type": "string"
      +}
    • removedInput schema / properties / input
      Removed value: -{
      -  "description": "Input for AI Web Scraper — No-Code, Plain-English Extraction. See https://apify.com/noniner/ai-web-extractor.",
      -  "type": "object"
      -}
    • addedInput schema / properties / openai_api_key
      Added value: +{
      +  "description": "Optional — provide your own OpenAI API key to run on your own account (recommended for heavy use)",
      +  "type": "string"
      +}
    • addedInput schema / properties / urls
      Added value: +{
      +  "description": "The web pages to extract from (one per line)",
      +  "type": "string"
      +}
    • addedInput schema / properties / what_to_extract
      Added value: +{
      +  "description": "Describe, in plain English, the fields you want",
      +  "type": "string"
      +}
    • addedInput schema / required
      Added value: +[
      +  "urls",
      +  "what_to_extract"
      +]
  3. Changed1 schema field changed
    • changedInput schema / properties / input / description
      Previous value: -"Input for AI Web Extractor. See https://apify.com/noniner/ai-web-extractor."New value: +"Input for AI Web Scraper — No-Code, Plain-English Extraction. See https://apify.com/noniner/ai-web-extractor."
  4. First observed

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare readOnly=true, openWorld=true, destructive=false and idempotent=false, so the safety profile is covered. The description adds nothing behavioral beyond that — notably it is silent on the credential requirement and the fact that without an Apify key the run may not return live data, a detail buried only in a parameter description rather than surfaced at the tool level.

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?

A single front-loaded sentence with no filler, which is efficient. It is arguably under-specified for a tool requiring paid credentials, so brevity trades against completeness rather than being pure concision.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema present, the description could have explained what comes back (structured JSON per URL, shaped by desired_json_shape) and whether results are per-page or aggregated. The fully documented schema and safety annotations cover much of the gap, leaving this adequate but with a clear miss on return-value expectations and cost/credential caveats.

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%, so all five parameters (urls, what_to_extract, apify_api_key, openai_api_key, desired_json_shape) are already documented in structured form. The phrase "plain English instructions" loosely reinforces what_to_extract, but the description adds no formatting, batching, or key-handling semantics beyond the schema.

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 states a specific verb and resource ("scrape any webpage") plus the mechanism ("plain English instructions"), which distinguishes it from domain-specific siblings like product_catalog_extractor or sec_filings_extractor by implying general-purpose extraction. It never names a sibling or explicitly contrasts itself, so the differentiation is inferential rather than stated.

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?

There is no when-to-use, when-not-to-use, or alternative-selection guidance. An agent must guess whether to call this general extractor or a specialized sibling such as b2b_pricing_extractor; the description offers no decision rule, prerequisites, or exclusion criteria.

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.