Skip to main content
Glama
Apex Flow Web Scraper

Apex Flow Web Scraper

Official

scrape_page

Fetch web pages as Markdown or extract CSS-defined fields with source receipts; track changes and fall back to archived copies when live pages refuse access.

Instructions

Fetch a page and source receipt for 1 or 3 credits. Use outputs=["markdown"] for reading or ["data","evidence"] with CSS fields for extraction. The reply's change.status says new, unchanged or changed since your last read; add "diff" to outputs to get the changed lines. Long documents come back in parts: when the reply has pagination.next_page, call again with page set to it. Set max_tokens to receive the page in parts that each fit your context budget. If the live site refuses, set archive_fallback=true to read the latest Internet Archive copy; the reply's result.archive gives its capture time.

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": {
      "url": "<url>"
    },
    "name": "scrape_page"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYes
pageNo
chunksNo
fieldsNo
renderNoauto
outputsNo
max_tokensNo
archive_fallbackNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv0.6.0
    • addedInput schema / properties / archive_fallback
      Added value: +{
      +  "default": true,
      +  "title": "Archive Fallback",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / max_tokens
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "integer"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Max Tokens"
      +}
    • addedInput schema / properties / outputs
      Added value: +{
      +  "anyOf": [
      +    {
      +      "items": {
      +        "enum": [
      +          "markdown",
      +          "text",
      +          "data",
      +          "evidence",
      +          "chunks",
      +          "links",
      +          "structured_data",
      +          "diff"
      +        ],
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Outputs"
      +}
    • addedInput schema / properties / page
      Added value: +{
      +  "default": 1,
      +  "title": "Page",
      +  "type": "integer"
      +}
  2. First observedv0.2.0

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose useful traits: the 1-or-3 credit cost, the change.status field semantics, pagination via pagination.next_page, and archive fallback with result.archive capture time. It omits auth requirements, rate limits, and what the render modes do, leaving meaningful behavioral gaps.

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?

Front-loaded with cost and the core fetch purpose, then ordered into conditionals for reading, extraction, diffing, pagination, token budgeting, and fallback. Dense but every sentence adds actionable information with no filler.

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?

For an 8-parameter tool with no annotations and no output schema, the description goes unusually far by describing reply fields like change.status, pagination.next_page, and result.archive. The missing pieces are render and chunks semantics, which leaves it slightly incomplete for the parameter surface.

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 coverage is 0%, so the description must supply all parameter meaning. It explains outputs (naming enum values), fields via "CSS fields for extraction," page for pagination, max_tokens for context budgeting, and archive_fallback, but render (auto/always/never) and chunks are never mentioned, so coverage is incomplete.

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 concrete verb and resource: "Fetch a page and source receipt for 1 or 3 credits." This separates it from scrape_batch and crawl_site by implying single-page fetching, though it never names or explicitly contrasts those siblings, so it stops short of a 5.

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

Usage Guidelines4/5

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

Rich conditional guidance for the tool's modes: outputs=["markdown"] for reading, ["data","evidence"] with CSS fields for extraction, adding "diff" for changed lines, and archive_fallback when the live site refuses. The gap is that it offers no guidance on choosing this tool over scrape_batch, crawl_site, or web_search.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.