Skip to main content
Glama
PipiAds MCP Server

PipiAds MCP Server

Official

get_store_ad_trend

Read-onlyIdempotent

Analyze Meta Ad Library ad trends for a store within a specified start and end time to track changes in ad activity.

Instructions

Get store Meta Ad Library ad trend analysis. Requires start_time and end_time.

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": {
      "id": "<id>",
      "start_time": "<start_time>",
      "end_time": "<end_time>"
    },
    "name": "get_store_ad_trend"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesStore ID
end_timeYesEnd time (unix timestamp)
start_timeYesStart time (unix timestamp)

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, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is fully covered without the description. The description adds essentially no behavior beyond that — no statement of what a 'trend' comprises (granularity, aggregation, metrics) or how open-world Ad Library data behaves.

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 sentences, front-loaded with the purpose, with no filler or hedging. The second sentence is redundant with the required-fields list in the schema, which keeps it from a 5.

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?

An output schema exists, so return values need not be explained, and all parameters are documented. However, for an analysis tool in a crowded store-ad family, the description leaves unclear what time window granularity or result shape to expect, and offers no guidance relative to the many sibling tools.

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%, so all three parameters (id, start_time, end_time) are already documented with types and unix-timestamp semantics. The description only repeats that the two time parameters are required, adding no new meaning; 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 ('Get') and a specific resource ('store Meta Ad Library ad trend analysis'), which an agent can distinguish from monitoring or copy-analysis siblings. It stops short of explicitly contrasting with the closest siblings such as get_store_ad_schedule or get_store_longest_run_ads.

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: nothing says which questions this trend analysis answers, nor when to prefer it over the other store-level ad tools. The only conditional statement is 'Requires start_time and end_time', which is a prerequisite already enforced by the schema, not usage guidance.

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