Skip to main content
Glama
PipiAds MCP Server

PipiAds MCP Server

Official

get_store_longest_run_ads

Read-onlyIdempotent

Retrieve a store's Meta Ad Library ads ranked by run duration to identify durable creative and analyze competitor ad history.

Instructions

Get store longest-running ad content from Meta Ad Library.

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>"
    },
    "name": "get_store_longest_run_ads"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesStore ID
order_byNoSort field
directionNo"asc" or "desc"
page_sizeNoResults per page
current_pageNoPage number

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?

The annotations already establish read-only, idempotent, non-destructive, open-world behavior. The description adds the Meta Ad Library source and the longest-running ad concept, but it does not describe pagination, result limits, or other operational behavior beyond the annotations.

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?

The description is a single efficient sentence with no filler and is front-loaded with the action and resource. It is concise, though brevity contributes to the missing usage guidance.

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 tool has a rich schema, full parameter descriptions, annotations, and an output schema, so the description does not need to explain return values. However, for a tool with several parameters and multiple sibling alternatives, it remains minimally adequate without explaining when to choose it.

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 the schema already documents all five parameters. The description does not add parameter-specific meaning beyond identifying the resource and source.

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 states a specific verb and resource: getting store longest-running ad content from Meta Ad Library. It is clear what the tool retrieves, though it does not explicitly distinguish itself from sibling tools such as get_monitor_longest_run_copy.

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?

The description gives no guidance on when to use this tool versus alternatives, nor does it mention prerequisites or exclusions. Usage is only implied by the tool name and resource.

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