Skip to main content
Glama
PipiAds MCP Server

PipiAds MCP Server

Official

get_lib_ad_detail

Read-onlyIdempotent

Retrieve detailed information for a Meta Ad Library ad by its ID, helping you inspect specific Facebook ads for research and competitive analysis.

Instructions

Get Meta Ad Library ad detail by ID.

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_lib_ad_detail"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesAd library item ID

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, destructiveHint=false and openWorldHint, so the safety profile is fully covered by structured data. The description adds nothing beyond a restatement of the lookup: no note on whether missing IDs error or return empty, no rate-limit or auth context, and no indication that results are pulled from Meta's public library.

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?

A single front-loaded sentence with no filler, and the resource and lookup key both appear immediately. It is efficient, though it is terse to the point that terseness substitutes for information rather than complementing it.

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 the one parameter is fully documented in the schema. What is missing is the scope context that matters for a tool sitting inside a cluster of near-duplicate ad-detail tools, leaving the definition minimally adequate rather than complete.

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?

There is a single required parameter with 100% schema description coverage ('Ad library item ID'), so the schema already does the work. The description's 'by ID' phrasing adds no format, source, or constraint detail beyond it, making baseline 3 the correct score.

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 names a specific verb ('Get') and a specific resource ('Meta Ad Library ad detail') qualified by lookup key ('by ID'). It is clear in isolation, but it does nothing to distinguish itself from near-identical siblings such as get_ad_detail and get_monitor_ad_detail, which an agent would need to tell apart.

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 exclusion of alternatives, and no statement of when this library-scoped lookup should be preferred over get_ad_detail or get_monitor_ad_detail. The agent must infer the scope distinction entirely from the tool name.

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