Documentation

Tool reference

The eight read-only WhatWins MCP tools, their purpose and how to inspect the authoritative live schema.

WhatWins exposes eight bounded tools. Inputs are validated server-side and each successful result carries coverage and source metadata.

ToolUse it for
search_adsSearch and rank verified Meta or Google creatives
get_top_organic_postsRank Instagram, TikTok and YouTube organic posts
compare_shop_trafficCompare current and historical monthly visits
compare_live_adsCompare observed Meta or Google ad history
get_shop_productsQuery products for selected tracked shops
get_shop_overviewRead positioning, market, pricing, review and tech data
discover_productsFind products across the indexed catalog
discover_shopsFind specialist competitor shops by niche

Inspect the live schema

tools/list is always authoritative. It returns JSON Schema for the version currently deployed.

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/list"
}

Shared input rules

  • A maximum of five storeIds may be used in shop-scoped calls.
  • Result limits are bounded per tool.
  • Country filters use two-letter uppercase codes such as US or GB.
  • Global discovery calls do not accept tracked storeIds.
  • Price filters must be non-negative and minPrice should not exceed maxPrice.

Shared result envelope

Tool data is returned with verification metadata:

{
  "tool": "discover_shops",
  "data": [],
  "sources": [],
  "coverage": {
    "status": "verified"
  },
  "elapsedMs": 142
}

coverage.status can be verified, partial or unsupported. Never present partial coverage as a complete market census.