get_store_longest_run_ads

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

Server Pipiads pipiads-mcp-server
Category Read
Risk class Low
Parameters 51 required

What get_store_longest_run_ads does on Pipiads

AI agents call get_store_longest_run_ads to retrieve information from Pipiads without modifying anything — typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.

ParameterTypeRequiredDescription
id string Yes Store ID
order_by string Sort field
direction string "asc" or "desc"
page_size number Results per page
current_page number Page number

Parameters from the server's own tool schema.

Why get_store_longest_run_ads needs a policy

This tool queries and retrieves historical ad information from Meta's public Ad Library. It performs a read-only operation with no side effects, no data modification, no code execution, and no financial implications. The retrieval of advertising intelligence data poses minimal security risk.

From the tool's definition Tool name 'get_store_longest_run_ads' and description 'Get store longest-running ad content from Meta Ad Library' indicate retrieval of existing advertising data with no modification, creation, or deletion of records.

Questions about get_store_longest_run_ads

What does the get_store_longest_run_ads tool do? +

Get store longest-running ad content from Meta Ad Library. It is categorised as a Read tool in the Pipiads MCP Server, which means it retrieves data without modifying state.

What parameters does get_store_longest_run_ads accept? +

get_store_longest_run_ads accepts 5 parameters: id, order_by, direction, page_size, current_page. Required: id. The full parameter table on this page comes from the server's own tool schema.

How do I enforce a policy on get_store_longest_run_ads? +

Register the Pipiads MCP server in PolicyLayer and add a rule for get_store_longest_run_ads: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Pipiads. Nothing to install.

What risk level is get_store_longest_run_ads? +

get_store_longest_run_ads is a Read tool with low risk. Read-only tools are generally safe to allow by default.

Can I rate-limit get_store_longest_run_ads? +

Yes. Add a rate_limit block to the get_store_longest_run_ads rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.

How do I block get_store_longest_run_ads completely? +

Set action: deny in the PolicyLayer policy for get_store_longest_run_ads. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.

What MCP server provides get_store_longest_run_ads? +

get_store_longest_run_ads is provided by the Pipiads MCP server (pipiads-mcp-server). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

// LOOK UP ANOTHER SERVER

Every MCP server has a record like this.

Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.