Skip to main content
Glama

scrape_web

Scrape the web and return the extracted items as a structured list. source: {kind:'page', url} for one page, {kind:'pages', urls} for up to 10, or {kind:'search', query, includeDomains?, excludeDomains?, recencyMinutes?, domainType?:'web'|'news'} to search first. extract.outputSchema is a JSON Schema object with an items array whose elements have at least url (string); extract.prompt says what counts as an item and what to keep (topics, keywords, exclusions). Optional strategy (defaults to 'auto' when omitted, so a call without it can be charged: 'auto' fetches the pages and, if they give fewer than maxItems items, sends to the agent the pages that came back empty or behind a bot or login wall, or uses the agent in place of the fetch when the fetch provider rejects FuseAI's account; 'fetch' never uses the agent and is never charged; 'agent' sends the pages straight to the agent), filters.keywords (hard filter) and filters.cssScope. maxItems 1-25. Optional exclude: values (urls) already collected — the extractor and the agent are told to look past them and return the items after them, so a repeated scrape of the same list moves forward instead of returning the same head. Returns { items, strategyUsed, agentSteps, creditsCharged }. The agent is a third-party AI research agent, not a browser: it searches the web and reads page content without signing in. It reads at most 3 pages per call: with 'agent', or when 'auto' uses it in place of the fetch, only the first 3 pages or search hits can be read, and in 'auto' at most 3 of the empty or walled pages are sent to it; pages past that cap are skipped without an error and add no items. Fetch and search cost no credits; the agent tier costs 5 credits per page it reads (so at most 15 credits per call), runs only when the user's credit balance covers those pages, and its cost is debited from that balance after a successful run; each call is charged on its own, so a repeated call that uses the agent is charged again. Apart from that credit charge it saves or changes nothing: the items are not saved to a FuseAI list or record, and nothing is posted or submitted to the sites.

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": {
      "source": "<source>",
      "extract": "<extract>",
      "maxItems": "<maxItems>"
    },
    "name": "scrape_web"
  }
}

Input Schema

NameRequiredDescriptionDefault
sourceYes
excludeNo
extractYes
filtersNo
maxItemsYes
strategyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior5/5

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

Beyond the annotations it discloses cost mechanics (5 credits per agent page, max 15, debited only after a successful run, balance must cover it), skill caps (at most 3 pages read, excess pages silently skipped), and the negative guarantee that nothing is saved, posted, or submitted. The readOnlyHint=false is explained by the credit charge, not by any data mutation, so there is no contradiction.

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

Conciseness3/5

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

The critical scoping and cost facts are front-loaded, but the whole definition is one long run-on paragraph built from nested parentheticals, and the strategy explanation is repeated at length. The content mostly earns its place, yet restructuring into short labeled sentences would make it far easier to parse.

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 6-parameter, nested-schema, no-output-schema tool, the description supplies the return shape ({ items, strategyUsed, agentSteps, creditsCharged }), the billing model, the agent's capability limits, and the non-persistence guarantee. An agent has everything needed to call it correctly and predict cost.

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?

With 0% schema description coverage the description carries the full burden and mostly meets it: it explains the three source kinds, the structure contract for extract.outputSchema (items array with at least url), the role of extract.prompt, the hard-vs-soft filter distinction, maxItems 1-25, and exclude semantics. Minor gaps remain: recencyMinutes is never explained, includeDomains/excludeDomains and domainType are only named, and cssScope gets no meaning at all.

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 opening sentence states a specific verb and resource ('Scrape the web and return the extracted items as a structured list') and the source shapes make the scope concrete. It never names a sibling such as search_web_or_read_page, so the agent must infer the boundary from behavior 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?

It gives real decision guidance on strategy ('fetch' never uses the agent and is never charged; 'auto' defaults when omitted; 'agent' sends pages straight to the agent) and on exclude for paginating a repeated scrape. However, it never says when to choose this tool over the sibling read/search tools, only how to configure it once chosen.

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