Skip to content
advardeDeveloper docs
v1.0

Query product feed products

Loading server catalog…. Download catalog

POSThttps://app.advarde.com/mcp
Read

Upstream account eligibility and feature access may also apply.

Description: List products in a feed that match the supplied ad group product filters.

Method: tools/call · ads_query_product_feed_products

Output: Tool data is returned in result.structuredContent and as JSON text in result.content. Inspect result.isError before using the result. Individual output fields depend on the operation.

Access: Read access to the relevant workspace and account.

Upstream operation: POST /feeds/{feed_id}/products/query. Call this through the MCP tool above.

Authentication

Use an MCP access token from MCP connections, or connect through OAuth. Send your token in the Authorization: Bearer header.

For full protocol initialization and tool discovery, use an MCP client. These examples show individual JSON-RPC requests.

Tool arguments

Send these fields inside params.arguments. The tool name is sent as params.name.

account_idstringrequired

Workspace-owned Advarde connection ID from ads_list_accounts.

format: "uuid"
feed_idstringrequired
bodyobjectrequired
additionalProperties: false
EXPAND BODY
filtersarrayoptional
EXPAND FILTERS

Each array item

fieldstringrequired
operatorstringrequired
enum: ["in","not_in","gt","gte","lt","lte","contains","not_contains","starts_with"]
valuesarrayrequired
EXPAND VALUES

Each array item

{
  "type": "string"
}
limitintegeroptional
minimum: 1maximum: 500
afterstringoptional
Full JSON Schema
{
  "type": "object",
  "properties": {
    "account_id": {
      "type": "string",
      "format": "uuid",
      "description": "Workspace-owned Advarde connection ID from ads_list_accounts."
    },
    "feed_id": {
      "type": "string"
    },
    "body": {
      "properties": {
        "filters": {
          "items": {
            "properties": {
              "field": {
                "type": "string"
              },
              "operator": {
                "type": "string",
                "enum": [
                  "in",
                  "not_in",
                  "gt",
                  "gte",
                  "lt",
                  "lte",
                  "contains",
                  "not_contains",
                  "starts_with"
                ],
                "x-openai-class-name": "sofa.api.params.ad_groups.ProductSetFilterOperatorParam"
              },
              "values": {
                "items": {
                  "type": "string"
                },
                "type": "array"
              }
            },
            "type": "object",
            "required": [
              "field",
              "operator",
              "values"
            ],
            "x-openai-class-name": "sofa.api.params.ad_groups.ProductSetFilterParams",
            "additionalProperties": false
          },
          "type": "array"
        },
        "limit": {
          "type": "integer",
          "maximum": 500,
          "minimum": 1
        },
        "after": {
          "type": "string"
        }
      },
      "type": "object",
      "required": [],
      "x-openai-class-name": "sofa.api.params.product_feeds.QueryProductFeedProductsBody",
      "additionalProperties": false
    }
  },
  "required": [
    "account_id",
    "feed_id",
    "body"
  ],
  "additionalProperties": false
}

Responses

200Successful protocol response

Inspect result.isError for tool-level failures, even when the HTTP status is 200.

202Notification accepted

MCP notifications return no JSON-RPC response body.

400Invalid request

Check the JSON-RPC envelope, parameters, and protocol version.

406Not acceptable

Accept must include application/json and text/event-stream.

429Rate limited

Wait for the Retry-After interval before making another request.

401Unauthorized

A valid, unexpired MCP bearer token is required.

403Access denied

Your connection needs access to this workspace and the requested operation.

Advarde MCP API v1.0