Skip to main content
Glama
PipiAds MCP Server

PipiAds MCP Server

Official

get_product_ranking

Read-onlyIdempotent

Retrieve ranked ad products by growth count, growth rate, or video count, then filter results by time range, region, platform, and e-commerce type.

Instructions

Get ad product ranking list. Requires sort_key, sort_type, time, type.

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": {
      "current_page": "<current_page>",
      "page_size": "<page_size>",
      "sort_key": "<sort_key>",
      "sort_type": "<sort_type>",
      "time": "<time>",
      "type": "<type>"
    },
    "name": "get_product_ranking"
  }
}

Input Schema

NameRequiredDescriptionDefault
timeYesTime filter
typeYesType: 1=Day, 2=Week, 3=Month, 0=Default
regionNoCountry/region
sort_keyYesSort field: "count_growth", "growth_rate", "video_count"
page_sizeYesResults per page
plat_typeNoPlatform: 0=All, 1=TikTok, 2=Facebook
shop_typeNoE-commerce system
sort_typeYes"asc", "desc", or "default"
current_pageYesPage number
growth_rate_maxNoMaximum growth rate
growth_rate_minNoMinimum growth rate
count_growth_maxNoMaximum growth count
count_growth_minNoMinimum growth count

Output Schema

NameRequiredDescriptionDefault
dataNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.6

TDQS

C2.8/5.0
Behavior2/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint, and destructiveHint=false, so the safety profile is fully covered. The description adds nothing beyond that — no mention of pagination caps (page_size max 50), how the ranking is computed or ordered, or what the openWorld behavior means in practice. For a 13-parameter analytical tool, this leaves real behavioral gaps.

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

Conciseness3/5

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

The description is short and front-loaded with the tool's purpose, which is good. However, the second sentence is pure redundancy with the schema's required array and earns no place, while genuinely useful content (filter parameters, ranking semantics) is omitted.

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 13 parameters including optional region, plat_type, shop_type, and growth/count range filters, plus pagination, an agent needs to know these capabilities exist to call the tool well. The description mentions none of them and does not clarify how this ranking differs from the new-product and app ranking siblings, so it is inadequate for the tool's complexity even though an output schema exists.

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%, with enum values and meanings documented inline for type, sort_type, plat_type, and sort_key. The description merely repeats four required parameter names, adding no format, range, or interaction semantics on top of the schema, so the baseline 3 applies.

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 ("Get ad product ranking list"), which tells an agent it retrieves a ranked list of ad products. It does not differentiate from close siblings such as get_new_product_ranking or get_new_app_ranking, leaving ambiguity about whether this covers all products or only established ones.

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 at all: no indication of what this ranking is suited for, when to prefer get_new_product_ranking instead, or what preconditions apply. The only guidance offered is "Requires sort_key, sort_type, time, type," which restates the schema's required list rather than helping an agent choose the tool.

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