Skip to main content
Glama
TikTok Ads Library MCP Server

TikTok Ads Library MCP Server

analyze_ad_image

Read-only

Analyze a TikTok ad image to view the creative and get a checklist of text, hooks, people, brand elements, composition, safe zones, and colors for faster ad review.

Instructions

Analyze a TikTok ad image (cover frame or static creative): returns the image itself so you can see it, plus a checklist (text, hooks, people, brand elements, composition, safe zones, colors). Pass one cover_images or image_urls entry from search_tiktok_ads. Downloads are cached locally.

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": {
      "media_url": "<media_url>"
    },
    "name": "analyze_ad_image"
  }
}

Input Schema

NameRequiredDescriptionDefault
ad_idNo
media_urlYes
brand_nameNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description does add useful behavior beyond that: it returns the image for visual inspection rather than just text, and downloads are cached locally, hinting at storage/reuse semantics. It stops short of describing caching side effects, failure modes, or whether ad_id/brand_name change the analysis.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two dense sentences, front-loaded with what the tool does and what it returns, then the practical input instruction and a caching note. No filler and no repetition of the schema.

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 no output schema, the description rightly explains the return shape (image plus a named checklist of dimensions), which is the key thing an agent needs to plan around. The remaining gap is the two optional parameters, whose role in the analysis is never clarified.

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 0% across three parameters, so the description must compensate. It explains the required media_url's provenance (an entry from search_tiktok_ads cover_images or image_urls), but ad_id and brand_name are never mentioned or given purpose, leaving a real gap in a low-coverage schema.

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 ('Analyze a TikTok ad image (cover frame or static creative)') and immediately says what comes back (the image plus a checklist of text, hooks, people, brand elements, composition, safe zones, colors). It implicitly separates itself from analyze_ad_video by scoping to images, though it never names that sibling explicitly.

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

Usage Guidelines4/5

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

Gives concrete sourcing guidance: 'Pass one cover_images or image_urls entry from search_tiktok_ads,' which tells the agent exactly where the required media_url comes from in the workflow. It does not state exclusions such as when to prefer analyze_ad_video or what to do with a cached miss, so it falls short of full when/when-not coverage.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.