Skip to main content
Glama
PipiAds MCP Server

PipiAds MCP Server

Official

ai_search_image_products

Read-onlyIdempotent

Search by image ID to find similar products across TikTok and Facebook ads for product discovery, supplier research, and competitor analysis.

Instructions

Search products similar to a submitted image.

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": {
      "image_id": "<image_id>"
    },
    "name": "ai_search_image_products"
  }
}

Input Schema

NameRequiredDescriptionDefault
sortNoSort field
regionNoCountry/region, comma-separated
image_idYesImage ID from submit response
page_sizeNoResults per page
plat_typeNoPlatform: 0=All, 1=TikTok, 2=Facebook
price_maxNoMaximum price (USD)
price_minNoMinimum price (USD)
sort_typeNo"asc" or "desc"
current_pageNoPage number
play_count_maxNoMaximum play count
play_count_minNoMinimum play count

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 readOnlyHint=true, idempotentHint=true, openWorldHint=true, and destructiveHint=false, covering the safety profile. The description adds nothing beyond that — no note on result volume, pagination, pricing/filter defaults, or how image similarity ranking works. The output schema exists, so return values need not be explained, but the description contributes no behavioral context.

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?

A single front-loaded sentence with no filler or redundancy. However, its brevity reflects under-specification rather than disciplined economy, since key workflow context 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?

This is an 11-parameter, image-driven search with a required image_id tied to a separate submission workflow, yet the description never mentions that dependency or any filter behavior. Rich annotations and an output schema lighten the burden, but for a tool of this complexity the description is too thin to be complete.

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 11 documented parameters including two enums (plat_type, sort_type), so the schema fully carries parameter meaning. The description adds no extra semantics such as whether price filters apply in USD only or how sort and sort_type interact. Baseline 3 is appropriate.

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 pairs a specific verb ("Search") with a specific resource ("products") and a clear mechanism ("similar to a submitted image"), which distinguishes it from resource siblings like ai_search_image_ads or ai_search_image_stores by the returned entity type. It does not explicitly contrast with text-based search_products, so it falls short of full sibling differentiation.

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 mention of prerequisites (that the image_id must come from a prior submit call), and no stated condition for choosing this tool over ai_search_image_tiktok_products or the generic search_products. The agent must infer usage entirely from the name and schema.

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