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
Equivalent REST API path
https://api.nexscope.ai/api/skill-api/v1/skills/amazon-ads-sp-insights-report-download/run
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"
    }
  }
}
REST API equivalent
POST https://api.nexscope.ai/api/skill-api/v1/skills/amazon-ads-sp-insights-report-download/run
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.

NameTypeRequiredMeaning
contentTypestringoptional
Downloaded media type
Example: text/csv
contentstringoptional
UTF-8 CSV report content
Example: date.value,metric.impressions 2026-08-01,10
errcodeintegeroptional
Upstream status code returned by the provider.
Example: {}
errmsgstringoptional
Upstream status message returned by the provider.
Example: {}
codestringoptional
Provider-specific status code.
Example: {}
msgstringoptional
Provider-specific status message.
Example: {}
messagestringoptional
Provider-specific message.
Example: {}
typestringoptional
Provider-specific render or payload type.
Example: {}
titlestringoptional
Provider-specific response title.
Example: {}
sourceTypestringoptional
Provider-specific source platform type.
Example: {}
sourceToolstringoptional
Provider-specific source tool name.
Example: {}
costTokenintegeroptional
Token cost reported by the upstream provider.
Example: {}
costTimeintegeroptional
Execution time reported by the upstream provider.
Example: {}
pageintegeroptional
Current page returned by the upstream provider.
Example: {}
pageSizeintegeroptional
Page size returned by the upstream provider.
Example: {}
pageItemCountintegeroptional
Item count on the current page returned by the upstream provider.
Example: {}
totalPageintegeroptional
Total page count returned by the upstream provider.
Example: {}
dataSnapshotMonthstringoptional
Data snapshot month returned by the upstream provider.
Example: {}

Examples

Example arguments

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

Example structuredContent

{
  "contentType": "text/csv",
  "content": "date.value,metric.impressions\n2026-08-01,10\n"
}