Ad creative analysis and reporting deck generator using PptxGenJS with Tagtoo theme. Processes ad performance data and creative metadata to produce PowerPoint presentations and HTML reports.
This MCP server exposes 7 tools for ad creative analysis and reporting. Critical issues: (1) Tool names lack action verbs, 'download_tags', 'analyze_creative', 'join_perf_tags', 'join_tags_perf', 'gen_report', 'gen_report_template' are descriptive but not verb-first (pattern:tool). (2) Parameter descriptions are present but often vague, 'config' in download_tags says 'Path to client_config.yaml' but does not explain what the tool does with it or when to use it vs folder_id+key. (3) Input schemas visible in tool definitions but lack type constraints (enums, min/max), e.g., 'out' param has no format or default guidance. (4) Output schemas are NOT documented, analyze_creative emits deck_data.json but the schema is only visible in the Python source code comments, not in the tool definition. (5) Error handling is absent, no guidance on what happens if a file is missing, a pickle is corrupted, or Google Drive auth fails. (6) No tool annotations (readOnlyHint, destructiveHint, idempotentHint) despite clear risk levels (READ_ONLY vs WRITE). (7) Composition issues: join_perf_tags and join_tags_perf are separate tools doing similar work; unclear which to call first without reading source. Average tool score: 38/100.
Read joined pickle data and insights.json, emit deck_data.json for build.js. Aggregates creative performance by dimensions (素材類型, 素材切角, 表現形式, 溝通對象), calculates KPIs (total_spend, total_leads, avg_cpa), identifies top creatives, and structures narrative blocks for deck generation.
Ad Creative Analysis deck builder using PptxGenJS and Tagtoo theme. Reads deck_data.json and renders 7-slide creative analysis presentation: Cover, 4 dimension analyses (combo chart + table + insight), Top creatives ranking, and P0-P3 action cards.
Download tags_manifest.json from Google Drive to local machine. Supports configuration via YAML config file or direct folder ID and service account key parameters.
Generate HTML report from pickle data. CLI wrapper around gen_report_template.py that patches client configuration (name, colors, audience buckets, angle contexts) into the template and executes it. Produces dated HTML report file.
Core HTML report generation engine. Reads pickle data and produces comprehensive HTML report with KPI analysis, dimension breakdowns, creative performance tables, audience segmentation, angle-context recommendations, and interactive tooltips. Requires CLIENT_NAME, PKL_PATH, OUTPUT_DIR configuration.
Merge ad performance data with creative metadata. Performs three-phase matching: (A) exact ad_id comparison, (B) name fallback for unmatched ads, (C) synthetic tag generation from naming conventions. Outputs tags_manifest_full.json and perf_full_<date>.csv for downstream processing.
Tool names lack action verbs. Names like 'analyze_creative', 'join_perf_tags', 'gen_report' are descriptive but do not start with clear action verbs (get_, create_, update_, search_). LLMs infer intent from verb-first names; these require reading full descriptions.
Output schemas are not documented in tool definitions. analyze_creative and build_creative_deck produce JSON/PPTX files but the response schema is not declared. LLMs cannot plan downstream tool calls without knowing what fields are returned.
No error handling guidance. Tools do not document what happens on failure (missing file, auth error, corrupt pickle). Error responses should guide the LLM on retry vs user-fixable vs fatal (pattern:recovery-guide).
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 39 | 2026-07-28+ | v2 |
Merge tag library and standardized performance JSON into pickle format for gen_report.py. Performs coverage check with fuzzy matching (rapidfuzz token_sort_ratio) to match performance creatives to tagged creatives. Outputs {client}_data.pkl with materials ranked by CPA.
Parameter descriptions are generic and lack constraints. 'config' in download_tags says 'Path to client_config.yaml' but does not explain format, required fields, or when to use config vs folder_id+key. No enums, min/max, or format specs.
No tool annotations despite clear risk levels. join_perf_tags, join_tags_perf, gen_report, gen_report_template are marked WRITE but lack destructiveHint. download_tags is READ_ONLY but lacks readOnlyHint. Annotations help agents reason about side effects.