naftiko: 1.0.0-alpha2 info: label: Walmart Insights Management — Listing Quality description: 'Walmart Insights Management — Listing Quality. 3 operations. Lead operation: Walmart Item Count With Listing Quality Issues. Self-contained Naftiko capability covering one Walmart business surface.' tags: - Walmart - Listing Quality created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: WALMART_API_KEY: WALMART_API_KEY capability: consumes: - type: http namespace: marketplace-insights-listing-quality baseUri: https://marketplace.walmartapis.com description: Walmart Insights Management — Listing Quality business capability. Self-contained, no shared references. resources: - name: v3-insights-items-listingQuality-count path: /v3/insights/items/listingQuality/count operations: - name: getcategorieslist method: GET description: Walmart Item Count With Listing Quality Issues outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: viewTrendingItems in: query type: boolean description: Specify whether or not to include seller's items that are trending in the Listing Quality Score. - name: wfsFlag in: query type: boolean description: Specify whether or not to include WFS-eligible items in the overall Listing Quality Score. - name: hasIssue in: query type: integer description: Specify whether or not to include items that have issues in the Listing Quality Score. - name: type in: query type: string description: Specify whether to get item count by brand or category. Category is the default value when no type is specified. - name: limit in: query type: integer description: Specify number of items to return. The value is defaulted to 100 and the maximum value is 1000. - name: offset in: query type: integer description: Specify the offset of item list to be returned. - name: WM_SEC.ACCESS_TOKEN in: header type: string description: The access token retrieved in the Token API call required: true - name: WM_CONSUMER.CHANNEL.TYPE in: header type: string description: A unique ID to track the consumer request by channel. Use the Consumer Channel Type received during onboarding - name: WM_QOS.CORRELATION_ID in: header type: string description: A unique ID which identifies each API call and used to track and debug issues; use a random generated GUID for this ID required: true - name: WM_SVC.NAME in: header type: string description: Walmart Service Name required: true - name: v3-insights-items-listingQuality-score path: /v3/insights/items/listingQuality/score operations: - name: getlistingqualityscore method: GET description: Walmart Seller Listing Quality Score outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: viewTrendingItems in: query type: boolean description: Specify whether or not to include seller's items that are trending in the Listing Quality Score. - name: wfsFlag in: query type: string description: Specify whether or not to include WFS-eligible items in the overall Listing Quality Score. - name: WM_SEC.ACCESS_TOKEN in: header type: string description: The access token retrieved in the Token API call required: true - name: WM_CONSUMER.CHANNEL.TYPE in: header type: string description: A unique ID to track the consumer request by channel. Use the Consumer Channel Type received during onboarding - name: WM_QOS.CORRELATION_ID in: header type: string description: A unique ID which identifies each API call and used to track and debug issues; use a random generated GUID for this ID required: true - name: WM_SVC.NAME in: header type: string description: Walmart Service Name required: true - name: v3-insights-prosellerbadge path: /v3/insights/prosellerbadge operations: - name: getprosellerbadgeinfo method: GET description: Walmart Pro Seller Badge Status outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: WM_SEC.ACCESS_TOKEN in: header type: string description: The access token retrieved in the Token API call required: true - name: WM_CONSUMER.CHANNEL.TYPE in: header type: string description: A unique ID to track the consumer request by channel. Use the Consumer Channel Type received during onboarding - name: WM_QOS.CORRELATION_ID in: header type: string description: A unique ID which identifies each API call and used to track and debug issues; use a random generated GUID for this ID required: true - name: WM_SVC.NAME in: header type: string description: Walmart Service Name required: true exposes: - type: rest namespace: marketplace-insights-listing-quality-rest port: 8080 description: REST adapter for Walmart Insights Management — Listing Quality. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v3/insights/items/listingquality/count name: v3-insights-items-listingquality-count description: REST surface for v3-insights-items-listingQuality-count. operations: - method: GET name: getcategorieslist description: Walmart Item Count With Listing Quality Issues call: marketplace-insights-listing-quality.getcategorieslist with: viewTrendingItems: rest.viewTrendingItems wfsFlag: rest.wfsFlag hasIssue: rest.hasIssue type: rest.type limit: rest.limit offset: rest.offset WM_SEC.ACCESS_TOKEN: rest.WM_SEC.ACCESS_TOKEN WM_CONSUMER.CHANNEL.TYPE: rest.WM_CONSUMER.CHANNEL.TYPE WM_QOS.CORRELATION_ID: rest.WM_QOS.CORRELATION_ID WM_SVC.NAME: rest.WM_SVC.NAME outputParameters: - type: object mapping: $. - path: /v1/v3/insights/items/listingquality/score name: v3-insights-items-listingquality-score description: REST surface for v3-insights-items-listingQuality-score. operations: - method: GET name: getlistingqualityscore description: Walmart Seller Listing Quality Score call: marketplace-insights-listing-quality.getlistingqualityscore with: viewTrendingItems: rest.viewTrendingItems wfsFlag: rest.wfsFlag WM_SEC.ACCESS_TOKEN: rest.WM_SEC.ACCESS_TOKEN WM_CONSUMER.CHANNEL.TYPE: rest.WM_CONSUMER.CHANNEL.TYPE WM_QOS.CORRELATION_ID: rest.WM_QOS.CORRELATION_ID WM_SVC.NAME: rest.WM_SVC.NAME outputParameters: - type: object mapping: $. - path: /v1/v3/insights/prosellerbadge name: v3-insights-prosellerbadge description: REST surface for v3-insights-prosellerbadge. operations: - method: GET name: getprosellerbadgeinfo description: Walmart Pro Seller Badge Status call: marketplace-insights-listing-quality.getprosellerbadgeinfo with: WM_SEC.ACCESS_TOKEN: rest.WM_SEC.ACCESS_TOKEN WM_CONSUMER.CHANNEL.TYPE: rest.WM_CONSUMER.CHANNEL.TYPE WM_QOS.CORRELATION_ID: rest.WM_QOS.CORRELATION_ID WM_SVC.NAME: rest.WM_SVC.NAME outputParameters: - type: object mapping: $. - type: mcp namespace: marketplace-insights-listing-quality-mcp port: 9090 transport: http description: MCP adapter for Walmart Insights Management — Listing Quality. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: walmart-item-count-listing-quality description: Walmart Item Count With Listing Quality Issues hints: readOnly: true destructive: false idempotent: true call: marketplace-insights-listing-quality.getcategorieslist with: viewTrendingItems: tools.viewTrendingItems wfsFlag: tools.wfsFlag hasIssue: tools.hasIssue type: tools.type limit: tools.limit offset: tools.offset WM_SEC.ACCESS_TOKEN: tools.WM_SEC.ACCESS_TOKEN WM_CONSUMER.CHANNEL.TYPE: tools.WM_CONSUMER.CHANNEL.TYPE WM_QOS.CORRELATION_ID: tools.WM_QOS.CORRELATION_ID WM_SVC.NAME: tools.WM_SVC.NAME outputParameters: - type: object mapping: $. - name: walmart-seller-listing-quality-score description: Walmart Seller Listing Quality Score hints: readOnly: true destructive: false idempotent: true call: marketplace-insights-listing-quality.getlistingqualityscore with: viewTrendingItems: tools.viewTrendingItems wfsFlag: tools.wfsFlag WM_SEC.ACCESS_TOKEN: tools.WM_SEC.ACCESS_TOKEN WM_CONSUMER.CHANNEL.TYPE: tools.WM_CONSUMER.CHANNEL.TYPE WM_QOS.CORRELATION_ID: tools.WM_QOS.CORRELATION_ID WM_SVC.NAME: tools.WM_SVC.NAME outputParameters: - type: object mapping: $. - name: walmart-pro-seller-badge-status description: Walmart Pro Seller Badge Status hints: readOnly: true destructive: false idempotent: true call: marketplace-insights-listing-quality.getprosellerbadgeinfo with: WM_SEC.ACCESS_TOKEN: tools.WM_SEC.ACCESS_TOKEN WM_CONSUMER.CHANNEL.TYPE: tools.WM_CONSUMER.CHANNEL.TYPE WM_QOS.CORRELATION_ID: tools.WM_QOS.CORRELATION_ID WM_SVC.NAME: tools.WM_SVC.NAME outputParameters: - type: object mapping: $.