These terms appear throughout the tool descriptions and this documentation.

  • Tool — one callable operation exposed by the MCP server, such as scrape_unblocker. Every tool except search_docs takes apiKey.
  • Selector — a rule that extracts one field: property_name (output key), selector (CSS path, JSON path or expression, depending on the type) and attribute_type.
  • Company — an account-level folder that configs are filed under. Named through options.company_name.
  • Config — a saved selector set and request settings for one target, identified by config_id.
  • URL list — the addresses attached to a config.
  • Routine — the runnable unit behind a config, identified by routine_id. It holds the concurrency setting.
  • Dispatch — one execution order. Every run returns a dispatch_id, which is what you poll.
  • Job — the background record behind a dispatch, with progress and result rows.
  • Template — a config given a human-readable name so it appears in list_templates.
  • Public flow / node — pipelines and steps published by JetScrape, runnable by id.
  • Diagnostics — a block the MCP server adds to scrape results, naming the fields that came back empty and checking that array fields line up.

What a scrape leaves behind

Every scrape_unblocker call creates four linked things in the account as a side effect, and returns their ids in the response:

COMPANY  (a folder)            ──►  company_id
  └── CONFIG (the selectors)   ──►  config_id
        ├── URL LIST
        └── ROUTINE (runnable)  ──►  routine_id

So a working scrape is already saved. To run it again, call run_routine with the routine_id. Calling scrape_unblocker again with the same selectors creates a brand-new company, config and routine every time.

Without options.company_name, the engine invents a fresh unblocker-<random> company on every call. Measured on one account: a single task attempt left six companies behind, and the account had accumulated more than 36,000. Pass a stable name so repeated work on one site stays in one folder.

The life of a tool call

Agent picks a tool and fills its arguments (incl. apiKey)
      │
      ▼
MCP server validates the arguments against the tool schema
      │  invalid → error result, nothing sent upstream
      ▼
MCP server normalises the payload
      │  headers object → "Name:Value" lines, URL/BODY placeholder selectors, ...
      ▼
HTTPS request to JetScrape with x-api-key
      │  non-2xx → mapped error message (401, 402, 403, ...)
      ▼
Response parsed (JSON or SSE "result" event)
      │
      ▼
Post-processing: diagnostics / HTML condensing / capture indexing
      │
      ▼
JSON text returned to the agent

Two fetchers, two documents

get_html and scrape_unblocker reach the target through separate services, and a site can serve them different documents for the same URL. Measured on a retail site: the same tool, same URL and same mode returned a 178 KB shell with zero products on one call and a 496 KB page with 29 products on the next. Seeing an element in get_html is therefore not proof that a selector will match during a real scrape. The html_meta.sha256 fingerprint tells you which document you were given.

The only proof that a selector works is a real scrape_unblocker call whose diagnostics block is clean. See Reading Diagnostics.

Last updated: September 22, 2026