b2c-dx-mcp
v3.17.0MCP server for B2C Commerce developer experience tools
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
cartridge_deploy
Find and deploy cartridges or selected files to B2C Commerce via WebDAV; overwrites matching remote files. Prerequisites (instance, credentials, code version): skill://mcp/b2c-mcp-config/SKILL.md. After deployment, add new cartridges to the site's cartridge path in Business Manager: Sites → Manage Sites → Settings tab → Cartridges.
| Parameter | Type | Description |
|---|---|---|
cartridgeDirectory | string | Optional cartridge discovery root. Relative paths resolve from projectDirectory. Defaults to projectDirectory. |
cartridges | array | Cartridge names to deploy; omit for all discovered cartridges. |
codeVersion | string | Target version; defaults to configured, then active version. |
configPath | string | dw.json-format file; relative to projectDirectory. |
directory | string | Deprecated alias for cartridgeDirectory. cartridgeDirectory takes precedence when both are supplied. |
exclude | array | Cartridge names to exclude after the include filter. |
files | array | Files within selected cartridges, relative to projectDirectory. Max 64 MiB; preserves other remote files. |
instanceName | string | dw.json instance name. |
projectDirectory | string | Absolute project root; overrides server default. |
reload | boolean | Activate/reload the target after upload, briefly toggling versions if already active. Default: false. |
webdav_list
List one WebDAV directory with file metadata and pagination. Does not recurse.
| Parameter | Type | Description |
|---|---|---|
path * | string | WebDAV Sites-relative path, e.g. Logs/jobs/run.log or Impex/src/import.xml. |
configPath | string | dw.json-format file; relative to projectDirectory. |
instanceName | string | dw.json instance name. |
limit | integer | |
offset | integer | |
projectDirectory | string | Absolute project root; overrides server default. |
webdav_get
Read exact WebDAV text into the conversation using HTTP byte ranges (maximum 32000 bytes per call). Use tail: true for the end of a log. To save a whole or binary file locally, use webdav_get_to_file.
| Parameter | Type | Description |
|---|---|---|
path * | string | WebDAV Sites-relative path, e.g. Logs/jobs/run.log or Impex/src/import.xml. |
configPath | string | dw.json-format file; relative to projectDirectory. |
instanceName | string | dw.json instance name. |
maxBytes | integer | |
offset | integer | Byte offset for text; continue with returned nextOffset. |
projectDirectory | string | Absolute project root; overrides server default. |
tail | boolean | Read the last maxBytes of the file instead of from offset, e.g. recent log lines. |
webdav_get_to_file
Download and save a whole WebDAV file, including binary archives such as zips, to a new local file on the MCP host. Streams any size; never overwrites.
| Parameter | Type | Description |
|---|---|---|
outputPath * | string | New file on the MCP host, within projectDirectory (relative to it). The parent directory must exist. |
path * | string | WebDAV Sites-relative path, e.g. Logs/jobs/run.log or Impex/src/import.xml. |
configPath | string | dw.json-format file; relative to projectDirectory. |
instanceName | string | dw.json instance name. |
projectDirectory | string | Absolute project root; overrides server default. |
webdav_put
Upload one WebDAV file from text or a local file on the MCP host. Parent directory must exist. Replacement requires overwrite: true.
| Parameter | Type | Description |
|---|---|---|
path * | string | WebDAV Sites-relative path, e.g. Logs/jobs/run.log or Impex/src/import.xml. |
configPath | string | dw.json-format file; relative to projectDirectory. |
content | string | UTF-8 text; supply exactly one of content, sourcePath. |
contentType | string | |
instanceName | string | dw.json instance name. |
overwrite | boolean | |
projectDirectory | string | Absolute project root; overrides server default. |
sourcePath | string | File on the MCP host, within projectDirectory (relative to it). Maximum 64 MiB. |
debug_list_sessions
List debugger sessions, breakpoints, and known halted threads.
debug_start_session
Start a script debugger session and map cartridges; replaces any remote debugger client. Requires BM Basic Auth with WebDAV_Manage_Customization. Use returned session_id; end with debug_end_session. Workflow: skill://mcp/b2c-mcp-debugger/SKILL.md.
| Parameter | Type | Description |
|---|---|---|
cartridgeDirectory | string | Cartridge discovery and source-mapping root; relative to projectDirectory. |
configPath | string | dw.json-format file; relative to projectDirectory. |
instanceName | string | dw.json instance name. |
projectDirectory | string | Absolute project root; overrides server default. |
debug_end_session
Disconnect and free the instance debugger slot. Always end sessions when finished, including after errors.
| Parameter | Type | Description |
|---|---|---|
session_id * | string | |
clear_breakpoints | boolean | Clear breakpoints before disconnecting. Default: false. |
debug_set_breakpoints
Replace all session breakpoints. verified means local source mapping, not deployed-code validation. Workflow: skill://mcp/b2c-mcp-debugger/SKILL.md.
| Parameter | Type | Description |
|---|---|---|
breakpoints * | array | Replacement set; empty clears all. |
session_id * | string |
debug_wait_for_stop
Wait for a debugger thread to halt. Returns immediately if already halted; otherwise blocks until a halt or timeout.
| Parameter | Type | Description |
|---|---|---|
session_id * | string | |
timeout_ms | integer | Wait timeout in milliseconds. Default: 30000; max: 120000. |
debug_inspect
Inspect a halted thread: stack and frame variables. Expand objects with object_path.
| Parameter | Type | Description |
|---|---|---|
session_id * | string | |
thread_id * | integer | |
frame_index | integer | Variable frame; ignored for stack-only reads. Default: 0. |
include | array | Default: both. Object expansion requires variables. |
object_path | string | Object path, e.g. request.httpParameters; returns child members. |
scope | string | Default: all scopes. Not used for object expansion. |
debug_evaluate
Evaluate JavaScript in a halted thread/frame. Expressions can call functions and change remote state.
| Parameter | Type | Description |
|---|---|---|
expression * | string | JavaScript expression. |
session_id * | string | |
thread_id * | integer | |
frame_index | integer | Default: 0 (top frame). |
debug_control
Resume a halted thread, or step over, into, or out of the current line. Follow with debug_wait_for_stop.
| Parameter | Type | Description |
|---|---|---|
action * | string | |
session_id * | string | |
thread_id * | integer |
debug_capture_at_breakpoint
Debug a request: add a breakpoint, wait for a halt, and return stack, variables, and evaluations. Trigger a GET here or an external request concurrently. Capture does not resume by default. Workflow: skill://mcp/b2c-mcp-debugger/SKILL.md.
| Parameter | Type | Description |
|---|---|---|
file * | string | Local file path or server script path for the breakpoint. |
line * | integer | 1-based line number. |
session_id * | string | |
auto_continue | boolean | Resume after capture; default false leaves the request halted. Use true for snapshots. |
condition | string | Optional conditional expression for the breakpoint. |
expressions | array | Expressions evaluated when halted; may change remote state. |
scopes | array | Variable scopes to return. Default: ["local", "closure"]; [] omits variables. |
timeout_ms | integer | Wait timeout in milliseconds. Default: 30000; max: 120000. |
trigger_url | string | GET after arming; no custom headers. May remain pending while halted. |
logs_list_files
List B2C log files and prefixes available for reading or watching.
| Parameter | Type | Description |
|---|---|---|
configPath | string | dw.json-format file; relative to projectDirectory. |
instanceName | string | dw.json instance name. |
prefixes | array | Log-prefix filter; omit for all. Paths may include subdirectories. |
projectDirectory | string | Absolute project root; overrides server default. |
sort_by | string | Sort field. Defaults to "date". |
sort_order | string | Sort order. Defaults to "desc". |
logs_get_recent
Fetch recent B2C instance logs (errors, exceptions, warnings, custom logs). Use for quick lookups; start a log watch before actions whose entries must not be missed.
| Parameter | Type | Description |
|---|---|---|
configPath | string | dw.json-format file; relative to projectDirectory. |
count | integer | Maximum entries. Default: 50. |
instanceName | string | dw.json instance name. |
level | array | Filter by log level (ERROR, WARN, INFO, DEBUG, FATAL, TRACE). Case-insensitive. |
maxMessageLength | integer | Truncate each message to this many characters; truncatedChars reports the remainder. Default: 2000; 0 disables. |
prefixes | array | Log prefixes. Default: ["error", "customerror"]; use ["custom-"] for custom logger files; paths may be subdirs. |
projectDirectory | string | Absolute project root; overrides server default. |
search | string | Case-insensitive substring filter applied to entry message and raw text. |
since | string | Only entries after this time. Accepts relative ("5m", "1h", "2d") or ISO 8601. |
logs_watch
Start, list, or stop B2C log watches that tail server logs. Start before the target action; read with logs_watch_poll. Stop discards unread entries; safe to repeat.
| Parameter | Type | Description |
|---|---|---|
action * | string | start uses configuration/filters; stop needs watch_id; list takes only action. |
configPath | string | dw.json-format file; relative to projectDirectory. |
instanceName | string | dw.json instance name. |
last_entries | integer | Existing entries per file to emit at startup. Default: 0. |
level | array | Keep matching levels before buffering. |
poll_interval_ms | integer | WebDAV polling interval, in milliseconds. Default: 3000. |
prefixes | array | Log prefixes. Default: ["error", "customerror"]; use ["custom-"] for custom logger files; paths may be subdirs. |
projectDirectory | string | Absolute project root; overrides server default. |
search | string | Case-insensitive substring filter applied as entries arrive. |
watch_id | string | Required for stop only. |
logs_watch_poll
Read new lines buffered by a B2C log watch; wait when empty. Repeat if truncated. Includes rotation and error events.
| Parameter | Type | Description |
|---|---|---|
watch_id * | string | |
max_entries | integer | Maximum entries. Default: 200. |
timeout_ms | integer | Wait when empty, in milliseconds. Default: 5000; 0 returns immediately. |
docs_search
Search B2C Commerce (SFCC/Demandware) docs: Script API, job steps, developer guides, admin/merchant help, tooling. For questions or unknown IDs; pass a result id to docs_read. Cite by url; never show doc IDs.
| Parameter | Type | Description |
|---|---|---|
query * | string | Class name, topic or question. |
category | string | Limit to one corpus. |
limit | integer | Max results; default 5. |
offset | integer | Results to skip for paging; default 0. |
projectDirectory | string | Project to detect; no server-directory default. |
verbose | boolean | Add keywords and the Markdown sourceUrl to each result (larger). |
workspace | string | Storefront preference; auto detects projectDirectory, all disables bias. |
docs_read
Read a B2C Commerce (SFCC/Demandware) Script API reference, job step, developer guide, admin/merchant help article, or tooling doc by ID or fuzzy query. Use docs_search to find IDs. Cite by entry.url (sourceUrl for Markdown); never show doc IDs.
| Parameter | Type | Description |
|---|---|---|
query * | string | Exact id ("dw.catalog.ProductMgr", "sfnext/sfnext-get-started") or fuzzy query. |
maxLength | integer | Maximum characters of content to return. Defaults to 12000. |
offset | integer | Character offset to start reading from (for paging long docs). Defaults to 0. |
projectDirectory | string | Project to detect; no server-directory default. |
section | string | Heading ID to read one section, e.g. "scopes-by-command"; unknown IDs list the headings. |
workspace | string | Storefront preference; auto detects projectDirectory, all disables bias. |
docs_list
List documentation IDs and titles for B2C Commerce (SFCC/Demandware) Script API, job steps, developer guides, admin/merchant help, and tooling docs. Without a filter, returns category counts. Use docs_search for questions and docs_read for content.
| Parameter | Type | Description |
|---|---|---|
category | string | Restrict the listing to one documentation category. |
limit | integer | Max entries per page. Defaults to 100. |
offset | integer | Number of entries to skip (for pagination). |
projectDirectory | string | Project to detect; no server-directory default. |
workspace | string | Filter by storefront; auto detects projectDirectory, all lists categories. |
docs_schema_search
Search bundled B2C Commerce (SFCC/Demandware) XSD schemas for site import/export XML by ID. Returns matching IDs and scores; use docs_schema_read for content, validate_xml_schema to check XML.
| Parameter | Type | Description |
|---|---|---|
query * | string | Schema name or partial match (e.g., "catalog", "order"). |
limit | integer | Maximum number of results to return. Defaults to 20. |
docs_schema_read
Read a bundled B2C Commerce (SFCC/Demandware) XSD schema (the XML format of an import file) by ID or fuzzy query. Use docs_schema_search to find IDs; validate_xml_schema checks XML against them.
| Parameter | Type | Description |
|---|---|---|
query * | string | Schema name or partial match. |
docs_schema_list
List bundled B2C Commerce (SFCC/Demandware) XSD schema IDs for docs_schema_read and validate_xml_schema.
validate_xml_schema
Validate B2C Commerce import/export XML (catalogs, price books, inventory, site archives, and more) against the bundled XSDs that docs_schema_read serves. The schema is chosen from each root element namespace. Checks local files on the MCP host or inline content, offline; returns line-numbered errors.
| Parameter | Type | Description |
|---|---|---|
content | string | An XML document to validate. |
exclude | array | Globs to skip when expanding paths. |
paths | array | XML files, directories (searched for *.xml), or globs, relative to projectDirectory. Exactly one of paths, content. |
projectDirectory | string | Absolute project root; overrides server default. |
schema | string | Bundled schema ID (docs_schema_list) to use for every document instead of namespace detection. |
object_types_describe
List system object types, or one type's attribute definitions (effective IDs like c_color, value types, enum values, groups). Use before writing product.custom.* or c_ field code. Custom object types are not covered. Scope sfcc.object-definitions; enum values need .rw.
| Parameter | Type | Description |
|---|---|---|
configPath | string | dw.json-format file; relative to projectDirectory. |
ids | array | Exact attribute IDs (with or without c_). |
includeGroups | boolean | Include attribute groups with their member IDs. |
includeValues | boolean | Include enum values (up to 50 per attribute). |
instanceName | string | dw.json instance name. |
kind | string | Attribute kind. Default: all. |
limit | integer | Attributes per page. Default: 100. |
objectType | string | System object type ID. Omit to list object types. |
offset | integer | Attribute offset. Default: 0. |
projectDirectory | string | Absolute project root; overrides server default. |
search | string | Text in attribute ID or display name. |
project_inspect
Inspect storefront code from source (preview), along the site cartridge path. Start with the summary (counts and what each aspect returns); list endpoints, filtered by ID, cartridge, or middleware; then get one endpoint for what runs, in order, and which cartridge each step comes from. Also hooks in run order, Custom APIs, and custom job steps. Reads local files.
| Parameter | Type | Description |
|---|---|---|
allCartridges | boolean | Also index cartridges not on the cartridge path, after it (as if the site ran them). Default false. |
aspect | string | What to return. Defaults to summary, which lists what each aspect returns. |
cartridge | string | endpoints and jobSteps: only items this cartridge defines or changes (exact name). |
filter | string | Case-insensitive substring of endpoint IDs, hook names, API/endpoint names, or job step type IDs. |
id | string | Endpoint ID (Controller-Action, case-insensitive). Required for aspect endpoint. |
issuesOnly | boolean | hooks, customApis, jobSteps: only items with issues. |
projectDirectory | string | Absolute project root; overrides server default. |
siteId | string | Site whose cartridge path to read live from the instance (overrides configured cartridges). See cartridgePathHint. |
uses | string | endpoints: only endpoints whose middleware contains this text, such as "userLoggedIn" or "csrf". |
security_scan
Scan cartridge code and site data for B2C Commerce security problems (preview): CSRF gaps, overrides that drop security middleware, query injection, open redirects, hardcoded credentials, OCAPI demo client ID, and more. Local scan along the site cartridge path; honors suppressions, baseline, and settings. Triage with skill://b2c-cli/b2c-security/SKILL.md.
| Parameter | Type | Description |
|---|---|---|
allCartridges | boolean | Also index cartridges not on the cartridge path, after it (as if the site ran them). Default false. |
excludeReferenceCartridges | boolean | Leave out findings in SFRA and SiteGenesis base cartridges (reported and tagged by default). |
excludeRules | array | Skip these rule IDs. |
ignore | array | Leave out files matching these globs (relative to projectDirectory), e.g. "cartridges/bm_*". |
includeSuppressed | boolean | Also return suppressed and baselined findings. |
maxFindings | integer | Findings to return. Defaults to 50. |
minSeverity | string | Drop findings below this severity. |
paths | array | Files or directories to scan, relative to projectDirectory. Defaults to the whole project. |
projectDirectory | string | Absolute project root; overrides server default. |
rules | array | Run only these rule IDs. |
siteId | string | Site whose cartridge path to read live from the instance (overrides configured cartridges). See cartridgePathHint. |
skills_read Read B2C Skills
Read B2C skills: b2c (development), b2c-cli, b2c-ops (operations), storefront-next, mcp (setup/workflows); fallback for skill:// resources, full catalog. No args lists; query searches; collection filters; id or uri reads.
| Parameter | Type | Description |
|---|---|---|
collection | string | Filter by collection. |
file | string | Relative reference path listed by an entrypoint. |
id | string | Exact skill ID from discovery. |
limit | integer | Page size: directory 20, search 5; maximum 20. |
maxLength | integer | Read character limit; defaults to the full file or section. |
offset | integer | Entry offset for discovery; character offset for reads. Default 0. |
query | string | Search skills; returns five hits by default. |
section | string | Exact heading ID returned by a read. |
uri | string | Skill resource URI; replaces id and file. |
workspace | string | Optional storefront ranking preference; no project detection. |
config_inspect
Show resolved B2C configuration, its sources, warnings, paths, how the instance authenticates and whether this server is up to date; usually replaces reading dw.json. Secrets are masked by default.
| Parameter | Type | Description |
|---|---|---|
configPath | string | dw.json-format file; relative to projectDirectory. |
instanceName | string | dw.json instance name. |
projectDirectory | string | Absolute project root; overrides server default. |
unmask | boolean | Unmask secrets; only when the user asks. |
mrt_logs_watch
Start, list, or stop live Managed Runtime (MRT) log watches for PWA Kit or Storefront Next storefront servers. Requires project/environment to start; read with mrt_logs_watch_poll. Stop discards unread entries; safe to repeat.
| Parameter | Type | Description |
|---|---|---|
action * | string | start uses configuration/filters; stop needs watch_id; list takes only action. |
configPath | string | dw.json-format file; relative to projectDirectory. |
instanceName | string | dw.json instance name. |
level | array | Keep matching levels before buffering (e.g. ERROR, WARN). |
projectDirectory | string | Absolute project root; overrides server default. |
search | string | Case-insensitive substring in message or raw text; filters before buffering. |
watch_id | string | Required for stop only. |
mrt_logs_watch_poll
Drain buffered MRT logs, blocking up to timeout_ms when empty. Repeat if truncated=true. stopped=true means the stream closed; inspect errors.
| Parameter | Type | Description |
|---|---|---|
watch_id * | string | |
max_entries | integer | Maximum entries. Default: 200. |
timeout_ms | integer | Wait when empty, in milliseconds. Default: 5000; 0 returns immediately. |
scapi_search SCAPI Spec Search
Read skill://mcp/b2c-mcp-scapi/SKILL.md first. Find the SCAPI Admin/Shopper operation (operationId, path, inputs, scopes) for a Commerce API task when no dedicated tool fits; cip_* covers analytics, webdav_* files. `code` runs JavaScript over `spec`, whose members are all async: apis(), operations({api, method}), operation(path, method), resolve(value, api) and search(query). Start with await spec.search("task words"): typo-tolerant ranking over summary, description, tags, operationId and path, returning {api, method, path, operationId, summary}; read one with await spec.operation(path, method…
| Parameter | Type | Description |
|---|---|---|
code * | string | JavaScript async arrow function. Return concise JSON. No filesystem or shell access. |
skillRead * | boolean | Set true only after reading the SCAPI skill (MCP resource or skills_read({uri})). |
api | string | Limit to an API family, family/name or family/name/version (cdn, cdn/zones, cdn/zones/v1). |
authType | string | Filter by auth; mixed operations match either. |
configPath | string | dw.json-format file; relative to projectDirectory. |
detail | string | outline (default) omits nested descriptions and examples; full keeps them. |
instanceName | string | dw.json instance name. |
projectDirectory | string | Absolute project root; overrides server default. |
refresh | boolean | With live schemas, refetch instead of using the cache. |
schemas | string | bundled (default; offline, no credentials) or live: instance contracts with c_* fields, custom and newer APIs. |
scapi_execute SCAPI Code Executor
Requires reading skill://mcp/b2c-mcp-scapi/SKILL.md first. Run any SCAPI Admin or Shopper API operation (reads, writes, searches and actions) through scapi.request() in JavaScript. Covers most developer, merchant and administrator tasks: catalogs, products, pricing, promotions, orders, customers, inventory, sites, jobs, code versions, observability, and storefront flows such as baskets. Use it whenever no more specific tool fits. Find operations with scapi_search first. Auth is automatic; Shopper calls run as a per-site guest whose basket persists. Operations are governed by Safety Mode and ma…
| Parameter | Type | Description |
|---|---|---|
skillRead * | boolean | Set true only after reading the SCAPI skill (MCP resource or skills_read({uri})). |
action | string | Defaults to execute. Cancel terminates retained work; no rollback. |
code | string | JavaScript async arrow function. Return concise JSON. No filesystem or shell access. |
configPath | string | dw.json-format file; relative to projectDirectory. |
executionId | string | Required for cancel; forbidden for execute. Protocol continuation uses requestState, not this field. |
input | JSON input for async (input); kept separate from saved source. | |
instanceName | string | dw.json instance name. |
projectDirectory | string | Absolute project root; overrides server default. |
scapi_snippet_save Save SCAPI Workflow
Save a completed execution as a reusable user/ snippet only when the user asks. Inspect its outcome and source first; source must take variable values through input and contain no credentials. Saves source and metadata, not input or results. Existing names are not overwritten.
| Parameter | Type | Description |
|---|---|---|
description * | string | |
effect * | string | |
executionId * | string | |
inputSchema * | object | JSON Schema for the parameterized program input. |
name * | string |
scapi_custom_apis_get_status
List Custom SCAPI endpoint registration status per site. Supports filtering, grouping, and selected columns. Requires shortCode, tenantId, and sfcc.custom-apis scope. Use scapi_schemas_list for schemas.
| Parameter | Type | Description |
|---|---|---|
columns | string | Comma-separated output fields; omit for defaults. |
configPath | string | dw.json-format file; relative to projectDirectory. |
groupBy | string | Group by siteId or type (Admin/Shopper). |
instanceName | string | dw.json instance name. |
projectDirectory | string | Absolute project root; overrides server default. |
status | string | Filter by status. Omit for all. |
scapi_schemas_list
List available SCAPI APIs (schema metadata) or fetch an OpenAPI schema. Fetch requires includeSchemas, apiFamily, apiName, and apiVersion. Use scapi_custom_apis_get_status for endpoint status.
| Parameter | Type | Description |
|---|---|---|
apiFamily | string | API family (e.g., "checkout", "product", "custom"). |
apiName | string | API name (e.g., "shopper-baskets", "shopper-products"). |
apiVersion | string | API version (e.g., "v1", "v2"). |
configPath | string | dw.json-format file; relative to projectDirectory. |
expandAll | boolean | Return full uncompressed schema. Only when includeSchemas=true. Default: false. |
expandCustomProperties | boolean | Include tenant custom property definitions when fetching a schema. |
include | array | Schemas API expand sections (e.g. summaries, examples, all). Overrides expandAll/expandCustomProperties. |
includeSchemas | boolean | Fetch full OpenAPI schema. Requires apiFamily+apiName+apiVersion. Default: false. |
instanceName | string | dw.json instance name. |
projectDirectory | string | Absolute project root; overrides server default. |
status | string | Filter by status (list mode only). Omit to return all schemas. |
site_archive_import
Read skill://mcp/b2c-mcp-site-import/SKILL.md first. Writes merchandising data that has no SCAPI write (e.g. promotion discount rules) as XML: validates every file against its schema (no separate validate_xml_schema call needed), then runs the archive job. Nothing is uploaded if a file fails. Merges into existing data.
| Parameter | Type | Description |
|---|---|---|
files * | array | Archive files; 10 MiB total. |
skillRead * | boolean | Set true only after reading the site import skill (MCP resource or skills_read({uri})). |
archiveName | string | Archive name on the instance. Default import-<timestamp>. |
configPath | string | dw.json-format file; relative to projectDirectory. |
dryRun | boolean | Validate only, without uploading or importing. Every call validates. Default false. |
instanceName | string | dw.json instance name. |
projectDirectory | string | Absolute project root; overrides server default. |
metrics_get
CLOSED BETA. Retrieve B2C observability metric time series by category and time range. Defaults to the last 24 hours. Requires Metrics API access and OAuth scope sfcc.metrics. For incidents follow skill://b2c-ops/b2c-performance-triage/SKILL.md or b2c-integration-triage (external services); signal reference: skill://b2c-ops/b2c-production-triage/references/metrics-signals.md.
| Parameter | Type | Description |
|---|---|---|
category * | string | Metrics category. |
apiFamily | string | Filter by SCAPI API family (scapi category only) |
apiName | string | Filter by SCAPI API name (scapi category only) |
configPath | string | dw.json-format file; relative to projectDirectory. |
from | string | Start bound: relative ("1h", "7d" ago) or ISO 8601. Alone → a 24h window forward (capped at now). |
instanceName | string | dw.json instance name. |
ocapiApi | string | Filter by OCAPI API (ocapi category only) |
ocapiCategory | string | Filter by OCAPI category (ocapi category only) |
projectDirectory | string | Absolute project root; overrides server default. |
summarize | boolean | Return per-series stats (points, sum, min, max, avg, maxAt) instead of data points. |
thirdPartyServiceId | string | Filter by third-party service ID (third-party category only) |
to | string | End bound: relative ("6h" ago) or ISO 8601. Alone → a 24h window back from it. |
window | string | Duration combined with from or to; alone selects the latest window. Default: 24h. |
cip_discover
Find CIP analytics reports and inspect parameters/SQL offline; list live warehouse tables or inspect columns. Narrow results before querying.
| Parameter | Type | Description |
|---|---|---|
action | string | |
configPath | string | dw.json-format file; relative to projectDirectory. |
instanceName | string | dw.json instance name. |
limit | integer | Maximum results; default 50 columns, 20 reports/tables. |
name | string | Report or table name for detail actions. |
offset | integer | |
params | object | Report parameters from discovery; string values, dates YYYY-MM-DD. |
projectDirectory | string | Absolute project root; overrides server default. |
query | string | Report search text or SQL LIKE table-name pattern. |
schema | string | |
staging | boolean | Force staging analytics host; otherwise infer from tenant. cipHost configuration takes precedence. |
cip_query
Query CIP analytics using a curated report or SQL. Read skill://mcp/b2c-mcp-cip/SKILL.md first. Returns bounded rows; filter/group in SQL. Warehouse data is not live SCAPI state.
| Parameter | Type | Description |
|---|---|---|
skillRead * | boolean | Required. Set true only after reading skill://mcp/b2c-mcp-cip/SKILL.md (MCP resource, or skills_read({uri})). |
configPath | string | dw.json-format file; relative to projectDirectory. |
instanceName | string | dw.json instance name. |
maxRows | integer | |
params | object | Report parameters from discovery; string values, dates YYYY-MM-DD. |
projectDirectory | string | Absolute project root; overrides server default. |
report | string | Curated report name; supply report or sql. |
sql | string | Analytics SELECT query; filter dates/sites and aggregate in SQL. |
staging | boolean | Force staging analytics host; otherwise infer from tenant. cipHost configuration takes precedence. |
timeoutSeconds | integer |