API Reference

Meta Ads / API Reference

meta_ads_render_report_html

Meta Ads tool. Generate a premium Figma-level HTML dashboard from any structured data. Works with ANY data source. Claude should display the returned HTML as an artifact. Args: title: Dashboard title. metrics: JSON list: [{"label":"Spend","value":"$1,234","color":"#7c3aed"}, ...] table_headers: JSON list of column names. table_rows: JSON list of rows (list of lists). time_series: JSON: {"labels":[...],"series":[{"name":"X","values":[...],"color":"#hex","secondary":true/false}]} subtitle: Date range or description shown under the title. color_accent: Primary accent color for the header gradient (hex).

This is a read-only tool: it returns render report html for your Meta Ads account. It changes nothing.

Ask Claude

You do not call this tool yourself. Ask for the outcome and the client picks the tool:

Render report html in my Meta Ads account for [title].

It takes 1 required and 6 optional parameters.

Parameters

ParameterTypeRequiredDescription
titlestringYesTitle
metricsstringNoMetrics
table_headersstringNoTable Headers
table_rowsstringNoTable Rows
time_seriesstringNoTime Series
subtitlestringNoSubtitle
color_accentstringNoColor Accent

Related Meta Ads tools

Before you can call it

This tool needs a connected Meta Ads account. The Meta Ads connect guide covers the OAuth flow and the permissions it asks for, and the quickstart gets a client talking to the server in about five minutes.

Workflows that use this

Rather than calling tools one at a time, these skills run a whole procedure against the same account:

Start using MCP Ads