Nexscope

Amazon Advertising

Amazon Ads SP Insights Report Download MCP Tool

Uses existing Amazon Ads authorization and tokenized download handling. Create once, poll by reportId, then download using a documentToken.

MCP tool name
nexscope_amazon_ads_sp_insights_report_download
Legacy MCP endpoint
/api/skill-api/v1/mcp
JSON-RPC method
tools/call

Authentication

Send the user API key as a bearer token on every MCP JSON-RPC request.

Authorization: Bearer nk-xxxxxxxxxxxxxxxxx

If authentication is missing or invalid, ask the user to open API Access and copy a valid key before calling this tool.

Call this MCP tool

Use tools/call with the MCP tool name below. The arguments object should match the table on this page.

{
  "jsonrpc": "2.0",
  "id": "amazon-ads-sp-insights-report-download-1",
  "method": "tools/call",
  "params": {
    "name": "nexscope_amazon_ads_sp_insights_report_download",
    "arguments": {
      "connectionId": 123,
      "documentToken": "opaque-document-token"
    }
  }
}
Legacy endpoint
POST /api/skill-api/v1/mcp
Canonical detail URL
https://www.nexscope.ai/mcp-map/amazon-ads-sp-insights-report-download

Arguments

NameTypeRequiredMeaning
connectionIdintegerrequired
Owned Amazon Ads connection ID; profile and region are resolved by the backend.
Example: 123
documentTokenstringrequired
Backend-issued token from a completed report part, consumed by the existing download workflow.
Example: opaque-document-token

Response fields

Treat structuredContent as the programmatic API response payload.

NameTypeRequiredDescription
dataanyrequired
Data value used by this API operation.
codeintegerrequired
0 means accepted or successful; nonzero is a platform error.
msgstring | nullrequired
Msg value used by this API operation.
tsstringrequired
Epoch milliseconds.
timestringrequired
Server local time: yyyy-MM-dd HH:mm:ss.
coststringrequired
Elapsed milliseconds, never credits; -1 outside web requests.
traceIdstring | nullrequired
Trace id value used by this API operation.

Any of option 1

NameTypeRequiredDescription
dataobjectrequired
Data value used by this API operation.
data.contentTypestringoptional
Downloaded media type
Example: text/csv
data.contentstringoptional
UTF-8 CSV report content
Example: date.value,metric.impressions 2026-08-01,10
data.typestringoptional
Provider-specific render or payload type.
Example: null
data.titlestringoptional
Provider-specific response title.
Example: null
data.sourceTypestringoptional
Provider-specific source platform type.
Example: null
data.sourceToolstringoptional
Provider-specific source tool name.
Example: null
data.costTokenintegeroptional
Token cost reported by the upstream provider.
Example: null
data.costTimeintegeroptional
Execution time reported by the upstream provider.
Example: null
data.pageintegeroptional
Current page returned by the upstream provider.
Example: null
data.pageSizeintegeroptional
Page size returned by the upstream provider.
Example: null
data.pageItemCountintegeroptional
Item count on the current page returned by the upstream provider.
Example: null
data.totalPageintegeroptional
Total page count returned by the upstream provider.
Example: null
data.dataSnapshotMonthstringoptional
Data snapshot month returned by the upstream provider.
Example: null

Any of option 2

NameTypeRequiredDescription
datanullrequired
Data value used by this API operation.

Examples

Example arguments

{
  "connectionId": 123,
  "documentToken": "opaque-document-token"
}

Example structuredContent

{
  "data": {
    "content": "date.value,metric.impressions\n2026-08-01,10\n",
    "contentType": "text/csv"
  },
  "code": 0,
  "msg": null,
  "ts": "0",
  "time": "2026-01-01 00:00:00",
  "cost": "-1",
  "traceId": null
}