Skip to main content
Glama
PipiAds MCP Server

PipiAds MCP Server

Official

ai_search_image_ads

Read-onlyIdempotent

Find TikTok and Facebook ads similar to a submitted image and filter results by region, platform, engagement, and delivery dates.

Instructions

Search ads 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_ads"
  }
}

Input Schema

NameRequiredDescriptionDefault
sortNoSort field
regionNoCountry/region filter
image_idYesImage ID from submit response
page_sizeNoResults per page
plat_typeNoPlatform: 1=TikTok, 2=Facebook
sort_typeNo"asc" or "desc"
put_day_maxNoMaximum delivery days
put_day_minNoMinimum delivery days
current_pageNoPage number
digg_count_maxNoMaximum like count
digg_count_minNoMinimum like count
play_count_maxNoMaximum play count
play_count_minNoMinimum play count
create_time_endNoCreation time end
create_time_startNoCreation time start

Output Schema

NameRequiredDescriptionDefault
dataNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.6

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is fully covered without help from the text. The description adds nothing beyond that: it says nothing about the submit-then-search workflow, pagination limits, result ordering, or what a similarity match contains, which is a real gap for a search operation against an external index.

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?

One front-loaded sentence with zero wasted words, but the brevity is under-specification rather than discipline for a tool with 15 parameters and cross-tool siblings. Nothing is redundant, yet nothing beyond the bare purpose is present.

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

Completeness4/5

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

Given a fully described input schema, an output schema, and complete annotations, most of what an agent needs to invoke the tool is carried by structured fields. The missing piece is workflow context — that image_id originates from ai_search_submit_image and that results are similarity-ranked — which keeps it short of a 5.

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 all 15 parameters, so every field (sort, region, plat_type, the min/max ranges, paging, time window) is already documented structurally. Baseline 3 applies; the description contributes no syntax, units, or interaction details such as whether create_time values are epoch seconds.

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?

States a specific verb and resource ('Search ads') plus the matching mode ('similar to a submitted image'), which separates it from keyword tools like search_ads and from the product/store siblings. It does not, however, explicitly name any sibling or contrast itself with ai_search_image_products or ai_search_image_stores, so the differentiation is only implied.

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 when-not-to-use guidance, and no stated alternative. The description also omits the ordering prerequisite (an image must be submitted first and its image_id used), which an agent must infer from the schema field text alone.

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