@mgsoftwarebv/mg-dashboard-mcp 7.3.1 → 7.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +28 -10
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -10792,13 +10792,13 @@ var TOOLS = [
|
|
|
10792
10792
|
},
|
|
10793
10793
|
{
|
|
10794
10794
|
name: "research_topic",
|
|
10795
|
-
description: "Turn SEVERAL public sources on one topic into a single cross-checked, sourced 'evidence pack' (ticket 2026-DASMG-040). Composes extract_article per URL and aggregates: collect, extract, cross-check, then hand a downstream agent a safe base to write ORIGINAL content from. Modes: curated (`urls` + optional `topic`),
|
|
10795
|
+
description: "Turn SEVERAL public sources on one topic into a single cross-checked, sourced 'evidence pack' (ticket 2026-DASMG-040). Composes extract_article per URL and aggregates: collect, extract, cross-check, then hand a downstream agent a safe base to write ORIGINAL content from. Modes: curated (`urls` + optional `topic`), discovery (`topic` + `discover.enabled` \u2014 finds source URLs for you), hybrid (`urls` + `discover` \u2014 curated seeds topped up by discovery). Discovery runs open-web search FIRST (unscoped + site-scoped when allowDomains is set); allowDomains is a prefer/guarantee set, not a hard filter on search. Sitemap top-up stays within allowDomains. Reported via `discovery.backend` (search|sitemap|both|unavailable) and per-source `discoveryOrigin`. Optional `discover.sourcePolicy: official_only`. Returns `sources` (id,url,\u2026,discoveryOrigin,authorityTier incl. grid_operator), `discovery` report, `verifiedFacts`, `conflicts`, `uniqueClaims`, `openQuestions`, `verbatimWarnings`, and pack-level `limitations`. Structured EVIDENCE ONLY \u2014 never ready-to-publish prose or brand voice; every claim traces back to a source id. PUBLIC URLs only (inherits the SSRF guard). Persist + reuse with save_research_pack / get_research_pack (2026-DASMG-041).",
|
|
10796
10796
|
inputSchema: {
|
|
10797
10797
|
type: "object",
|
|
10798
10798
|
properties: {
|
|
10799
10799
|
topic: {
|
|
10800
10800
|
type: "string",
|
|
10801
|
-
description: "The topic the evidence pack is about (used for
|
|
10801
|
+
description: "The topic the evidence pack is about (used for labelling, and as the search query in discovery mode)."
|
|
10802
10802
|
},
|
|
10803
10803
|
urls: {
|
|
10804
10804
|
type: "array",
|
|
@@ -10807,14 +10807,19 @@ var TOOLS = [
|
|
|
10807
10807
|
},
|
|
10808
10808
|
discover: {
|
|
10809
10809
|
type: "object",
|
|
10810
|
-
description: "Discovery options
|
|
10810
|
+
description: "Discovery options. enabled=true auto-finds source URLs for `topic` via an env-gated web-search backend plus a keyless sitemap crawl over allowDomains. Curated `urls` are kept and topped up to maxSources; degrades gracefully (discovery_unavailable) when no backend is configured.",
|
|
10811
10811
|
properties: {
|
|
10812
|
-
enabled: { type: "boolean" },
|
|
10813
|
-
maxSources: { type: "number" },
|
|
10814
|
-
recencyDays: { type: "number" },
|
|
10815
|
-
locale: { type: "string" },
|
|
10816
|
-
allowDomains: { type: "array", items: { type: "string" } },
|
|
10817
|
-
blockDomains: { type: "array", items: { type: "string" } }
|
|
10812
|
+
enabled: { type: "boolean", description: "Turn discovery on (default off)." },
|
|
10813
|
+
maxSources: { type: "number", description: "Cap on total sources, curated + discovered (1-12, default 8)." },
|
|
10814
|
+
recencyDays: { type: "number", description: "Prefer/keep sources no older than this (applied to sitemap lastmod)." },
|
|
10815
|
+
locale: { type: "string", description: "Locale hint, e.g. nl-NL." },
|
|
10816
|
+
allowDomains: { type: "array", items: { type: "string" }, description: "Prefer/guarantee domains for search ranking; targets for sitemap top-up." },
|
|
10817
|
+
blockDomains: { type: "array", items: { type: "string" }, description: "Domains to exclude from discovery." },
|
|
10818
|
+
sourcePolicy: {
|
|
10819
|
+
type: "string",
|
|
10820
|
+
enum: ["official_only"],
|
|
10821
|
+
description: "Restrict discovered sources to official whitelist (grid operators, ACM, government)."
|
|
10822
|
+
}
|
|
10818
10823
|
}
|
|
10819
10824
|
},
|
|
10820
10825
|
includeRawText: {
|
|
@@ -10928,7 +10933,7 @@ var TOOLS = [
|
|
|
10928
10933
|
},
|
|
10929
10934
|
{
|
|
10930
10935
|
name: "save_research_pack",
|
|
10931
|
-
description: "Persist a research_topic evidence pack (2026-DASMG-041): cross-checked verified facts, conflicts, unique claims, open questions. Pass an already-built `pack`, or `urls`/`topic` to research then save. Each source is deduped into content_sources and linked via the join table, so packs can be reused without re-crawling. Returns the pack id + compact counts + linked source ids.",
|
|
10936
|
+
description: "Persist a research_topic evidence pack (2026-DASMG-041): cross-checked verified facts, conflicts, unique claims, open questions. Pass an already-built `pack`, or `urls`/`topic` to research then save. Add `discover` (with a topic) to auto-find sources before saving \u2014 the same discovery research_topic does (2026-DASMG-040). Each source is deduped into content_sources and linked via the join table, so packs can be reused without re-crawling. Returns the pack id + compact counts + linked source ids.",
|
|
10932
10937
|
inputSchema: {
|
|
10933
10938
|
type: "object",
|
|
10934
10939
|
properties: {
|
|
@@ -10939,6 +10944,19 @@ var TOOLS = [
|
|
|
10939
10944
|
description: "URLs to research if no pack is given."
|
|
10940
10945
|
},
|
|
10941
10946
|
topic: { type: "string", description: "Topic to research if no pack is given." },
|
|
10947
|
+
discover: {
|
|
10948
|
+
type: "object",
|
|
10949
|
+
description: "Discovery options (same shape as research_topic). With a topic, enabled=true auto-finds source URLs before saving. Ignored when `pack` is supplied.",
|
|
10950
|
+
properties: {
|
|
10951
|
+
enabled: { type: "boolean" },
|
|
10952
|
+
maxSources: { type: "number" },
|
|
10953
|
+
recencyDays: { type: "number" },
|
|
10954
|
+
locale: { type: "string" },
|
|
10955
|
+
allowDomains: { type: "array", items: { type: "string" } },
|
|
10956
|
+
blockDomains: { type: "array", items: { type: "string" } },
|
|
10957
|
+
sourcePolicy: { type: "string", enum: ["official_only"] }
|
|
10958
|
+
}
|
|
10959
|
+
},
|
|
10942
10960
|
locale: { type: "string", description: "Locale of the pack." },
|
|
10943
10961
|
projectKey: { type: "string", description: "Project identifier." },
|
|
10944
10962
|
siteKey: { type: "string", description: "Site identifier." },
|