scrapewise_update_scraper_group_data_quality
Sets the group-level overrides of the engine data-quality behaviours. Each field
is tri-state: true = force ON for this group, false = force OFF, null = inherit the
global engine flag (the default for every group). All fields are applied as sent.
Group-scoped because these behaviours are INTENT declarations: a group that tracks one
product per address (EAN-keyed price tracking) wants the one-row collapse; a group that
scrapes category listings must never get it. The page cannot tell these intents apart —
the group config can.
Args:
- id (string, path param, required): the group's MongoDB ObjectId.
- body (GroupDataQualityDTO, required): the nullable overrides —
singleProductRowSelectOverride (at most one saved row per SINGLE_PRODUCT address),
sitemapSingleUrlPerGtinTitleOverride (one sitemap url per EAN-shaped title),
priceProductCodeGuardOverride (drop a price that is provably the product's own
item code), ldJsonAvailabilityBackfillOverride (fill a missing availability from
the page's JSON-LD offers.availability). Each true/false/null; null = inherit the
global engine flag.
Returns:
The updated GroupDTO (carrying the override fields alongside the usual
name/schedule/retention fields).
Examples:
- Use when: "this group tracks one product per EAN-keyed address (price tracking)
and must collapse related-product noise" → set all overrides true.
- Use when: "this group scrapes category listings and must never lose rows" →
set singleProductRowSelectOverride false (or null when the global is already off).
- Don't use when: you want to change the platform-wide defaults → those live in
the admin system settings (scraperEngine flags), not on a group.
Error Handling:
- 400 (CustomerError envelope) if no group with the given id exists for this customer.
- 401 Unauthorized.
- 500 INTERNAL.[runtime hint] This tool returns JSON-as-text — its response shape is dynamic (per-scraper itemsConfig, file binary, etc.) so the MCP outputSchema is omitted. Do not rely on the presence of any specific field in the response; treat the result as a string-or-object blob and parse defensively.
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": {
"id": "<id>",
"body": "<body>"
},
"name": "scrapewise_update_scraper_group_data_quality"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | the group's MongoDB ObjectId. | |
| body | Yes | Group-level data-quality overrides; null = inherit the global engine flag. |