Skip to main content
Glama
PipiAds MCP Server

PipiAds MCP Server

Official

search_adlibrary_products

Read-onlyIdempotent

Filter Meta Ad Library products by price, platform, ad status, active days, and category to identify products for ad research and competitor analysis.

Instructions

Search Meta Ad Library products. Filter by price, platform, ad status, active days. 1 credit per result.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "search_adlibrary_products"
  }
}

Input Schema

NameRequiredDescriptionDefault
idsNoFilter by product IDs
pageNoPage number
currencyNoCurrency filter, e.g. ["USD","EUR"]
order_byNoSort field
per_pageNoResults per page, max 100
ad_statusNoAd status: 1=Active, 2=Stopped
directionNoSort direction: "asc" or "desc"
ad_forecastNoAd forecast filter
category_idNoFilter by category IDs
price_usd_endNoMaximum price in USD
active_days_endNoMaximum active days
ad_ended_at_endNoAd end time end (unix timestamp)
price_usd_startNoMinimum price in USD
active_days_startNoMinimum active days
ad_ended_at_startNoAd end time start (unix timestamp)
ad_started_at_endNoAd start time end (unix timestamp)
creation_time_endNoProduct creation time end (unix timestamp)
ad_started_at_startNoAd start time start (unix timestamp)
creation_time_startNoProduct creation time start (unix timestamp)
e_commerce_platformNoE-commerce platform filter, e.g. ["shopify"]

Output Schema

NameRequiredDescriptionDefault
dataNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.6

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, open-world), so the bar is lower; the description still adds genuinely operational information by disclosing "1 credit per result," which lets an agent reason about cost before paging. It does not mention pagination limits or rate limits, but the cost disclosure is the meaningful addition here.

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

Conciseness5/5

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

Three short sentences, verb and resource front-loaded, filter scope next, cost last. Every sentence carries distinct information and there is no filler.

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

Completeness3/5

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

The output schema covers return shape and the annotations cover safety, but for a 20-parameter open-ended search the description gives no guidance on default result volume, how to page through a large result set economically, or how the metered cost scales with per_page. Adequate to call the tool, thin for calling it efficiently.

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 coverage is 100% across 20 parameters, so the schema already documents ids, currency, order_by, ad_forecast, price/date ranges, and pagination bounds. The description only echoes a subset of the filters (price, platform, ad status, active days) without adding semantics such as whether ranges are inclusive or how order_by interacts with direction, so 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?

States a specific verb and resource ("Search Meta Ad Library products") and names the filterable dimensions, which cleanly separates it from sibling ad/advertiser/store search tools. It stops short of naming a specific alternative sibling it should be preferred over.

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 explicit when-to-use or when-not-to-use guidance, and no pointer to siblings such as search_products or get_adlibrary_product_detail. The only usage-adjacent signal is the credit cost, which tells the agent this call is metered but not when it is the right call.

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