linkedin_ads_render_chart

Render LinkedIn Ads Chart

Linkedin MCP App

Description

Interactive chart renderer for LinkedIn Ads performance visualization

Read-onlyIdempotent

Usage

This is an MCP App tool — it renders an interactive chart visualization directly in Claude Desktop. It does not return text or JSON; instead it returns a resource_link pointing to a bundled React application that renders the chart client-side using Observable Plot.

To use: fetch data with a reporting or insights tool first, then pass the structured data to this tool. Claude will construct the chart configuration automatically.

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "linkedin_ads_render_chart",
    "arguments": {
      "reason": "Show campaign spend over time",
      "chart": {
        "type": "timeseries",
        "data": {
          "current": [
            {
              "date": "2026-01-01",
              "values": {
                "spend": 1000
              }
            }
          ]
        },
        "primaryAxis": {
          "field": "spend",
          "label": "Spend ($)",
          "mark": "bar"
        }
      }
    }
  }
}

Supported Chart Types

Parameters

NameTypeRequiredDescription
reason string Required Brief explanation of why you are rendering this chartminLength: 1, maxLength: 500
chart object Required Chart configuration. Supported types: bar, scatter, timeseries, funnel, waterfall, choropleth.