Skip to main content
Glama
PipiAds MCP Server

PipiAds MCP Server

Official

search_stores

Read-onlyIdempotent

Search a ranked list of ecommerce stores and filter results by platform, region, ad metrics, and monthly visits to identify high-performing shops and competitors.

Instructions

Search store ranking list. Filter by platform, region, ad metrics, monthly visits.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "data_type": "<data_type>",
      "time": "<time>",
      "sort": "<sort>",
      "sort_type": "<sort_type>",
      "current_page": "<current_page>",
      "page_size": "<page_size>"
    },
    "name": "search_stores"
  }
}

Input Schema

NameRequiredDescriptionDefault
sortYesSort field
timeYesTime range: 3=All, 4=Yesterday, 0=7d, 1=30d, 2=90d
cpa_maxNoMaximum CPA
cpa_minNoMinimum CPA
cpm_maxNoMaximum CPM
cpm_minNoMinimum CPM
keywordNoSearch keyword
ad_stateNoAd state: 1=Active, 0=Stopped
data_typeYesPlatform: 0=All, 1=TikTok, 2=Facebook, 3=Meta Library
page_sizeYesResults per page
reach_maxNoMaximum Meta reach
reach_minNoMinimum Meta reach
shop_typeNoE-commerce platform filter
sort_typeYes"desc" or "asc"
put_day_maxNoMaximum delivery days
put_day_minNoMinimum delivery days
search_typeNoSearch type
current_pageYesPage number
end_time_endNoAd end date range end
end_time_startNoAd end date range start
page_count_maxNoMaximum page count
page_count_minNoMinimum page count
play_count_maxNoMaximum play count
play_count_minNoMinimum play count
start_time_endNoAd start date range end
store_countriesNoStore country filter
store_languagesNoStore language filter
goods_source_maxNoMaximum ad count
goods_source_minNoMinimum ad count
start_time_startNoAd start date range start
product_count_maxNoMaximum product count
product_count_minNoMinimum product count
product_category_idNoProduct category IDs
website_monthly_visits_maxNoMaximum monthly visits
website_monthly_visits_minNoMinimum monthly visits
facebook_library_ad_platformNoMeta ad platform filter

Output Schema

NameRequiredDescriptionDefault
dataNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.6

TDQS

C2.9/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnly, idempotent, openWorld, and non-destructive, so the safety profile is fully covered elsewhere. The description adds no behavioral context of its own — nothing about result ordering despite 'ranking list', pagination limits (page_size max 50), or the cost of querying this open-world dataset.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short, front-loaded sentences with zero padding. The terseness is efficient, though it edges toward under-specification for a tool of this size.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With 36 parameters, 6 required, and several required fields whose meanings are undefined even in the schema (sort is 'Sort field' as a bare number, search_type is 'Search type'), the description should clarify those. It also omits any note on default ordering or how to interpret the ranked output, though the output schema offsets the need to describe return values.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100% across 36 parameters, so the schema carries the burden and baseline 3 applies. The description groups filters into platform, region, ad metrics, and monthly visits, which orients an agent but adds no semantics for ambiguous fields like sort, search_type, or page_count.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb and resource: 'Search store ranking list,' with the 'ranking list' framing distinguishing it from a plain store lookup. It does not explicitly name a sibling to route against (e.g., search_tiktok_shops), so it stops short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance, no prerequisites, and no mention of when another tool (search_tiktok_shops, search_products, search_ads) would be the better choice. Usage is only implied by the skimpy filter list.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools