Product & Market Research

Mercado Product Selection MCP Tool

Validates the selected tool and its required arguments before calling the governed Lingdong gateway.

MCP tool name
nexscope_mercado_product_selection
Equivalent REST API path
https://api.nexscope.ai/api/skill-api/v1/skills/mercado-product-selection/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": "mercado-product-selection-1",
  "method": "tools/call",
  "params": {
    "name": "nexscope_mercado_product_selection",
    "arguments": {
      "toolName": "categorySearch",
      "arguments": {
        "siteId": "MLM",
        "searchText": "Auriculares"
      }
    }
  }
}
REST API equivalent
POST https://api.nexscope.ai/api/skill-api/v1/skills/mercado-product-selection/run
Canonical detail URL
https://www.nexscope.ai/mcp-map/mercado-product-selection

Arguments

NameTypeRequiredMeaning
toolNamestringrequired
Exact Mercado tool name.
Example: categorySearch
argumentsobjectrequired
Arguments for the selected tool.
Example: { "siteId": "MLM", "searchText": "Auriculares" }

Response fields

Treat structuredContent as the programmatic API response payload.

NameTypeRequiredMeaning
codestringoptional
Nexscope wrapper status code.
Example: 200
msgstringoptional
Nexscope wrapper status message.
Example: ok
errcodeintegeroptional
Gateway business status code.
Example: 200
errmsgstringoptional
Gateway business status message.
Example: ok
typestringoptional
Provider result type.
Example: rawMcpToolResult
toolNamestringoptional
Executed Mercado tool name.
Example: categorySearch
chargedbooleanoptional
Whether the selected tool is paid.
Example: false
dataobjectoptional
Parsed business data, or provider text when the result is not JSON.
Example: {}
contentTextstringoptional
Original concatenated provider text.
Example: Category results...
textParsedAsJsonbooleanoptional
Whether provider text was parsed as JSON.
Example: true
totalintegeroptional
Inferred result count when available.
Example: 1
costTokenintegeroptional
Provider-reported token cost; free tools return zero.
Example: 0
costTimeintegeroptional
Gateway execution time in milliseconds.
Example: 308
messagestringoptional
Provider-specific message.
Example: {}
titlestringoptional
Provider-specific response title.
Example: {}
sourceTypestringoptional
Provider-specific source platform type.
Example: {}
sourceToolstringoptional
Provider-specific source tool name.
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

{
  "toolName": "categorySearch",
  "arguments": {
    "siteId": "MLM",
    "searchText": "Auriculares"
  }
}

Example structuredContent

{
  "code": "200",
  "msg": "ok",
  "errcode": 200,
  "errmsg": "ok",
  "type": "rawMcpToolResult",
  "toolName": "categorySearch",
  "charged": false,
  "data": {},
  "contentText": "Category results...",
  "textParsedAsJson": true,
  "total": 1,
  "costToken": 0,
  "costTime": 308
}