Skip to main content
Glama
PipiAds MCP Server

PipiAds MCP Server

Official

get_ad_detail

Read-onlyIdempotent

Retrieves full details for a specific TikTok or Facebook ad using its video ID from search results, so you can inspect creative content, advertiser info, and performance data.

Instructions

Get detailed info for a specific ad by video ID. 1 credit (free if queried within 3 days).

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

Input Schema

NameRequiredDescriptionDefault
idYesAd video ID (video_id from search results)

Output Schema

NameRequiredDescriptionDefault
dataNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.6

TDQS

A3.5/5.0
Behavior3/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 covered structurally. The description adds genuinely non-annotation context: the 1-credit cost and the free window for queries within 3 days, which matters for call planning. It does not disclose anything about the returned data, though an output schema exists to cover that.

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 tight sentences with no filler, and the core purpose is front-loaded ahead of the cost note. Sizing is appropriate for a single-parameter lookup tool.

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

Completeness4/5

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

With an output schema present and full schema coverage on the sole parameter, the description needs only to convey purpose and cost, which it does. The main residual gap is routing guidance among the many sibling detail endpoints.

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?

Only one parameter, and schema coverage is 100% with the schema itself explaining that id is the 'video_id from search results'. The description restates the same keying concept ('by video ID') without adding format, validation, or edge-case guidance beyond the schema, so the baseline of 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 ('Get detailed info for a specific ad') plus the keying input ('by video ID'), which is concrete enough for an agent to recognize the operation. However, it offers no differentiation from similarly named siblings such as get_lib_ad_detail or get_monitor_ad_detail, leaving ambiguity about which ad-detail variant applies.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: an agent can infer it should call this when it has an ad video ID and needs detail. There is no explicit when-to-use, when-not-to-use, or pointer to the sibling detail tools that presumably serve other ad sources.

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