{
  "commit_sha": "b93b350968ce402b41cc2ec9d463c95939b65254",
  "servers": [
    {
      "id": "meta-ads",
      "name": "Meta Ads",
      "description": "Facebook and Instagram campaign data and reporting via Meta Marketing API v25.0",
      "tool_count": 29,
      "mcpUrl": "https://meta.mcp.hopkin.ai",
      "tools": [
        {
          "name": "meta_ads_get_account_summary",
          "title": "Get Meta Ads Account Summary",
          "description": "Standardized account-level performance summary for cross-platform comparison. Normalized format identical to google_ads_get_account_summary. Includes conversion_detail breakdown from both Meta actions and conversions arrays. Preferred over get_insights or get_performance_report for quick account-level overviews. Always fetches fresh data.",
          "cli_command": "hopkin meta account-summary get",
          "cli_flags": [
            {
              "flag": "--account",
              "description": "Meta ad account ID",
              "type": "string",
              "required": true
            },
            {
              "flag": "--date-preset",
              "description": "Predefined date range (e.g., last_7d, last_30d, this_month)",
              "type": "string",
              "required": false
            },
            {
              "flag": "--time-range",
              "description": "Custom date range {since, until} in YYYY-MM-DD",
              "type": "object",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "account-summary",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": false
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "account_id": {
                "type": "string",
                "minLength": 1,
                "description": "Meta ad account ID"
              },
              "date_preset": {
                "type": "string",
                "enum": [
                  "today",
                  "yesterday",
                  "this_week_mon_today",
                  "this_week_sun_today",
                  "last_week_mon_sun",
                  "last_week_sun_sat",
                  "this_month",
                  "last_month",
                  "this_quarter",
                  "last_quarter",
                  "this_year",
                  "last_year",
                  "last_3d",
                  "last_7d",
                  "last_14d",
                  "last_28d",
                  "last_30d",
                  "last_90d",
                  "lifetime",
                  "maximum"
                ],
                "description": "Predefined date range (e.g., last_7d, last_30d, this_month)"
              },
              "time_range": {
                "type": "object",
                "properties": {
                  "since": {
                    "type": "string",
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                    "description": "Start date (YYYY-MM-DD)"
                  },
                  "until": {
                    "type": "string",
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                    "description": "End date (YYYY-MM-DD)"
                  }
                },
                "required": [
                  "since",
                  "until"
                ],
                "additionalProperties": false,
                "description": "Custom date range {since, until} in YYYY-MM-DD"
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              }
            },
            "required": [
              "account_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "account_id",
              "type": "string",
              "required": true,
              "description": "Meta ad account ID",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "date_preset",
              "type": "string",
              "required": false,
              "description": "Predefined date range (e.g., last_7d, last_30d, this_month)",
              "enum_values": [
                "today",
                "yesterday",
                "this_week_mon_today",
                "this_week_sun_today",
                "last_week_mon_sun",
                "last_week_sun_sat",
                "this_month",
                "last_month",
                "this_quarter",
                "last_quarter",
                "this_year",
                "last_year",
                "last_3d",
                "last_7d",
                "last_14d",
                "last_28d",
                "last_30d",
                "last_90d",
                "lifetime",
                "maximum"
              ]
            },
            {
              "name": "time_range",
              "type": "object",
              "required": false,
              "description": "Custom date range {since, until} in YYYY-MM-DD"
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            }
          ],
          "examples": [
            {
              "label": "Last 30 days summary",
              "mcp_params": {
                "account_id": "act_123",
                "reason": "Quick performance overview"
              },
              "cli_command": "hopkin meta account-summary get --account act_123",
              "natural_language": "Last 30 days summary"
            },
            {
              "label": "Last 7 days",
              "mcp_params": {
                "account_id": "act_123",
                "date_preset": "last_7d",
                "reason": "Weekly check-in"
              },
              "cli_command": "hopkin meta account-summary get --account act_123 --date-preset last_7d",
              "natural_language": "Last 7 days"
            },
            {
              "label": "Custom date range",
              "mcp_params": {
                "account_id": "act_123",
                "time_range": {
                  "since": "2026-01-01",
                  "until": "2026-01-31"
                },
                "reason": "January performance review"
              },
              "cli_command": "hopkin meta account-summary get --account act_123 --time-range [object Object]",
              "natural_language": "Custom date range"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "google_ads_get_account_summary",
              "relationship": "cross-platform"
            },
            {
              "name": "linkedin_ads_get_account_summary",
              "relationship": "cross-platform"
            },
            {
              "name": "reddit_ads_get_account_summary",
              "relationship": "cross-platform"
            },
            {
              "name": "microsoft_ads_get_account_summary",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "meta_ads_get_activities",
          "title": "Get Meta Ads Activities",
          "description": "Retrieve change history (who changed what, and when) for a Meta ad account, or for one campaign, ad set or ad. Hopkin records Meta's activity log continuously and keeps it for 25 months, backfilling up to two years when an account is first synced, so start_date can reach well past the last 7 days. Check coverage.complete_from: if the requested window starts earlier, coverage.note says so — no events before that date does not mean nothing changed. An account synced more than 15 minutes ago is refreshed from Meta first; refresh=true forces it. Dates are UTC and end_date includes the whole day. Paginated: when nextCursor is present, call again with the same parameters plus cursor=<nextCursor>.",
          "cli_command": "hopkin meta activities get",
          "cli_flags": [
            {
              "flag": "--account",
              "description": "The ad account ID (with or without act_ prefix)",
              "type": "string",
              "required": true
            },
            {
              "flag": "--entity-id",
              "description": "Filter to one campaign, ad set or ad ID. With no start_date, the entity's full recorded history is searched (up to two years).",
              "type": "string",
              "required": false
            },
            {
              "flag": "--entity-type",
              "description": "Filter to one level: ACCOUNT, CAMPAIGN, AD_SET or AD.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--start-date",
              "description": "Start date, YYYY-MM-DD (UTC). Defaults to 7 days ago. Any date within the recorded history works; check coverage.complete_from.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--end-date",
              "description": "End date, YYYY-MM-DD (UTC), inclusive of the whole day. Defaults to today.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--limit",
              "description": "Number of activities per page (default: 20, max: 100)",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--cursor",
              "description": "Pagination cursor from the previous response; pass it with otherwise identical parameters.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--refresh",
              "description": "Sync this account from Meta before reading, even if it was synced in the last 15 minutes. Defaults to false.",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "activities",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "account_id": {
                "type": "string",
                "minLength": 1,
                "description": "The ad account ID (with or without act_ prefix)"
              },
              "entity_id": {
                "type": "string",
                "minLength": 1,
                "description": "Filter to one campaign, ad set or ad ID. With no start_date, the entity's full recorded history is searched (up to two years)."
              },
              "entity_type": {
                "type": "string",
                "enum": [
                  "ACCOUNT",
                  "CAMPAIGN",
                  "AD_SET",
                  "AD"
                ],
                "description": "Filter to one level: ACCOUNT, CAMPAIGN, AD_SET or AD."
              },
              "start_date": {
                "type": "string",
                "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                "description": "Start date, YYYY-MM-DD (UTC). Defaults to 7 days ago. Any date within the recorded history works; check coverage.complete_from."
              },
              "end_date": {
                "type": "string",
                "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                "description": "End date, YYYY-MM-DD (UTC), inclusive of the whole day. Defaults to today."
              },
              "limit": {
                "type": "integer",
                "minimum": 1,
                "maximum": 100,
                "description": "Number of activities per page (default: 20, max: 100)"
              },
              "cursor": {
                "type": "string",
                "minLength": 1,
                "description": "Pagination cursor from the previous response; pass it with otherwise identical parameters."
              },
              "refresh": {
                "type": "boolean",
                "default": false,
                "description": "Sync this account from Meta before reading, even if it was synced in the last 15 minutes. Defaults to false."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              }
            },
            "required": [
              "account_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "account_id",
              "type": "string",
              "required": true,
              "description": "The ad account ID (with or without act_ prefix)",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "entity_id",
              "type": "string",
              "required": false,
              "description": "Filter to one campaign, ad set or ad ID. With no start_date, the entity's full recorded history is searched (up to two years).",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "entity_type",
              "type": "string",
              "required": false,
              "description": "Filter to one level: ACCOUNT, CAMPAIGN, AD_SET or AD.",
              "enum_values": [
                "ACCOUNT",
                "CAMPAIGN",
                "AD_SET",
                "AD"
              ]
            },
            {
              "name": "start_date",
              "type": "string",
              "required": false,
              "description": "Start date, YYYY-MM-DD (UTC). Defaults to 7 days ago. Any date within the recorded history works; check coverage.complete_from.",
              "constraints": {
                "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
              }
            },
            {
              "name": "end_date",
              "type": "string",
              "required": false,
              "description": "End date, YYYY-MM-DD (UTC), inclusive of the whole day. Defaults to today.",
              "constraints": {
                "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
              }
            },
            {
              "name": "limit",
              "type": "integer",
              "required": false,
              "description": "Number of activities per page (default: 20, max: 100)",
              "constraints": {
                "min": 1,
                "max": 100
              }
            },
            {
              "name": "cursor",
              "type": "string",
              "required": false,
              "description": "Pagination cursor from the previous response; pass it with otherwise identical parameters.",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "refresh",
              "type": "boolean",
              "required": false,
              "description": "Sync this account from Meta before reading, even if it was synced in the last 15 minutes. Defaults to false.",
              "default": false
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            }
          ],
          "examples": [
            {
              "label": "Account activities",
              "mcp_params": {
                "account_id": "123456789",
                "reason": "View recent account changes"
              },
              "cli_command": "hopkin meta activities get --account 123456789",
              "natural_language": "Account activities"
            },
            {
              "label": "Campaign history",
              "mcp_params": {
                "account_id": "123456789",
                "entity_id": "23842453456789",
                "entity_type": "CAMPAIGN",
                "reason": "View campaign change history"
              },
              "cli_command": "hopkin meta activities get --account 123456789 --entity-id 23842453456789 --entity-type CAMPAIGN",
              "natural_language": "Campaign history"
            },
            {
              "label": "Date range",
              "mcp_params": {
                "account_id": "123456789",
                "start_date": "2024-01-01",
                "end_date": "2024-01-31",
                "reason": "January activity"
              },
              "cli_command": "hopkin meta activities get --account 123456789 --start-date 2024-01-01 --end-date 2024-01-31",
              "natural_language": "Date range"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "google_ads_get_activities",
              "relationship": "cross-platform"
            },
            {
              "name": "linkedin_ads_get_activities",
              "relationship": "cross-platform"
            },
            {
              "name": "reddit_ads_get_activities",
              "relationship": "cross-platform"
            },
            {
              "name": "tiktok_ads_get_activities",
              "relationship": "cross-platform"
            },
            {
              "name": "microsoft_ads_get_activities",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "meta_ads_list_ad_accounts",
          "title": "List Meta Ad Accounts",
          "description": "List Meta ad accounts with search, status filtering, single/multi-account lookup by ID, and pagination. Cached by default; pass refresh=true for latest data. Entities may optionally include recent activities.",
          "cli_command": "hopkin meta ad-accounts list",
          "cli_flags": [
            {
              "flag": "--refresh",
              "description": "Force fresh data from Meta API instead of using cache. Defaults to false (cache-first). Only set to true when you need real-time data.",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--cursor",
              "description": "Pagination cursor from previous response",
              "type": "string",
              "required": false
            },
            {
              "flag": "--search",
              "description": "Search ad accounts by name (case-insensitive partial match)",
              "type": "string",
              "required": false
            },
            {
              "flag": "--account",
              "description": "Filter by exact account ID (without act_ prefix)",
              "type": "string",
              "required": false
            },
            {
              "flag": "--account-ids",
              "description": "Get multiple accounts by ID. Mutually exclusive with account_id. When provided, ignores other filters/pagination.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--status",
              "description": "Account status code (1=Active, 2=Disabled, etc.)",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--limit",
              "description": "Number of accounts per page (default: 20, max: 100)",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--include-activities",
              "description": "Include recent activity log (last 7 days of changes) for each entity",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "ad-accounts",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": false,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "refresh": {
                "type": "boolean",
                "default": false,
                "description": "Force fresh data from Meta API instead of using cache. Defaults to false (cache-first). Only set to true when you need real-time data."
              },
              "cursor": {
                "type": "string",
                "minLength": 1,
                "description": "Pagination cursor from previous response"
              },
              "search": {
                "type": "string",
                "minLength": 1,
                "description": "Search ad accounts by name (case-insensitive partial match)"
              },
              "account_id": {
                "type": "string",
                "minLength": 1,
                "description": "Filter by exact account ID (without act_ prefix)"
              },
              "account_ids": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1
                },
                "minItems": 1,
                "maxItems": 50,
                "description": "Get multiple accounts by ID. Mutually exclusive with account_id. When provided, ignores other filters/pagination."
              },
              "status": {
                "type": "integer",
                "description": "Account status code (1=Active, 2=Disabled, etc.)"
              },
              "limit": {
                "type": "integer",
                "minimum": 1,
                "maximum": 100,
                "description": "Number of accounts per page (default: 20, max: 100)"
              },
              "include_activities": {
                "type": "boolean",
                "default": false,
                "description": "Include recent activity log (last 7 days of changes) for each entity"
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              }
            },
            "required": [
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "refresh",
              "type": "boolean",
              "required": false,
              "description": "Force fresh data from Meta API instead of using cache. Defaults to false (cache-first). Only set to true when you need real-time data.",
              "default": false
            },
            {
              "name": "cursor",
              "type": "string",
              "required": false,
              "description": "Pagination cursor from previous response",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "search",
              "type": "string",
              "required": false,
              "description": "Search ad accounts by name (case-insensitive partial match)",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "account_id",
              "type": "string",
              "required": false,
              "description": "Filter by exact account ID (without act_ prefix)",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "account_ids",
              "type": "array",
              "required": false,
              "description": "Get multiple accounts by ID. Mutually exclusive with account_id. When provided, ignores other filters/pagination."
            },
            {
              "name": "status",
              "type": "integer",
              "required": false,
              "description": "Account status code (1=Active, 2=Disabled, etc.)"
            },
            {
              "name": "limit",
              "type": "integer",
              "required": false,
              "description": "Number of accounts per page (default: 20, max: 100)",
              "constraints": {
                "min": 1,
                "max": 100
              }
            },
            {
              "name": "include_activities",
              "type": "boolean",
              "required": false,
              "description": "Include recent activity log (last 7 days of changes) for each entity",
              "default": false
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            }
          ],
          "examples": [
            {
              "label": "List all",
              "mcp_params": {
                "reason": "List all ad accounts"
              },
              "cli_command": "hopkin meta ad-accounts list",
              "natural_language": "List all"
            },
            {
              "label": "Search by name",
              "mcp_params": {
                "search": "marketing",
                "reason": "Find marketing accounts"
              },
              "cli_command": "hopkin meta ad-accounts list --search marketing",
              "natural_language": "Search by name"
            },
            {
              "label": "Filter by status",
              "mcp_params": {
                "status": 1,
                "reason": "List active accounts"
              },
              "cli_command": "hopkin meta ad-accounts list --status 1",
              "natural_language": "Filter by status"
            },
            {
              "label": "Get by ID",
              "mcp_params": {
                "account_id": "123456789",
                "reason": "Get specific account"
              },
              "cli_command": "hopkin meta ad-accounts list --account 123456789",
              "natural_language": "Get by ID"
            },
            {
              "label": "Get multiple by IDs",
              "mcp_params": {
                "account_ids": [
                  "123456789",
                  "987654321"
                ],
                "reason": "Get specific accounts"
              },
              "cli_command": "hopkin meta ad-accounts list --account-ids 123456789,987654321",
              "natural_language": "Get multiple by IDs"
            },
            {
              "label": "Force refresh",
              "mcp_params": {
                "refresh": true,
                "reason": "Get fresh data from Meta API"
              },
              "cli_command": "hopkin meta ad-accounts list --refresh true",
              "natural_language": "Force refresh"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "meta_ads_list_campaigns",
              "relationship": "hierarchy"
            },
            {
              "name": "linkedin_ads_list_ad_accounts",
              "relationship": "cross-platform"
            },
            {
              "name": "reddit_ads_list_ad_accounts",
              "relationship": "cross-platform"
            },
            {
              "name": "chatgpt_ads_list_ad_accounts",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "meta_ads_get_ad_creative_report",
          "title": "Get Meta Ads Creative Performance Report",
          "description": "Ad-level performance report with full funnel metrics, including video funnel (ThruPlays, 25/50/75/95/100% completions, avg watch time) for video creatives. All conversion types shown individually. Supports two grouping modes: ad_name (default, aggregates ads sharing the same name with a representative ad_id for preview) and ad_id (one row per ad). The representative ad_id can be passed to meta_ads_preview_ads. Rows come back highest spend first. Rows are compact by default: they leave out the per-type cost arrays (cost_per_action_type, cost_per_conversion, cost_per_thruplay), each of which is spend divided by that type's count. Pass full_detail: true to include them. Pass action_types to restrict the actions/action_values/conversions arrays to those types only (e.g. purchase, which also matches offsite_conversion.fb_pixel_purchase), which shrinks rows and lets more fit per page; a type that matches nothing leaves the arrays whole and adds a warning. Every metric is always returned, so there is no metrics filter. Pass action_attribution_windows to get actions broken down by attribution window. Creative media (asset_type, asset_url, thumbnail_url) is listed once per ad under assets, keyed by each row's ad_id. Each response is one page of at most 50,000 characters, or limit rows if set. When more rows remain it returns nextCursor: pass it as cursor to get the next page, and repeat until nextCursor is absent to walk every row, compact or full detail. Reads up to 2,000 ad-level rows from Meta. truncated is true whenever a response does not hold every row, and truncation gives the reasons, total_rows, returned_rows, remaining_rows and remaining_spend. The reasons are response_size or limit (more pages remain), row_limit (Meta had more rows than the tool reads; no cursor reaches them, unread_spend gives their approximate spend, and ad_name totals may be low, so narrow by campaign, ad set or ad, shorten time_range, or drop time_increment or breakdowns) and report_changed (live numbers moved rows across a page boundary between calls, so rows may be missing or repeated across pages; call again without cursor for a consistent set). A call without cursor always reads the report fresh from Meta; cursor pages served by the same server instance reuse that read for up to 15 minutes, and a page served elsewhere reads Meta again (report_changed flags any rows that moved).",
          "cli_command": "hopkin meta ad-creative-report get",
          "cli_flags": [
            {
              "flag": "--account",
              "description": "Meta ad account ID",
              "type": "string",
              "required": true
            },
            {
              "flag": "--time-range",
              "description": "Required date range {since, until} in YYYY-MM-DD",
              "type": "object",
              "required": true
            },
            {
              "flag": "--level",
              "description": "Grouping level: ad_name (default, aggregate ads sharing the same name, providing a representative ad_id that can be passed to meta_ads_preview_ads) or ad_id (one row per ad)",
              "type": "string",
              "required": false
            },
            {
              "flag": "--time-increment",
              "description": "Time grouping: 1=daily, 7=weekly, or \"monthly\"",
              "type": "object",
              "required": false
            },
            {
              "flag": "--breakdowns",
              "description": "Segment by dimension. Pass multiple values for cross-tabulated rows (e.g. [\"age\",\"gender\"] → one row per \"35-44 / female\" segment). Available: age, gender, country, region, device_platform, publisher_platform, platform_position, impression_device, dma. Note: `platform_position` is always paired with `publisher_platform` (Meta requires both; added automatically if omitted).",
              "type": "array",
              "required": false
            },
            {
              "flag": "--filtering",
              "description": "Filters as [{field, operator, value}]",
              "type": "array",
              "required": false
            },
            {
              "flag": "--action-types",
              "description": "Restrict the actions/action_values/cost_per_action_type/conversions/conversion_values/cost_per_conversion arrays to these action types only (e.g. [\"offsite_conversion.fb_pixel_purchase\"]). A short name such as \"purchase\" also matches types ending in \".purchase\" or \"_purchase\" (e.g. offsite_conversion.fb_pixel_purchase, omni_purchase). If a requested type matches nothing, the arrays are returned unfiltered with a warning listing the types the report has. When omitted, every action type is returned. Reduces response size so more rows fit per page.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--metrics",
              "description": "Deprecated and ignored: every metric is always returned. This is NOT an alias for action_types; use action_types to filter actions.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--action-attribution-windows",
              "description": "Attribution windows for action/conversion metrics. When omitted, each action has a single `value` counted under its ad set's own attribution_setting, as in Ads Manager (this report does not return the setting; call meta_ads_get_insights with fields: [\"attribution_setting\"] to see it). Listing windows adds one key per window to each action, e.g. [\"7d_click\"] for 7-day click only. Available: 1d_click, 7d_click, 28d_click, 1d_view, 1d_ev, default. 7d_view and 28d_view were removed by Meta on 2026-01-12: still accepted, but Meta returns no key for them.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--full-detail",
              "description": "Rows are compact by default: they leave out the per-type cost arrays (cost_per_action_type, cost_per_conversion, cost_per_thruplay), each of which is spend divided by that type's count. Pass true to include them. Full-detail rows are about twice as large, so each page holds about half as many.",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--limit",
              "description": "Maximum rows per page (max 500). A page also ends when the response reaches its size limit.",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--cursor",
              "description": "nextCursor from the previous response, to get the next page of rows",
              "type": "string",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "reporting",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": false
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "account_id": {
                "type": "string",
                "minLength": 1,
                "description": "Meta ad account ID"
              },
              "time_range": {
                "type": "object",
                "properties": {
                  "since": {
                    "type": "string",
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                    "description": "Start date (YYYY-MM-DD)"
                  },
                  "until": {
                    "type": "string",
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                    "description": "End date (YYYY-MM-DD)"
                  }
                },
                "required": [
                  "since",
                  "until"
                ],
                "additionalProperties": false,
                "description": "Required date range {since, until} in YYYY-MM-DD"
              },
              "level": {
                "type": "string",
                "enum": [
                  "ad_id",
                  "ad_name"
                ],
                "default": "ad_name",
                "description": "Grouping level: ad_name (default, aggregate ads sharing the same name, providing a representative ad_id that can be passed to meta_ads_preview_ads) or ad_id (one row per ad)"
              },
              "time_increment": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 90
                  },
                  {
                    "type": "string",
                    "const": "monthly"
                  },
                  {
                    "type": "string",
                    "const": "all_days"
                  }
                ],
                "description": "Time grouping: 1=daily, 7=weekly, or \"monthly\""
              },
              "breakdowns": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "age",
                    "gender",
                    "country",
                    "region",
                    "device_platform",
                    "publisher_platform",
                    "platform_position",
                    "impression_device",
                    "dma",
                    "user_segment_key"
                  ]
                },
                "description": "Segment by dimension. Pass multiple values for cross-tabulated rows (e.g. [\"age\",\"gender\"] → one row per \"35-44 / female\" segment). Available: age, gender, country, region, device_platform, publisher_platform, platform_position, impression_device, dma. Note: `platform_position` is always paired with `publisher_platform` (Meta requires both; added automatically if omitted)."
              },
              "filtering": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "field": {
                      "type": "string",
                      "minLength": 1,
                      "description": "Field to filter on"
                    },
                    "operator": {
                      "type": "string",
                      "enum": [
                        "EQUAL",
                        "NOT_EQUAL",
                        "GREATER_THAN",
                        "LESS_THAN",
                        "IN",
                        "NOT_IN",
                        "CONTAIN",
                        "NOT_CONTAIN"
                      ],
                      "description": "Comparison operator"
                    },
                    "value": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "number"
                        },
                        {
                          "type": "array",
                          "items": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "number"
                              }
                            ]
                          }
                        }
                      ],
                      "description": "Value(s) to compare against — numbers are coerced to strings automatically"
                    }
                  },
                  "required": [
                    "field",
                    "operator",
                    "value"
                  ],
                  "additionalProperties": false
                },
                "description": "Filters as [{field, operator, value}]"
              },
              "action_types": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1
                },
                "description": "Restrict the actions/action_values/cost_per_action_type/conversions/conversion_values/cost_per_conversion arrays to these action types only (e.g. [\"offsite_conversion.fb_pixel_purchase\"]). A short name such as \"purchase\" also matches types ending in \".purchase\" or \"_purchase\" (e.g. offsite_conversion.fb_pixel_purchase, omni_purchase). If a requested type matches nothing, the arrays are returned unfiltered with a warning listing the types the report has. When omitted, every action type is returned. Reduces response size so more rows fit per page."
              },
              "metrics": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1
                },
                "description": "Deprecated and ignored: every metric is always returned. This is NOT an alias for action_types; use action_types to filter actions."
              },
              "action_attribution_windows": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "1d_click",
                    "7d_click",
                    "28d_click",
                    "1d_view",
                    "7d_view",
                    "28d_view",
                    "1d_ev",
                    "default"
                  ]
                },
                "description": "Attribution windows for action/conversion metrics. When omitted, each action has a single `value` counted under its ad set's own attribution_setting, as in Ads Manager (this report does not return the setting; call meta_ads_get_insights with fields: [\"attribution_setting\"] to see it). Listing windows adds one key per window to each action, e.g. [\"7d_click\"] for 7-day click only. Available: 1d_click, 7d_click, 28d_click, 1d_view, 1d_ev, default. 7d_view and 28d_view were removed by Meta on 2026-01-12: still accepted, but Meta returns no key for them."
              },
              "full_detail": {
                "type": "boolean",
                "default": false,
                "description": "Rows are compact by default: they leave out the per-type cost arrays (cost_per_action_type, cost_per_conversion, cost_per_thruplay), each of which is spend divided by that type's count. Pass true to include them. Full-detail rows are about twice as large, so each page holds about half as many."
              },
              "limit": {
                "type": "integer",
                "minimum": 1,
                "maximum": 500,
                "description": "Maximum rows per page (max 500). A page also ends when the response reaches its size limit."
              },
              "cursor": {
                "type": "string",
                "minLength": 1,
                "description": "nextCursor from the previous response, to get the next page of rows"
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              }
            },
            "required": [
              "account_id",
              "time_range",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "account_id",
              "type": "string",
              "required": true,
              "description": "Meta ad account ID",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "time_range",
              "type": "object",
              "required": true,
              "description": "Required date range {since, until} in YYYY-MM-DD"
            },
            {
              "name": "level",
              "type": "string",
              "required": false,
              "description": "Grouping level: ad_name (default, aggregate ads sharing the same name, providing a representative ad_id that can be passed to meta_ads_preview_ads) or ad_id (one row per ad)",
              "enum_values": [
                "ad_id",
                "ad_name"
              ],
              "default": "ad_name"
            },
            {
              "name": "time_increment",
              "type": "object",
              "required": false,
              "description": "Time grouping: 1=daily, 7=weekly, or \"monthly\""
            },
            {
              "name": "breakdowns",
              "type": "array",
              "required": false,
              "description": "Segment by dimension. Pass multiple values for cross-tabulated rows (e.g. [\"age\",\"gender\"] → one row per \"35-44 / female\" segment). Available: age, gender, country, region, device_platform, publisher_platform, platform_position, impression_device, dma. Note: `platform_position` is always paired with `publisher_platform` (Meta requires both; added automatically if omitted)."
            },
            {
              "name": "filtering",
              "type": "array",
              "required": false,
              "description": "Filters as [{field, operator, value}]"
            },
            {
              "name": "action_types",
              "type": "array",
              "required": false,
              "description": "Restrict the actions/action_values/cost_per_action_type/conversions/conversion_values/cost_per_conversion arrays to these action types only (e.g. [\"offsite_conversion.fb_pixel_purchase\"]). A short name such as \"purchase\" also matches types ending in \".purchase\" or \"_purchase\" (e.g. offsite_conversion.fb_pixel_purchase, omni_purchase). If a requested type matches nothing, the arrays are returned unfiltered with a warning listing the types the report has. When omitted, every action type is returned. Reduces response size so more rows fit per page."
            },
            {
              "name": "metrics",
              "type": "array",
              "required": false,
              "description": "Deprecated and ignored: every metric is always returned. This is NOT an alias for action_types; use action_types to filter actions."
            },
            {
              "name": "action_attribution_windows",
              "type": "array",
              "required": false,
              "description": "Attribution windows for action/conversion metrics. When omitted, each action has a single `value` counted under its ad set's own attribution_setting, as in Ads Manager (this report does not return the setting; call meta_ads_get_insights with fields: [\"attribution_setting\"] to see it). Listing windows adds one key per window to each action, e.g. [\"7d_click\"] for 7-day click only. Available: 1d_click, 7d_click, 28d_click, 1d_view, 1d_ev, default. 7d_view and 28d_view were removed by Meta on 2026-01-12: still accepted, but Meta returns no key for them."
            },
            {
              "name": "full_detail",
              "type": "boolean",
              "required": false,
              "description": "Rows are compact by default: they leave out the per-type cost arrays (cost_per_action_type, cost_per_conversion, cost_per_thruplay), each of which is spend divided by that type's count. Pass true to include them. Full-detail rows are about twice as large, so each page holds about half as many.",
              "default": false
            },
            {
              "name": "limit",
              "type": "integer",
              "required": false,
              "description": "Maximum rows per page (max 500). A page also ends when the response reaches its size limit.",
              "constraints": {
                "min": 1,
                "max": 500
              }
            },
            {
              "name": "cursor",
              "type": "string",
              "required": false,
              "description": "nextCursor from the previous response, to get the next page of rows",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            }
          ],
          "examples": [
            {
              "label": "All ads by ID",
              "mcp_params": {
                "account_id": "act_123",
                "time_range": {
                  "since": "2024-01-01",
                  "until": "2024-01-31"
                },
                "reason": "Review individual ad performance"
              },
              "cli_command": "hopkin meta ad-creative-report get --account act_123 --time-range [object Object]",
              "natural_language": "All ads by ID"
            },
            {
              "label": "Aggregate by creative name",
              "mcp_params": {
                "account_id": "act_123",
                "time_range": {
                  "since": "2024-01-01",
                  "until": "2024-01-31"
                },
                "level": "ad_name",
                "reason": "Compare creative variants running across multiple ad sets"
              },
              "cli_command": "hopkin meta ad-creative-report get --account act_123 --time-range [object Object] --level ad_name",
              "natural_language": "Aggregate by creative name"
            },
            {
              "label": "Filter by campaign",
              "mcp_params": {
                "account_id": "act_123",
                "time_range": {
                  "since": "2024-01-01",
                  "until": "2024-01-31"
                },
                "level": "ad_name",
                "filtering": [
                  {
                    "field": "campaign.id",
                    "operator": "IN",
                    "value": [
                      "111111111"
                    ]
                  }
                ],
                "reason": "Creative performance within a specific campaign"
              },
              "cli_command": "hopkin meta ad-creative-report get --account act_123 --time-range [object Object] --level ad_name --filtering [object Object]",
              "natural_language": "Filter by campaign"
            },
            {
              "label": "Creative names by demographics",
              "mcp_params": {
                "account_id": "act_123",
                "time_range": {
                  "since": "2024-01-01",
                  "until": "2024-01-31"
                },
                "level": "ad_name",
                "breakdowns": [
                  "age",
                  "gender"
                ],
                "reason": "Understand which creatives perform best per demographic"
              },
              "cli_command": "hopkin meta ad-creative-report get --account act_123 --time-range [object Object] --level ad_name --breakdowns age,gender",
              "natural_language": "Creative names by demographics"
            },
            {
              "label": "Next page, full detail",
              "mcp_params": {
                "account_id": "act_123",
                "time_range": {
                  "since": "2024-01-01",
                  "until": "2024-01-31"
                },
                "level": "ad_name",
                "full_detail": true,
                "cursor": "<nextCursor from the previous response>",
                "reason": "Walk every creative with per-type costs, one page at a time"
              },
              "cli_command": "hopkin meta ad-creative-report get --account act_123 --time-range [object Object] --level ad_name --full-detail true --cursor <nextCursor from the previous response>",
              "natural_language": "Next page, full detail"
            },
            {
              "label": "Video creative ThruPlays",
              "mcp_params": {
                "account_id": "act_123",
                "time_range": {
                  "since": "2024-01-01",
                  "until": "2024-01-31"
                },
                "level": "ad_name",
                "reason": "Compare ThruPlay performance across Video Views campaign creatives"
              },
              "cli_command": "hopkin meta ad-creative-report get --account act_123 --time-range [object Object] --level ad_name",
              "natural_language": "Video creative ThruPlays"
            }
          ],
          "response_format": "json",
          "related_tools": [
            {
              "name": "meta_ads_get_performance_report",
              "relationship": "sibling"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "meta_ads_search_ad_library",
          "title": "Search Meta Ad Library",
          "description": "Search the Meta Ad Library for ads from any advertiser. Returns real creative content — ad copy (primary text, headline, description, CTA), landing URLs, run dates, platforms, and media source/mirrored URLs. Served from Hopkin's scraped ad-library corpus, results under \\",
          "cli_command": "hopkin meta search-ad-library",
          "cli_flags": [
            {
              "flag": "--search-terms",
              "description": "Keywords to search for in ad content. Spaces act as AND. Use the language the ad is written in.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--search-type",
              "description": "Search mode: KEYWORD_UNORDERED (default, any order) or KEYWORD_EXACT_PHRASE",
              "type": "string",
              "required": false
            },
            {
              "flag": "--search-page-ids",
              "description": "Filter by up to 10 Facebook Page IDs. Use this for competitor/brand lookups.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--ad-reached-countries",
              "description": "REQUIRED. ISO-3166-1 alpha-2 country codes (e.g. [\"US\", \"GB\"] — use \"GB\" not \"UK\") or [\"ALL\"]. Warning: [\"ALL\"] may return very large result sets — use with small limit values.",
              "type": "array",
              "required": true
            },
            {
              "flag": "--ad-type",
              "description": "Filter by ad category. Default: ALL",
              "type": "string",
              "required": false
            },
            {
              "flag": "--ad-active-status",
              "description": "Filter by delivery status. Default: ACTIVE",
              "type": "string",
              "required": false
            },
            {
              "flag": "--ad-delivery-date-min",
              "description": "Minimum delivery date (YYYY-MM-DD)",
              "type": "string",
              "required": false
            },
            {
              "flag": "--ad-delivery-date-max",
              "description": "Maximum delivery date (YYYY-MM-DD)",
              "type": "string",
              "required": false
            },
            {
              "flag": "--media-type",
              "description": "Filter by media type",
              "type": "string",
              "required": false
            },
            {
              "flag": "--publisher-platforms",
              "description": "Filter by platform(s)",
              "type": "array",
              "required": false
            },
            {
              "flag": "--languages",
              "description": "Filter by language (ISO 639-1 codes)",
              "type": "array",
              "required": false
            },
            {
              "flag": "--limit",
              "description": "Results per page (default: 25, max: 50). Note: 200 calls/hour rate limit — use larger pages to conserve quota.",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--cursor",
              "description": "Pagination cursor from previous response",
              "type": "string",
              "required": false
            },
            {
              "flag": "--include-raw",
              "description": "Also return raw_data, the scraped Meta Ad Library payload behind the normalized fields. Off by default. A carousel or dynamic (dco, dpa) ad's real copy is per card: its normalized headline and primary_text hold only the ad-level copy, often a catalog template such as '{{product.name}}'. Such ads carry `cards`, one per card in order, with its title, body, link_url, cta_text (plus caption and link_description when present) and an image and/or video link: our mirror, or the card's own Meta CDN URL marked short_lived (it expires) when not mirrored yet. include_raw adds only the full scraped payload behind them. Raw rows are large (~9.7 KB per ad on average and up to 268 KB), so pass a small `limit` (e.g. 3-5) when setting this.",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "search-ad-library",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "search_terms": {
                "type": "string",
                "maxLength": 100,
                "description": "Keywords to search for in ad content. Spaces act as AND. Use the language the ad is written in."
              },
              "search_type": {
                "type": "string",
                "enum": [
                  "KEYWORD_UNORDERED",
                  "KEYWORD_EXACT_PHRASE"
                ],
                "description": "Search mode: KEYWORD_UNORDERED (default, any order) or KEYWORD_EXACT_PHRASE"
              },
              "search_page_ids": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1
                },
                "minItems": 1,
                "maxItems": 10,
                "description": "Filter by up to 10 Facebook Page IDs. Use this for competitor/brand lookups."
              },
              "ad_reached_countries": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1
                },
                "minItems": 1,
                "description": "REQUIRED. ISO-3166-1 alpha-2 country codes (e.g. [\"US\", \"GB\"] — use \"GB\" not \"UK\") or [\"ALL\"]. Warning: [\"ALL\"] may return very large result sets — use with small limit values."
              },
              "ad_type": {
                "type": "string",
                "enum": [
                  "ALL",
                  "EMPLOYMENT_ADS",
                  "FINANCIAL_PRODUCTS_AND_SERVICES_ADS",
                  "HOUSING_ADS",
                  "POLITICAL_AND_ISSUE_ADS"
                ],
                "description": "Filter by ad category. Default: ALL"
              },
              "ad_active_status": {
                "type": "string",
                "enum": [
                  "ACTIVE",
                  "INACTIVE",
                  "ALL"
                ],
                "description": "Filter by delivery status. Default: ACTIVE"
              },
              "ad_delivery_date_min": {
                "type": "string",
                "description": "Minimum delivery date (YYYY-MM-DD)"
              },
              "ad_delivery_date_max": {
                "type": "string",
                "description": "Maximum delivery date (YYYY-MM-DD)"
              },
              "media_type": {
                "type": "string",
                "enum": [
                  "ALL",
                  "IMAGE",
                  "MEME",
                  "VIDEO",
                  "NONE"
                ],
                "description": "Filter by media type"
              },
              "publisher_platforms": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "FACEBOOK",
                    "INSTAGRAM",
                    "AUDIENCE_NETWORK",
                    "MESSENGER",
                    "WHATSAPP",
                    "THREADS"
                  ]
                },
                "minItems": 1,
                "description": "Filter by platform(s)"
              },
              "languages": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1
                },
                "minItems": 1,
                "description": "Filter by language (ISO 639-1 codes)"
              },
              "limit": {
                "type": "integer",
                "minimum": 1,
                "maximum": 50,
                "description": "Results per page (default: 25, max: 50). Note: 200 calls/hour rate limit — use larger pages to conserve quota."
              },
              "cursor": {
                "type": "string",
                "minLength": 1,
                "description": "Pagination cursor from previous response"
              },
              "include_raw": {
                "type": "boolean",
                "description": "Also return raw_data, the scraped Meta Ad Library payload behind the normalized fields. Off by default. A carousel or dynamic (dco, dpa) ad's real copy is per card: its normalized headline and primary_text hold only the ad-level copy, often a catalog template such as '{{product.name}}'. Such ads carry `cards`, one per card in order, with its title, body, link_url, cta_text (plus caption and link_description when present) and an image and/or video link: our mirror, or the card's own Meta CDN URL marked short_lived (it expires) when not mirrored yet. include_raw adds only the full scraped payload behind them. Raw rows are large (~9.7 KB per ad on average and up to 268 KB), so pass a small `limit` (e.g. 3-5) when setting this."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              }
            },
            "required": [
              "ad_reached_countries",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "search_terms",
              "type": "string",
              "required": false,
              "description": "Keywords to search for in ad content. Spaces act as AND. Use the language the ad is written in.",
              "constraints": {
                "max_length": 100
              }
            },
            {
              "name": "search_type",
              "type": "string",
              "required": false,
              "description": "Search mode: KEYWORD_UNORDERED (default, any order) or KEYWORD_EXACT_PHRASE",
              "enum_values": [
                "KEYWORD_UNORDERED",
                "KEYWORD_EXACT_PHRASE"
              ]
            },
            {
              "name": "search_page_ids",
              "type": "array",
              "required": false,
              "description": "Filter by up to 10 Facebook Page IDs. Use this for competitor/brand lookups."
            },
            {
              "name": "ad_reached_countries",
              "type": "array",
              "required": true,
              "description": "REQUIRED. ISO-3166-1 alpha-2 country codes (e.g. [\"US\", \"GB\"] — use \"GB\" not \"UK\") or [\"ALL\"]. Warning: [\"ALL\"] may return very large result sets — use with small limit values."
            },
            {
              "name": "ad_type",
              "type": "string",
              "required": false,
              "description": "Filter by ad category. Default: ALL",
              "enum_values": [
                "ALL",
                "EMPLOYMENT_ADS",
                "FINANCIAL_PRODUCTS_AND_SERVICES_ADS",
                "HOUSING_ADS",
                "POLITICAL_AND_ISSUE_ADS"
              ]
            },
            {
              "name": "ad_active_status",
              "type": "string",
              "required": false,
              "description": "Filter by delivery status. Default: ACTIVE",
              "enum_values": [
                "ACTIVE",
                "INACTIVE",
                "ALL"
              ]
            },
            {
              "name": "ad_delivery_date_min",
              "type": "string",
              "required": false,
              "description": "Minimum delivery date (YYYY-MM-DD)"
            },
            {
              "name": "ad_delivery_date_max",
              "type": "string",
              "required": false,
              "description": "Maximum delivery date (YYYY-MM-DD)"
            },
            {
              "name": "media_type",
              "type": "string",
              "required": false,
              "description": "Filter by media type",
              "enum_values": [
                "ALL",
                "IMAGE",
                "MEME",
                "VIDEO",
                "NONE"
              ]
            },
            {
              "name": "publisher_platforms",
              "type": "array",
              "required": false,
              "description": "Filter by platform(s)"
            },
            {
              "name": "languages",
              "type": "array",
              "required": false,
              "description": "Filter by language (ISO 639-1 codes)"
            },
            {
              "name": "limit",
              "type": "integer",
              "required": false,
              "description": "Results per page (default: 25, max: 50). Note: 200 calls/hour rate limit — use larger pages to conserve quota.",
              "constraints": {
                "min": 1,
                "max": 50
              }
            },
            {
              "name": "cursor",
              "type": "string",
              "required": false,
              "description": "Pagination cursor from previous response",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "include_raw",
              "type": "boolean",
              "required": false,
              "description": "Also return raw_data, the scraped Meta Ad Library payload behind the normalized fields. Off by default. A carousel or dynamic (dco, dpa) ad's real copy is per card: its normalized headline and primary_text hold only the ad-level copy, often a catalog template such as '{{product.name}}'. Such ads carry `cards`, one per card in order, with its title, body, link_url, cta_text (plus caption and link_description when present) and an image and/or video link: our mirror, or the card's own Meta CDN URL marked short_lived (it expires) when not mirrored yet. include_raw adds only the full scraped payload behind them. Raw rows are large (~9.7 KB per ad on average and up to 268 KB), so pass a small `limit` (e.g. 3-5) when setting this."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            }
          ],
          "examples": [
            {
              "label": "Search by keyword",
              "mcp_params": {
                "search_terms": "running shoes",
                "ad_reached_countries": [
                  "US"
                ],
                "reason": "Competitive research on running shoe ads"
              },
              "cli_command": "hopkin meta search-ad-library --search-terms running shoes --ad-reached-countries US",
              "natural_language": "Search by keyword"
            },
            {
              "label": "Search by page ID",
              "mcp_params": {
                "search_page_ids": [
                  "123456789"
                ],
                "ad_reached_countries": [
                  "US"
                ],
                "reason": "View competitor ads"
              },
              "cli_command": "hopkin meta search-ad-library --search-page-ids 123456789 --ad-reached-countries US",
              "natural_language": "Search by page ID"
            },
            {
              "label": "Video ads only",
              "mcp_params": {
                "search_terms": "fitness",
                "ad_reached_countries": [
                  "US"
                ],
                "media_type": "VIDEO",
                "reason": "Creative research"
              },
              "cli_command": "hopkin meta search-ad-library --search-terms fitness --ad-reached-countries US --media-type VIDEO",
              "natural_language": "Video ads only"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "linkedin_ads_search_ad_library",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "meta_ads_preview_ads",
          "title": "Preview Meta Ads",
          "description": "Interactive UI for displaying Meta ad previews with creative content and metrics",
          "cli_command": "",
          "cli_flags": [],
          "category": "ads",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": false
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "account_id": {
                "type": "string",
                "minLength": 1,
                "description": "The ad account ID"
              },
              "ads": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "ad_id": {
                      "type": "string",
                      "minLength": 1,
                      "description": "The ad ID to preview"
                    },
                    "metrics": {
                      "type": "object",
                      "additionalProperties": {
                        "type": [
                          "string",
                          "number"
                        ]
                      },
                      "description": "Metric name-value pairs to display"
                    }
                  },
                  "required": [
                    "ad_id"
                  ],
                  "additionalProperties": false
                },
                "minItems": 1,
                "maxItems": 20,
                "description": "Ads to preview (1-20)"
              },
              "metric_labels": {
                "type": "object",
                "additionalProperties": {
                  "type": "string"
                },
                "description": "Display labels for metric keys"
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "account_id",
              "ads",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "account_id",
              "type": "string",
              "required": true,
              "description": "The ad account ID",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "ads",
              "type": "array",
              "required": true,
              "description": "Ads to preview (1-20)"
            },
            {
              "name": "metric_labels",
              "type": "object",
              "required": false,
              "description": "Display labels for metric keys"
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "Single ad",
              "mcp_params": {
                "account_id": "act_123456789",
                "ads": [
                  {
                    "ad_id": "12345"
                  }
                ],
                "reason": "Preview ad creative"
              },
              "cli_command": "",
              "natural_language": "Single ad"
            },
            {
              "label": "With metrics",
              "mcp_params": {
                "account_id": "act_123456789",
                "ads": [
                  {
                    "ad_id": "12345",
                    "metrics": {
                      "spend": "150.00",
                      "ctr": "2.5%"
                    }
                  }
                ],
                "metric_labels": {
                  "spend": "Spend",
                  "ctr": "Click Rate"
                },
                "reason": "Preview ad with performance metrics"
              },
              "cli_command": "",
              "natural_language": "With metrics"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "meta_ads_list_ads",
              "relationship": "sibling"
            },
            {
              "name": "meta_ads_list_adsets",
              "relationship": "hierarchy"
            },
            {
              "name": "google_ads_preview_ads",
              "relationship": "cross-platform"
            },
            {
              "name": "tiktok_ads_preview_ads",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "app"
        },
        {
          "name": "meta_ads_list_ads",
          "title": "List Meta Ads",
          "description": "List ads for a Meta ad account with ad set filtering, status, name search, single/multi-ad lookup by ID, and pagination. Each ad includes a Landing URL when available (extracted from object_story_spec, link_url, or asset_feed_spec depending on ad format) and a URL Tags line exposing the ad's tracking-template string — the URL parameters (UTMs / custom click-tracking) Meta appends to the destination URL at click time, with {{macro}} placeholders preserved verbatim. The URL tags are the creative's url_tags (the Ads Manager \"URL parameters\"; the Ad node itself has no url_tags field), falling back to the creative's template specs (template_data, template_url_spec query_template) when it is empty. A \"Landing Page URLs\" summary lists every unique destination URL; a \"URL Tags Audit\" summary lists the distinct templates in use and names every ad with a destination URL but no tracking template — use these to audit UTM coverage across an account without reading every ad. When Meta answers the listing but not its URL tags, the affected ads carry creative_url_tags_unavailable: true and the response a url_tags_unavailable { count, hint }: their tracking is unknown, not missing, so call again with refresh: true before reporting them as untracked. Each ad also carries an identity block (when Meta exposes it): the post it runs as (effective_object_story_id, object_story_id) with a Facebook post_permalink built from it, the Instagram post's instagram_permalink_url, the Facebook page_id and Instagram instagram_user_id it runs from (the creator's on a partnership ad), and is_partnership_ad with the sponsoring brand's branded_content_sponsor_page_id / branded_content_sponsor_instagram_id when Meta marks the ad as branded content. Use it to link to each ad's post and to tell branded ads from partnership / creator-page ads (compare page_id to the brand's Page). Page names are not included. Ads cached before these fields existed have no identity block until re-fetched: pass refresh: true. Set include_assets=true to include resolved creative media URLs (adds latency for cache misses). Entities may optionally include recent activities, and optionally automated rules (set include_rules=true to see which rules affect each ad).",
          "cli_command": "hopkin meta ads list",
          "cli_flags": [
            {
              "flag": "--account",
              "description": "The ad account ID (with or without act_ prefix)",
              "type": "string",
              "required": true
            },
            {
              "flag": "--ad",
              "description": "Get a specific ad by ID. When provided, returns only that ad and ignores other filters/pagination.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--ad-ids",
              "description": "Get multiple ads by ID. Mutually exclusive with ad_id. When provided, ignores other filters/pagination.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--adset",
              "description": "Filter by ad set ID",
              "type": "string",
              "required": false
            },
            {
              "flag": "--search",
              "description": "Search ads by name (case-insensitive partial match)",
              "type": "string",
              "required": false
            },
            {
              "flag": "--status",
              "description": "Filter by configured ad status (user-set): ACTIVE, PAUSED, DELETED, ARCHIVED",
              "type": "array",
              "required": false
            },
            {
              "flag": "--effective-status",
              "description": "Filter by Meta-computed serving status: ACTIVE, PAUSED, DELETED, ARCHIVED, IN_PROCESS, WITH_ISSUES, CAMPAIGN_PAUSED, ADSET_PAUSED, DISAPPROVED, PENDING_REVIEW, PENDING_BILLING_INFO, PREAPPROVED",
              "type": "array",
              "required": false
            },
            {
              "flag": "--limit",
              "description": "Number of ads per page (default: 20, max: 100)",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--cursor",
              "description": "Pagination cursor from previous response",
              "type": "string",
              "required": false
            },
            {
              "flag": "--refresh",
              "description": "Force fresh data from Meta API instead of using cache. Defaults to false (cache-first). Only set to true when you need real-time data.",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--include-activities",
              "description": "Include recent activity log (last 7 days of changes) for each entity",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--include-assets",
              "description": "Include resolved creative asset URLs (asset_url, thumbnail_url, asset_type) for each ad. Uses cached GCS URLs when available.",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--include-rules",
              "description": "Include automated rules (from adrules_library) that affect each entity",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "ads",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "account_id": {
                "type": "string",
                "minLength": 1,
                "description": "The ad account ID (with or without act_ prefix)"
              },
              "ad_id": {
                "type": "string",
                "minLength": 1,
                "description": "Get a specific ad by ID. When provided, returns only that ad and ignores other filters/pagination."
              },
              "ad_ids": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1
                },
                "minItems": 1,
                "maxItems": 50,
                "description": "Get multiple ads by ID. Mutually exclusive with ad_id. When provided, ignores other filters/pagination."
              },
              "adset_id": {
                "type": "string",
                "minLength": 1,
                "description": "Filter by ad set ID"
              },
              "search": {
                "type": "string",
                "minLength": 1,
                "description": "Search ads by name (case-insensitive partial match)"
              },
              "status": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "ACTIVE",
                    "PAUSED",
                    "DELETED",
                    "ARCHIVED"
                  ]
                },
                "description": "Filter by configured ad status (user-set): ACTIVE, PAUSED, DELETED, ARCHIVED"
              },
              "effective_status": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "ACTIVE",
                    "PAUSED",
                    "DELETED",
                    "ARCHIVED",
                    "IN_PROCESS",
                    "WITH_ISSUES",
                    "CAMPAIGN_PAUSED",
                    "ADSET_PAUSED",
                    "DISAPPROVED",
                    "PENDING_REVIEW",
                    "PENDING_BILLING_INFO",
                    "PREAPPROVED"
                  ]
                },
                "description": "Filter by Meta-computed serving status: ACTIVE, PAUSED, DELETED, ARCHIVED, IN_PROCESS, WITH_ISSUES, CAMPAIGN_PAUSED, ADSET_PAUSED, DISAPPROVED, PENDING_REVIEW, PENDING_BILLING_INFO, PREAPPROVED"
              },
              "limit": {
                "type": "integer",
                "minimum": 1,
                "maximum": 100,
                "description": "Number of ads per page (default: 20, max: 100)"
              },
              "cursor": {
                "type": "string",
                "minLength": 1,
                "description": "Pagination cursor from previous response"
              },
              "refresh": {
                "type": "boolean",
                "default": false,
                "description": "Force fresh data from Meta API instead of using cache. Defaults to false (cache-first). Only set to true when you need real-time data."
              },
              "include_activities": {
                "type": "boolean",
                "default": false,
                "description": "Include recent activity log (last 7 days of changes) for each entity"
              },
              "include_assets": {
                "type": "boolean",
                "default": false,
                "description": "Include resolved creative asset URLs (asset_url, thumbnail_url, asset_type) for each ad. Uses cached GCS URLs when available."
              },
              "include_rules": {
                "type": "boolean",
                "default": false,
                "description": "Include automated rules (from adrules_library) that affect each entity"
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              }
            },
            "required": [
              "account_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "account_id",
              "type": "string",
              "required": true,
              "description": "The ad account ID (with or without act_ prefix)",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "ad_id",
              "type": "string",
              "required": false,
              "description": "Get a specific ad by ID. When provided, returns only that ad and ignores other filters/pagination.",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "ad_ids",
              "type": "array",
              "required": false,
              "description": "Get multiple ads by ID. Mutually exclusive with ad_id. When provided, ignores other filters/pagination."
            },
            {
              "name": "adset_id",
              "type": "string",
              "required": false,
              "description": "Filter by ad set ID",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "search",
              "type": "string",
              "required": false,
              "description": "Search ads by name (case-insensitive partial match)",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "status",
              "type": "array",
              "required": false,
              "description": "Filter by configured ad status (user-set): ACTIVE, PAUSED, DELETED, ARCHIVED"
            },
            {
              "name": "effective_status",
              "type": "array",
              "required": false,
              "description": "Filter by Meta-computed serving status: ACTIVE, PAUSED, DELETED, ARCHIVED, IN_PROCESS, WITH_ISSUES, CAMPAIGN_PAUSED, ADSET_PAUSED, DISAPPROVED, PENDING_REVIEW, PENDING_BILLING_INFO, PREAPPROVED"
            },
            {
              "name": "limit",
              "type": "integer",
              "required": false,
              "description": "Number of ads per page (default: 20, max: 100)",
              "constraints": {
                "min": 1,
                "max": 100
              }
            },
            {
              "name": "cursor",
              "type": "string",
              "required": false,
              "description": "Pagination cursor from previous response",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "refresh",
              "type": "boolean",
              "required": false,
              "description": "Force fresh data from Meta API instead of using cache. Defaults to false (cache-first). Only set to true when you need real-time data.",
              "default": false
            },
            {
              "name": "include_activities",
              "type": "boolean",
              "required": false,
              "description": "Include recent activity log (last 7 days of changes) for each entity",
              "default": false
            },
            {
              "name": "include_assets",
              "type": "boolean",
              "required": false,
              "description": "Include resolved creative asset URLs (asset_url, thumbnail_url, asset_type) for each ad. Uses cached GCS URLs when available.",
              "default": false
            },
            {
              "name": "include_rules",
              "type": "boolean",
              "required": false,
              "description": "Include automated rules (from adrules_library) that affect each entity",
              "default": false
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            }
          ],
          "examples": [
            {
              "label": "List all",
              "mcp_params": {
                "account_id": "123456789",
                "reason": "List ads"
              },
              "cli_command": "hopkin meta ads list --account 123456789",
              "natural_language": "List all"
            },
            {
              "label": "Filter by ad set",
              "mcp_params": {
                "account_id": "123456789",
                "adset_id": "23842453456789",
                "reason": "List ads in ad set"
              },
              "cli_command": "hopkin meta ads list --account 123456789 --adset 23842453456789",
              "natural_language": "Filter by ad set"
            },
            {
              "label": "Filter by status",
              "mcp_params": {
                "account_id": "123456789",
                "status": [
                  "ACTIVE",
                  "PAUSED"
                ],
                "reason": "List active/paused ads"
              },
              "cli_command": "hopkin meta ads list --account 123456789 --status ACTIVE,PAUSED",
              "natural_language": "Filter by status"
            },
            {
              "label": "Find disapproved / review-blocked",
              "mcp_params": {
                "account_id": "123456789",
                "effective_status": [
                  "DISAPPROVED",
                  "WITH_ISSUES",
                  "PENDING_REVIEW"
                ],
                "reason": "Surface ads blocked by review"
              },
              "cli_command": "hopkin meta ads list --account 123456789 --effective-status DISAPPROVED,WITH_ISSUES,PENDING_REVIEW",
              "natural_language": "Find disapproved / review-blocked"
            },
            {
              "label": "Get by ID",
              "mcp_params": {
                "account_id": "123456789",
                "ad_id": "23842453456789",
                "reason": "Get specific ad"
              },
              "cli_command": "hopkin meta ads list --account 123456789 --ad 23842453456789",
              "natural_language": "Get by ID"
            },
            {
              "label": "Get multiple by IDs",
              "mcp_params": {
                "account_id": "123456789",
                "ad_ids": [
                  "23842453456789",
                  "23842453456790"
                ],
                "reason": "Get specific ads"
              },
              "cli_command": "hopkin meta ads list --account 123456789 --ad-ids 23842453456789,23842453456790",
              "natural_language": "Get multiple by IDs"
            },
            {
              "label": "Search by name",
              "mcp_params": {
                "account_id": "123456789",
                "search": "Summer",
                "reason": "Find summer ads"
              },
              "cli_command": "hopkin meta ads list --account 123456789 --search Summer",
              "natural_language": "Search by name"
            },
            {
              "label": "With asset URLs",
              "mcp_params": {
                "account_id": "123456789",
                "include_assets": true,
                "reason": "List ads with creative assets"
              },
              "cli_command": "hopkin meta ads list --account 123456789 --include-assets true",
              "natural_language": "With asset URLs"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "meta_ads_preview_ads",
              "relationship": "sibling"
            },
            {
              "name": "meta_ads_list_adsets",
              "relationship": "hierarchy"
            },
            {
              "name": "google_ads_list_ads",
              "relationship": "cross-platform"
            },
            {
              "name": "reddit_ads_list_ads",
              "relationship": "cross-platform"
            },
            {
              "name": "tiktok_ads_list_ads",
              "relationship": "cross-platform"
            },
            {
              "name": "chatgpt_ads_list_ads",
              "relationship": "cross-platform"
            },
            {
              "name": "microsoft_ads_list_ads",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "meta_ads_list_adsets",
          "title": "List Meta Ad Sets",
          "description": "List ad sets for a Meta ad account with campaign filtering, status, name search, single/multi-adset lookup by ID, and pagination. Entities may optionally include recent activities, and optionally automated rules (set include_rules=true to see which rules affect each ad set).",
          "cli_command": "hopkin meta adsets list",
          "cli_flags": [
            {
              "flag": "--account",
              "description": "The ad account ID (with or without act_ prefix)",
              "type": "string",
              "required": true
            },
            {
              "flag": "--adset",
              "description": "Get a specific ad set by ID. When provided, returns only that ad set and ignores other filters/pagination.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--adset-ids",
              "description": "Get multiple ad sets by ID. Mutually exclusive with adset_id. When provided, ignores other filters/pagination.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--campaign",
              "description": "Filter by campaign ID",
              "type": "string",
              "required": false
            },
            {
              "flag": "--search",
              "description": "Search ad sets by name (case-insensitive partial match)",
              "type": "string",
              "required": false
            },
            {
              "flag": "--status",
              "description": "Filter by configured ad-set status (user-set): ACTIVE, PAUSED, DELETED, ARCHIVED",
              "type": "array",
              "required": false
            },
            {
              "flag": "--effective-status",
              "description": "Filter by Meta-computed serving status: ACTIVE, PAUSED, DELETED, ARCHIVED, IN_PROCESS, WITH_ISSUES, CAMPAIGN_PAUSED",
              "type": "array",
              "required": false
            },
            {
              "flag": "--limit",
              "description": "Number of ad sets per page (default: 20, max: 100)",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--cursor",
              "description": "Pagination cursor from previous response",
              "type": "string",
              "required": false
            },
            {
              "flag": "--refresh",
              "description": "Force fresh data from Meta API instead of using cache. Defaults to false (cache-first). Only set to true when you need real-time data.",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--include-activities",
              "description": "Include recent activity log (last 7 days of changes) for each entity",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--include-rules",
              "description": "Include automated rules (from adrules_library) that affect each entity",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "adsets",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "account_id": {
                "type": "string",
                "minLength": 1,
                "description": "The ad account ID (with or without act_ prefix)"
              },
              "adset_id": {
                "type": "string",
                "minLength": 1,
                "description": "Get a specific ad set by ID. When provided, returns only that ad set and ignores other filters/pagination."
              },
              "adset_ids": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1
                },
                "minItems": 1,
                "maxItems": 50,
                "description": "Get multiple ad sets by ID. Mutually exclusive with adset_id. When provided, ignores other filters/pagination."
              },
              "campaign_id": {
                "type": "string",
                "minLength": 1,
                "description": "Filter by campaign ID"
              },
              "search": {
                "type": "string",
                "minLength": 1,
                "description": "Search ad sets by name (case-insensitive partial match)"
              },
              "status": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "ACTIVE",
                    "PAUSED",
                    "DELETED",
                    "ARCHIVED"
                  ]
                },
                "description": "Filter by configured ad-set status (user-set): ACTIVE, PAUSED, DELETED, ARCHIVED"
              },
              "effective_status": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "ACTIVE",
                    "PAUSED",
                    "DELETED",
                    "ARCHIVED",
                    "IN_PROCESS",
                    "WITH_ISSUES",
                    "CAMPAIGN_PAUSED"
                  ]
                },
                "description": "Filter by Meta-computed serving status: ACTIVE, PAUSED, DELETED, ARCHIVED, IN_PROCESS, WITH_ISSUES, CAMPAIGN_PAUSED"
              },
              "limit": {
                "type": "integer",
                "minimum": 1,
                "maximum": 100,
                "description": "Number of ad sets per page (default: 20, max: 100)"
              },
              "cursor": {
                "type": "string",
                "minLength": 1,
                "description": "Pagination cursor from previous response"
              },
              "refresh": {
                "type": "boolean",
                "default": false,
                "description": "Force fresh data from Meta API instead of using cache. Defaults to false (cache-first). Only set to true when you need real-time data."
              },
              "include_activities": {
                "type": "boolean",
                "default": false,
                "description": "Include recent activity log (last 7 days of changes) for each entity"
              },
              "include_rules": {
                "type": "boolean",
                "default": false,
                "description": "Include automated rules (from adrules_library) that affect each entity"
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              }
            },
            "required": [
              "account_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "account_id",
              "type": "string",
              "required": true,
              "description": "The ad account ID (with or without act_ prefix)",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "adset_id",
              "type": "string",
              "required": false,
              "description": "Get a specific ad set by ID. When provided, returns only that ad set and ignores other filters/pagination.",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "adset_ids",
              "type": "array",
              "required": false,
              "description": "Get multiple ad sets by ID. Mutually exclusive with adset_id. When provided, ignores other filters/pagination."
            },
            {
              "name": "campaign_id",
              "type": "string",
              "required": false,
              "description": "Filter by campaign ID",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "search",
              "type": "string",
              "required": false,
              "description": "Search ad sets by name (case-insensitive partial match)",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "status",
              "type": "array",
              "required": false,
              "description": "Filter by configured ad-set status (user-set): ACTIVE, PAUSED, DELETED, ARCHIVED"
            },
            {
              "name": "effective_status",
              "type": "array",
              "required": false,
              "description": "Filter by Meta-computed serving status: ACTIVE, PAUSED, DELETED, ARCHIVED, IN_PROCESS, WITH_ISSUES, CAMPAIGN_PAUSED"
            },
            {
              "name": "limit",
              "type": "integer",
              "required": false,
              "description": "Number of ad sets per page (default: 20, max: 100)",
              "constraints": {
                "min": 1,
                "max": 100
              }
            },
            {
              "name": "cursor",
              "type": "string",
              "required": false,
              "description": "Pagination cursor from previous response",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "refresh",
              "type": "boolean",
              "required": false,
              "description": "Force fresh data from Meta API instead of using cache. Defaults to false (cache-first). Only set to true when you need real-time data.",
              "default": false
            },
            {
              "name": "include_activities",
              "type": "boolean",
              "required": false,
              "description": "Include recent activity log (last 7 days of changes) for each entity",
              "default": false
            },
            {
              "name": "include_rules",
              "type": "boolean",
              "required": false,
              "description": "Include automated rules (from adrules_library) that affect each entity",
              "default": false
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            }
          ],
          "examples": [
            {
              "label": "List all",
              "mcp_params": {
                "account_id": "123456789",
                "reason": "List ad sets"
              },
              "cli_command": "hopkin meta adsets list --account 123456789",
              "natural_language": "List all"
            },
            {
              "label": "Filter by campaign",
              "mcp_params": {
                "account_id": "123456789",
                "campaign_id": "23842453456789",
                "reason": "List ad sets in campaign"
              },
              "cli_command": "hopkin meta adsets list --account 123456789 --campaign 23842453456789",
              "natural_language": "Filter by campaign"
            },
            {
              "label": "Filter by status",
              "mcp_params": {
                "account_id": "123456789",
                "status": [
                  "ACTIVE",
                  "PAUSED"
                ],
                "reason": "List active/paused ad sets"
              },
              "cli_command": "hopkin meta adsets list --account 123456789 --status ACTIVE,PAUSED",
              "natural_language": "Filter by status"
            },
            {
              "label": "Filter by serving status",
              "mcp_params": {
                "account_id": "123456789",
                "effective_status": [
                  "CAMPAIGN_PAUSED",
                  "WITH_ISSUES"
                ],
                "reason": "Find ad sets paused by parent or with issues"
              },
              "cli_command": "hopkin meta adsets list --account 123456789 --effective-status CAMPAIGN_PAUSED,WITH_ISSUES",
              "natural_language": "Filter by serving status"
            },
            {
              "label": "Get by ID",
              "mcp_params": {
                "account_id": "123456789",
                "adset_id": "23842453456789",
                "reason": "Get specific ad set"
              },
              "cli_command": "hopkin meta adsets list --account 123456789 --adset 23842453456789",
              "natural_language": "Get by ID"
            },
            {
              "label": "Get multiple by IDs",
              "mcp_params": {
                "account_id": "123456789",
                "adset_ids": [
                  "23842453456789",
                  "23842453456790"
                ],
                "reason": "Get specific ad sets"
              },
              "cli_command": "hopkin meta adsets list --account 123456789 --adset-ids 23842453456789,23842453456790",
              "natural_language": "Get multiple by IDs"
            },
            {
              "label": "Search by name",
              "mcp_params": {
                "account_id": "123456789",
                "search": "Retargeting",
                "reason": "Find retargeting ad sets"
              },
              "cli_command": "hopkin meta adsets list --account 123456789 --search Retargeting",
              "natural_language": "Search by name"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "meta_ads_preview_ads",
              "relationship": "hierarchy"
            },
            {
              "name": "meta_ads_list_ads",
              "relationship": "hierarchy"
            },
            {
              "name": "meta_ads_list_campaigns",
              "relationship": "hierarchy"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "meta_ads_check_auth_status",
          "title": "Check Meta Ads Authentication Status",
          "description": "Troubleshoot authentication issues and get user profile info. Only use this tool when another tool fails with a permission or authentication error — do NOT call proactively.",
          "cli_command": "hopkin meta auth check",
          "cli_flags": [
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "auth",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": false
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              }
            },
            "required": [
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            }
          ],
          "examples": [
            {
              "label": "Check auth",
              "mcp_params": {
                "reason": "Another tool returned an auth error, checking account connection status"
              },
              "cli_command": "hopkin meta auth check",
              "natural_language": "Check auth"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "meta_ads_ping",
              "relationship": "sibling"
            },
            {
              "name": "google_ads_check_auth_status",
              "relationship": "cross-platform"
            },
            {
              "name": "linkedin_ads_check_auth_status",
              "relationship": "cross-platform"
            },
            {
              "name": "reddit_ads_check_auth_status",
              "relationship": "cross-platform"
            },
            {
              "name": "tiktok_ads_check_auth_status",
              "relationship": "cross-platform"
            },
            {
              "name": "chatgpt_ads_check_auth_status",
              "relationship": "cross-platform"
            },
            {
              "name": "microsoft_ads_check_auth_status",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "meta_ads_get_billing_status",
          "title": "Billing status",
          "description": "Why a call was refused with a billing error (402) and how to get unblocked. Reports whether this organization is entitled, its subscription status, tier, trial end, credits used and left this period, the price table and a link to the billing page. With checkout_tier, the organization owner also gets a Stripe Checkout link for that plan; a member gets the owner's contact and a message to forward. Call it after any 402. While waiting for a human to pay, poll it every 10 seconds for the first minute, every 30 seconds until 5 minutes, then every 60 seconds until 15 minutes, then stop and tell the human. Once it returns entitled: true, retry the blocked call; if the retry still returns 402, wait 15 seconds and retry once. A Checkout link is a payment link: give it to the organization owner only.",
          "cli_command": "hopkin meta billing-status get",
          "cli_flags": [
            {
              "flag": "--checkout-tier",
              "description": "Organization owner only: also create a Stripe Checkout link for this plan. A member gets the owner's contact and a message to forward instead.",
              "type": "string",
              "required": false
            }
          ],
          "category": "billing-status",
          "annotations": {
            "readOnly": false,
            "destructive": false,
            "idempotent": true,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "checkout_tier": {
                "type": "string",
                "enum": [
                  "starter",
                  "pro",
                  "enterprise"
                ],
                "description": "Organization owner only: also create a Stripe Checkout link for this plan. A member gets the owner's contact and a message to forward instead."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "checkout_tier",
              "type": "string",
              "required": false,
              "description": "Organization owner only: also create a Stripe Checkout link for this plan. A member gets the owner's contact and a message to forward instead.",
              "enum_values": [
                "starter",
                "pro",
                "enterprise"
              ]
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "After a billing error",
              "mcp_params": {
                "reason": "A tool call was refused with a billing error (402)"
              },
              "cli_command": "hopkin meta billing-status get",
              "natural_language": "After a billing error"
            },
            {
              "label": "Owner: Checkout link",
              "mcp_params": {
                "checkout_tier": "pro",
                "reason": "The organization owner wants to pay for Pro now"
              },
              "cli_command": "hopkin meta billing-status get --checkout-tier pro",
              "natural_language": "Owner: Checkout link"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "google_ads_get_billing_status",
              "relationship": "cross-platform"
            },
            {
              "name": "linkedin_ads_get_billing_status",
              "relationship": "cross-platform"
            },
            {
              "name": "reddit_ads_get_billing_status",
              "relationship": "cross-platform"
            },
            {
              "name": "tiktok_ads_get_billing_status",
              "relationship": "cross-platform"
            },
            {
              "name": "chatgpt_ads_get_billing_status",
              "relationship": "cross-platform"
            },
            {
              "name": "microsoft_ads_get_billing_status",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "meta_ads_list_campaigns",
          "title": "List Meta Ad Campaigns",
          "description": "List campaigns for a Meta ad account with status filtering, name search, single/multi-campaign lookup by ID, and pagination. Entities may optionally include recent activities, and optionally automated rules (set include_rules=true to see which rules affect each campaign).",
          "cli_command": "hopkin meta campaigns list",
          "cli_flags": [
            {
              "flag": "--account",
              "description": "The ad account ID (with or without act_ prefix)",
              "type": "string",
              "required": true
            },
            {
              "flag": "--status",
              "description": "Filter by configured campaign status (user-set): ACTIVE, PAUSED, DELETED, ARCHIVED",
              "type": "array",
              "required": false
            },
            {
              "flag": "--effective-status",
              "description": "Filter by Meta-computed serving status: ACTIVE, PAUSED, DELETED, ARCHIVED, IN_PROCESS, WITH_ISSUES",
              "type": "array",
              "required": false
            },
            {
              "flag": "--limit",
              "description": "Number of campaigns per page (default: 20, max: 100)",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--cursor",
              "description": "Pagination cursor from previous response",
              "type": "string",
              "required": false
            },
            {
              "flag": "--refresh",
              "description": "Force fresh data from Meta API instead of using cache. Defaults to false (cache-first). Only set to true when you need real-time data.",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--campaign",
              "description": "Get a specific campaign by ID. When provided, returns only that campaign and ignores other filters/pagination.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--campaign-ids",
              "description": "Get multiple campaigns by ID. Mutually exclusive with campaign_id. When provided, ignores other filters/pagination.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--search",
              "description": "Search campaigns by name (case-insensitive partial match)",
              "type": "string",
              "required": false
            },
            {
              "flag": "--include-activities",
              "description": "Include recent activity log (last 7 days of changes) for each entity",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--include-rules",
              "description": "Include automated rules (from adrules_library) that affect each entity",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "campaigns",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "account_id": {
                "type": "string",
                "minLength": 1,
                "description": "The ad account ID (with or without act_ prefix)"
              },
              "status": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "ACTIVE",
                    "PAUSED",
                    "DELETED",
                    "ARCHIVED"
                  ]
                },
                "description": "Filter by configured campaign status (user-set): ACTIVE, PAUSED, DELETED, ARCHIVED"
              },
              "effective_status": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "ACTIVE",
                    "PAUSED",
                    "DELETED",
                    "ARCHIVED",
                    "IN_PROCESS",
                    "WITH_ISSUES"
                  ]
                },
                "description": "Filter by Meta-computed serving status: ACTIVE, PAUSED, DELETED, ARCHIVED, IN_PROCESS, WITH_ISSUES"
              },
              "limit": {
                "type": "integer",
                "minimum": 1,
                "maximum": 100,
                "description": "Number of campaigns per page (default: 20, max: 100)"
              },
              "cursor": {
                "type": "string",
                "minLength": 1,
                "description": "Pagination cursor from previous response"
              },
              "refresh": {
                "type": "boolean",
                "default": false,
                "description": "Force fresh data from Meta API instead of using cache. Defaults to false (cache-first). Only set to true when you need real-time data."
              },
              "campaign_id": {
                "type": "string",
                "minLength": 1,
                "description": "Get a specific campaign by ID. When provided, returns only that campaign and ignores other filters/pagination."
              },
              "campaign_ids": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1
                },
                "minItems": 1,
                "maxItems": 50,
                "description": "Get multiple campaigns by ID. Mutually exclusive with campaign_id. When provided, ignores other filters/pagination."
              },
              "search": {
                "type": "string",
                "minLength": 1,
                "description": "Search campaigns by name (case-insensitive partial match)"
              },
              "include_activities": {
                "type": "boolean",
                "default": false,
                "description": "Include recent activity log (last 7 days of changes) for each entity"
              },
              "include_rules": {
                "type": "boolean",
                "default": false,
                "description": "Include automated rules (from adrules_library) that affect each entity"
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              }
            },
            "required": [
              "account_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "account_id",
              "type": "string",
              "required": true,
              "description": "The ad account ID (with or without act_ prefix)",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "status",
              "type": "array",
              "required": false,
              "description": "Filter by configured campaign status (user-set): ACTIVE, PAUSED, DELETED, ARCHIVED"
            },
            {
              "name": "effective_status",
              "type": "array",
              "required": false,
              "description": "Filter by Meta-computed serving status: ACTIVE, PAUSED, DELETED, ARCHIVED, IN_PROCESS, WITH_ISSUES"
            },
            {
              "name": "limit",
              "type": "integer",
              "required": false,
              "description": "Number of campaigns per page (default: 20, max: 100)",
              "constraints": {
                "min": 1,
                "max": 100
              }
            },
            {
              "name": "cursor",
              "type": "string",
              "required": false,
              "description": "Pagination cursor from previous response",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "refresh",
              "type": "boolean",
              "required": false,
              "description": "Force fresh data from Meta API instead of using cache. Defaults to false (cache-first). Only set to true when you need real-time data.",
              "default": false
            },
            {
              "name": "campaign_id",
              "type": "string",
              "required": false,
              "description": "Get a specific campaign by ID. When provided, returns only that campaign and ignores other filters/pagination.",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "campaign_ids",
              "type": "array",
              "required": false,
              "description": "Get multiple campaigns by ID. Mutually exclusive with campaign_id. When provided, ignores other filters/pagination."
            },
            {
              "name": "search",
              "type": "string",
              "required": false,
              "description": "Search campaigns by name (case-insensitive partial match)",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "include_activities",
              "type": "boolean",
              "required": false,
              "description": "Include recent activity log (last 7 days of changes) for each entity",
              "default": false
            },
            {
              "name": "include_rules",
              "type": "boolean",
              "required": false,
              "description": "Include automated rules (from adrules_library) that affect each entity",
              "default": false
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            }
          ],
          "examples": [
            {
              "label": "List all",
              "mcp_params": {
                "account_id": "123456789",
                "reason": "List campaigns"
              },
              "cli_command": "hopkin meta campaigns list --account 123456789",
              "natural_language": "List all"
            },
            {
              "label": "Filter by status",
              "mcp_params": {
                "account_id": "123456789",
                "status": [
                  "ACTIVE",
                  "PAUSED"
                ],
                "reason": "List active/paused campaigns"
              },
              "cli_command": "hopkin meta campaigns list --account 123456789 --status ACTIVE,PAUSED",
              "natural_language": "Filter by status"
            },
            {
              "label": "Filter by serving status",
              "mcp_params": {
                "account_id": "123456789",
                "effective_status": [
                  "WITH_ISSUES"
                ],
                "reason": "Find campaigns with delivery issues"
              },
              "cli_command": "hopkin meta campaigns list --account 123456789 --effective-status WITH_ISSUES",
              "natural_language": "Filter by serving status"
            },
            {
              "label": "Get by ID",
              "mcp_params": {
                "account_id": "123456789",
                "campaign_id": "23842453456789",
                "reason": "Get specific campaign"
              },
              "cli_command": "hopkin meta campaigns list --account 123456789 --campaign 23842453456789",
              "natural_language": "Get by ID"
            },
            {
              "label": "Get multiple by IDs",
              "mcp_params": {
                "account_id": "123456789",
                "campaign_ids": [
                  "23842453456789",
                  "23842453456790"
                ],
                "reason": "Get specific campaigns"
              },
              "cli_command": "hopkin meta campaigns list --account 123456789 --campaign-ids 23842453456789,23842453456790",
              "natural_language": "Get multiple by IDs"
            },
            {
              "label": "Search by name",
              "mcp_params": {
                "account_id": "123456789",
                "search": "Summer",
                "reason": "Find summer campaigns"
              },
              "cli_command": "hopkin meta campaigns list --account 123456789 --search Summer",
              "natural_language": "Search by name"
            },
            {
              "label": "Paginate",
              "mcp_params": {
                "account_id": "123456789",
                "limit": 10,
                "reason": "First page of campaigns"
              },
              "cli_command": "hopkin meta campaigns list --account 123456789 --limit 10",
              "natural_language": "Paginate"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "meta_ads_list_ad_accounts",
              "relationship": "hierarchy"
            },
            {
              "name": "meta_ads_list_adsets",
              "relationship": "hierarchy"
            },
            {
              "name": "google_ads_list_campaigns",
              "relationship": "cross-platform"
            },
            {
              "name": "linkedin_ads_list_campaigns",
              "relationship": "cross-platform"
            },
            {
              "name": "reddit_ads_list_campaigns",
              "relationship": "cross-platform"
            },
            {
              "name": "tiktok_ads_list_campaigns",
              "relationship": "cross-platform"
            },
            {
              "name": "chatgpt_ads_list_campaigns",
              "relationship": "cross-platform"
            },
            {
              "name": "microsoft_ads_list_campaigns",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "meta_ads_render_chart",
          "title": "Render Chart",
          "description": "Interactive UI for rendering data visualizations (bar, scatter, timeseries, funnel, waterfall, choropleth)",
          "cli_command": "",
          "cli_flags": [],
          "category": "chart",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": false
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Brief explanation of why you are rendering this chart"
              },
              "chart": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "const": "bar"
                      },
                      "data": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "label": {
                              "type": "string"
                            },
                            "values": {
                              "type": "object",
                              "additionalProperties": {
                                "type": [
                                  "number",
                                  "null"
                                ]
                              }
                            }
                          },
                          "required": [
                            "label",
                            "values"
                          ],
                          "additionalProperties": false
                        }
                      },
                      "metric": {
                        "anyOf": [
                          {
                            "type": "object",
                            "properties": {
                              "field": {
                                "type": "string"
                              },
                              "label": {
                                "type": "string"
                              },
                              "format": {
                                "type": "string"
                              },
                              "tickFormat": {
                                "type": "string"
                              },
                              "labelFields": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "field": {
                                      "type": "string"
                                    },
                                    "format": {
                                      "type": "string"
                                    },
                                    "suffix": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "field"
                                  ],
                                  "additionalProperties": false
                                }
                              }
                            },
                            "required": [
                              "field",
                              "label"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "field": {
                                  "type": "string"
                                },
                                "label": {
                                  "type": "string"
                                },
                                "format": {
                                  "type": "string"
                                },
                                "tickFormat": {
                                  "type": "string"
                                },
                                "labelFields": {
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "properties": {
                                      "field": {
                                        "type": "string"
                                      },
                                      "format": {
                                        "type": "string"
                                      },
                                      "suffix": {
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "field"
                                    ],
                                    "additionalProperties": false
                                  }
                                }
                              },
                              "required": [
                                "field",
                                "label"
                              ],
                              "additionalProperties": false
                            }
                          }
                        ]
                      },
                      "orientation": {
                        "type": "string",
                        "enum": [
                          "horizontal",
                          "vertical"
                        ],
                        "default": "horizontal"
                      },
                      "sort": {
                        "type": "string",
                        "enum": [
                          "asc",
                          "desc",
                          "none"
                        ],
                        "default": "desc"
                      },
                      "colorBy": {
                        "anyOf": [
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "fixed"
                              }
                            },
                            "required": [
                              "type"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "threshold"
                              },
                              "field": {
                                "type": "string"
                              },
                              "threshold": {
                                "type": "number"
                              },
                              "sentiment": {
                                "type": "string",
                                "enum": [
                                  "above-positive",
                                  "above-negative"
                                ],
                                "default": "above-positive"
                              }
                            },
                            "required": [
                              "type",
                              "field",
                              "threshold"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "continuous"
                              },
                              "field": {
                                "type": "string"
                              },
                              "scheme": {
                                "type": "string"
                              },
                              "reverse": {
                                "type": "boolean",
                                "default": false
                              },
                              "muteZero": {
                                "type": "boolean",
                                "default": false
                              },
                              "label": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "type",
                              "field",
                              "scheme"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "categorical"
                              }
                            },
                            "required": [
                              "type"
                            ],
                            "additionalProperties": false
                          }
                        ]
                      },
                      "referenceLines": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "value": {
                              "type": "number"
                            },
                            "label": {
                              "type": "string"
                            },
                            "dash": {
                              "type": "string",
                              "enum": [
                                "solid",
                                "dashed"
                              ],
                              "default": "dashed"
                            }
                          },
                          "required": [
                            "value"
                          ],
                          "additionalProperties": false
                        }
                      },
                      "table": {
                        "type": "object",
                        "properties": {
                          "columns": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "field": {
                                  "type": "string"
                                },
                                "label": {
                                  "type": "string"
                                },
                                "format": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "field",
                                "label"
                              ],
                              "additionalProperties": false
                            }
                          }
                        },
                        "required": [
                          "columns"
                        ],
                        "additionalProperties": false
                      },
                      "panelWidth": {
                        "type": "number"
                      },
                      "width": {
                        "type": "number",
                        "default": 700
                      },
                      "height": {
                        "type": "number",
                        "default": 400
                      }
                    },
                    "required": [
                      "type",
                      "data",
                      "metric"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "const": "scatter"
                      },
                      "data": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "label": {
                              "type": "string"
                            },
                            "values": {
                              "type": "object",
                              "additionalProperties": {
                                "type": "number"
                              }
                            }
                          },
                          "required": [
                            "label",
                            "values"
                          ],
                          "additionalProperties": false
                        }
                      },
                      "x": {
                        "type": "object",
                        "properties": {
                          "field": {
                            "type": "string"
                          },
                          "label": {
                            "type": "string"
                          },
                          "scale": {
                            "type": "string",
                            "enum": [
                              "linear",
                              "log"
                            ],
                            "default": "linear"
                          },
                          "format": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "field",
                          "label"
                        ],
                        "additionalProperties": false
                      },
                      "y": {
                        "type": "object",
                        "properties": {
                          "field": {
                            "type": "string"
                          },
                          "label": {
                            "type": "string"
                          },
                          "scale": {
                            "type": "string",
                            "enum": [
                              "linear",
                              "log"
                            ],
                            "default": "linear"
                          },
                          "format": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "field",
                          "label"
                        ],
                        "additionalProperties": false
                      },
                      "size": {
                        "type": "object",
                        "properties": {
                          "field": {
                            "type": "string"
                          },
                          "range": {
                            "type": "array",
                            "items": {
                              "type": "number"
                            },
                            "minItems": 2,
                            "maxItems": 2,
                            "default": [
                              3,
                              20
                            ]
                          }
                        },
                        "required": [
                          "field"
                        ],
                        "additionalProperties": false
                      },
                      "color": {
                        "anyOf": [
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "fixed"
                              }
                            },
                            "required": [
                              "type"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "continuous"
                              },
                              "field": {
                                "type": "string"
                              },
                              "scheme": {
                                "type": "string"
                              },
                              "reverse": {
                                "type": "boolean",
                                "default": false
                              }
                            },
                            "required": [
                              "type",
                              "field",
                              "scheme"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "threshold"
                              },
                              "field": {
                                "type": "string"
                              },
                              "threshold": {
                                "type": "number"
                              },
                              "sentiment": {
                                "type": "string",
                                "enum": [
                                  "above-positive",
                                  "above-negative"
                                ],
                                "default": "above-positive"
                              }
                            },
                            "required": [
                              "type",
                              "field",
                              "threshold"
                            ],
                            "additionalProperties": false
                          }
                        ]
                      },
                      "referenceLines": {
                        "type": "object",
                        "properties": {
                          "medianX": {
                            "type": "boolean",
                            "default": false
                          },
                          "medianY": {
                            "type": "boolean",
                            "default": false
                          },
                          "targets": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "slope": {
                                  "type": "number"
                                },
                                "label": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "slope",
                                "label"
                              ],
                              "additionalProperties": false
                            }
                          },
                          "regression": {
                            "type": "boolean",
                            "default": false
                          }
                        },
                        "additionalProperties": false
                      },
                      "table": {
                        "type": "object",
                        "properties": {
                          "columns": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "field": {
                                  "type": "string"
                                },
                                "label": {
                                  "type": "string"
                                },
                                "format": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "field",
                                "label"
                              ],
                              "additionalProperties": false
                            }
                          }
                        },
                        "required": [
                          "columns"
                        ],
                        "additionalProperties": false
                      },
                      "width": {
                        "type": "number",
                        "default": 700
                      },
                      "height": {
                        "type": "number",
                        "default": 450
                      }
                    },
                    "required": [
                      "type",
                      "data",
                      "x",
                      "y"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "const": "timeseries"
                      },
                      "data": {
                        "type": "object",
                        "properties": {
                          "current": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "date": {
                                  "type": "string"
                                },
                                "values": {
                                  "type": "object",
                                  "additionalProperties": {
                                    "type": "number"
                                  }
                                }
                              },
                              "required": [
                                "date",
                                "values"
                              ],
                              "additionalProperties": false
                            }
                          },
                          "previous": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "date": {
                                  "type": "string"
                                },
                                "values": {
                                  "type": "object",
                                  "additionalProperties": {
                                    "type": "number"
                                  }
                                }
                              },
                              "required": [
                                "date",
                                "values"
                              ],
                              "additionalProperties": false
                            }
                          },
                          "projection": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "date": {
                                  "type": "string"
                                },
                                "values": {
                                  "type": "object",
                                  "additionalProperties": {
                                    "type": "number"
                                  }
                                }
                              },
                              "required": [
                                "date",
                                "values"
                              ],
                              "additionalProperties": false
                            }
                          }
                        },
                        "required": [
                          "current"
                        ],
                        "additionalProperties": false
                      },
                      "primaryAxis": {
                        "type": "object",
                        "properties": {
                          "field": {
                            "type": "string"
                          },
                          "label": {
                            "type": "string"
                          },
                          "mark": {
                            "type": "string",
                            "enum": [
                              "bar",
                              "area",
                              "line"
                            ]
                          },
                          "groupBars": {
                            "type": "boolean"
                          }
                        },
                        "required": [
                          "field",
                          "label",
                          "mark"
                        ],
                        "additionalProperties": false
                      },
                      "secondaryAxis": {
                        "type": "object",
                        "properties": {
                          "field": {
                            "type": "string"
                          },
                          "label": {
                            "type": "string"
                          },
                          "dash": {
                            "type": "string",
                            "enum": [
                              "solid",
                              "dashed"
                            ],
                            "default": "solid"
                          }
                        },
                        "required": [
                          "field",
                          "label"
                        ],
                        "additionalProperties": false
                      },
                      "width": {
                        "type": "number",
                        "default": 700
                      },
                      "height": {
                        "type": "number",
                        "default": 400
                      }
                    },
                    "required": [
                      "type",
                      "data",
                      "primaryAxis"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "const": "funnel"
                      },
                      "data": {
                        "type": "object",
                        "properties": {
                          "stages": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          },
                          "volume": {
                            "type": "array",
                            "items": {
                              "type": "number"
                            }
                          },
                          "costPer": {
                            "type": "array",
                            "items": {
                              "type": "number"
                            }
                          }
                        },
                        "required": [
                          "stages",
                          "volume"
                        ],
                        "additionalProperties": false
                      },
                      "showConversionRates": {
                        "type": "boolean",
                        "default": true
                      },
                      "showCostPer": {
                        "type": "boolean",
                        "default": true
                      },
                      "colorScheme": {
                        "type": "string",
                        "default": "Blues"
                      },
                      "width": {
                        "type": "number",
                        "default": 700
                      },
                      "height": {
                        "type": "number",
                        "default": 350
                      }
                    },
                    "required": [
                      "type",
                      "data"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "const": "waterfall"
                      },
                      "data": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "label": {
                              "type": "string"
                            },
                            "value": {
                              "type": "number"
                            },
                            "colorValue": {
                              "type": "number"
                            }
                          },
                          "required": [
                            "label",
                            "value",
                            "colorValue"
                          ],
                          "additionalProperties": false
                        }
                      },
                      "colorScheme": {
                        "type": "string",
                        "default": "RdYlGn"
                      },
                      "colorLabel": {
                        "type": "string",
                        "default": "CPA ($)"
                      },
                      "valueLabel": {
                        "type": "string",
                        "default": "Cumulative Spend ($)"
                      },
                      "width": {
                        "type": "number",
                        "default": 700
                      },
                      "height": {
                        "type": "number"
                      }
                    },
                    "required": [
                      "type",
                      "data"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "const": "choropleth"
                      },
                      "data": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "state": {
                              "type": "string"
                            },
                            "value": {
                              "type": "number"
                            },
                            "meta": {
                              "type": "object",
                              "additionalProperties": {
                                "type": [
                                  "string",
                                  "number",
                                  "null"
                                ]
                              }
                            }
                          },
                          "required": [
                            "state",
                            "value"
                          ],
                          "additionalProperties": false
                        }
                      },
                      "valueLabel": {
                        "type": "string"
                      },
                      "colorScheme": {
                        "type": "string",
                        "default": "YlOrRd"
                      },
                      "colorType": {
                        "type": "string",
                        "enum": [
                          "quantize",
                          "linear",
                          "threshold"
                        ],
                        "default": "quantize"
                      },
                      "reverse": {
                        "type": "boolean",
                        "default": false
                      },
                      "tip": {
                        "type": "object",
                        "properties": {
                          "fields": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "field": {
                                  "type": "string"
                                },
                                "label": {
                                  "type": "string"
                                },
                                "format": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "field",
                                "label"
                              ],
                              "additionalProperties": false
                            }
                          }
                        },
                        "required": [
                          "fields"
                        ],
                        "additionalProperties": false
                      },
                      "width": {
                        "type": "number",
                        "default": 700
                      },
                      "height": {
                        "type": "number",
                        "default": 450
                      }
                    },
                    "required": [
                      "type",
                      "data",
                      "valueLabel"
                    ],
                    "additionalProperties": false
                  }
                ]
              }
            },
            "required": [
              "reason",
              "chart"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Brief explanation of why you are rendering this chart",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            },
            {
              "name": "chart",
              "type": "object",
              "required": true,
              "description": "Chart configuration. Supported types: bar, scatter, timeseries, funnel, waterfall, choropleth."
            }
          ],
          "examples": [],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "google_ads_render_chart",
              "relationship": "cross-platform"
            },
            {
              "name": "linkedin_ads_render_chart",
              "relationship": "cross-platform"
            },
            {
              "name": "reddit_ads_render_chart",
              "relationship": "cross-platform"
            },
            {
              "name": "microsoft_ads_render_chart",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "app",
          "chart_types": [
            "bar",
            "scatter",
            "timeseries",
            "funnel",
            "waterfall",
            "choropleth"
          ]
        },
        {
          "name": "meta_ads_list_competitor_ads",
          "title": "List Competitor Ads",
          "description": "List a competitor's ads from the scraped Meta Ad Library corpus — real creative content (copy, CTA, landing URL, media metadata), not just snapshot links. Filter by active_only (still running), display_format (image, video, carousel, text), first_seen_since / first_seen_until (when the ad first appeared — the platform's start date, else when Hopkin first scraped it; use these for \"new ads\" and read count), since (last seen by a scrape on/after a date, so long-running ads match too), and search (full-text over ad copy). Requires no Meta connection — the corpus is maintained by Hopkin's daily scrape of tracked advertisers. Get advertiser IDs from meta_ads_list_tracked_competitors or meta_ads_track_competitor. Each ad leaves out raw_data, the raw scraped payload behind these fields, unless include_raw is set. ${META_CARDS_NOTE} raw_data is large, so pair include_raw with a small limit.",
          "cli_command": "hopkin meta competitor-ads list",
          "cli_flags": [
            {
              "flag": "--advertiser-id",
              "description": "The advertiser ID from meta_ads_list_tracked_competitors or meta_ads_track_competitor",
              "type": "string",
              "required": true
            },
            {
              "flag": "--active-only",
              "description": "Only ads still running (no stopped_running_at)",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--display-format",
              "description": "Filter by creative format as Meta labels it (case-insensitive). Observed values: image, video, carousel, multi_images, dco, dpa. dco and dpa are Meta's dynamic formats (dynamic creative and catalog/advantage+ ads) and are the most common in the corpus.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--since",
              "description": "Only ads a scrape last saw on or after this ISO date/timestamp (e.g. 2026-07-01) — compares last_seen_at, so an ad running for months still matches. For ads that are NEW, use first_seen_since.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--first-seen-since",
              "description": "Only ads that first appeared on or after this ISO date/timestamp (e.g. 2026-10-05). \"First appeared\" is the platform's own start date (started_running_at) when the ad has one, else first_seen_at — when Hopkin first scraped it, so a newly tracked advertiser's older ads can count as new. For \"new ads in the last 7 days\", pass the date 7 days ago with limit: 1 and read count.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--first-seen-until",
              "description": "Only ads that first appeared on or before this ISO date/timestamp — same clock as first_seen_since. A date alone (e.g. 2026-10-11) includes that whole UTC day.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--search",
              "description": "Case-insensitive search over ad copy (primary text, headline, description), up to 100 characters",
              "type": "string",
              "required": false
            },
            {
              "flag": "--limit",
              "description": "Number of ads per page (default: 20, max: 100)",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--cursor",
              "description": "Pagination cursor from previous response",
              "type": "string",
              "required": false
            },
            {
              "flag": "--include-raw",
              "description": "Also return raw_data, the scraped Meta Ad Library payload behind the normalized fields. Off by default. A carousel or dynamic (dco, dpa) ad's real copy is per card: its normalized headline and primary_text hold only the ad-level copy, often a catalog template such as '{{product.name}}'. Such ads carry `cards`, one per card in order, with its title, body, link_url, cta_text (plus caption and link_description when present) and an image and/or video link: our mirror, or the card's own Meta CDN URL marked short_lived (it expires) when not mirrored yet. include_raw adds only the full scraped payload behind them. Raw rows are large (~9.7 KB per ad on average and up to 268 KB), so pass a small `limit` (e.g. 3-5) when setting this.",
              "type": "boolean",
              "required": false
            }
          ],
          "category": "competitor-ads",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": false
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "advertiser_id": {
                "type": "string",
                "minLength": 1,
                "description": "The advertiser ID from meta_ads_list_tracked_competitors or meta_ads_track_competitor"
              },
              "active_only": {
                "type": "boolean",
                "description": "Only ads still running (no stopped_running_at)"
              },
              "display_format": {
                "type": "string",
                "minLength": 1,
                "description": "Filter by creative format as Meta labels it (case-insensitive). Observed values: image, video, carousel, multi_images, dco, dpa. dco and dpa are Meta's dynamic formats (dynamic creative and catalog/advantage+ ads) and are the most common in the corpus."
              },
              "since": {
                "type": "string",
                "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d+)?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
                "description": "Only ads a scrape last saw on or after this ISO date/timestamp (e.g. 2026-07-01) — compares last_seen_at, so an ad running for months still matches. For ads that are NEW, use first_seen_since."
              },
              "first_seen_since": {
                "type": "string",
                "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d+)?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
                "description": "Only ads that first appeared on or after this ISO date/timestamp (e.g. 2026-10-05). \"First appeared\" is the platform's own start date (started_running_at) when the ad has one, else first_seen_at — when Hopkin first scraped it, so a newly tracked advertiser's older ads can count as new. For \"new ads in the last 7 days\", pass the date 7 days ago with limit: 1 and read count."
              },
              "first_seen_until": {
                "type": "string",
                "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d+)?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
                "description": "Only ads that first appeared on or before this ISO date/timestamp — same clock as first_seen_since. A date alone (e.g. 2026-10-11) includes that whole UTC day."
              },
              "search": {
                "type": "string",
                "minLength": 1,
                "maxLength": 100,
                "description": "Case-insensitive search over ad copy (primary text, headline, description), up to 100 characters"
              },
              "limit": {
                "type": "integer",
                "minimum": 1,
                "maximum": 100,
                "description": "Number of ads per page (default: 20, max: 100)"
              },
              "cursor": {
                "type": "string",
                "minLength": 1,
                "description": "Pagination cursor from previous response"
              },
              "include_raw": {
                "type": "boolean",
                "description": "Also return raw_data, the scraped Meta Ad Library payload behind the normalized fields. Off by default. A carousel or dynamic (dco, dpa) ad's real copy is per card: its normalized headline and primary_text hold only the ad-level copy, often a catalog template such as '{{product.name}}'. Such ads carry `cards`, one per card in order, with its title, body, link_url, cta_text (plus caption and link_description when present) and an image and/or video link: our mirror, or the card's own Meta CDN URL marked short_lived (it expires) when not mirrored yet. include_raw adds only the full scraped payload behind them. Raw rows are large (~9.7 KB per ad on average and up to 268 KB), so pass a small `limit` (e.g. 3-5) when setting this."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "advertiser_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "advertiser_id",
              "type": "string",
              "required": true,
              "description": "The advertiser ID from meta_ads_list_tracked_competitors or meta_ads_track_competitor",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "active_only",
              "type": "boolean",
              "required": false,
              "description": "Only ads still running (no stopped_running_at)"
            },
            {
              "name": "display_format",
              "type": "string",
              "required": false,
              "description": "Filter by creative format as Meta labels it (case-insensitive). Observed values: image, video, carousel, multi_images, dco, dpa. dco and dpa are Meta's dynamic formats (dynamic creative and catalog/advantage+ ads) and are the most common in the corpus.",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "since",
              "type": "string",
              "required": false,
              "description": "Only ads a scrape last saw on or after this ISO date/timestamp (e.g. 2026-07-01) — compares last_seen_at, so an ad running for months still matches. For ads that are NEW, use first_seen_since.",
              "constraints": {
                "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d+)?)?(Z|[+-]\\d{2}:\\d{2})?)?$"
              }
            },
            {
              "name": "first_seen_since",
              "type": "string",
              "required": false,
              "description": "Only ads that first appeared on or after this ISO date/timestamp (e.g. 2026-10-05). \"First appeared\" is the platform's own start date (started_running_at) when the ad has one, else first_seen_at — when Hopkin first scraped it, so a newly tracked advertiser's older ads can count as new. For \"new ads in the last 7 days\", pass the date 7 days ago with limit: 1 and read count.",
              "constraints": {
                "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d+)?)?(Z|[+-]\\d{2}:\\d{2})?)?$"
              }
            },
            {
              "name": "first_seen_until",
              "type": "string",
              "required": false,
              "description": "Only ads that first appeared on or before this ISO date/timestamp — same clock as first_seen_since. A date alone (e.g. 2026-10-11) includes that whole UTC day.",
              "constraints": {
                "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d+)?)?(Z|[+-]\\d{2}:\\d{2})?)?$"
              }
            },
            {
              "name": "search",
              "type": "string",
              "required": false,
              "description": "Case-insensitive search over ad copy (primary text, headline, description), up to 100 characters",
              "constraints": {
                "min_length": 1,
                "max_length": 100
              }
            },
            {
              "name": "limit",
              "type": "integer",
              "required": false,
              "description": "Number of ads per page (default: 20, max: 100)",
              "constraints": {
                "min": 1,
                "max": 100
              }
            },
            {
              "name": "cursor",
              "type": "string",
              "required": false,
              "description": "Pagination cursor from previous response",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "include_raw",
              "type": "boolean",
              "required": false,
              "description": "Also return raw_data, the scraped Meta Ad Library payload behind the normalized fields. Off by default. A carousel or dynamic (dco, dpa) ad's real copy is per card: its normalized headline and primary_text hold only the ad-level copy, often a catalog template such as '{{product.name}}'. Such ads carry `cards`, one per card in order, with its title, body, link_url, cta_text (plus caption and link_description when present) and an image and/or video link: our mirror, or the card's own Meta CDN URL marked short_lived (it expires) when not mirrored yet. include_raw adds only the full scraped payload behind them. Raw rows are large (~9.7 KB per ad on average and up to 268 KB), so pass a small `limit` (e.g. 3-5) when setting this."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "Browse all ads",
              "mcp_params": {
                "advertiser_id": "adv-uuid-from-tracked-list",
                "reason": "Review a competitor’s current creative strategy"
              },
              "cli_command": "hopkin meta competitor-ads list --advertiser-id adv-uuid-from-tracked-list",
              "natural_language": "Browse all ads"
            },
            {
              "label": "Active video ads",
              "mcp_params": {
                "advertiser_id": "adv-uuid-from-tracked-list",
                "active_only": true,
                "display_format": "video",
                "reason": "Study competitor video creative"
              },
              "cli_command": "hopkin meta competitor-ads list --advertiser-id adv-uuid-from-tracked-list --active-only true --display-format video",
              "natural_language": "Active video ads"
            },
            {
              "label": "New ads this month",
              "mcp_params": {
                "advertiser_id": "adv-uuid-from-tracked-list",
                "first_seen_since": "2026-08-01",
                "reason": "Find newly launched competitor ads"
              },
              "cli_command": "hopkin meta competitor-ads list --advertiser-id adv-uuid-from-tracked-list --first-seen-since 2026-08-01",
              "natural_language": "New ads this month"
            },
            {
              "label": "Search ad copy",
              "mcp_params": {
                "advertiser_id": "adv-uuid-from-tracked-list",
                "search": "free shipping",
                "reason": "Find offer-led competitor messaging"
              },
              "cli_command": "hopkin meta competitor-ads list --advertiser-id adv-uuid-from-tracked-list --search free shipping",
              "natural_language": "Search ad copy"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "linkedin_ads_list_competitor_ads",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "meta_ads_get_competitor_ad",
          "title": "Get Competitor Ad",
          "description": "Fetch one competitor ad in full detail from the scraped corpus: complete copy (headline, primary text, description, CTA), landing URL, run dates, and every media asset with its permanent CDN \\",
          "cli_command": "hopkin meta competitor-ad get",
          "cli_flags": [
            {
              "flag": "--ad",
              "description": "The library ad ID from meta_ads_list_competitor_ads",
              "type": "string",
              "required": true
            },
            {
              "flag": "--include-frames",
              "description": "Optional, no effect: frame URLs are always listed. Use stride/start/end to choose which frames.",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--stride",
              "description": "List every Nth extracted frame. Defaults to a stride that fits each video into its share of 120 frame URLs per ad (split evenly between the ad's videos).",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--start",
              "description": "Only frames at or after this offset into the video, in seconds",
              "type": "number",
              "required": false
            },
            {
              "flag": "--end",
              "description": "Only frames at or before this offset into the video, in seconds",
              "type": "number",
              "required": false
            },
            {
              "flag": "--include-raw",
              "description": "Also return raw_data, the scraped Meta Ad Library payload behind the normalized fields. Off by default. A carousel or dynamic (dco, dpa) ad's real copy is per card: its normalized headline and primary_text hold only the ad-level copy, often a catalog template such as '{{product.name}}'. Such ads carry `cards`, one per card in order, with its title, body, link_url, cta_text (plus caption and link_description when present) and an image and/or video link: our mirror, or the card's own Meta CDN URL marked short_lived (it expires) when not mirrored yet. include_raw adds only the full scraped payload behind them. A raw row is large (~9.7 KB per ad on average and up to 268 KB).",
              "type": "boolean",
              "required": false
            }
          ],
          "category": "competitor-ad",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": false
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "ad_id": {
                "type": "string",
                "minLength": 1,
                "description": "The library ad ID from meta_ads_list_competitor_ads"
              },
              "include_frames": {
                "type": "boolean",
                "description": "Optional, no effect: frame URLs are always listed. Use stride/start/end to choose which frames."
              },
              "stride": {
                "type": "integer",
                "minimum": 1,
                "description": "List every Nth extracted frame. Defaults to a stride that fits each video into its share of 120 frame URLs per ad (split evenly between the ad's videos)."
              },
              "start": {
                "type": "number",
                "minimum": 0,
                "description": "Only frames at or after this offset into the video, in seconds"
              },
              "end": {
                "type": "number",
                "minimum": 0,
                "description": "Only frames at or before this offset into the video, in seconds"
              },
              "include_raw": {
                "type": "boolean",
                "description": "Also return raw_data, the scraped Meta Ad Library payload behind the normalized fields. Off by default. A carousel or dynamic (dco, dpa) ad's real copy is per card: its normalized headline and primary_text hold only the ad-level copy, often a catalog template such as '{{product.name}}'. Such ads carry `cards`, one per card in order, with its title, body, link_url, cta_text (plus caption and link_description when present) and an image and/or video link: our mirror, or the card's own Meta CDN URL marked short_lived (it expires) when not mirrored yet. include_raw adds only the full scraped payload behind them. A raw row is large (~9.7 KB per ad on average and up to 268 KB)."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "ad_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "ad_id",
              "type": "string",
              "required": true,
              "description": "The library ad ID from meta_ads_list_competitor_ads",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "include_frames",
              "type": "boolean",
              "required": false,
              "description": "Optional, no effect: frame URLs are always listed. Use stride/start/end to choose which frames."
            },
            {
              "name": "stride",
              "type": "integer",
              "required": false,
              "description": "List every Nth extracted frame. Defaults to a stride that fits each video into its share of 120 frame URLs per ad (split evenly between the ad's videos).",
              "constraints": {
                "min": 1
              }
            },
            {
              "name": "start",
              "type": "number",
              "required": false,
              "description": "Only frames at or after this offset into the video, in seconds",
              "constraints": {
                "min": 0
              }
            },
            {
              "name": "end",
              "type": "number",
              "required": false,
              "description": "Only frames at or before this offset into the video, in seconds",
              "constraints": {
                "min": 0
              }
            },
            {
              "name": "include_raw",
              "type": "boolean",
              "required": false,
              "description": "Also return raw_data, the scraped Meta Ad Library payload behind the normalized fields. Off by default. A carousel or dynamic (dco, dpa) ad's real copy is per card: its normalized headline and primary_text hold only the ad-level copy, often a catalog template such as '{{product.name}}'. Such ads carry `cards`, one per card in order, with its title, body, link_url, cta_text (plus caption and link_description when present) and an image and/or video link: our mirror, or the card's own Meta CDN URL marked short_lived (it expires) when not mirrored yet. include_raw adds only the full scraped payload behind them. A raw row is large (~9.7 KB per ad on average and up to 268 KB)."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "Inspect one ad",
              "mcp_params": {
                "ad_id": "ad-uuid-from-list",
                "reason": "Read the full copy and media for this ad"
              },
              "cli_command": "hopkin meta competitor-ad get --ad ad-uuid-from-list",
              "natural_language": "Inspect one ad"
            },
            {
              "label": "Frame URLs for the first 10 seconds",
              "mcp_params": {
                "ad_id": "ad-uuid-from-list",
                "start": 0,
                "end": 10,
                "reason": "List the opening frames of the video creative"
              },
              "cli_command": "hopkin meta competitor-ad get --ad ad-uuid-from-list --start 0 --end 10",
              "natural_language": "Frame URLs for the first 10 seconds"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "linkedin_ads_get_competitor_ad",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "meta_ads_track_competitor",
          "title": "Track Competitor",
          "description": "Register a Meta advertiser for daily ad-library tracking. Provide exactly one identifier: page_id (numeric Facebook Page ID — most precise; works even for a page never scraped), page_url (a facebook.com page URL; numeric IDs resolve directly, a vanity handle is matched by page handle or read as a name), or name (the advertiser's name as it appears on its Facebook page, e.g. \"Jones Road Beauty\"). Call this directly with the name — do not search the ad library first: a name or handle not yet in the corpus is looked up live in Meta's Ad Library (a keyword search, about 20–60 s) and tracked in this same call if exactly one advertiser has that exact name. Several matches return a candidate list (name, platform_advertiser_id — the page ID — and ad count) and track NOTHING — retry with page_id set to a candidate's platform_advertiser_id; no exact match returns an error (nothing tracked) asking for the page ID — that is not proof the advertiser has no ads, since the keyword search can miss one. A new track starts a full background scrape (full_scrape: \"started\"); the response reports seeded (ads landed by the lookup), full_scrape and any warning. The daily sweep keeps the advertiser's ads current for meta_ads_list_competitor_ads. Requires no Meta connection.",
          "cli_command": "hopkin meta track-competitor",
          "cli_flags": [
            {
              "flag": "--page-id",
              "description": "Numeric Facebook Page ID of the advertiser (most precise identifier). A non-numeric value is treated as a handle/name search, like name.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--page-url",
              "description": "Facebook Page URL, e.g. https://www.facebook.com/nike, https://www.facebook.com/profile.php?id=15087023444, or an Ad Library URL with view_all_page_id. Numeric IDs resolve exactly; a vanity handle is matched by page handle, or looked up live as a name when no scraped advertiser has it.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--name",
              "description": "Advertiser name as it appears on its Facebook page, e.g. \"Nike\". Searched among scraped advertisers, then looked up live in the Ad Library when none matches exactly. Exactly one exact match is tracked; multiple matches return candidates and track nothing.",
              "type": "string",
              "required": false
            }
          ],
          "category": "track-competitor",
          "annotations": {
            "readOnly": false,
            "destructive": false,
            "idempotent": true,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "page_id": {
                "type": "string",
                "minLength": 1,
                "description": "Numeric Facebook Page ID of the advertiser (most precise identifier). A non-numeric value is treated as a handle/name search, like name."
              },
              "page_url": {
                "type": "string",
                "format": "uri",
                "description": "Facebook Page URL, e.g. https://www.facebook.com/nike, https://www.facebook.com/profile.php?id=15087023444, or an Ad Library URL with view_all_page_id. Numeric IDs resolve exactly; a vanity handle is matched by page handle, or looked up live as a name when no scraped advertiser has it."
              },
              "name": {
                "type": "string",
                "minLength": 1,
                "description": "Advertiser name as it appears on its Facebook page, e.g. \"Nike\". Searched among scraped advertisers, then looked up live in the Ad Library when none matches exactly. Exactly one exact match is tracked; multiple matches return candidates and track nothing."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "page_id",
              "type": "string",
              "required": false,
              "description": "Numeric Facebook Page ID of the advertiser (most precise identifier). A non-numeric value is treated as a handle/name search, like name.",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "page_url",
              "type": "string",
              "required": false,
              "description": "Facebook Page URL, e.g. https://www.facebook.com/nike, https://www.facebook.com/profile.php?id=15087023444, or an Ad Library URL with view_all_page_id. Numeric IDs resolve exactly; a vanity handle is matched by page handle, or looked up live as a name when no scraped advertiser has it."
            },
            {
              "name": "name",
              "type": "string",
              "required": false,
              "description": "Advertiser name as it appears on its Facebook page, e.g. \"Nike\". Searched among scraped advertisers, then looked up live in the Ad Library when none matches exactly. Exactly one exact match is tracked; multiple matches return candidates and track nothing.",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "Track by page ID",
              "mcp_params": {
                "page_id": "15087023444",
                "reason": "Start daily tracking of a key competitor"
              },
              "cli_command": "hopkin meta track-competitor --page-id 15087023444",
              "natural_language": "Track by page ID"
            },
            {
              "label": "Track by page URL",
              "mcp_params": {
                "page_url": "https://www.facebook.com/nike",
                "reason": "Track a competitor from their Facebook page link"
              },
              "cli_command": "hopkin meta track-competitor --page-url https://www.facebook.com/nike",
              "natural_language": "Track by page URL"
            },
            {
              "label": "Track by name",
              "mcp_params": {
                "name": "Nike",
                "reason": "Track a competitor known only by name"
              },
              "cli_command": "hopkin meta track-competitor --name Nike",
              "natural_language": "Track by name"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "linkedin_ads_track_competitor",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "meta_ads_untrack_competitor",
          "title": "Untrack Competitor",
          "description": "Stop tracking a Meta advertiser. Removes only your tracking registration — the shared ad corpus is untouched, and untracking an advertiser that was never tracked succeeds with removed: false. Get advertiser IDs from meta_ads_list_tracked_competitors.",
          "cli_command": "hopkin meta untrack-competitor",
          "cli_flags": [
            {
              "flag": "--advertiser-id",
              "description": "The advertiser ID from meta_ads_list_tracked_competitors",
              "type": "string",
              "required": true
            }
          ],
          "category": "untrack-competitor",
          "annotations": {
            "readOnly": false,
            "destructive": true,
            "idempotent": true,
            "openWorld": false
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "advertiser_id": {
                "type": "string",
                "minLength": 1,
                "description": "The advertiser ID from meta_ads_list_tracked_competitors"
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "advertiser_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "advertiser_id",
              "type": "string",
              "required": true,
              "description": "The advertiser ID from meta_ads_list_tracked_competitors",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "Stop tracking",
              "mcp_params": {
                "advertiser_id": "adv-uuid-from-tracked-list",
                "reason": "No longer a relevant competitor"
              },
              "cli_command": "hopkin meta untrack-competitor --advertiser-id adv-uuid-from-tracked-list",
              "natural_language": "Stop tracking"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "linkedin_ads_untrack_competitor",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "meta_ads_list_tracked_competitors",
          "title": "List Tracked Competitors",
          "description": "List the Meta advertisers you are tracking: advertiser name, page ID, when tracking started, last scrape time and status, and the ad count in the corpus for each. Scrape health is flagged per row — advertisers with no successful scrape in the last 48 hours are marked stale, and a non-ok scrape status (blocked, schema_error, empty) carries an explicit scrape_warning; treat flagged rows' corpus data as possibly out of date. Use the returned advertiser IDs with meta_ads_list_competitor_ads to browse their ads. Requires no Meta connection.",
          "cli_command": "hopkin meta tracked-competitors list",
          "cli_flags": [
            {
              "flag": "--limit",
              "description": "Number of tracked competitors per page (default: 20, max: 100)",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--cursor",
              "description": "Pagination cursor from previous response",
              "type": "string",
              "required": false
            }
          ],
          "category": "tracked-competitors",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": false
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "limit": {
                "type": "integer",
                "minimum": 1,
                "maximum": 100,
                "description": "Number of tracked competitors per page (default: 20, max: 100)"
              },
              "cursor": {
                "type": "string",
                "minLength": 1,
                "description": "Pagination cursor from previous response"
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "limit",
              "type": "integer",
              "required": false,
              "description": "Number of tracked competitors per page (default: 20, max: 100)",
              "constraints": {
                "min": 1,
                "max": 100
              }
            },
            {
              "name": "cursor",
              "type": "string",
              "required": false,
              "description": "Pagination cursor from previous response",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "List tracked",
              "mcp_params": {
                "reason": "Review which competitors are being tracked"
              },
              "cli_command": "hopkin meta tracked-competitors list",
              "natural_language": "List tracked"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "linkedin_ads_list_tracked_competitors",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "meta_ads_list_connections",
          "title": "List Meta Connections",
          "description": "List the Meta Ads connections available to you — both ones you own and ones shared with you via an organization. Use this to discover connection IDs for set_default / share / rename / revoke.",
          "cli_command": "hopkin meta connections list",
          "cli_flags": [],
          "category": "connections",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": false
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "List connections",
              "mcp_params": {
                "reason": "User asked which Meta accounts they have connected"
              },
              "cli_command": "hopkin meta connections list",
              "natural_language": "List connections"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "google_ads_list_connections",
              "relationship": "cross-platform"
            },
            {
              "name": "linkedin_ads_list_connections",
              "relationship": "cross-platform"
            },
            {
              "name": "reddit_ads_list_connections",
              "relationship": "cross-platform"
            },
            {
              "name": "tiktok_ads_list_connections",
              "relationship": "cross-platform"
            },
            {
              "name": "chatgpt_ads_list_connections",
              "relationship": "cross-platform"
            },
            {
              "name": "microsoft_ads_list_connections",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "meta_ads_set_default_connection",
          "title": "Set Default Meta Connection",
          "description": "Set the Meta connection that should be used by default for subsequent Meta Ads tool calls. The default is scoped to the calling actor (your user account, or the API key being used).",
          "cli_command": "hopkin meta set-default-connection",
          "cli_flags": [
            {
              "flag": "--connection-id",
              "description": "UUID of the connection to mark as the actor's default Meta connection.",
              "type": "string",
              "required": true
            }
          ],
          "category": "set-default-connection",
          "annotations": {
            "readOnly": false,
            "destructive": false,
            "idempotent": true,
            "openWorld": false
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "UUID of the connection to mark as the actor's default Meta connection."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "connection_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "connection_id",
              "type": "string",
              "required": true,
              "description": "UUID of the connection to mark as the actor's default Meta connection."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "Set default",
              "mcp_params": {
                "connection_id": "00000000-0000-0000-0000-000000000001",
                "reason": "User picked their primary Meta workspace"
              },
              "cli_command": "hopkin meta set-default-connection --connection-id 00000000-0000-0000-0000-000000000001",
              "natural_language": "Set default"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "google_ads_set_default_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "linkedin_ads_set_default_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "reddit_ads_set_default_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "tiktok_ads_set_default_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "chatgpt_ads_set_default_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "microsoft_ads_set_default_connection",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "meta_ads_share_connection",
          "title": "Share Meta Connection With Organization",
          "description": "Share an owned Meta connection with all members of your organization, so teammates can use it without having to reconnect Meta themselves. You must be the owner of the connection.",
          "cli_command": "hopkin meta share-connection",
          "cli_flags": [
            {
              "flag": "--connection-id",
              "description": "UUID of the connection to share with your organization. You must be the owner.",
              "type": "string",
              "required": true
            }
          ],
          "category": "share-connection",
          "annotations": {
            "readOnly": false,
            "destructive": false,
            "idempotent": true,
            "openWorld": false
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "UUID of the connection to share with your organization. You must be the owner."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "connection_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "connection_id",
              "type": "string",
              "required": true,
              "description": "UUID of the connection to share with your organization. You must be the owner."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "Share with org",
              "mcp_params": {
                "connection_id": "00000000-0000-0000-0000-000000000001",
                "reason": "User asked to share this Meta connection with their teammates"
              },
              "cli_command": "hopkin meta share-connection --connection-id 00000000-0000-0000-0000-000000000001",
              "natural_language": "Share with org"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "google_ads_share_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "linkedin_ads_share_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "reddit_ads_share_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "tiktok_ads_share_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "chatgpt_ads_share_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "microsoft_ads_share_connection",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "meta_ads_unshare_connection",
          "title": "Unshare Meta Connection From Organization",
          "description": "Stop sharing an owned Meta connection with your organization. Teammates lose access immediately. You must be the owner.",
          "cli_command": "hopkin meta unshare-connection",
          "cli_flags": [
            {
              "flag": "--connection-id",
              "description": "UUID of the connection to stop sharing with your organization. You must be the owner.",
              "type": "string",
              "required": true
            }
          ],
          "category": "unshare-connection",
          "annotations": {
            "readOnly": false,
            "destructive": true,
            "idempotent": true,
            "openWorld": false
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "UUID of the connection to stop sharing with your organization. You must be the owner."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "connection_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "connection_id",
              "type": "string",
              "required": true,
              "description": "UUID of the connection to stop sharing with your organization. You must be the owner."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "Stop sharing",
              "mcp_params": {
                "connection_id": "00000000-0000-0000-0000-000000000001",
                "reason": "User no longer wants the team to access this Meta connection"
              },
              "cli_command": "hopkin meta unshare-connection --connection-id 00000000-0000-0000-0000-000000000001",
              "natural_language": "Stop sharing"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "google_ads_unshare_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "linkedin_ads_unshare_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "reddit_ads_unshare_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "tiktok_ads_unshare_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "chatgpt_ads_unshare_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "microsoft_ads_unshare_connection",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "meta_ads_rename_connection",
          "title": "Rename Meta Connection",
          "description": "Rename the display name of an owned Meta connection. The OAuth grant and underlying account are unaffected — this only changes the human-readable label. You must be the owner.",
          "cli_command": "hopkin meta rename-connection",
          "cli_flags": [
            {
              "flag": "--connection-id",
              "description": "UUID of the connection to rename. You must be the owner.",
              "type": "string",
              "required": true
            },
            {
              "flag": "--display-name",
              "description": "New human-readable name for the connection.",
              "type": "string",
              "required": true
            }
          ],
          "category": "rename-connection",
          "annotations": {
            "readOnly": false,
            "destructive": false,
            "idempotent": true,
            "openWorld": false
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "UUID of the connection to rename. You must be the owner."
              },
              "display_name": {
                "type": "string",
                "minLength": 1,
                "maxLength": 120,
                "description": "New human-readable name for the connection."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "connection_id",
              "display_name",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "connection_id",
              "type": "string",
              "required": true,
              "description": "UUID of the connection to rename. You must be the owner."
            },
            {
              "name": "display_name",
              "type": "string",
              "required": true,
              "description": "New human-readable name for the connection.",
              "constraints": {
                "min_length": 1,
                "max_length": 120
              }
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "Rename",
              "mcp_params": {
                "connection_id": "00000000-0000-0000-0000-000000000001",
                "display_name": "Acme — Production",
                "reason": "User wanted a clearer label for this Meta connection"
              },
              "cli_command": "hopkin meta rename-connection --connection-id 00000000-0000-0000-0000-000000000001 --display-name Acme — Production",
              "natural_language": "Rename"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "google_ads_rename_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "linkedin_ads_rename_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "reddit_ads_rename_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "tiktok_ads_rename_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "chatgpt_ads_rename_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "microsoft_ads_rename_connection",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "meta_ads_revoke_connection",
          "title": "Revoke Meta Connection",
          "description": "Revoke (soft-delete) an owned Meta connection. Any defaults pointing to it are invalidated and shared org members lose access. The OAuth grant at Meta is NOT revoked by this tool — the user must disconnect via the dashboard if they want to fully revoke at Meta. You must be the owner.",
          "cli_command": "hopkin meta revoke-connection",
          "cli_flags": [
            {
              "flag": "--connection-id",
              "description": "UUID of the connection to revoke. You must be the owner.",
              "type": "string",
              "required": true
            }
          ],
          "category": "revoke-connection",
          "annotations": {
            "readOnly": false,
            "destructive": true,
            "idempotent": true,
            "openWorld": false
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "UUID of the connection to revoke. You must be the owner."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "connection_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "connection_id",
              "type": "string",
              "required": true,
              "description": "UUID of the connection to revoke. You must be the owner."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "Revoke",
              "mcp_params": {
                "connection_id": "00000000-0000-0000-0000-000000000001",
                "reason": "User asked to disconnect this Meta account"
              },
              "cli_command": "hopkin meta revoke-connection --connection-id 00000000-0000-0000-0000-000000000001",
              "natural_language": "Revoke"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "google_ads_revoke_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "linkedin_ads_revoke_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "reddit_ads_revoke_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "tiktok_ads_revoke_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "chatgpt_ads_revoke_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "microsoft_ads_revoke_connection",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "meta_ads_list_custom_conversions",
          "title": "List Meta Custom Conversions",
          "description": "List custom conversion definitions for a Meta ad account, including ID, name, custom_event_type, event_source_id, rule JSON, retention_days, default_conversion_value, and description. Use this to inspect tracking setup and understand URL/event matching rules behind conversions such as offsite_conversion.fb_pixel_custom.*.",
          "cli_command": "hopkin meta custom-conversions list",
          "cli_flags": [
            {
              "flag": "--account",
              "description": "The ad account ID (with or without act_ prefix)",
              "type": "string",
              "required": true
            },
            {
              "flag": "--limit",
              "description": "Custom conversions per page (default: 100, max: 100)",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--cursor",
              "description": "Pagination cursor from previous response",
              "type": "string",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "custom-conversions",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "account_id": {
                "type": "string",
                "minLength": 1,
                "description": "The ad account ID (with or without act_ prefix)"
              },
              "limit": {
                "type": "integer",
                "minimum": 1,
                "maximum": 100,
                "default": 100,
                "description": "Custom conversions per page (default: 100, max: 100)"
              },
              "cursor": {
                "type": "string",
                "minLength": 1,
                "description": "Pagination cursor from previous response"
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              }
            },
            "required": [
              "account_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "account_id",
              "type": "string",
              "required": true,
              "description": "The ad account ID (with or without act_ prefix)",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "limit",
              "type": "integer",
              "required": false,
              "description": "Custom conversions per page (default: 100, max: 100)",
              "default": 100,
              "constraints": {
                "min": 1,
                "max": 100
              }
            },
            {
              "name": "cursor",
              "type": "string",
              "required": false,
              "description": "Pagination cursor from previous response",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            }
          ],
          "examples": [
            {
              "label": "Audit tracking rules",
              "mcp_params": {
                "account_id": "act_123456789",
                "reason": "Inspect custom conversion URL and event matching rules"
              },
              "cli_command": "hopkin meta custom-conversions list --account act_123456789",
              "natural_language": "Audit tracking rules"
            },
            {
              "label": "Find SurveyClick rule",
              "mcp_params": {
                "account_id": "123456789",
                "reason": "Brief PM on how SurveyClick custom conversion is triggered"
              },
              "cli_command": "hopkin meta custom-conversions list --account 123456789",
              "natural_language": "Find SurveyClick rule"
            }
          ],
          "response_format": "markdown",
          "related_tools": [],
          "tool_type": "standard"
        },
        {
          "name": "meta_ads_developer_feedback",
          "title": "Submit Developer Feedback",
          "description": "Submit feedback about missing tools, improvements, bugs, or workflow gaps in the MCP toolset. Not for user-facing issues like auth or API errors.",
          "cli_command": "hopkin meta developer-feedback send",
          "cli_flags": [
            {
              "flag": "--feedback-type",
              "description": "Feedback category: new_tool (request new capability), improvement (enhance existing tool), bug (report issue), workflow_gap (missing workflow)",
              "type": "string",
              "required": true
            },
            {
              "flag": "--title",
              "description": "Concise title summarizing the feedback",
              "type": "string",
              "required": true
            },
            {
              "flag": "--description",
              "description": "What is needed and why",
              "type": "string",
              "required": true
            },
            {
              "flag": "--current-workaround",
              "description": "Current workaround, if any",
              "type": "string",
              "required": false
            },
            {
              "flag": "--priority",
              "description": "Impact level: low (nice-to-have), medium (improves workflow), high (blocking issue)",
              "type": "string",
              "required": false
            },
            {
              "flag": "--interface",
              "description": "Interface the feedback originated from: MCP (default) or CLI",
              "type": "string",
              "required": false
            }
          ],
          "category": "feedback",
          "annotations": {
            "readOnly": false,
            "destructive": false,
            "idempotent": true,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "feedback_type": {
                "type": "string",
                "enum": [
                  "new_tool",
                  "improvement",
                  "bug",
                  "workflow_gap"
                ],
                "description": "Feedback category: new_tool (request new capability), improvement (enhance existing tool), bug (report issue), workflow_gap (missing workflow)"
              },
              "title": {
                "type": "string",
                "minLength": 5,
                "maxLength": 200,
                "description": "Concise title summarizing the feedback"
              },
              "description": {
                "type": "string",
                "minLength": 20,
                "maxLength": 2000,
                "description": "What is needed and why"
              },
              "current_workaround": {
                "type": "string",
                "maxLength": 1000,
                "description": "Current workaround, if any"
              },
              "priority": {
                "type": "string",
                "enum": [
                  "low",
                  "medium",
                  "high"
                ],
                "default": "medium",
                "description": "Impact level: low (nice-to-have), medium (improves workflow), high (blocking issue)"
              },
              "interface": {
                "type": "string",
                "enum": [
                  "MCP",
                  "CLI"
                ],
                "default": "MCP",
                "description": "Interface the feedback originated from: MCP (default) or CLI"
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "feedback_type",
              "title",
              "description",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "feedback_type",
              "type": "string",
              "required": true,
              "description": "Feedback category: new_tool (request new capability), improvement (enhance existing tool), bug (report issue), workflow_gap (missing workflow)",
              "enum_values": [
                "new_tool",
                "improvement",
                "bug",
                "workflow_gap"
              ]
            },
            {
              "name": "title",
              "type": "string",
              "required": true,
              "description": "Concise title summarizing the feedback",
              "constraints": {
                "min_length": 5,
                "max_length": 200
              }
            },
            {
              "name": "description",
              "type": "string",
              "required": true,
              "description": "What is needed and why",
              "constraints": {
                "min_length": 20,
                "max_length": 2000
              }
            },
            {
              "name": "current_workaround",
              "type": "string",
              "required": false,
              "description": "Current workaround, if any",
              "constraints": {
                "max_length": 1000
              }
            },
            {
              "name": "priority",
              "type": "string",
              "required": false,
              "description": "Impact level: low (nice-to-have), medium (improves workflow), high (blocking issue)",
              "enum_values": [
                "low",
                "medium",
                "high"
              ],
              "default": "medium"
            },
            {
              "name": "interface",
              "type": "string",
              "required": false,
              "description": "Interface the feedback originated from: MCP (default) or CLI",
              "enum_values": [
                "MCP",
                "CLI"
              ],
              "default": "MCP"
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "Missing tool",
              "mcp_params": {
                "feedback_type": "new_tool",
                "title": "Bulk campaign status toggle",
                "description": "Need to pause/enable multiple campaigns at once",
                "priority": "high",
                "reason": "User asked to pause 12 campaigns individually"
              },
              "cli_command": "hopkin meta developer-feedback send --feedback-type new_tool --title Bulk campaign status toggle --description Need to pause/enable multiple campaigns at once --priority high",
              "natural_language": "Missing tool"
            },
            {
              "label": "Workflow gap",
              "mcp_params": {
                "feedback_type": "workflow_gap",
                "title": "Campaign cloning with hierarchy",
                "description": "No way to duplicate a campaign including adsets and ads",
                "current_workaround": "Read and recreate each level one by one",
                "reason": "User wanted to duplicate campaign structure"
              },
              "cli_command": "hopkin meta developer-feedback send --feedback-type workflow_gap --title Campaign cloning with hierarchy --description No way to duplicate a campaign including adsets and ads --current-workaround Read and recreate each level one by one",
              "natural_language": "Workflow gap"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "google_ads_developer_feedback",
              "relationship": "cross-platform"
            },
            {
              "name": "linkedin_ads_developer_feedback",
              "relationship": "cross-platform"
            },
            {
              "name": "reddit_ads_developer_feedback",
              "relationship": "cross-platform"
            },
            {
              "name": "tiktok_ads_developer_feedback",
              "relationship": "cross-platform"
            },
            {
              "name": "chatgpt_ads_developer_feedback",
              "relationship": "cross-platform"
            },
            {
              "name": "microsoft_ads_developer_feedback",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "meta_ads_get_insights",
          "title": "Get Meta Ads Insights",
          "description": "Retrieve performance metrics from Meta Ads with date presets/custom ranges, time grouping, entity-level aggregation, dimensional breakdowns, and filtering. Always fetches fresh data. Provide date_preset or time_range. For standard full-funnel analysis, prefer meta_ads_get_performance_report; use this for custom fields, hourly/creative-asset breakdowns, video metrics, or the \\",
          "cli_command": "hopkin meta insights get",
          "cli_flags": [
            {
              "flag": "--account",
              "description": "Meta ad account ID",
              "type": "string",
              "required": true
            },
            {
              "flag": "--date-preset",
              "description": "Predefined date range: today, yesterday, last_3d, last_7d, last_14d, last_28d, last_30d, last_90d, this_month, last_month, this_quarter, last_quarter, this_year, last_year, lifetime, maximum",
              "type": "string",
              "required": false
            },
            {
              "flag": "--time-range",
              "description": "Custom date range {since, until} in YYYY-MM-DD",
              "type": "object",
              "required": false
            },
            {
              "flag": "--time-increment",
              "description": "Time grouping: 1=daily, 7=weekly, or \"monthly\"",
              "type": "object",
              "required": false
            },
            {
              "flag": "--level",
              "description": "Aggregation level: account, campaign, adset, ad",
              "type": "string",
              "required": false
            },
            {
              "flag": "--fields",
              "description": "Metrics to retrieve (defaults to standard set)",
              "type": "array",
              "required": false
            },
            {
              "flag": "--breakdowns",
              "description": "Dimensions to segment data by. Pass multiple values in a single call to get cross-tabulated rows (e.g. [\"age\",\"gender\"] → one row per \"35-44 / female\" segment). Do NOT make separate calls for each dimension. Available: age, gender, country, region, dma, device_platform, publisher_platform, platform_position, impression_device, frequency_value, place_page_id, product_id, ad_format_asset, body_asset, call_to_action_asset, description_asset, image_asset, link_url_asset, title_asset, video_asset, user_segment_key. Note: `platform_position` is always paired with `publisher_platform` (Meta requires both; added automatically if omitted). Note: `frequency_value` is compatible only with `fields: [\"reach\"]` and cannot be combined with other breakdowns or with action_breakdowns; the tool rejects incompatible calls. Note: `user_segment_key` is Meta's \"Audience Segments\" breakdown for Sales-objective campaigns (Advantage+ sales; the legacy Advantage+ Shopping flow was retired in v24). Returned values: prospecting, engaged, existing, unknown (lowercase); everything is `unknown` when the ad account has no audience segments defined. Cross-tabulation with demographic breakdowns like age is rejected by Meta's API — combine with country if needed; use separate calls for demographic splits.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--action-breakdowns",
              "description": "Action breakdown dimensions: action_type, action_target_id, action_destination, action_reaction, action_video_sound, action_video_type, action_carousel_card_id, action_carousel_card_name",
              "type": "array",
              "required": false
            },
            {
              "flag": "--filtering",
              "description": "Filters as [{field, operator, value}]",
              "type": "array",
              "required": false
            },
            {
              "flag": "--action-attribution-windows",
              "description": "Attribution windows for action/conversion metrics. When omitted, each action has a single `value` counted under its ad set's own attribution_setting, as in Ads Manager (add `attribution_setting` to fields to see it). Listing windows adds one key per window to each action, e.g. [\"7d_click\"] for 7-day click only. Available: 1d_click, 7d_click, 28d_click, 1d_view, 1d_ev, default. 7d_view and 28d_view were removed by Meta on 2026-01-12: still accepted, but Meta returns no key for them.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--limit",
              "description": "Maximum number of rows per page (default: 100, max: 500)",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--cursor",
              "description": "Pagination cursor from previous response",
              "type": "string",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "insights",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": false
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "account_id": {
                "type": "string",
                "minLength": 1,
                "description": "Meta ad account ID"
              },
              "date_preset": {
                "type": "string",
                "enum": [
                  "today",
                  "yesterday",
                  "this_week_mon_today",
                  "this_week_sun_today",
                  "last_week_mon_sun",
                  "last_week_sun_sat",
                  "this_month",
                  "last_month",
                  "this_quarter",
                  "last_quarter",
                  "this_year",
                  "last_year",
                  "last_3d",
                  "last_7d",
                  "last_14d",
                  "last_28d",
                  "last_30d",
                  "last_90d",
                  "lifetime",
                  "maximum"
                ],
                "description": "Predefined date range: today, yesterday, last_3d, last_7d, last_14d, last_28d, last_30d, last_90d, this_month, last_month, this_quarter, last_quarter, this_year, last_year, lifetime, maximum"
              },
              "time_range": {
                "type": "object",
                "properties": {
                  "since": {
                    "type": "string",
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                    "description": "Start date (YYYY-MM-DD)"
                  },
                  "until": {
                    "type": "string",
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                    "description": "End date (YYYY-MM-DD)"
                  }
                },
                "required": [
                  "since",
                  "until"
                ],
                "additionalProperties": false,
                "description": "Custom date range {since, until} in YYYY-MM-DD"
              },
              "time_increment": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 90
                  },
                  {
                    "type": "string",
                    "const": "monthly"
                  },
                  {
                    "type": "string",
                    "const": "all_days"
                  }
                ],
                "description": "Time grouping: 1=daily, 7=weekly, or \"monthly\""
              },
              "level": {
                "type": "string",
                "enum": [
                  "account",
                  "campaign",
                  "adset",
                  "ad"
                ],
                "description": "Aggregation level: account, campaign, adset, ad"
              },
              "fields": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1
                },
                "description": "Metrics to retrieve (defaults to standard set)"
              },
              "breakdowns": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "age",
                    "gender",
                    "country",
                    "region",
                    "dma",
                    "device_platform",
                    "publisher_platform",
                    "platform_position",
                    "impression_device",
                    "hourly_stats_aggregated_by_advertiser_time_zone",
                    "hourly_stats_aggregated_by_audience_time_zone",
                    "frequency_value",
                    "place_page_id",
                    "product_id",
                    "ad_format_asset",
                    "body_asset",
                    "call_to_action_asset",
                    "description_asset",
                    "image_asset",
                    "link_url_asset",
                    "title_asset",
                    "video_asset",
                    "user_segment_key"
                  ]
                },
                "description": "Dimensions to segment data by. Pass multiple values in a single call to get cross-tabulated rows (e.g. [\"age\",\"gender\"] → one row per \"35-44 / female\" segment). Do NOT make separate calls for each dimension. Available: age, gender, country, region, dma, device_platform, publisher_platform, platform_position, impression_device, frequency_value, place_page_id, product_id, ad_format_asset, body_asset, call_to_action_asset, description_asset, image_asset, link_url_asset, title_asset, video_asset, user_segment_key. Note: `platform_position` is always paired with `publisher_platform` (Meta requires both; added automatically if omitted). Note: `frequency_value` is compatible only with `fields: [\"reach\"]` and cannot be combined with other breakdowns or with action_breakdowns; the tool rejects incompatible calls. Note: `user_segment_key` is Meta's \"Audience Segments\" breakdown for Sales-objective campaigns (Advantage+ sales; the legacy Advantage+ Shopping flow was retired in v24). Returned values: prospecting, engaged, existing, unknown (lowercase); everything is `unknown` when the ad account has no audience segments defined. Cross-tabulation with demographic breakdowns like age is rejected by Meta's API — combine with country if needed; use separate calls for demographic splits."
              },
              "action_breakdowns": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "action_type",
                    "action_target_id",
                    "action_destination",
                    "action_reaction",
                    "action_video_sound",
                    "action_video_type",
                    "action_carousel_card_id",
                    "action_carousel_card_name"
                  ]
                },
                "description": "Action breakdown dimensions: action_type, action_target_id, action_destination, action_reaction, action_video_sound, action_video_type, action_carousel_card_id, action_carousel_card_name"
              },
              "filtering": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "field": {
                      "type": "string",
                      "minLength": 1,
                      "description": "Field to filter on"
                    },
                    "operator": {
                      "type": "string",
                      "enum": [
                        "EQUAL",
                        "NOT_EQUAL",
                        "GREATER_THAN",
                        "LESS_THAN",
                        "IN",
                        "NOT_IN",
                        "CONTAIN",
                        "NOT_CONTAIN"
                      ],
                      "description": "Comparison operator"
                    },
                    "value": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "number"
                        },
                        {
                          "type": "array",
                          "items": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "number"
                              }
                            ]
                          }
                        }
                      ],
                      "description": "Value(s) to compare against — numbers are coerced to strings automatically"
                    }
                  },
                  "required": [
                    "field",
                    "operator",
                    "value"
                  ],
                  "additionalProperties": false
                },
                "description": "Filters as [{field, operator, value}]"
              },
              "action_attribution_windows": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "1d_click",
                    "7d_click",
                    "28d_click",
                    "1d_view",
                    "7d_view",
                    "28d_view",
                    "1d_ev",
                    "default"
                  ]
                },
                "description": "Attribution windows for action/conversion metrics. When omitted, each action has a single `value` counted under its ad set's own attribution_setting, as in Ads Manager (add `attribution_setting` to fields to see it). Listing windows adds one key per window to each action, e.g. [\"7d_click\"] for 7-day click only. Available: 1d_click, 7d_click, 28d_click, 1d_view, 1d_ev, default. 7d_view and 28d_view were removed by Meta on 2026-01-12: still accepted, but Meta returns no key for them."
              },
              "limit": {
                "type": "integer",
                "minimum": 1,
                "maximum": 500,
                "description": "Maximum number of rows per page (default: 100, max: 500)"
              },
              "cursor": {
                "type": "string",
                "minLength": 1,
                "description": "Pagination cursor from previous response"
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              }
            },
            "required": [
              "account_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "account_id",
              "type": "string",
              "required": true,
              "description": "Meta ad account ID",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "date_preset",
              "type": "string",
              "required": false,
              "description": "Predefined date range: today, yesterday, last_3d, last_7d, last_14d, last_28d, last_30d, last_90d, this_month, last_month, this_quarter, last_quarter, this_year, last_year, lifetime, maximum",
              "enum_values": [
                "today",
                "yesterday",
                "this_week_mon_today",
                "this_week_sun_today",
                "last_week_mon_sun",
                "last_week_sun_sat",
                "this_month",
                "last_month",
                "this_quarter",
                "last_quarter",
                "this_year",
                "last_year",
                "last_3d",
                "last_7d",
                "last_14d",
                "last_28d",
                "last_30d",
                "last_90d",
                "lifetime",
                "maximum"
              ]
            },
            {
              "name": "time_range",
              "type": "object",
              "required": false,
              "description": "Custom date range {since, until} in YYYY-MM-DD"
            },
            {
              "name": "time_increment",
              "type": "object",
              "required": false,
              "description": "Time grouping: 1=daily, 7=weekly, or \"monthly\""
            },
            {
              "name": "level",
              "type": "string",
              "required": false,
              "description": "Aggregation level: account, campaign, adset, ad",
              "enum_values": [
                "account",
                "campaign",
                "adset",
                "ad"
              ]
            },
            {
              "name": "fields",
              "type": "array",
              "required": false,
              "description": "Metrics to retrieve (defaults to standard set)"
            },
            {
              "name": "breakdowns",
              "type": "array",
              "required": false,
              "description": "Dimensions to segment data by. Pass multiple values in a single call to get cross-tabulated rows (e.g. [\"age\",\"gender\"] → one row per \"35-44 / female\" segment). Do NOT make separate calls for each dimension. Available: age, gender, country, region, dma, device_platform, publisher_platform, platform_position, impression_device, frequency_value, place_page_id, product_id, ad_format_asset, body_asset, call_to_action_asset, description_asset, image_asset, link_url_asset, title_asset, video_asset, user_segment_key. Note: `platform_position` is always paired with `publisher_platform` (Meta requires both; added automatically if omitted). Note: `frequency_value` is compatible only with `fields: [\"reach\"]` and cannot be combined with other breakdowns or with action_breakdowns; the tool rejects incompatible calls. Note: `user_segment_key` is Meta's \"Audience Segments\" breakdown for Sales-objective campaigns (Advantage+ sales; the legacy Advantage+ Shopping flow was retired in v24). Returned values: prospecting, engaged, existing, unknown (lowercase); everything is `unknown` when the ad account has no audience segments defined. Cross-tabulation with demographic breakdowns like age is rejected by Meta's API — combine with country if needed; use separate calls for demographic splits."
            },
            {
              "name": "action_breakdowns",
              "type": "array",
              "required": false,
              "description": "Action breakdown dimensions: action_type, action_target_id, action_destination, action_reaction, action_video_sound, action_video_type, action_carousel_card_id, action_carousel_card_name"
            },
            {
              "name": "filtering",
              "type": "array",
              "required": false,
              "description": "Filters as [{field, operator, value}]"
            },
            {
              "name": "action_attribution_windows",
              "type": "array",
              "required": false,
              "description": "Attribution windows for action/conversion metrics. When omitted, each action has a single `value` counted under its ad set's own attribution_setting, as in Ads Manager (add `attribution_setting` to fields to see it). Listing windows adds one key per window to each action, e.g. [\"7d_click\"] for 7-day click only. Available: 1d_click, 7d_click, 28d_click, 1d_view, 1d_ev, default. 7d_view and 28d_view were removed by Meta on 2026-01-12: still accepted, but Meta returns no key for them."
            },
            {
              "name": "limit",
              "type": "integer",
              "required": false,
              "description": "Maximum number of rows per page (default: 100, max: 500)",
              "constraints": {
                "min": 1,
                "max": 500
              }
            },
            {
              "name": "cursor",
              "type": "string",
              "required": false,
              "description": "Pagination cursor from previous response",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            }
          ],
          "examples": [
            {
              "label": "7-day click only conversions",
              "mcp_params": {
                "account_id": "act_123456789",
                "date_preset": "last_7d",
                "action_attribution_windows": [
                  "7d_click"
                ],
                "reason": "Isolate 7-day click attribution conversions for accurate ROAS measurement"
              },
              "cli_command": "hopkin meta insights get --account act_123456789 --date-preset last_7d --action-attribution-windows 7d_click",
              "natural_language": "7-day click only conversions"
            },
            {
              "label": "Age and gender breakdown",
              "mcp_params": {
                "account_id": "act_123",
                "date_preset": "last_7d",
                "breakdowns": [
                  "age",
                  "gender"
                ],
                "reason": "Demographic breakdown not available in performance report"
              },
              "cli_command": "hopkin meta insights get --account act_123 --date-preset last_7d --breakdowns age,gender",
              "natural_language": "Age and gender breakdown"
            },
            {
              "label": "Publisher platform breakdown",
              "mcp_params": {
                "account_id": "act_123",
                "date_preset": "last_7d",
                "level": "adset",
                "breakdowns": [
                  "publisher_platform",
                  "platform_position"
                ],
                "reason": "Placement breakdown by publisher and position"
              },
              "cli_command": "hopkin meta insights get --account act_123 --date-preset last_7d --level adset --breakdowns publisher_platform,platform_position",
              "natural_language": "Publisher platform breakdown"
            },
            {
              "label": "Video asset metrics",
              "mcp_params": {
                "account_id": "act_123",
                "date_preset": "last_7d",
                "level": "ad",
                "fields": [
                  "video_p25_watched_actions",
                  "video_p50_watched_actions",
                  "video_p75_watched_actions",
                  "video_p100_watched_actions",
                  "video_avg_time_watched_actions"
                ],
                "reason": "Video completion funnel for creative analysis"
              },
              "cli_command": "hopkin meta insights get --account act_123 --date-preset last_7d --level ad --fields video_p25_watched_actions,video_p50_watched_actions,video_p75_watched_actions,video_p100_watched_actions,video_avg_time_watched_actions",
              "natural_language": "Video asset metrics"
            },
            {
              "label": "Frequency-bucket reach",
              "mcp_params": {
                "account_id": "act_123",
                "date_preset": "last_30d",
                "breakdowns": [
                  "frequency_value"
                ],
                "fields": [
                  "reach"
                ],
                "reason": "Distribution of unique users by exposure frequency (1×, 2×, 3+); frequency_value is reach-only per Meta"
              },
              "cli_command": "hopkin meta insights get --account act_123 --date-preset last_30d --breakdowns frequency_value --fields reach",
              "natural_language": "Frequency-bucket reach"
            },
            {
              "label": "Audience-segment split (prospecting vs engaged vs existing vs unknown)",
              "mcp_params": {
                "account_id": "act_123",
                "date_preset": "last_7d",
                "level": "campaign",
                "breakdowns": [
                  "user_segment_key"
                ],
                "filtering": [
                  {
                    "field": "campaign.objective",
                    "operator": "EQUAL",
                    "value": "OUTCOME_SALES"
                  }
                ],
                "reason": "Weekly WoW report for an Advantage+ sales campaign — split spend/conversions by acquisition (prospecting) vs retargeting (engaged) vs existing customers"
              },
              "cli_command": "hopkin meta insights get --account act_123 --date-preset last_7d --level campaign --breakdowns user_segment_key --filtering [object Object]",
              "natural_language": "Audience-segment split (prospecting vs engaged vs existing vs unknown)"
            }
          ],
          "response_format": "json",
          "related_tools": [
            {
              "name": "google_ads_get_insights",
              "relationship": "cross-platform"
            },
            {
              "name": "linkedin_ads_get_insights",
              "relationship": "cross-platform"
            },
            {
              "name": "tiktok_ads_get_insights",
              "relationship": "cross-platform"
            },
            {
              "name": "chatgpt_ads_get_insights",
              "relationship": "cross-platform"
            },
            {
              "name": "microsoft_ads_get_insights",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "meta_ads_get_performance_report",
          "title": "Get Meta Ads Performance Report",
          "description": "Full impression-to-conversion funnel report with delivery, engagement, actions, conversions, ROAS, and quality rankings. Supports breakdowns by device (impression_device), demographics (age, gender), geography (country, region, dma), and platform (device_platform, publisher_platform, platform_position). For Sales-objective campaigns (Advantage+ sales), supports \\",
          "cli_command": "hopkin meta performance-report get",
          "cli_flags": [
            {
              "flag": "--account",
              "description": "Meta ad account ID",
              "type": "string",
              "required": true
            },
            {
              "flag": "--time-range",
              "description": "Required date range {since, until} in YYYY-MM-DD",
              "type": "object",
              "required": true
            },
            {
              "flag": "--time-increment",
              "description": "Time grouping: 1=daily, 7=weekly, or \"monthly\"",
              "type": "object",
              "required": false
            },
            {
              "flag": "--level",
              "description": "Aggregation level (default: account): account, campaign, adset, ad",
              "type": "string",
              "required": false
            },
            {
              "flag": "--breakdowns",
              "description": "Dimensions to segment data by. Pass multiple values in a single call to get cross-tabulated rows (e.g. [\"age\",\"gender\"] → one row per \"35-44 / female\" segment). Do NOT make separate calls for each dimension. Available: age, gender, country, region, device_platform, publisher_platform, platform_position, impression_device, dma, user_segment_key. Note: `platform_position` is always paired with `publisher_platform` (Meta requires both; added automatically if omitted). Note: `user_segment_key` is Meta's \"Audience Segments\" breakdown for Sales-objective campaigns (Advantage+ sales; the legacy Advantage+ Shopping flow was retired in v24). Returned values: prospecting, engaged, existing, unknown (lowercase); everything is `unknown` when the ad account has no audience segments defined. Cross-tabulation with demographic breakdowns like age is rejected by Meta's API — combine with country if needed; use separate calls for demographic splits.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--filtering",
              "description": "Filters as [{field, operator, value}]",
              "type": "array",
              "required": false
            },
            {
              "flag": "--action-attribution-windows",
              "description": "Attribution windows for action/conversion metrics. When omitted, each action has a single `value` counted under its ad set's own attribution_setting, as in Ads Manager (this report does not return the setting; call meta_ads_get_insights with fields: [\"attribution_setting\"] to see it). Listing windows adds one key per window to each action, e.g. [\"7d_click\"] for 7-day click only. Available: 1d_click, 7d_click, 28d_click, 1d_view, 1d_ev, default. 7d_view and 28d_view were removed by Meta on 2026-01-12: still accepted, but Meta returns no key for them.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--limit",
              "description": "Maximum number of rows per page (default: 100, max: 500)",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--cursor",
              "description": "Pagination cursor from previous response",
              "type": "string",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "reporting",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": false
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "account_id": {
                "type": "string",
                "minLength": 1,
                "description": "Meta ad account ID"
              },
              "time_range": {
                "type": "object",
                "properties": {
                  "since": {
                    "type": "string",
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                    "description": "Start date (YYYY-MM-DD)"
                  },
                  "until": {
                    "type": "string",
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                    "description": "End date (YYYY-MM-DD)"
                  }
                },
                "required": [
                  "since",
                  "until"
                ],
                "additionalProperties": false,
                "description": "Required date range {since, until} in YYYY-MM-DD"
              },
              "time_increment": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 90
                  },
                  {
                    "type": "string",
                    "const": "monthly"
                  },
                  {
                    "type": "string",
                    "const": "all_days"
                  }
                ],
                "description": "Time grouping: 1=daily, 7=weekly, or \"monthly\""
              },
              "level": {
                "type": "string",
                "enum": [
                  "account",
                  "campaign",
                  "adset",
                  "ad"
                ],
                "description": "Aggregation level (default: account): account, campaign, adset, ad"
              },
              "breakdowns": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "age",
                    "gender",
                    "country",
                    "region",
                    "device_platform",
                    "publisher_platform",
                    "platform_position",
                    "impression_device",
                    "dma",
                    "user_segment_key"
                  ]
                },
                "description": "Dimensions to segment data by. Pass multiple values in a single call to get cross-tabulated rows (e.g. [\"age\",\"gender\"] → one row per \"35-44 / female\" segment). Do NOT make separate calls for each dimension. Available: age, gender, country, region, device_platform, publisher_platform, platform_position, impression_device, dma, user_segment_key. Note: `platform_position` is always paired with `publisher_platform` (Meta requires both; added automatically if omitted). Note: `user_segment_key` is Meta's \"Audience Segments\" breakdown for Sales-objective campaigns (Advantage+ sales; the legacy Advantage+ Shopping flow was retired in v24). Returned values: prospecting, engaged, existing, unknown (lowercase); everything is `unknown` when the ad account has no audience segments defined. Cross-tabulation with demographic breakdowns like age is rejected by Meta's API — combine with country if needed; use separate calls for demographic splits."
              },
              "filtering": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "field": {
                      "type": "string",
                      "minLength": 1,
                      "description": "Field to filter on"
                    },
                    "operator": {
                      "type": "string",
                      "enum": [
                        "EQUAL",
                        "NOT_EQUAL",
                        "GREATER_THAN",
                        "LESS_THAN",
                        "IN",
                        "NOT_IN",
                        "CONTAIN",
                        "NOT_CONTAIN"
                      ],
                      "description": "Comparison operator"
                    },
                    "value": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "number"
                        },
                        {
                          "type": "array",
                          "items": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "number"
                              }
                            ]
                          }
                        }
                      ],
                      "description": "Value(s) to compare against — numbers are coerced to strings automatically"
                    }
                  },
                  "required": [
                    "field",
                    "operator",
                    "value"
                  ],
                  "additionalProperties": false
                },
                "description": "Filters as [{field, operator, value}]"
              },
              "action_attribution_windows": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "1d_click",
                    "7d_click",
                    "28d_click",
                    "1d_view",
                    "7d_view",
                    "28d_view",
                    "1d_ev",
                    "default"
                  ]
                },
                "description": "Attribution windows for action/conversion metrics. When omitted, each action has a single `value` counted under its ad set's own attribution_setting, as in Ads Manager (this report does not return the setting; call meta_ads_get_insights with fields: [\"attribution_setting\"] to see it). Listing windows adds one key per window to each action, e.g. [\"7d_click\"] for 7-day click only. Available: 1d_click, 7d_click, 28d_click, 1d_view, 1d_ev, default. 7d_view and 28d_view were removed by Meta on 2026-01-12: still accepted, but Meta returns no key for them."
              },
              "limit": {
                "type": "integer",
                "minimum": 1,
                "maximum": 500,
                "description": "Maximum number of rows per page (default: 100, max: 500)"
              },
              "cursor": {
                "type": "string",
                "minLength": 1,
                "description": "Pagination cursor from previous response"
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              }
            },
            "required": [
              "account_id",
              "time_range",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "account_id",
              "type": "string",
              "required": true,
              "description": "Meta ad account ID",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "time_range",
              "type": "object",
              "required": true,
              "description": "Required date range {since, until} in YYYY-MM-DD"
            },
            {
              "name": "time_increment",
              "type": "object",
              "required": false,
              "description": "Time grouping: 1=daily, 7=weekly, or \"monthly\""
            },
            {
              "name": "level",
              "type": "string",
              "required": false,
              "description": "Aggregation level (default: account): account, campaign, adset, ad",
              "enum_values": [
                "account",
                "campaign",
                "adset",
                "ad"
              ]
            },
            {
              "name": "breakdowns",
              "type": "array",
              "required": false,
              "description": "Dimensions to segment data by. Pass multiple values in a single call to get cross-tabulated rows (e.g. [\"age\",\"gender\"] → one row per \"35-44 / female\" segment). Do NOT make separate calls for each dimension. Available: age, gender, country, region, device_platform, publisher_platform, platform_position, impression_device, dma, user_segment_key. Note: `platform_position` is always paired with `publisher_platform` (Meta requires both; added automatically if omitted). Note: `user_segment_key` is Meta's \"Audience Segments\" breakdown for Sales-objective campaigns (Advantage+ sales; the legacy Advantage+ Shopping flow was retired in v24). Returned values: prospecting, engaged, existing, unknown (lowercase); everything is `unknown` when the ad account has no audience segments defined. Cross-tabulation with demographic breakdowns like age is rejected by Meta's API — combine with country if needed; use separate calls for demographic splits."
            },
            {
              "name": "filtering",
              "type": "array",
              "required": false,
              "description": "Filters as [{field, operator, value}]"
            },
            {
              "name": "action_attribution_windows",
              "type": "array",
              "required": false,
              "description": "Attribution windows for action/conversion metrics. When omitted, each action has a single `value` counted under its ad set's own attribution_setting, as in Ads Manager (this report does not return the setting; call meta_ads_get_insights with fields: [\"attribution_setting\"] to see it). Listing windows adds one key per window to each action, e.g. [\"7d_click\"] for 7-day click only. Available: 1d_click, 7d_click, 28d_click, 1d_view, 1d_ev, default. 7d_view and 28d_view were removed by Meta on 2026-01-12: still accepted, but Meta returns no key for them."
            },
            {
              "name": "limit",
              "type": "integer",
              "required": false,
              "description": "Maximum number of rows per page (default: 100, max: 500)",
              "constraints": {
                "min": 1,
                "max": 500
              }
            },
            {
              "name": "cursor",
              "type": "string",
              "required": false,
              "description": "Pagination cursor from previous response",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            }
          ],
          "examples": [
            {
              "label": "Account overview",
              "mcp_params": {
                "account_id": "act_123",
                "time_range": {
                  "since": "2024-01-01",
                  "until": "2024-01-31"
                },
                "reason": "Monthly performance review"
              },
              "cli_command": "hopkin meta performance-report get --account act_123 --time-range [object Object]",
              "natural_language": "Account overview"
            },
            {
              "label": "Campaign comparison",
              "mcp_params": {
                "account_id": "act_123",
                "time_range": {
                  "since": "2024-01-01",
                  "until": "2024-01-31"
                },
                "level": "campaign",
                "reason": "Compare campaign performance"
              },
              "cli_command": "hopkin meta performance-report get --account act_123 --time-range [object Object] --level campaign",
              "natural_language": "Campaign comparison"
            },
            {
              "label": "Daily trend",
              "mcp_params": {
                "account_id": "act_123",
                "time_range": {
                  "since": "2024-01-01",
                  "until": "2024-01-07"
                },
                "time_increment": 1,
                "reason": "Daily performance trend"
              },
              "cli_command": "hopkin meta performance-report get --account act_123 --time-range [object Object] --time-increment 1",
              "natural_language": "Daily trend"
            },
            {
              "label": "Demographics",
              "mcp_params": {
                "account_id": "act_123",
                "time_range": {
                  "since": "2024-01-01",
                  "until": "2024-01-31"
                },
                "breakdowns": [
                  "age",
                  "gender"
                ],
                "reason": "Demographic analysis"
              },
              "cli_command": "hopkin meta performance-report get --account act_123 --time-range [object Object] --breakdowns age,gender",
              "natural_language": "Demographics"
            },
            {
              "label": "Device breakdown",
              "mcp_params": {
                "account_id": "act_123",
                "date_preset": "last_30d",
                "level": "campaign",
                "breakdowns": [
                  "impression_device"
                ],
                "reason": "Device performance analysis"
              },
              "cli_command": "hopkin meta performance-report get --account act_123 --date-preset last_30d --level campaign --breakdowns impression_device",
              "natural_language": "Device breakdown"
            },
            {
              "label": "7-day click attribution report",
              "mcp_params": {
                "account_id": "act_123456789",
                "time_range": {
                  "since": "2024-01-01",
                  "until": "2024-01-31"
                },
                "action_attribution_windows": [
                  "7d_click"
                ],
                "reason": "Full-funnel report scoped to 7-day click attribution only"
              },
              "cli_command": "hopkin meta performance-report get --account act_123456789 --time-range [object Object] --action-attribution-windows 7d_click",
              "natural_language": "7-day click attribution report"
            },
            {
              "label": "Audience-segment performance report",
              "mcp_params": {
                "account_id": "act_123",
                "time_range": {
                  "since": "2024-01-01",
                  "until": "2024-01-31"
                },
                "level": "campaign",
                "breakdowns": [
                  "user_segment_key"
                ],
                "filtering": [
                  {
                    "field": "campaign.objective",
                    "operator": "EQUAL",
                    "value": "OUTCOME_SALES"
                  }
                ],
                "reason": "Audience segments — full-funnel report split by prospecting vs engaged vs existing vs unknown"
              },
              "cli_command": "hopkin meta performance-report get --account act_123 --time-range [object Object] --level campaign --breakdowns user_segment_key --filtering [object Object]",
              "natural_language": "Audience-segment performance report"
            }
          ],
          "response_format": "json",
          "related_tools": [
            {
              "name": "meta_ads_get_ad_creative_report",
              "relationship": "sibling"
            },
            {
              "name": "google_ads_get_performance_report",
              "relationship": "cross-platform"
            },
            {
              "name": "linkedin_ads_get_performance_report",
              "relationship": "cross-platform"
            },
            {
              "name": "reddit_ads_get_performance_report",
              "relationship": "cross-platform"
            },
            {
              "name": "tiktok_ads_get_performance_report",
              "relationship": "cross-platform"
            },
            {
              "name": "microsoft_ads_get_performance_report",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "meta_ads_ping",
          "title": "Ping Meta Ads MCP Server",
          "description": "Health check for the Meta Ads MCP server.",
          "cli_command": "hopkin meta ping",
          "cli_flags": [
            {
              "flag": "--message",
              "description": "Optional message to echo back",
              "type": "string",
              "required": false
            }
          ],
          "category": "auth",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": false
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "message": {
                "type": "string",
                "maxLength": 100,
                "description": "Optional message to echo back"
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "message",
              "type": "string",
              "required": false,
              "description": "Optional message to echo back",
              "constraints": {
                "max_length": 100
              }
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "Health check",
              "mcp_params": {
                "reason": "Verify server is running"
              },
              "cli_command": "hopkin meta ping",
              "natural_language": "Health check"
            },
            {
              "label": "With message",
              "mcp_params": {
                "message": "hello",
                "reason": "Test connectivity"
              },
              "cli_command": "hopkin meta ping --message hello",
              "natural_language": "With message"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "meta_ads_check_auth_status",
              "relationship": "sibling"
            },
            {
              "name": "google_ads_ping",
              "relationship": "cross-platform"
            },
            {
              "name": "linkedin_ads_ping",
              "relationship": "cross-platform"
            },
            {
              "name": "reddit_ads_ping",
              "relationship": "cross-platform"
            },
            {
              "name": "tiktok_ads_ping",
              "relationship": "cross-platform"
            },
            {
              "name": "chatgpt_ads_ping",
              "relationship": "cross-platform"
            },
            {
              "name": "microsoft_ads_ping",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "meta_ads_get_pixel_health",
          "title": "Get Meta Pixel Health",
          "description": "Comprehensive pixel health check: metadata, CAPI connection status, event volume stats, automatic matching config, and diagnostic checks (including event match quality indicators). capi.connected is true when an active CAPI Gateway config exists or server events were observed in the lookback window (capi.server_event_count), false when both signals were readable and showed neither, and \"unknown\" when the signals could not be read — NEVER report CAPI as disconnected when it is \"unknown\"; tell the user to verify in Meta Events Manager instead. Use this to diagnose tracking issues before analyzing ad performance — low ROAS could be a tracking problem, not a campaign problem. When event_stats_status is \"permission_denied\", surface event_stats_message to the user — the rest of the pixel health audit is still valid.",
          "cli_command": "hopkin meta pixel-health get",
          "cli_flags": [
            {
              "flag": "--account",
              "description": "The ad account ID (with or without act_ prefix)",
              "type": "string",
              "required": true
            },
            {
              "flag": "--pixel-id",
              "description": "Specific pixel ID to check. If omitted, checks all pixels on the account.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--event-names",
              "description": "Filter event stats to these event names (e.g. [\"Purchase\", \"Lead\"])",
              "type": "array",
              "required": false
            },
            {
              "flag": "--days-back",
              "description": "Number of days of event stats to include (default: 28, max: 90)",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--limit",
              "description": "Max pixels per page (default: 5, max: 20)",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--cursor",
              "description": "Pagination cursor from previous response",
              "type": "string",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "pixel-health",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": false
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "account_id": {
                "type": "string",
                "minLength": 1,
                "description": "The ad account ID (with or without act_ prefix)"
              },
              "pixel_id": {
                "type": "string",
                "minLength": 1,
                "description": "Specific pixel ID to check. If omitted, checks all pixels on the account."
              },
              "event_names": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1
                },
                "description": "Filter event stats to these event names (e.g. [\"Purchase\", \"Lead\"])"
              },
              "days_back": {
                "type": "integer",
                "minimum": 1,
                "maximum": 90,
                "default": 28,
                "description": "Number of days of event stats to include (default: 28, max: 90)"
              },
              "limit": {
                "type": "integer",
                "minimum": 1,
                "maximum": 20,
                "default": 5,
                "description": "Max pixels per page (default: 5, max: 20)"
              },
              "cursor": {
                "type": "string",
                "minLength": 1,
                "description": "Pagination cursor from previous response"
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              }
            },
            "required": [
              "account_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "account_id",
              "type": "string",
              "required": true,
              "description": "The ad account ID (with or without act_ prefix)",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "pixel_id",
              "type": "string",
              "required": false,
              "description": "Specific pixel ID to check. If omitted, checks all pixels on the account.",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "event_names",
              "type": "array",
              "required": false,
              "description": "Filter event stats to these event names (e.g. [\"Purchase\", \"Lead\"])"
            },
            {
              "name": "days_back",
              "type": "integer",
              "required": false,
              "description": "Number of days of event stats to include (default: 28, max: 90)",
              "default": 28,
              "constraints": {
                "min": 1,
                "max": 90
              }
            },
            {
              "name": "limit",
              "type": "integer",
              "required": false,
              "description": "Max pixels per page (default: 5, max: 20)",
              "default": 5,
              "constraints": {
                "min": 1,
                "max": 20
              }
            },
            {
              "name": "cursor",
              "type": "string",
              "required": false,
              "description": "Pagination cursor from previous response",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            }
          ],
          "examples": [
            {
              "label": "All pixels for account",
              "mcp_params": {
                "account_id": "act_123",
                "reason": "Audit tracking setup"
              },
              "cli_command": "hopkin meta pixel-health get --account act_123",
              "natural_language": "All pixels for account"
            },
            {
              "label": "Specific pixel",
              "mcp_params": {
                "account_id": "act_123",
                "pixel_id": "456",
                "reason": "Check pixel firing status"
              },
              "cli_command": "hopkin meta pixel-health get --account act_123 --pixel-id 456",
              "natural_language": "Specific pixel"
            },
            {
              "label": "Filter to key events",
              "mcp_params": {
                "account_id": "act_123",
                "event_names": [
                  "Purchase",
                  "Lead"
                ],
                "days_back": 7,
                "reason": "Check tracking health for key events"
              },
              "cli_command": "hopkin meta pixel-health get --account act_123 --event-names Purchase,Lead --days-back 7",
              "natural_language": "Filter to key events"
            }
          ],
          "response_format": "markdown",
          "related_tools": [],
          "tool_type": "standard"
        }
      ]
    },
    {
      "id": "google-ads",
      "name": "Google Ads",
      "description": "Google Ads campaign data and reporting with GAQL query support",
      "tool_count": 38,
      "mcpUrl": "https://google.mcp.hopkin.ai",
      "tools": [
        {
          "name": "google_ads_get_account_summary",
          "title": "Get Google Ads Account Summary",
          "description": "Quick account-level performance overview — the preferred first call when the user asks how an account is doing, for a performance summary, or for account totals over a date range. Returns pre-aggregated standardized metrics (spend, impressions, clicks, CTR, CPC, conversions, CPA, ROAS) in one call, plus the supported Demand Gen Platform Comparable conversion family and a per-conversion-action breakdown. Metrics are normalized to be identical to meta_ads_get_account_summary for cross-platform comparison. Use google_ads_get_performance_report only when a level (campaign/ad group) or segment (date/device/network) breakdown is needed, and google_ads_get_insights only for custom metric selection. Accepts login_customer_id for MCC-managed accounts. Always fetches fresh data.",
          "cli_command": "hopkin google account-summary get",
          "cli_flags": [
            {
              "flag": "--customer-id",
              "description": "The Google Ads Customer ID (10 digits, with or without dashes)",
              "type": "string",
              "required": true
            },
            {
              "flag": "--login-customer-id",
              "description": "MCC (Manager) Customer ID; required for managed accounts",
              "type": "string",
              "required": false
            },
            {
              "flag": "--date-preset",
              "description": "Predefined date range: TODAY, YESTERDAY, LAST_7_DAYS, LAST_30_DAYS, THIS_MONTH, LAST_MONTH. LAST_7_DAYS / LAST_30_DAYS are the 7 / 30 complete days ending yesterday (account time zone), as in Google Ads; THIS_MONTH runs through today.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--date-range",
              "description": "Custom date range {start_date, end_date} in YYYY-MM-DD",
              "type": "object",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "account-summary",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "customer_id": {
                "type": "string",
                "maxLength": 20,
                "pattern": "^[\\d-]+$",
                "description": "The Google Ads Customer ID (10 digits, with or without dashes)"
              },
              "login_customer_id": {
                "type": "string",
                "maxLength": 20,
                "pattern": "^[\\d-]+$",
                "description": "MCC (Manager) Customer ID; required for managed accounts"
              },
              "date_preset": {
                "type": "string",
                "enum": [
                  "TODAY",
                  "YESTERDAY",
                  "LAST_7_DAYS",
                  "LAST_30_DAYS",
                  "THIS_MONTH",
                  "LAST_MONTH"
                ],
                "description": "Predefined date range: TODAY, YESTERDAY, LAST_7_DAYS, LAST_30_DAYS, THIS_MONTH, LAST_MONTH. LAST_7_DAYS / LAST_30_DAYS are the 7 / 30 complete days ending yesterday (account time zone), as in Google Ads; THIS_MONTH runs through today."
              },
              "date_range": {
                "type": "object",
                "properties": {
                  "start_date": {
                    "type": "string",
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                    "description": "Start date (YYYY-MM-DD)"
                  },
                  "end_date": {
                    "type": "string",
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                    "description": "End date (YYYY-MM-DD)"
                  }
                },
                "required": [
                  "start_date",
                  "end_date"
                ],
                "additionalProperties": false,
                "description": "Custom date range {start_date, end_date} in YYYY-MM-DD"
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "customer_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "customer_id",
              "type": "string",
              "required": true,
              "description": "The Google Ads Customer ID (10 digits, with or without dashes)",
              "constraints": {
                "max_length": 20,
                "pattern": "^[\\d-]+$"
              }
            },
            {
              "name": "login_customer_id",
              "type": "string",
              "required": false,
              "description": "MCC (Manager) Customer ID; required for managed accounts",
              "constraints": {
                "max_length": 20,
                "pattern": "^[\\d-]+$"
              }
            },
            {
              "name": "date_preset",
              "type": "string",
              "required": false,
              "description": "Predefined date range: TODAY, YESTERDAY, LAST_7_DAYS, LAST_30_DAYS, THIS_MONTH, LAST_MONTH. LAST_7_DAYS / LAST_30_DAYS are the 7 / 30 complete days ending yesterday (account time zone), as in Google Ads; THIS_MONTH runs through today.",
              "enum_values": [
                "TODAY",
                "YESTERDAY",
                "LAST_7_DAYS",
                "LAST_30_DAYS",
                "THIS_MONTH",
                "LAST_MONTH"
              ]
            },
            {
              "name": "date_range",
              "type": "object",
              "required": false,
              "description": "Custom date range {start_date, end_date} in YYYY-MM-DD"
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "Last 30 days summary",
              "mcp_params": {
                "customer_id": "1234567890",
                "reason": "Quick performance overview"
              },
              "cli_command": "hopkin google account-summary get --customer-id 1234567890",
              "natural_language": "Last 30 days summary"
            },
            {
              "label": "Last 7 days",
              "mcp_params": {
                "customer_id": "1234567890",
                "date_preset": "LAST_7_DAYS",
                "reason": "Weekly check-in"
              },
              "cli_command": "hopkin google account-summary get --customer-id 1234567890 --date-preset LAST_7_DAYS",
              "natural_language": "Last 7 days"
            },
            {
              "label": "With MCC",
              "mcp_params": {
                "customer_id": "1234567890",
                "login_customer_id": "9876543210",
                "date_preset": "LAST_30_DAYS",
                "reason": "Managed account overview"
              },
              "cli_command": "hopkin google account-summary get --customer-id 1234567890 --login-customer-id 9876543210 --date-preset LAST_30_DAYS",
              "natural_language": "With MCC"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "meta_ads_get_account_summary",
              "relationship": "cross-platform"
            },
            {
              "name": "linkedin_ads_get_account_summary",
              "relationship": "cross-platform"
            },
            {
              "name": "reddit_ads_get_account_summary",
              "relationship": "cross-platform"
            },
            {
              "name": "microsoft_ads_get_account_summary",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "google_ads_get_activities",
          "title": "Get Google Ads Activities",
          "description": "Retrieve change history for a Google Ads account: who changed what and when, with before/after values. Hopkin archives Google's change events continuously and keeps them for 25 months, well beyond Google's own 30-day limit, so older windows can be asked for directly. coverage.complete_from says how far back history is complete for this account, and coverage.note appears when the requested window starts earlier — an empty result before that point does not mean nothing changed. start_date and end_date are UTC days (not the account's time zone): a change is in the window when its changeDatetimeUtc falls on those days. Each event's changeDatetime is Google's own account-local time with no offset; changeDatetimeUtc is the same instant in UTC. Changes take a few minutes to appear. For CAMPAIGN_CRITERION events, use the description field as the definitive interpretation when present. Paginated: when pagination.nextCursor is present, call again with the same parameters plus cursor=<nextCursor>, and repeat until it is absent to get every change in the window.",
          "cli_command": "hopkin google activities get",
          "cli_flags": [
            {
              "flag": "--customer-id",
              "description": "The Google Ads Customer ID (10 digits, with or without dashes)",
              "type": "string",
              "required": true
            },
            {
              "flag": "--login-customer-id",
              "description": "MCC (Manager) Customer ID; required for managed accounts",
              "type": "string",
              "required": false
            },
            {
              "flag": "--start-date",
              "description": "Start date in YYYY-MM-DD format, a UTC day (not the account's time zone): events are matched on changeDatetimeUtc. Defaults to 7 days ago. History is archived for 25 months, beyond Google's own 30-day limit; coverage.complete_from in the response says how far back it is complete for this account.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--end-date",
              "description": "End date in YYYY-MM-DD format, a UTC day (not the account's time zone), inclusive. Defaults to today (UTC).",
              "type": "string",
              "required": false
            },
            {
              "flag": "--resource-type",
              "description": "Filter to a specific resource type: AD, AD_GROUP, AD_GROUP_AD, AD_GROUP_CRITERION, CAMPAIGN, CAMPAIGN_BUDGET, CAMPAIGN_CRITERION, ASSET, ASSET_SET",
              "type": "string",
              "required": false
            },
            {
              "flag": "--asset-ids",
              "description": "Filter to specific asset IDs (numeric). Automatically sets resource_type to ASSET.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--limit",
              "description": "Maximum number of activities to return (1-1000, default 50)",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--cursor",
              "description": "Opaque cursor from the previous response's pagination.nextCursor. Pass it with otherwise identical parameters to get the next page; a cursor reused with different filters is rejected. Omit for the first page.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--refresh",
              "description": "Fetch the latest changes from Google before reading, even if the archive synced in the last 15 minutes. Rarely needed.",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "activities",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "customer_id": {
                "type": "string",
                "maxLength": 20,
                "pattern": "^[\\d-]+$",
                "description": "The Google Ads Customer ID (10 digits, with or without dashes)"
              },
              "login_customer_id": {
                "type": "string",
                "maxLength": 20,
                "pattern": "^[\\d-]+$",
                "description": "MCC (Manager) Customer ID; required for managed accounts"
              },
              "start_date": {
                "type": "string",
                "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                "description": "Start date in YYYY-MM-DD format, a UTC day (not the account's time zone): events are matched on changeDatetimeUtc. Defaults to 7 days ago. History is archived for 25 months, beyond Google's own 30-day limit; coverage.complete_from in the response says how far back it is complete for this account."
              },
              "end_date": {
                "type": "string",
                "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                "description": "End date in YYYY-MM-DD format, a UTC day (not the account's time zone), inclusive. Defaults to today (UTC)."
              },
              "resource_type": {
                "type": "string",
                "enum": [
                  "AD",
                  "AD_GROUP",
                  "AD_GROUP_AD",
                  "AD_GROUP_CRITERION",
                  "CAMPAIGN",
                  "CAMPAIGN_BUDGET",
                  "CAMPAIGN_CRITERION",
                  "ASSET",
                  "ASSET_SET"
                ],
                "description": "Filter to a specific resource type: AD, AD_GROUP, AD_GROUP_AD, AD_GROUP_CRITERION, CAMPAIGN, CAMPAIGN_BUDGET, CAMPAIGN_CRITERION, ASSET, ASSET_SET"
              },
              "asset_ids": {
                "type": "array",
                "items": {
                  "type": "string",
                  "maxLength": 20,
                  "pattern": "^\\d+$"
                },
                "description": "Filter to specific asset IDs (numeric). Automatically sets resource_type to ASSET."
              },
              "limit": {
                "type": "integer",
                "minimum": 1,
                "maximum": 1000,
                "default": 50,
                "description": "Maximum number of activities to return (1-1000, default 50)"
              },
              "cursor": {
                "type": "string",
                "description": "Opaque cursor from the previous response's pagination.nextCursor. Pass it with otherwise identical parameters to get the next page; a cursor reused with different filters is rejected. Omit for the first page."
              },
              "refresh": {
                "type": "boolean",
                "description": "Fetch the latest changes from Google before reading, even if the archive synced in the last 15 minutes. Rarely needed."
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "customer_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "customer_id",
              "type": "string",
              "required": true,
              "description": "The Google Ads Customer ID (10 digits, with or without dashes)",
              "constraints": {
                "max_length": 20,
                "pattern": "^[\\d-]+$"
              }
            },
            {
              "name": "login_customer_id",
              "type": "string",
              "required": false,
              "description": "MCC (Manager) Customer ID; required for managed accounts",
              "constraints": {
                "max_length": 20,
                "pattern": "^[\\d-]+$"
              }
            },
            {
              "name": "start_date",
              "type": "string",
              "required": false,
              "description": "Start date in YYYY-MM-DD format, a UTC day (not the account's time zone): events are matched on changeDatetimeUtc. Defaults to 7 days ago. History is archived for 25 months, beyond Google's own 30-day limit; coverage.complete_from in the response says how far back it is complete for this account.",
              "constraints": {
                "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
              }
            },
            {
              "name": "end_date",
              "type": "string",
              "required": false,
              "description": "End date in YYYY-MM-DD format, a UTC day (not the account's time zone), inclusive. Defaults to today (UTC).",
              "constraints": {
                "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
              }
            },
            {
              "name": "resource_type",
              "type": "string",
              "required": false,
              "description": "Filter to a specific resource type: AD, AD_GROUP, AD_GROUP_AD, AD_GROUP_CRITERION, CAMPAIGN, CAMPAIGN_BUDGET, CAMPAIGN_CRITERION, ASSET, ASSET_SET",
              "enum_values": [
                "AD",
                "AD_GROUP",
                "AD_GROUP_AD",
                "AD_GROUP_CRITERION",
                "CAMPAIGN",
                "CAMPAIGN_BUDGET",
                "CAMPAIGN_CRITERION",
                "ASSET",
                "ASSET_SET"
              ]
            },
            {
              "name": "asset_ids",
              "type": "array",
              "required": false,
              "description": "Filter to specific asset IDs (numeric). Automatically sets resource_type to ASSET."
            },
            {
              "name": "limit",
              "type": "integer",
              "required": false,
              "description": "Maximum number of activities to return (1-1000, default 50)",
              "default": 50,
              "constraints": {
                "min": 1,
                "max": 1000
              }
            },
            {
              "name": "cursor",
              "type": "string",
              "required": false,
              "description": "Opaque cursor from the previous response's pagination.nextCursor. Pass it with otherwise identical parameters to get the next page; a cursor reused with different filters is rejected. Omit for the first page."
            },
            {
              "name": "refresh",
              "type": "boolean",
              "required": false,
              "description": "Fetch the latest changes from Google before reading, even if the archive synced in the last 15 minutes. Rarely needed."
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "Recent account activity",
              "mcp_params": {
                "customer_id": "1234567890",
                "reason": "Review recent account changes"
              },
              "cli_command": "hopkin google activities get --customer-id 1234567890",
              "natural_language": "Recent account activity"
            },
            {
              "label": "Campaign changes only",
              "mcp_params": {
                "customer_id": "1234567890",
                "resource_type": "CAMPAIGN",
                "reason": "See recent campaign edits"
              },
              "cli_command": "hopkin google activities get --customer-id 1234567890 --resource-type CAMPAIGN",
              "natural_language": "Campaign changes only"
            },
            {
              "label": "Custom date range",
              "mcp_params": {
                "customer_id": "1234567890",
                "start_date": "2026-02-01",
                "end_date": "2026-02-28",
                "reason": "February activity audit"
              },
              "cli_command": "hopkin google activities get --customer-id 1234567890 --start-date 2026-02-01 --end-date 2026-02-28",
              "natural_language": "Custom date range"
            },
            {
              "label": "With MCC login",
              "mcp_params": {
                "customer_id": "1234567890",
                "login_customer_id": "9876543210",
                "reason": "Review changes on managed account"
              },
              "cli_command": "hopkin google activities get --customer-id 1234567890 --login-customer-id 9876543210",
              "natural_language": "With MCC login"
            },
            {
              "label": "Specific asset activity",
              "mcp_params": {
                "customer_id": "1234567890",
                "asset_ids": [
                  "123456789",
                  "987654321"
                ],
                "reason": "Check recent changes to specific assets"
              },
              "cli_command": "hopkin google activities get --customer-id 1234567890 --asset-ids 123456789,987654321",
              "natural_language": "Specific asset activity"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "meta_ads_get_activities",
              "relationship": "cross-platform"
            },
            {
              "name": "linkedin_ads_get_activities",
              "relationship": "cross-platform"
            },
            {
              "name": "reddit_ads_get_activities",
              "relationship": "cross-platform"
            },
            {
              "name": "tiktok_ads_get_activities",
              "relationship": "cross-platform"
            },
            {
              "name": "microsoft_ads_get_activities",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "google_ads_list_accounts",
          "title": "List Google Ads Accounts",
          "description": "List Google Ads accounts accessible by the user, including MCC child accounts. When calling other tools for MCC child accounts, you MUST pass login_customer_id with the parent MCC Customer ID. Results are cached; pass refresh=true for latest data. To list only children of a specific MCC, use google_ads_list_mcc_child_accounts instead. Paginated: when a response includes nextCursor, call again with the same parameters plus cursor=<nextCursor>, and repeat until nextCursor is absent to get every row.",
          "cli_command": "hopkin google accounts list",
          "cli_flags": [
            {
              "flag": "--customer-id",
              "description": "Get a specific account by Customer ID. When provided, returns only that account and ignores other filters/pagination.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--customer-ids",
              "description": "Get multiple accounts by Customer ID. Mutually exclusive with customer_id. When provided, ignores other filters/pagination.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--refresh",
              "description": "Force fresh data from Google Ads API instead of using cache. Defaults to false (cache-first). Only set to true when you need real-time data.",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--cursor",
              "description": "Opaque cursor from the previous response's nextCursor. Pass it with otherwise identical parameters to get the next page; a cursor reused with different filters is rejected. Omit for the first page.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--search",
              "description": "Search accounts by name (case-insensitive partial match)",
              "type": "string",
              "required": false
            },
            {
              "flag": "--limit",
              "description": "Number of accounts per page (default: 20, max: 100)",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--label-filter",
              "description": "Filter by labels. Accepts an array whose entries are any of: label name (e.g. \"Big Boom\"), bare label ID (e.g. \"9876543210\"), or full label resource name (e.g. \"customers/1234567890/labels/9876543210\"). Names are resolved against cached labels for the relevant customer scope. Unknown names return an empty result with a warning rather than an error.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "accounts",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": false,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "customer_id": {
                "type": "string",
                "maxLength": 20,
                "pattern": "^[\\d-]+$",
                "description": "Get a specific account by Customer ID. When provided, returns only that account and ignores other filters/pagination."
              },
              "customer_ids": {
                "type": "array",
                "items": {
                  "type": "string",
                  "maxLength": 20,
                  "pattern": "^[\\d-]+$"
                },
                "minItems": 1,
                "maxItems": 50,
                "description": "Get multiple accounts by Customer ID. Mutually exclusive with customer_id. When provided, ignores other filters/pagination."
              },
              "refresh": {
                "type": "boolean",
                "default": false,
                "description": "Force fresh data from Google Ads API instead of using cache. Defaults to false (cache-first). Only set to true when you need real-time data."
              },
              "cursor": {
                "type": "string",
                "minLength": 1,
                "description": "Opaque cursor from the previous response's nextCursor. Pass it with otherwise identical parameters to get the next page; a cursor reused with different filters is rejected. Omit for the first page."
              },
              "search": {
                "type": "string",
                "minLength": 1,
                "description": "Search accounts by name (case-insensitive partial match)"
              },
              "limit": {
                "type": "integer",
                "minimum": 1,
                "maximum": 100,
                "description": "Number of accounts per page (default: 20, max: 100)"
              },
              "label_filter": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 100
                },
                "minItems": 1,
                "maxItems": 50,
                "description": "Filter by labels. Accepts an array whose entries are any of: label name (e.g. \"Big Boom\"), bare label ID (e.g. \"9876543210\"), or full label resource name (e.g. \"customers/1234567890/labels/9876543210\"). Names are resolved against cached labels for the relevant customer scope. Unknown names return an empty result with a warning rather than an error."
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "customer_id",
              "type": "string",
              "required": false,
              "description": "Get a specific account by Customer ID. When provided, returns only that account and ignores other filters/pagination.",
              "constraints": {
                "max_length": 20,
                "pattern": "^[\\d-]+$"
              }
            },
            {
              "name": "customer_ids",
              "type": "array",
              "required": false,
              "description": "Get multiple accounts by Customer ID. Mutually exclusive with customer_id. When provided, ignores other filters/pagination."
            },
            {
              "name": "refresh",
              "type": "boolean",
              "required": false,
              "description": "Force fresh data from Google Ads API instead of using cache. Defaults to false (cache-first). Only set to true when you need real-time data.",
              "default": false
            },
            {
              "name": "cursor",
              "type": "string",
              "required": false,
              "description": "Opaque cursor from the previous response's nextCursor. Pass it with otherwise identical parameters to get the next page; a cursor reused with different filters is rejected. Omit for the first page.",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "search",
              "type": "string",
              "required": false,
              "description": "Search accounts by name (case-insensitive partial match)",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "limit",
              "type": "integer",
              "required": false,
              "description": "Number of accounts per page (default: 20, max: 100)",
              "constraints": {
                "min": 1,
                "max": 100
              }
            },
            {
              "name": "label_filter",
              "type": "array",
              "required": false,
              "description": "Filter by labels. Accepts an array whose entries are any of: label name (e.g. \"Big Boom\"), bare label ID (e.g. \"9876543210\"), or full label resource name (e.g. \"customers/1234567890/labels/9876543210\"). Names are resolved against cached labels for the relevant customer scope. Unknown names return an empty result with a warning rather than an error."
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "List all",
              "mcp_params": {
                "reason": "List all ad accounts"
              },
              "cli_command": "hopkin google accounts list",
              "natural_language": "List all"
            },
            {
              "label": "Get by ID",
              "mcp_params": {
                "customer_id": "1234567890",
                "reason": "Get account details"
              },
              "cli_command": "hopkin google accounts list --customer-id 1234567890",
              "natural_language": "Get by ID"
            },
            {
              "label": "Search by name",
              "mcp_params": {
                "search": "marketing",
                "reason": "Find marketing accounts"
              },
              "cli_command": "hopkin google accounts list --search marketing",
              "natural_language": "Search by name"
            },
            {
              "label": "Get multiple by ID",
              "mcp_params": {
                "customer_ids": [
                  "1234567890",
                  "0987654321"
                ],
                "reason": "Get details for specific accounts"
              },
              "cli_command": "hopkin google accounts list --customer-ids 1234567890,0987654321",
              "natural_language": "Get multiple by ID"
            },
            {
              "label": "Force refresh",
              "mcp_params": {
                "refresh": true,
                "reason": "Get fresh data"
              },
              "cli_command": "hopkin google accounts list --refresh true",
              "natural_language": "Force refresh"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "microsoft_ads_list_accounts",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "google_ads_list_mcc_child_accounts",
          "title": "List MCC Child Accounts",
          "description": "List child accounts under a specific MCC (Manager) account. When calling other tools for these child accounts, you MUST pass login_customer_id with the MCC Customer ID. For all accessible accounts regardless of hierarchy, use google_ads_list_accounts instead. Paginated: when a response includes nextCursor, call again with the same parameters plus cursor=<nextCursor>, and repeat until nextCursor is absent to get every row.",
          "cli_command": "hopkin google mcc-child-accounts list",
          "cli_flags": [
            {
              "flag": "--mcc-id",
              "description": "The MCC (Manager) Customer ID whose child accounts to list (10 digits, dashes accepted)",
              "type": "string",
              "required": true
            },
            {
              "flag": "--search",
              "description": "Search child accounts by name or customer ID (case-insensitive partial match)",
              "type": "string",
              "required": false
            },
            {
              "flag": "--limit",
              "description": "Number of accounts per page (default: 20, max: 100)",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--cursor",
              "description": "Opaque cursor from the previous response's nextCursor. Pass it with otherwise identical parameters to get the next page; a cursor reused with different filters is rejected. Omit for the first page.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--refresh",
              "description": "Force a fresh fetch of labels for this MCC scope. Defaults to false (cache-first).",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--label-filter",
              "description": "Filter by labels. Accepts an array whose entries are any of: label name (e.g. \"Big Boom\"), bare label ID (e.g. \"9876543210\"), or full label resource name (e.g. \"customers/1234567890/labels/9876543210\"). Names are resolved against cached labels for the relevant customer scope. Unknown names return an empty result with a warning rather than an error.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "mcc-child-accounts",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "mcc_id": {
                "type": "string",
                "maxLength": 20,
                "pattern": "^[\\d-]+$",
                "description": "The MCC (Manager) Customer ID whose child accounts to list (10 digits, dashes accepted)"
              },
              "search": {
                "type": "string",
                "minLength": 1,
                "description": "Search child accounts by name or customer ID (case-insensitive partial match)"
              },
              "limit": {
                "type": "integer",
                "minimum": 1,
                "maximum": 100,
                "description": "Number of accounts per page (default: 20, max: 100)"
              },
              "cursor": {
                "type": "string",
                "minLength": 1,
                "description": "Opaque cursor from the previous response's nextCursor. Pass it with otherwise identical parameters to get the next page; a cursor reused with different filters is rejected. Omit for the first page."
              },
              "refresh": {
                "type": "boolean",
                "default": false,
                "description": "Force a fresh fetch of labels for this MCC scope. Defaults to false (cache-first)."
              },
              "label_filter": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 100
                },
                "minItems": 1,
                "maxItems": 50,
                "description": "Filter by labels. Accepts an array whose entries are any of: label name (e.g. \"Big Boom\"), bare label ID (e.g. \"9876543210\"), or full label resource name (e.g. \"customers/1234567890/labels/9876543210\"). Names are resolved against cached labels for the relevant customer scope. Unknown names return an empty result with a warning rather than an error."
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "mcc_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "mcc_id",
              "type": "string",
              "required": true,
              "description": "The MCC (Manager) Customer ID whose child accounts to list (10 digits, dashes accepted)",
              "constraints": {
                "max_length": 20,
                "pattern": "^[\\d-]+$"
              }
            },
            {
              "name": "search",
              "type": "string",
              "required": false,
              "description": "Search child accounts by name or customer ID (case-insensitive partial match)",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "limit",
              "type": "integer",
              "required": false,
              "description": "Number of accounts per page (default: 20, max: 100)",
              "constraints": {
                "min": 1,
                "max": 100
              }
            },
            {
              "name": "cursor",
              "type": "string",
              "required": false,
              "description": "Opaque cursor from the previous response's nextCursor. Pass it with otherwise identical parameters to get the next page; a cursor reused with different filters is rejected. Omit for the first page.",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "refresh",
              "type": "boolean",
              "required": false,
              "description": "Force a fresh fetch of labels for this MCC scope. Defaults to false (cache-first).",
              "default": false
            },
            {
              "name": "label_filter",
              "type": "array",
              "required": false,
              "description": "Filter by labels. Accepts an array whose entries are any of: label name (e.g. \"Big Boom\"), bare label ID (e.g. \"9876543210\"), or full label resource name (e.g. \"customers/1234567890/labels/9876543210\"). Names are resolved against cached labels for the relevant customer scope. Unknown names return an empty result with a warning rather than an error."
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "List children",
              "mcp_params": {
                "mcc_id": "1234567890",
                "reason": "List MCC child accounts"
              },
              "cli_command": "hopkin google mcc-child-accounts list --mcc-id 1234567890",
              "natural_language": "List children"
            },
            {
              "label": "Search children",
              "mcp_params": {
                "mcc_id": "1234567890",
                "search": "marketing",
                "reason": "Find child accounts"
              },
              "cli_command": "hopkin google mcc-child-accounts list --mcc-id 1234567890 --search marketing",
              "natural_language": "Search children"
            }
          ],
          "response_format": "markdown",
          "related_tools": [],
          "tool_type": "standard"
        },
        {
          "name": "google_ads_list_ad_groups",
          "title": "List Google Ads Ad Groups",
          "description": "List ad groups for a Google Ads account. Supports filtering by campaign, status, search, and pagination. Results are cached; pass refresh=true for latest data. Set include_audience_criteria=true to include ad-group-level audience targeting (USER_LIST, USER_INTEREST) with bid modifiers. Every ad group also carries its URL tracking configuration — tracking_url_template, final_url_suffix and url_custom_parameters — always present, and null when the ad group sets none (so \"no tracking template here\" is a verified answer, not a missing key). ValueTrack macros such as {lpurl} and {adgroupid} are returned verbatim. Paginated: when a response includes nextCursor, call again with the same parameters plus cursor=<nextCursor>, and repeat until nextCursor is absent to get every row.",
          "cli_command": "hopkin google ad-groups list",
          "cli_flags": [
            {
              "flag": "--customer-id",
              "description": "The Google Ads Customer ID (10 digits, with or without dashes)",
              "type": "string",
              "required": true
            },
            {
              "flag": "--login-customer-id",
              "description": "MCC (Manager) Customer ID; required for managed accounts",
              "type": "string",
              "required": false
            },
            {
              "flag": "--campaign",
              "description": "Filter by campaign ID (optional)",
              "type": "string",
              "required": false
            },
            {
              "flag": "--ad-group-id",
              "description": "Get a specific ad group by ID. When provided, returns only that ad group and ignores other filters/pagination.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--ad-group-ids",
              "description": "Get multiple ad groups by ID. Mutually exclusive with ad_group_id. When provided, ignores other filters/pagination.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--search",
              "description": "Search ad groups by name (case-insensitive partial match)",
              "type": "string",
              "required": false
            },
            {
              "flag": "--status",
              "description": "Filter by ad group status: ENABLED, PAUSED, REMOVED",
              "type": "array",
              "required": false
            },
            {
              "flag": "--limit",
              "description": "Number of ad groups per page (default: 20, max: 100)",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--cursor",
              "description": "Opaque cursor from the previous response's nextCursor. Pass it with otherwise identical parameters to get the next page; a cursor reused with different filters is rejected. Omit for the first page.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--refresh",
              "description": "Force fresh data from Google Ads API instead of using cache. Defaults to false (cache-first). Only set to true when you need real-time data.",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--include-audience-criteria",
              "description": "Include ad-group-level audience and demographic criteria with bid modifiers: user lists (subtype shows LOOKALIKE, CRM_BASED, ...), interests and detailed demographics (USER_INTEREST), custom segments (CUSTOM_AUDIENCE, CUSTOM_AFFINITY, CUSTOM_INTENT), COMBINED_AUDIENCE, LIFE_EVENT, Demand Gen AUDIENCE (with the segments and demographics it contains), and AGE_RANGE / GENDER / PARENTAL_STATUS / INCOME_RANGE. Names are resolved. Useful for auditing targeting vs observation; for their performance use google_ads_get_audience_report.",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--label-filter",
              "description": "Filter by labels. Accepts an array whose entries are any of: label name (e.g. \"Big Boom\"), bare label ID (e.g. \"9876543210\"), or full label resource name (e.g. \"customers/1234567890/labels/9876543210\"). Names are resolved against cached labels for the relevant customer scope. Unknown names return an empty result with a warning rather than an error.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "ad-groups",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": false,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "customer_id": {
                "type": "string",
                "maxLength": 20,
                "pattern": "^[\\d-]+$",
                "description": "The Google Ads Customer ID (10 digits, with or without dashes)"
              },
              "login_customer_id": {
                "type": "string",
                "maxLength": 20,
                "pattern": "^[\\d-]+$",
                "description": "MCC (Manager) Customer ID; required for managed accounts"
              },
              "campaign_id": {
                "type": "string",
                "maxLength": 20,
                "pattern": "^\\d+$",
                "description": "Filter by campaign ID (optional)"
              },
              "ad_group_id": {
                "type": "string",
                "maxLength": 20,
                "pattern": "^\\d+$",
                "description": "Get a specific ad group by ID. When provided, returns only that ad group and ignores other filters/pagination."
              },
              "ad_group_ids": {
                "type": "array",
                "items": {
                  "type": "string",
                  "maxLength": 20,
                  "pattern": "^\\d+$"
                },
                "minItems": 1,
                "maxItems": 50,
                "description": "Get multiple ad groups by ID. Mutually exclusive with ad_group_id. When provided, ignores other filters/pagination."
              },
              "search": {
                "type": "string",
                "minLength": 1,
                "description": "Search ad groups by name (case-insensitive partial match)"
              },
              "status": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "ENABLED",
                    "PAUSED",
                    "REMOVED"
                  ]
                },
                "description": "Filter by ad group status: ENABLED, PAUSED, REMOVED"
              },
              "limit": {
                "type": "integer",
                "minimum": 1,
                "maximum": 100,
                "description": "Number of ad groups per page (default: 20, max: 100)"
              },
              "cursor": {
                "type": "string",
                "minLength": 1,
                "description": "Opaque cursor from the previous response's nextCursor. Pass it with otherwise identical parameters to get the next page; a cursor reused with different filters is rejected. Omit for the first page."
              },
              "refresh": {
                "type": "boolean",
                "default": false,
                "description": "Force fresh data from Google Ads API instead of using cache. Defaults to false (cache-first). Only set to true when you need real-time data."
              },
              "include_audience_criteria": {
                "type": "boolean",
                "default": false,
                "description": "Include ad-group-level audience and demographic criteria with bid modifiers: user lists (subtype shows LOOKALIKE, CRM_BASED, ...), interests and detailed demographics (USER_INTEREST), custom segments (CUSTOM_AUDIENCE, CUSTOM_AFFINITY, CUSTOM_INTENT), COMBINED_AUDIENCE, LIFE_EVENT, Demand Gen AUDIENCE (with the segments and demographics it contains), and AGE_RANGE / GENDER / PARENTAL_STATUS / INCOME_RANGE. Names are resolved. Useful for auditing targeting vs observation; for their performance use google_ads_get_audience_report."
              },
              "label_filter": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 100
                },
                "minItems": 1,
                "maxItems": 50,
                "description": "Filter by labels. Accepts an array whose entries are any of: label name (e.g. \"Big Boom\"), bare label ID (e.g. \"9876543210\"), or full label resource name (e.g. \"customers/1234567890/labels/9876543210\"). Names are resolved against cached labels for the relevant customer scope. Unknown names return an empty result with a warning rather than an error."
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "customer_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "customer_id",
              "type": "string",
              "required": true,
              "description": "The Google Ads Customer ID (10 digits, with or without dashes)",
              "constraints": {
                "max_length": 20,
                "pattern": "^[\\d-]+$"
              }
            },
            {
              "name": "login_customer_id",
              "type": "string",
              "required": false,
              "description": "MCC (Manager) Customer ID; required for managed accounts",
              "constraints": {
                "max_length": 20,
                "pattern": "^[\\d-]+$"
              }
            },
            {
              "name": "campaign_id",
              "type": "string",
              "required": false,
              "description": "Filter by campaign ID (optional)",
              "constraints": {
                "max_length": 20,
                "pattern": "^\\d+$"
              }
            },
            {
              "name": "ad_group_id",
              "type": "string",
              "required": false,
              "description": "Get a specific ad group by ID. When provided, returns only that ad group and ignores other filters/pagination.",
              "constraints": {
                "max_length": 20,
                "pattern": "^\\d+$"
              }
            },
            {
              "name": "ad_group_ids",
              "type": "array",
              "required": false,
              "description": "Get multiple ad groups by ID. Mutually exclusive with ad_group_id. When provided, ignores other filters/pagination."
            },
            {
              "name": "search",
              "type": "string",
              "required": false,
              "description": "Search ad groups by name (case-insensitive partial match)",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "status",
              "type": "array",
              "required": false,
              "description": "Filter by ad group status: ENABLED, PAUSED, REMOVED"
            },
            {
              "name": "limit",
              "type": "integer",
              "required": false,
              "description": "Number of ad groups per page (default: 20, max: 100)",
              "constraints": {
                "min": 1,
                "max": 100
              }
            },
            {
              "name": "cursor",
              "type": "string",
              "required": false,
              "description": "Opaque cursor from the previous response's nextCursor. Pass it with otherwise identical parameters to get the next page; a cursor reused with different filters is rejected. Omit for the first page.",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "refresh",
              "type": "boolean",
              "required": false,
              "description": "Force fresh data from Google Ads API instead of using cache. Defaults to false (cache-first). Only set to true when you need real-time data.",
              "default": false
            },
            {
              "name": "include_audience_criteria",
              "type": "boolean",
              "required": false,
              "description": "Include ad-group-level audience and demographic criteria with bid modifiers: user lists (subtype shows LOOKALIKE, CRM_BASED, ...), interests and detailed demographics (USER_INTEREST), custom segments (CUSTOM_AUDIENCE, CUSTOM_AFFINITY, CUSTOM_INTENT), COMBINED_AUDIENCE, LIFE_EVENT, Demand Gen AUDIENCE (with the segments and demographics it contains), and AGE_RANGE / GENDER / PARENTAL_STATUS / INCOME_RANGE. Names are resolved. Useful for auditing targeting vs observation; for their performance use google_ads_get_audience_report.",
              "default": false
            },
            {
              "name": "label_filter",
              "type": "array",
              "required": false,
              "description": "Filter by labels. Accepts an array whose entries are any of: label name (e.g. \"Big Boom\"), bare label ID (e.g. \"9876543210\"), or full label resource name (e.g. \"customers/1234567890/labels/9876543210\"). Names are resolved against cached labels for the relevant customer scope. Unknown names return an empty result with a warning rather than an error."
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "List all",
              "mcp_params": {
                "customer_id": "1234567890",
                "reason": "List ad groups"
              },
              "cli_command": "hopkin google ad-groups list --customer-id 1234567890",
              "natural_language": "List all"
            },
            {
              "label": "Filter by campaign",
              "mcp_params": {
                "customer_id": "1234567890",
                "campaign_id": "9876543210",
                "reason": "List ad groups in campaign"
              },
              "cli_command": "hopkin google ad-groups list --customer-id 1234567890 --campaign 9876543210",
              "natural_language": "Filter by campaign"
            },
            {
              "label": "Get by ID",
              "mcp_params": {
                "customer_id": "1234567890",
                "ad_group_id": "5555555555",
                "reason": "Get ad group details"
              },
              "cli_command": "hopkin google ad-groups list --customer-id 1234567890 --ad-group-id 5555555555",
              "natural_language": "Get by ID"
            },
            {
              "label": "Search",
              "mcp_params": {
                "customer_id": "1234567890",
                "search": "brand",
                "reason": "Find brand ad groups"
              },
              "cli_command": "hopkin google ad-groups list --customer-id 1234567890 --search brand",
              "natural_language": "Search"
            },
            {
              "label": "Get multiple by ID",
              "mcp_params": {
                "customer_id": "1234567890",
                "ad_group_ids": [
                  "111",
                  "222",
                  "333"
                ],
                "reason": "Get details for specific ad groups"
              },
              "cli_command": "hopkin google ad-groups list --customer-id 1234567890 --ad-group-ids 111,222,333",
              "natural_language": "Get multiple by ID"
            },
            {
              "label": "Filter by status",
              "mcp_params": {
                "customer_id": "1234567890",
                "status": [
                  "ENABLED"
                ],
                "reason": "List enabled ad groups"
              },
              "cli_command": "hopkin google ad-groups list --customer-id 1234567890 --status ENABLED",
              "natural_language": "Filter by status"
            },
            {
              "label": "With audiences",
              "mcp_params": {
                "customer_id": "1234567890",
                "campaign_id": "9876543210",
                "include_audience_criteria": true,
                "reason": "Audit RLSA audiences"
              },
              "cli_command": "hopkin google ad-groups list --customer-id 1234567890 --campaign 9876543210 --include-audience-criteria true",
              "natural_language": "With audiences"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "google_ads_preview_ads",
              "relationship": "hierarchy"
            },
            {
              "name": "google_ads_list_ads",
              "relationship": "hierarchy"
            },
            {
              "name": "google_ads_list_campaigns",
              "relationship": "hierarchy"
            },
            {
              "name": "reddit_ads_list_ad_groups",
              "relationship": "cross-platform"
            },
            {
              "name": "tiktok_ads_list_ad_groups",
              "relationship": "cross-platform"
            },
            {
              "name": "chatgpt_ads_list_ad_groups",
              "relationship": "cross-platform"
            },
            {
              "name": "microsoft_ads_list_ad_groups",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "google_ads_preview_ads",
          "title": "Preview Google Ads",
          "description": "Interactive UI for displaying Google ad previews with creative content and metrics",
          "cli_command": "",
          "cli_flags": [],
          "category": "ads",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": false
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "customer_id": {
                "type": "string",
                "maxLength": 20,
                "pattern": "^[\\d-]+$",
                "description": "The Google Ads customer ID"
              },
              "login_customer_id": {
                "type": "string",
                "maxLength": 20,
                "pattern": "^[\\d-]+$",
                "description": "MCC manager account ID if needed"
              },
              "ads": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "ad_id": {
                      "type": "string",
                      "maxLength": 20,
                      "pattern": "^\\d+$",
                      "description": "The Google ad ID"
                    },
                    "metrics": {
                      "type": "object",
                      "additionalProperties": {
                        "type": [
                          "string",
                          "number"
                        ]
                      },
                      "description": "Metric name-value pairs to display"
                    }
                  },
                  "required": [
                    "ad_id"
                  ],
                  "additionalProperties": false
                },
                "minItems": 1,
                "maxItems": 20,
                "description": "Ads to preview (1-20)"
              },
              "metric_labels": {
                "type": "object",
                "additionalProperties": {
                  "type": "string"
                },
                "description": "Display labels for metric keys"
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "customer_id",
              "ads",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "customer_id",
              "type": "string",
              "required": true,
              "description": "The Google Ads customer ID",
              "constraints": {
                "max_length": 20,
                "pattern": "^[\\d-]+$"
              }
            },
            {
              "name": "login_customer_id",
              "type": "string",
              "required": false,
              "description": "MCC manager account ID if needed",
              "constraints": {
                "max_length": 20,
                "pattern": "^[\\d-]+$"
              }
            },
            {
              "name": "ads",
              "type": "array",
              "required": true,
              "description": "Ads to preview (1-20)"
            },
            {
              "name": "metric_labels",
              "type": "object",
              "required": false,
              "description": "Display labels for metric keys"
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "Single ad",
              "mcp_params": {
                "customer_id": "1234567890",
                "ads": [
                  {
                    "ad_id": "12345"
                  }
                ],
                "reason": "Preview ad creative"
              },
              "cli_command": "",
              "natural_language": "Single ad"
            },
            {
              "label": "With metrics",
              "mcp_params": {
                "customer_id": "1234567890",
                "ads": [
                  {
                    "ad_id": "12345",
                    "metrics": {
                      "spend": "150.00",
                      "ctr": "2.5%"
                    }
                  }
                ],
                "metric_labels": {
                  "spend": "Spend",
                  "ctr": "Click Rate"
                },
                "reason": "Preview ad with performance metrics"
              },
              "cli_command": "",
              "natural_language": "With metrics"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "meta_ads_preview_ads",
              "relationship": "cross-platform"
            },
            {
              "name": "google_ads_list_ad_groups",
              "relationship": "hierarchy"
            },
            {
              "name": "google_ads_list_ads",
              "relationship": "sibling"
            },
            {
              "name": "tiktok_ads_preview_ads",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "app"
        },
        {
          "name": "google_ads_list_ads",
          "title": "List Google Ads",
          "description": "List ads for a Google Ads account. Supports filtering by ad group, status, search (ad name or headline), and pagination. Results are cached; pass refresh=true for latest data. Every ad also carries its URL configuration — final_urls, final_mobile_urls, tracking_url_template, final_url_suffix and url_custom_parameters — always present, and null when the ad sets none (so \"no tracking template here\" is a verified answer, not a missing key). ValueTrack macros such as {lpurl} and {creative} are returned verbatim. Paginated: when a response includes nextCursor, call again with the same parameters plus cursor=<nextCursor>, and repeat until nextCursor is absent to get every row.",
          "cli_command": "hopkin google ads list",
          "cli_flags": [
            {
              "flag": "--customer-id",
              "description": "The Google Ads Customer ID (10 digits, with or without dashes)",
              "type": "string",
              "required": true
            },
            {
              "flag": "--login-customer-id",
              "description": "MCC (Manager) Customer ID; required for managed accounts",
              "type": "string",
              "required": false
            },
            {
              "flag": "--ad-group-id",
              "description": "Filter by ad group ID (optional)",
              "type": "string",
              "required": false
            },
            {
              "flag": "--ad",
              "description": "Get a specific ad by ID. When provided, returns only that ad and ignores other filters/pagination.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--ad-ids",
              "description": "Get multiple ads by ID. Mutually exclusive with ad_id. When provided, ignores other filters/pagination.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--search",
              "description": "Search ads by name or headline text (case-insensitive partial match)",
              "type": "string",
              "required": false
            },
            {
              "flag": "--status",
              "description": "Filter by ad status: ENABLED, PAUSED, REMOVED",
              "type": "array",
              "required": false
            },
            {
              "flag": "--limit",
              "description": "Number of ads per page (default: 20, max: 100)",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--cursor",
              "description": "Opaque cursor from the previous response's nextCursor. Pass it with otherwise identical parameters to get the next page; a cursor reused with different filters is rejected. Omit for the first page.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--refresh",
              "description": "Force fresh data from Google Ads API instead of using cache. Defaults to false (cache-first). Only set to true when you need real-time data.",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "ads",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": false,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "customer_id": {
                "type": "string",
                "maxLength": 20,
                "pattern": "^[\\d-]+$",
                "description": "The Google Ads Customer ID (10 digits, with or without dashes)"
              },
              "login_customer_id": {
                "type": "string",
                "maxLength": 20,
                "pattern": "^[\\d-]+$",
                "description": "MCC (Manager) Customer ID; required for managed accounts"
              },
              "ad_group_id": {
                "type": "string",
                "maxLength": 20,
                "pattern": "^\\d+$",
                "description": "Filter by ad group ID (optional)"
              },
              "ad_id": {
                "type": "string",
                "maxLength": 20,
                "pattern": "^\\d+$",
                "description": "Get a specific ad by ID. When provided, returns only that ad and ignores other filters/pagination."
              },
              "ad_ids": {
                "type": "array",
                "items": {
                  "type": "string",
                  "maxLength": 20,
                  "pattern": "^\\d+$"
                },
                "minItems": 1,
                "maxItems": 50,
                "description": "Get multiple ads by ID. Mutually exclusive with ad_id. When provided, ignores other filters/pagination."
              },
              "search": {
                "type": "string",
                "minLength": 1,
                "description": "Search ads by name or headline text (case-insensitive partial match)"
              },
              "status": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "ENABLED",
                    "PAUSED",
                    "REMOVED"
                  ]
                },
                "description": "Filter by ad status: ENABLED, PAUSED, REMOVED"
              },
              "limit": {
                "type": "integer",
                "minimum": 1,
                "maximum": 100,
                "description": "Number of ads per page (default: 20, max: 100)"
              },
              "cursor": {
                "type": "string",
                "minLength": 1,
                "description": "Opaque cursor from the previous response's nextCursor. Pass it with otherwise identical parameters to get the next page; a cursor reused with different filters is rejected. Omit for the first page."
              },
              "refresh": {
                "type": "boolean",
                "default": false,
                "description": "Force fresh data from Google Ads API instead of using cache. Defaults to false (cache-first). Only set to true when you need real-time data."
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "customer_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "customer_id",
              "type": "string",
              "required": true,
              "description": "The Google Ads Customer ID (10 digits, with or without dashes)",
              "constraints": {
                "max_length": 20,
                "pattern": "^[\\d-]+$"
              }
            },
            {
              "name": "login_customer_id",
              "type": "string",
              "required": false,
              "description": "MCC (Manager) Customer ID; required for managed accounts",
              "constraints": {
                "max_length": 20,
                "pattern": "^[\\d-]+$"
              }
            },
            {
              "name": "ad_group_id",
              "type": "string",
              "required": false,
              "description": "Filter by ad group ID (optional)",
              "constraints": {
                "max_length": 20,
                "pattern": "^\\d+$"
              }
            },
            {
              "name": "ad_id",
              "type": "string",
              "required": false,
              "description": "Get a specific ad by ID. When provided, returns only that ad and ignores other filters/pagination.",
              "constraints": {
                "max_length": 20,
                "pattern": "^\\d+$"
              }
            },
            {
              "name": "ad_ids",
              "type": "array",
              "required": false,
              "description": "Get multiple ads by ID. Mutually exclusive with ad_id. When provided, ignores other filters/pagination."
            },
            {
              "name": "search",
              "type": "string",
              "required": false,
              "description": "Search ads by name or headline text (case-insensitive partial match)",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "status",
              "type": "array",
              "required": false,
              "description": "Filter by ad status: ENABLED, PAUSED, REMOVED"
            },
            {
              "name": "limit",
              "type": "integer",
              "required": false,
              "description": "Number of ads per page (default: 20, max: 100)",
              "constraints": {
                "min": 1,
                "max": 100
              }
            },
            {
              "name": "cursor",
              "type": "string",
              "required": false,
              "description": "Opaque cursor from the previous response's nextCursor. Pass it with otherwise identical parameters to get the next page; a cursor reused with different filters is rejected. Omit for the first page.",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "refresh",
              "type": "boolean",
              "required": false,
              "description": "Force fresh data from Google Ads API instead of using cache. Defaults to false (cache-first). Only set to true when you need real-time data.",
              "default": false
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "List all",
              "mcp_params": {
                "customer_id": "1234567890",
                "reason": "List ads"
              },
              "cli_command": "hopkin google ads list --customer-id 1234567890",
              "natural_language": "List all"
            },
            {
              "label": "Filter by ad group",
              "mcp_params": {
                "customer_id": "1234567890",
                "ad_group_id": "5555555555",
                "reason": "List ads in ad group"
              },
              "cli_command": "hopkin google ads list --customer-id 1234567890 --ad-group-id 5555555555",
              "natural_language": "Filter by ad group"
            },
            {
              "label": "Get by ID",
              "mcp_params": {
                "customer_id": "1234567890",
                "ad_id": "7777777777",
                "reason": "Get ad details"
              },
              "cli_command": "hopkin google ads list --customer-id 1234567890 --ad 7777777777",
              "natural_language": "Get by ID"
            },
            {
              "label": "Search",
              "mcp_params": {
                "customer_id": "1234567890",
                "search": "promo",
                "reason": "Find promo ads"
              },
              "cli_command": "hopkin google ads list --customer-id 1234567890 --search promo",
              "natural_language": "Search"
            },
            {
              "label": "Get multiple by ID",
              "mcp_params": {
                "customer_id": "1234567890",
                "ad_ids": [
                  "111",
                  "222",
                  "333"
                ],
                "reason": "Get details for specific ads"
              },
              "cli_command": "hopkin google ads list --customer-id 1234567890 --ad-ids 111,222,333",
              "natural_language": "Get multiple by ID"
            },
            {
              "label": "Filter by status",
              "mcp_params": {
                "customer_id": "1234567890",
                "status": [
                  "ENABLED"
                ],
                "reason": "List enabled ads"
              },
              "cli_command": "hopkin google ads list --customer-id 1234567890 --status ENABLED",
              "natural_language": "Filter by status"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "meta_ads_list_ads",
              "relationship": "cross-platform"
            },
            {
              "name": "google_ads_list_ad_groups",
              "relationship": "hierarchy"
            },
            {
              "name": "google_ads_preview_ads",
              "relationship": "sibling"
            },
            {
              "name": "reddit_ads_list_ads",
              "relationship": "cross-platform"
            },
            {
              "name": "tiktok_ads_list_ads",
              "relationship": "cross-platform"
            },
            {
              "name": "chatgpt_ads_list_ads",
              "relationship": "cross-platform"
            },
            {
              "name": "microsoft_ads_list_ads",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "google_ads_get_asset_report",
          "title": "Get Google Ads Asset Report",
          "description": "Asset-level performance report across hierarchy levels (AD_GROUP, CAMPAIGN, CUSTOMER, ASSET_GROUP). CAMPAIGN level automatically includes PMax asset groups. When levels is omitted, all levels are queried. Conversion breakdown, change history, and PMax audience signals (audiences and search themes) are opt-in to control response size. Each row's conversion_breakdown is that row's own conversions by action; set include_all_conversions to also get secondary actions (all_conversions, e.g. Demand Gen branded searches) per creative. Video metrics are not available on asset resources. Units match the other Google reports: cost is in account currency; cost_micros, average_cpc, average_cpm, average_cost, cost_per_conversion and trueview_average_cpv are in micros (divide by 1,000,000). For creative inventory or copy exports, set include_asset_content: true — it resolves full sitelink copy (link text + both description lines), callout text, structured snippet values, call numbers, promotion targets, price offerings, and final URLs; without it, content is null for those asset types. Paginated: when a response includes nextCursor, call again with the same parameters plus cursor=<nextCursor>, and repeat until nextCursor is absent to get every row. A query that fails is named in warnings rather than silently returning nothing: a failed level's assets are missing from data and count, not absent from the account. If every level's row query fails, the call fails with the platform's error instead of returning an empty report. A cursor continues the queries page 1 read — a level that failed on the first page stays missing on later pages (omit cursor to retry it), and a level page 1 read that fails on a later page fails that call, which can be retried with the same cursor.",
          "cli_command": "hopkin google asset-report get",
          "cli_flags": [
            {
              "flag": "--customer-id",
              "description": "Google Ads Customer ID (10 digits, with or without dashes)",
              "type": "string",
              "required": true
            },
            {
              "flag": "--login-customer-id",
              "description": "MCC (Manager) Customer ID; required for managed accounts",
              "type": "string",
              "required": false
            },
            {
              "flag": "--date-preset",
              "description": "Predefined date range: TODAY, YESTERDAY, LAST_7_DAYS, LAST_30_DAYS, THIS_MONTH, LAST_MONTH. LAST_7_DAYS / LAST_30_DAYS are the 7 / 30 complete days ending yesterday (account time zone), as in Google Ads; THIS_MONTH runs through today.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--date-range",
              "description": "Custom date range {start_date, end_date} in YYYY-MM-DD",
              "type": "object",
              "required": false
            },
            {
              "flag": "--campaign-ids",
              "description": "Filter to one or more campaign IDs",
              "type": "array",
              "required": false
            },
            {
              "flag": "--ad-group-ids",
              "description": "Filter to one or more ad group IDs",
              "type": "array",
              "required": false
            },
            {
              "flag": "--asset-ids",
              "description": "Filter to one or more asset IDs",
              "type": "array",
              "required": false
            },
            {
              "flag": "--asset-types",
              "description": "Filter by asset type(s): TEXT, IMAGE, YOUTUBE_VIDEO, SITELINK, CALLOUT, etc.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--field-types",
              "description": "Filter by field type(s): HEADLINE, DESCRIPTION, MARKETING_IMAGE, etc.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--levels",
              "description": "Levels to query: CUSTOMER, CAMPAIGN, AD_GROUP, ASSET_GROUP. CAMPAIGN automatically includes ASSET_GROUP (PMax). Defaults to all levels.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--policy-approval-statuses",
              "description": "Filter by policy approval status(es). Useful for surfacing disapproved or limited assets without paginating through all results.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--include-change-history",
              "description": "Add added_at, added_by, last_modified_at, last_modified_by via change_event queries. Limited to last 30 days of Google history.",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--include-conversion-breakdown",
              "description": "Include a per-conversion-action breakdown on each asset row: conversion_breakdown lists that row's own conversions by action (primary conversions only), so it sums to the row's conversions. Adds 5 extra GAQL queries and significantly increases response size. Default false.",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--include-all-conversions",
              "description": "Also count secondary conversion actions, those not marked \"Include in Conversions\" (e.g. Demand Gen \"Branded searches\"): each conversion_breakdown entry gains all_conversions, all_conversions_value and value_per_all_conversions, and actions with only all_conversions appear with conversions 0. Turns on the conversion breakdown by itself. Default false.",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--include-audience-signals",
              "description": "Include PMax audience signals per asset group. Shows which audiences (remarketing lists, custom segments, interests) are configured as signals, and the search themes: each entry has a signalType of AUDIENCE (audienceResourceName, plus audienceName when resolvable) or SEARCH_THEME (searchThemeText, approvalStatus, and disapprovalReasons when disapproved).",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--include-asset-content",
              "description": "Resolve full asset content via a second query against the asset resource: sitelink link text + description lines, callout text, structured snippet values, call numbers, promotion targets, price offerings, and final URLs. Required for creative inventory / copy exports — without it, content is null for SITELINK, CALLOUT, STRUCTURED_SNIPPET, PROMOTION, CALL, PRICE, and LEAD_FORM assets. Adds 1 extra query per page. Default false.",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--order-by",
              "description": "Sort results by: impressions (default), clicks, cost, conversions, ctr. Applied globally after merging all levels.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--limit",
              "description": "Maximum rows to return per page (default: 20, max: 1000). Use cursor for subsequent pages.",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--cursor",
              "description": "Opaque cursor from the previous response's nextCursor. Pass it with otherwise identical parameters to get the next page; a cursor reused with different filters is rejected. Omit for the first page.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "reporting",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": false,
            "openWorld": false
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "customer_id": {
                "type": "string",
                "maxLength": 20,
                "pattern": "^[\\d-]+$",
                "description": "Google Ads Customer ID (10 digits, with or without dashes)"
              },
              "login_customer_id": {
                "type": "string",
                "maxLength": 20,
                "pattern": "^[\\d-]+$",
                "description": "MCC (Manager) Customer ID; required for managed accounts"
              },
              "date_preset": {
                "type": "string",
                "enum": [
                  "TODAY",
                  "YESTERDAY",
                  "LAST_7_DAYS",
                  "LAST_30_DAYS",
                  "THIS_MONTH",
                  "LAST_MONTH"
                ],
                "description": "Predefined date range: TODAY, YESTERDAY, LAST_7_DAYS, LAST_30_DAYS, THIS_MONTH, LAST_MONTH. LAST_7_DAYS / LAST_30_DAYS are the 7 / 30 complete days ending yesterday (account time zone), as in Google Ads; THIS_MONTH runs through today."
              },
              "date_range": {
                "type": "object",
                "properties": {
                  "start_date": {
                    "type": "string",
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                    "description": "Start date (YYYY-MM-DD)"
                  },
                  "end_date": {
                    "type": "string",
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                    "description": "End date (YYYY-MM-DD)"
                  }
                },
                "required": [
                  "start_date",
                  "end_date"
                ],
                "additionalProperties": false,
                "description": "Custom date range {start_date, end_date} in YYYY-MM-DD"
              },
              "campaign_ids": {
                "type": "array",
                "items": {
                  "type": "string",
                  "maxLength": 20,
                  "pattern": "^\\d+$"
                },
                "description": "Filter to one or more campaign IDs"
              },
              "ad_group_ids": {
                "type": "array",
                "items": {
                  "type": "string",
                  "maxLength": 20,
                  "pattern": "^\\d+$"
                },
                "description": "Filter to one or more ad group IDs"
              },
              "asset_ids": {
                "type": "array",
                "items": {
                  "type": "string",
                  "maxLength": 20,
                  "pattern": "^\\d+$"
                },
                "description": "Filter to one or more asset IDs"
              },
              "asset_types": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "TEXT",
                    "IMAGE",
                    "YOUTUBE_VIDEO",
                    "MEDIA_BUNDLE",
                    "BOOK_ON_GOOGLE",
                    "SITELINK",
                    "CALLOUT",
                    "STRUCTURED_SNIPPET",
                    "APP",
                    "LOCATION",
                    "CALL",
                    "PRICE",
                    "PROMOTION",
                    "AD_IMAGE",
                    "LEAD_FORM",
                    "DYNAMIC_EDUCATION",
                    "HOTEL_CALLOUT"
                  ]
                },
                "description": "Filter by asset type(s): TEXT, IMAGE, YOUTUBE_VIDEO, SITELINK, CALLOUT, etc."
              },
              "field_types": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "HEADLINE",
                    "DESCRIPTION",
                    "MARKETING_IMAGE",
                    "SQUARE_MARKETING_IMAGE",
                    "LOGO",
                    "LANDSCAPE_LOGO",
                    "CALL_TO_ACTION_SELECTION",
                    "YOUTUBE_VIDEO",
                    "SITELINK",
                    "CALLOUT",
                    "STRUCTURED_SNIPPET",
                    "PROMOTION",
                    "PRICE",
                    "CALL",
                    "APP",
                    "LEAD_FORM",
                    "BUSINESS_NAME",
                    "PORTRAIT_MARKETING_IMAGE",
                    "LONG_HEADLINE",
                    "MANDATORY_AD_TEXT"
                  ]
                },
                "description": "Filter by field type(s): HEADLINE, DESCRIPTION, MARKETING_IMAGE, etc."
              },
              "levels": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "CUSTOMER",
                    "CAMPAIGN",
                    "AD_GROUP",
                    "ASSET_GROUP"
                  ]
                },
                "description": "Levels to query: CUSTOMER, CAMPAIGN, AD_GROUP, ASSET_GROUP. CAMPAIGN automatically includes ASSET_GROUP (PMax). Defaults to all levels."
              },
              "policy_approval_statuses": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "APPROVED",
                    "APPROVED_LIMITED",
                    "AREA_OF_INTEREST_ONLY",
                    "DISAPPROVED",
                    "UNKNOWN"
                  ]
                },
                "description": "Filter by policy approval status(es). Useful for surfacing disapproved or limited assets without paginating through all results."
              },
              "include_change_history": {
                "type": "boolean",
                "default": false,
                "description": "Add added_at, added_by, last_modified_at, last_modified_by via change_event queries. Limited to last 30 days of Google history."
              },
              "include_conversion_breakdown": {
                "type": "boolean",
                "default": false,
                "description": "Include a per-conversion-action breakdown on each asset row: conversion_breakdown lists that row's own conversions by action (primary conversions only), so it sums to the row's conversions. Adds 5 extra GAQL queries and significantly increases response size. Default false."
              },
              "include_all_conversions": {
                "type": "boolean",
                "default": false,
                "description": "Also count secondary conversion actions, those not marked \"Include in Conversions\" (e.g. Demand Gen \"Branded searches\"): each conversion_breakdown entry gains all_conversions, all_conversions_value and value_per_all_conversions, and actions with only all_conversions appear with conversions 0. Turns on the conversion breakdown by itself. Default false."
              },
              "include_audience_signals": {
                "type": "boolean",
                "default": false,
                "description": "Include PMax audience signals per asset group. Shows which audiences (remarketing lists, custom segments, interests) are configured as signals, and the search themes: each entry has a signalType of AUDIENCE (audienceResourceName, plus audienceName when resolvable) or SEARCH_THEME (searchThemeText, approvalStatus, and disapprovalReasons when disapproved)."
              },
              "include_asset_content": {
                "type": "boolean",
                "default": false,
                "description": "Resolve full asset content via a second query against the asset resource: sitelink link text + description lines, callout text, structured snippet values, call numbers, promotion targets, price offerings, and final URLs. Required for creative inventory / copy exports — without it, content is null for SITELINK, CALLOUT, STRUCTURED_SNIPPET, PROMOTION, CALL, PRICE, and LEAD_FORM assets. Adds 1 extra query per page. Default false."
              },
              "order_by": {
                "type": "string",
                "enum": [
                  "impressions",
                  "clicks",
                  "cost",
                  "conversions",
                  "ctr"
                ],
                "default": "impressions",
                "description": "Sort results by: impressions (default), clicks, cost, conversions, ctr. Applied globally after merging all levels."
              },
              "limit": {
                "type": "integer",
                "minimum": 1,
                "maximum": 1000,
                "default": 20,
                "description": "Maximum rows to return per page (default: 20, max: 1000). Use cursor for subsequent pages."
              },
              "cursor": {
                "type": "string",
                "description": "Opaque cursor from the previous response's nextCursor. Pass it with otherwise identical parameters to get the next page; a cursor reused with different filters is rejected. Omit for the first page."
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "customer_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "customer_id",
              "type": "string",
              "required": true,
              "description": "Google Ads Customer ID (10 digits, with or without dashes)",
              "constraints": {
                "max_length": 20,
                "pattern": "^[\\d-]+$"
              }
            },
            {
              "name": "login_customer_id",
              "type": "string",
              "required": false,
              "description": "MCC (Manager) Customer ID; required for managed accounts",
              "constraints": {
                "max_length": 20,
                "pattern": "^[\\d-]+$"
              }
            },
            {
              "name": "date_preset",
              "type": "string",
              "required": false,
              "description": "Predefined date range: TODAY, YESTERDAY, LAST_7_DAYS, LAST_30_DAYS, THIS_MONTH, LAST_MONTH. LAST_7_DAYS / LAST_30_DAYS are the 7 / 30 complete days ending yesterday (account time zone), as in Google Ads; THIS_MONTH runs through today.",
              "enum_values": [
                "TODAY",
                "YESTERDAY",
                "LAST_7_DAYS",
                "LAST_30_DAYS",
                "THIS_MONTH",
                "LAST_MONTH"
              ]
            },
            {
              "name": "date_range",
              "type": "object",
              "required": false,
              "description": "Custom date range {start_date, end_date} in YYYY-MM-DD"
            },
            {
              "name": "campaign_ids",
              "type": "array",
              "required": false,
              "description": "Filter to one or more campaign IDs"
            },
            {
              "name": "ad_group_ids",
              "type": "array",
              "required": false,
              "description": "Filter to one or more ad group IDs"
            },
            {
              "name": "asset_ids",
              "type": "array",
              "required": false,
              "description": "Filter to one or more asset IDs"
            },
            {
              "name": "asset_types",
              "type": "array",
              "required": false,
              "description": "Filter by asset type(s): TEXT, IMAGE, YOUTUBE_VIDEO, SITELINK, CALLOUT, etc."
            },
            {
              "name": "field_types",
              "type": "array",
              "required": false,
              "description": "Filter by field type(s): HEADLINE, DESCRIPTION, MARKETING_IMAGE, etc."
            },
            {
              "name": "levels",
              "type": "array",
              "required": false,
              "description": "Levels to query: CUSTOMER, CAMPAIGN, AD_GROUP, ASSET_GROUP. CAMPAIGN automatically includes ASSET_GROUP (PMax). Defaults to all levels."
            },
            {
              "name": "policy_approval_statuses",
              "type": "array",
              "required": false,
              "description": "Filter by policy approval status(es). Useful for surfacing disapproved or limited assets without paginating through all results."
            },
            {
              "name": "include_change_history",
              "type": "boolean",
              "required": false,
              "description": "Add added_at, added_by, last_modified_at, last_modified_by via change_event queries. Limited to last 30 days of Google history.",
              "default": false
            },
            {
              "name": "include_conversion_breakdown",
              "type": "boolean",
              "required": false,
              "description": "Include a per-conversion-action breakdown on each asset row: conversion_breakdown lists that row's own conversions by action (primary conversions only), so it sums to the row's conversions. Adds 5 extra GAQL queries and significantly increases response size. Default false.",
              "default": false
            },
            {
              "name": "include_all_conversions",
              "type": "boolean",
              "required": false,
              "description": "Also count secondary conversion actions, those not marked \"Include in Conversions\" (e.g. Demand Gen \"Branded searches\"): each conversion_breakdown entry gains all_conversions, all_conversions_value and value_per_all_conversions, and actions with only all_conversions appear with conversions 0. Turns on the conversion breakdown by itself. Default false.",
              "default": false
            },
            {
              "name": "include_audience_signals",
              "type": "boolean",
              "required": false,
              "description": "Include PMax audience signals per asset group. Shows which audiences (remarketing lists, custom segments, interests) are configured as signals, and the search themes: each entry has a signalType of AUDIENCE (audienceResourceName, plus audienceName when resolvable) or SEARCH_THEME (searchThemeText, approvalStatus, and disapprovalReasons when disapproved).",
              "default": false
            },
            {
              "name": "include_asset_content",
              "type": "boolean",
              "required": false,
              "description": "Resolve full asset content via a second query against the asset resource: sitelink link text + description lines, callout text, structured snippet values, call numbers, promotion targets, price offerings, and final URLs. Required for creative inventory / copy exports — without it, content is null for SITELINK, CALLOUT, STRUCTURED_SNIPPET, PROMOTION, CALL, PRICE, and LEAD_FORM assets. Adds 1 extra query per page. Default false.",
              "default": false
            },
            {
              "name": "order_by",
              "type": "string",
              "required": false,
              "description": "Sort results by: impressions (default), clicks, cost, conversions, ctr. Applied globally after merging all levels.",
              "enum_values": [
                "impressions",
                "clicks",
                "cost",
                "conversions",
                "ctr"
              ],
              "default": "impressions"
            },
            {
              "name": "limit",
              "type": "integer",
              "required": false,
              "description": "Maximum rows to return per page (default: 20, max: 1000). Use cursor for subsequent pages.",
              "default": 20,
              "constraints": {
                "min": 1,
                "max": 1000
              }
            },
            {
              "name": "cursor",
              "type": "string",
              "required": false,
              "description": "Opaque cursor from the previous response's nextCursor. Pass it with otherwise identical parameters to get the next page; a cursor reused with different filters is rejected. Omit for the first page."
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "All assets last 30 days",
              "mcp_params": {
                "customer_id": "1234567890",
                "date_preset": "LAST_30_DAYS",
                "reason": "Review asset performance across all levels"
              },
              "cli_command": "hopkin google asset-report get --customer-id 1234567890 --date-preset LAST_30_DAYS",
              "natural_language": "All assets last 30 days"
            },
            {
              "label": "Ad group assets last 7 days",
              "mcp_params": {
                "customer_id": "1234567890",
                "date_preset": "LAST_7_DAYS",
                "levels": [
                  "AD_GROUP"
                ],
                "reason": "Ad group asset analysis"
              },
              "cli_command": "hopkin google asset-report get --customer-id 1234567890 --date-preset LAST_7_DAYS --levels AD_GROUP",
              "natural_language": "Ad group assets last 7 days"
            },
            {
              "label": "PMax assets by campaign",
              "mcp_params": {
                "customer_id": "1234567890",
                "date_preset": "LAST_30_DAYS",
                "levels": [
                  "CAMPAIGN"
                ],
                "reason": "PMax asset group analysis"
              },
              "cli_command": "hopkin google asset-report get --customer-id 1234567890 --date-preset LAST_30_DAYS --levels CAMPAIGN",
              "natural_language": "PMax assets by campaign"
            },
            {
              "label": "Top headlines by impressions",
              "mcp_params": {
                "customer_id": "1234567890",
                "date_preset": "LAST_30_DAYS",
                "field_types": [
                  "HEADLINE"
                ],
                "order_by": "impressions",
                "limit": 20,
                "reason": "Top headline analysis"
              },
              "cli_command": "hopkin google asset-report get --customer-id 1234567890 --date-preset LAST_30_DAYS --field-types HEADLINE --order-by impressions --limit 20",
              "natural_language": "Top headlines by impressions"
            },
            {
              "label": "PMax with audience signals",
              "mcp_params": {
                "customer_id": "1234567890",
                "date_preset": "LAST_30_DAYS",
                "levels": [
                  "ASSET_GROUP"
                ],
                "include_audience_signals": true,
                "reason": "PMax audience signal audit"
              },
              "cli_command": "hopkin google asset-report get --customer-id 1234567890 --date-preset LAST_30_DAYS --levels ASSET_GROUP --include-audience-signals true",
              "natural_language": "PMax with audience signals"
            },
            {
              "label": "Branded searches per video creative",
              "mcp_params": {
                "customer_id": "1234567890",
                "date_preset": "LAST_30_DAYS",
                "campaign_ids": [
                  "111"
                ],
                "field_types": [
                  "YOUTUBE_VIDEO"
                ],
                "include_all_conversions": true,
                "reason": "Secondary conversions (branded searches) and cost per action for each video"
              },
              "cli_command": "hopkin google asset-report get --customer-id 1234567890 --date-preset LAST_30_DAYS --campaign-ids 111 --field-types YOUTUBE_VIDEO --include-all-conversions true",
              "natural_language": "Branded searches per video creative"
            },
            {
              "label": "Creative inventory with sitelink copy",
              "mcp_params": {
                "customer_id": "1234567890",
                "date_preset": "LAST_30_DAYS",
                "asset_types": [
                  "SITELINK"
                ],
                "include_asset_content": true,
                "reason": "Export full sitelink copy and final URLs"
              },
              "cli_command": "hopkin google asset-report get --customer-id 1234567890 --date-preset LAST_30_DAYS --asset-types SITELINK --include-asset-content true",
              "natural_language": "Creative inventory with sitelink copy"
            }
          ],
          "response_format": "json",
          "related_tools": [
            {
              "name": "google_ads_get_performance_report",
              "relationship": "sibling"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "google_ads_get_audience_report",
          "title": "Get Google Ads Audience Report",
          "description": "",
          "cli_command": "hopkin google audience-report get",
          "cli_flags": [
            {
              "flag": "--customer-id",
              "description": "The Google Ads Customer ID (10 digits, with or without dashes)",
              "type": "string",
              "required": true
            },
            {
              "flag": "--login-customer-id",
              "description": "MCC (Manager) Customer ID; required for managed accounts",
              "type": "string",
              "required": false
            },
            {
              "flag": "--level",
              "description": "AD_GROUP (default): one row per ad group × criterion. CAMPAIGN: audiences attached at campaign level, and demographic buckets summed per campaign.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--dimensions",
              "description": "What to report on (default [\"AUDIENCE\"]): AUDIENCE (user lists incl. lookalikes, interests and detailed demographics, custom segments, combined audiences, life events, Demand Gen audiences), AGE_RANGE, GENDER, PARENTAL_STATUS, INCOME_RANGE. Pass several to get them in one call; each row carries its `dimension`.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--date-preset",
              "description": "Predefined date range: TODAY, YESTERDAY, LAST_7_DAYS, LAST_30_DAYS, THIS_MONTH, LAST_MONTH. LAST_7_DAYS / LAST_30_DAYS are the 7 / 30 complete days ending yesterday (account time zone), as in Google Ads; THIS_MONTH runs through today. Defaults to LAST_30_DAYS when neither date_preset nor date_range is given.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--date-range",
              "description": "Custom date range {start_date, end_date} in YYYY-MM-DD",
              "type": "object",
              "required": false
            },
            {
              "flag": "--segments",
              "description": "Split each row by date and/or device. Omit for window totals.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--campaign-ids",
              "description": "Only these campaigns (up to 100 IDs)",
              "type": "array",
              "required": false
            },
            {
              "flag": "--ad-group-ids",
              "description": "Only these ad groups (up to 100 IDs). AD_GROUP level only; refused at CAMPAIGN level.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--criterion-types",
              "description": "AUDIENCE dimension only: keep these criterion types, e.g. [\"USER_LIST\",\"CUSTOM_AUDIENCE\"].",
              "type": "array",
              "required": false
            },
            {
              "flag": "--include-zero-activity",
              "description": "Also list attached, non-removed criteria with no impressions in the window, to check whether an audience is serving at all.",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--include-all-conversions",
              "description": "Add all_conversions, all_conversions_value and view_through_conversions per row, plus an all-conversions breakdown by conversion action.",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--include-video-metrics",
              "description": "Add video metrics per row: video_trueview_views, video_trueview_view_rate, trueview_average_cpv and the 25/50/75/100% quartile rates (YouTube / Video / Demand Gen video).",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--limit",
              "description": "Rows per page (1-500, default 25, or 15 with include_all_conversions or include_video_metrics). The defaults keep a page within MCP client response limits: follow nextCursor for more rather than raising limit.",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--cursor",
              "description": "Opaque cursor from the previous response's nextCursor. Pass it with the same other parameters to fetch the next page; do not construct it.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "audience-report",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "customer_id": {
                "type": "string",
                "maxLength": 20,
                "pattern": "^[\\d-]+$",
                "description": "The Google Ads Customer ID (10 digits, with or without dashes)"
              },
              "login_customer_id": {
                "type": "string",
                "maxLength": 20,
                "pattern": "^[\\d-]+$",
                "description": "MCC (Manager) Customer ID; required for managed accounts"
              },
              "level": {
                "type": "string",
                "enum": [
                  "AD_GROUP",
                  "CAMPAIGN"
                ],
                "default": "AD_GROUP",
                "description": "AD_GROUP (default): one row per ad group × criterion. CAMPAIGN: audiences attached at campaign level, and demographic buckets summed per campaign."
              },
              "dimensions": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "AUDIENCE",
                    "AGE_RANGE",
                    "GENDER",
                    "PARENTAL_STATUS",
                    "INCOME_RANGE"
                  ]
                },
                "minItems": 1,
                "default": [
                  "AUDIENCE"
                ],
                "description": "What to report on (default [\"AUDIENCE\"]): AUDIENCE (user lists incl. lookalikes, interests and detailed demographics, custom segments, combined audiences, life events, Demand Gen audiences), AGE_RANGE, GENDER, PARENTAL_STATUS, INCOME_RANGE. Pass several to get them in one call; each row carries its `dimension`."
              },
              "date_preset": {
                "type": "string",
                "enum": [
                  "TODAY",
                  "YESTERDAY",
                  "LAST_7_DAYS",
                  "LAST_30_DAYS",
                  "THIS_MONTH",
                  "LAST_MONTH"
                ],
                "description": "Predefined date range: TODAY, YESTERDAY, LAST_7_DAYS, LAST_30_DAYS, THIS_MONTH, LAST_MONTH. LAST_7_DAYS / LAST_30_DAYS are the 7 / 30 complete days ending yesterday (account time zone), as in Google Ads; THIS_MONTH runs through today. Defaults to LAST_30_DAYS when neither date_preset nor date_range is given."
              },
              "date_range": {
                "type": "object",
                "properties": {
                  "start_date": {
                    "type": "string",
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                    "description": "Start date (YYYY-MM-DD)"
                  },
                  "end_date": {
                    "type": "string",
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                    "description": "End date (YYYY-MM-DD)"
                  }
                },
                "required": [
                  "start_date",
                  "end_date"
                ],
                "additionalProperties": false,
                "description": "Custom date range {start_date, end_date} in YYYY-MM-DD"
              },
              "segments": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "date",
                    "device"
                  ]
                },
                "description": "Split each row by date and/or device. Omit for window totals."
              },
              "campaign_ids": {
                "type": "array",
                "items": {
                  "type": "string",
                  "maxLength": 20,
                  "pattern": "^\\d+$"
                },
                "minItems": 1,
                "maxItems": 100,
                "description": "Only these campaigns (up to 100 IDs)"
              },
              "ad_group_ids": {
                "type": "array",
                "items": {
                  "type": "string",
                  "maxLength": 20,
                  "pattern": "^\\d+$"
                },
                "minItems": 1,
                "maxItems": 100,
                "description": "Only these ad groups (up to 100 IDs). AD_GROUP level only; refused at CAMPAIGN level."
              },
              "criterion_types": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "USER_LIST",
                    "USER_INTEREST",
                    "CUSTOM_AUDIENCE",
                    "CUSTOM_AFFINITY",
                    "CUSTOM_INTENT",
                    "COMBINED_AUDIENCE",
                    "LIFE_EVENT",
                    "AUDIENCE"
                  ]
                },
                "minItems": 1,
                "description": "AUDIENCE dimension only: keep these criterion types, e.g. [\"USER_LIST\",\"CUSTOM_AUDIENCE\"]."
              },
              "include_zero_activity": {
                "type": "boolean",
                "default": false,
                "description": "Also list attached, non-removed criteria with no impressions in the window, to check whether an audience is serving at all."
              },
              "include_all_conversions": {
                "type": "boolean",
                "default": false,
                "description": "Add all_conversions, all_conversions_value and view_through_conversions per row, plus an all-conversions breakdown by conversion action."
              },
              "include_video_metrics": {
                "type": "boolean",
                "default": false,
                "description": "Add video metrics per row: video_trueview_views, video_trueview_view_rate, trueview_average_cpv and the 25/50/75/100% quartile rates (YouTube / Video / Demand Gen video)."
              },
              "limit": {
                "type": "integer",
                "minimum": 1,
                "maximum": 500,
                "description": "Rows per page (1-500, default 25, or 15 with include_all_conversions or include_video_metrics). The defaults keep a page within MCP client response limits: follow nextCursor for more rather than raising limit."
              },
              "cursor": {
                "type": "string",
                "minLength": 1,
                "maxLength": 4096,
                "description": "Opaque cursor from the previous response's nextCursor. Pass it with the same other parameters to fetch the next page; do not construct it."
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "customer_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "customer_id",
              "type": "string",
              "required": true,
              "description": "The Google Ads Customer ID (10 digits, with or without dashes)",
              "constraints": {
                "max_length": 20,
                "pattern": "^[\\d-]+$"
              }
            },
            {
              "name": "login_customer_id",
              "type": "string",
              "required": false,
              "description": "MCC (Manager) Customer ID; required for managed accounts",
              "constraints": {
                "max_length": 20,
                "pattern": "^[\\d-]+$"
              }
            },
            {
              "name": "level",
              "type": "string",
              "required": false,
              "description": "AD_GROUP (default): one row per ad group × criterion. CAMPAIGN: audiences attached at campaign level, and demographic buckets summed per campaign.",
              "enum_values": [
                "AD_GROUP",
                "CAMPAIGN"
              ],
              "default": "AD_GROUP"
            },
            {
              "name": "dimensions",
              "type": "array",
              "required": false,
              "description": "What to report on (default [\"AUDIENCE\"]): AUDIENCE (user lists incl. lookalikes, interests and detailed demographics, custom segments, combined audiences, life events, Demand Gen audiences), AGE_RANGE, GENDER, PARENTAL_STATUS, INCOME_RANGE. Pass several to get them in one call; each row carries its `dimension`.",
              "default": [
                "AUDIENCE"
              ]
            },
            {
              "name": "date_preset",
              "type": "string",
              "required": false,
              "description": "Predefined date range: TODAY, YESTERDAY, LAST_7_DAYS, LAST_30_DAYS, THIS_MONTH, LAST_MONTH. LAST_7_DAYS / LAST_30_DAYS are the 7 / 30 complete days ending yesterday (account time zone), as in Google Ads; THIS_MONTH runs through today. Defaults to LAST_30_DAYS when neither date_preset nor date_range is given.",
              "enum_values": [
                "TODAY",
                "YESTERDAY",
                "LAST_7_DAYS",
                "LAST_30_DAYS",
                "THIS_MONTH",
                "LAST_MONTH"
              ]
            },
            {
              "name": "date_range",
              "type": "object",
              "required": false,
              "description": "Custom date range {start_date, end_date} in YYYY-MM-DD"
            },
            {
              "name": "segments",
              "type": "array",
              "required": false,
              "description": "Split each row by date and/or device. Omit for window totals."
            },
            {
              "name": "campaign_ids",
              "type": "array",
              "required": false,
              "description": "Only these campaigns (up to 100 IDs)"
            },
            {
              "name": "ad_group_ids",
              "type": "array",
              "required": false,
              "description": "Only these ad groups (up to 100 IDs). AD_GROUP level only; refused at CAMPAIGN level."
            },
            {
              "name": "criterion_types",
              "type": "array",
              "required": false,
              "description": "AUDIENCE dimension only: keep these criterion types, e.g. [\"USER_LIST\",\"CUSTOM_AUDIENCE\"]."
            },
            {
              "name": "include_zero_activity",
              "type": "boolean",
              "required": false,
              "description": "Also list attached, non-removed criteria with no impressions in the window, to check whether an audience is serving at all.",
              "default": false
            },
            {
              "name": "include_all_conversions",
              "type": "boolean",
              "required": false,
              "description": "Add all_conversions, all_conversions_value and view_through_conversions per row, plus an all-conversions breakdown by conversion action.",
              "default": false
            },
            {
              "name": "include_video_metrics",
              "type": "boolean",
              "required": false,
              "description": "Add video metrics per row: video_trueview_views, video_trueview_view_rate, trueview_average_cpv and the 25/50/75/100% quartile rates (YouTube / Video / Demand Gen video).",
              "default": false
            },
            {
              "name": "limit",
              "type": "integer",
              "required": false,
              "description": "Rows per page (1-500, default 25, or 15 with include_all_conversions or include_video_metrics). The defaults keep a page within MCP client response limits: follow nextCursor for more rather than raising limit.",
              "constraints": {
                "min": 1,
                "max": 500
              }
            },
            {
              "name": "cursor",
              "type": "string",
              "required": false,
              "description": "Opaque cursor from the previous response's nextCursor. Pass it with the same other parameters to fetch the next page; do not construct it.",
              "constraints": {
                "min_length": 1,
                "max_length": 4096
              }
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "microsoft_ads_get_audience_report",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "google_ads_list_audiences",
          "title": "List Google Ads Audiences",
          "description": "List audience lists (user lists) for a Google Ads account. Returns Customer Match lists, remarketing audiences, rule-based audiences, similar audiences, and lookalike segments. Shows list names, types, sizes (for Search and Display), membership status, and match rates. Supports filtering by type and membership status, plus name search. Paginated: when a response includes nextCursor, call again with the same parameters plus cursor=<nextCursor>, and repeat until nextCursor is absent to get every row.",
          "cli_command": "hopkin google audiences list",
          "cli_flags": [
            {
              "flag": "--customer-id",
              "description": "The Google Ads Customer ID (10 digits, with or without dashes)",
              "type": "string",
              "required": true
            },
            {
              "flag": "--login-customer-id",
              "description": "MCC (Manager) Customer ID; required for managed accounts",
              "type": "string",
              "required": false
            },
            {
              "flag": "--type",
              "description": "Filter by audience type(s). Examples: CRM_BASED, REMARKETING, RULE_BASED, LOOKALIKE",
              "type": "array",
              "required": false
            },
            {
              "flag": "--membership-status",
              "description": "Filter by membership status: OPEN (accepting new members) or CLOSED",
              "type": "string",
              "required": false
            },
            {
              "flag": "--search",
              "description": "Case-insensitive search filter applied to audience list names",
              "type": "string",
              "required": false
            },
            {
              "flag": "--limit",
              "description": "Number of lists per page (default: 20, max: 100)",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--cursor",
              "description": "Opaque cursor from the previous response's nextCursor. Pass it with otherwise identical parameters to get the next page; a cursor reused with different filters is rejected. Omit for the first page.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "audiences",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "customer_id": {
                "type": "string",
                "maxLength": 20,
                "pattern": "^[\\d-]+$",
                "description": "The Google Ads Customer ID (10 digits, with or without dashes)"
              },
              "login_customer_id": {
                "type": "string",
                "maxLength": 20,
                "pattern": "^[\\d-]+$",
                "description": "MCC (Manager) Customer ID; required for managed accounts"
              },
              "type": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "CRM_BASED",
                    "REMARKETING",
                    "LOGICAL_USER_LIST",
                    "EXTERNAL_REMARKETING",
                    "RULE_BASED",
                    "SIMILAR",
                    "LOOKALIKE"
                  ]
                },
                "description": "Filter by audience type(s). Examples: CRM_BASED, REMARKETING, RULE_BASED, LOOKALIKE"
              },
              "membership_status": {
                "type": "string",
                "enum": [
                  "OPEN",
                  "CLOSED"
                ],
                "description": "Filter by membership status: OPEN (accepting new members) or CLOSED"
              },
              "search": {
                "type": "string",
                "description": "Case-insensitive search filter applied to audience list names"
              },
              "limit": {
                "type": "integer",
                "minimum": 1,
                "maximum": 100,
                "description": "Number of lists per page (default: 20, max: 100)"
              },
              "cursor": {
                "type": "string",
                "minLength": 1,
                "description": "Opaque cursor from the previous response's nextCursor. Pass it with otherwise identical parameters to get the next page; a cursor reused with different filters is rejected. Omit for the first page."
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "customer_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "customer_id",
              "type": "string",
              "required": true,
              "description": "The Google Ads Customer ID (10 digits, with or without dashes)",
              "constraints": {
                "max_length": 20,
                "pattern": "^[\\d-]+$"
              }
            },
            {
              "name": "login_customer_id",
              "type": "string",
              "required": false,
              "description": "MCC (Manager) Customer ID; required for managed accounts",
              "constraints": {
                "max_length": 20,
                "pattern": "^[\\d-]+$"
              }
            },
            {
              "name": "type",
              "type": "array",
              "required": false,
              "description": "Filter by audience type(s). Examples: CRM_BASED, REMARKETING, RULE_BASED, LOOKALIKE"
            },
            {
              "name": "membership_status",
              "type": "string",
              "required": false,
              "description": "Filter by membership status: OPEN (accepting new members) or CLOSED",
              "enum_values": [
                "OPEN",
                "CLOSED"
              ]
            },
            {
              "name": "search",
              "type": "string",
              "required": false,
              "description": "Case-insensitive search filter applied to audience list names"
            },
            {
              "name": "limit",
              "type": "integer",
              "required": false,
              "description": "Number of lists per page (default: 20, max: 100)",
              "constraints": {
                "min": 1,
                "max": 100
              }
            },
            {
              "name": "cursor",
              "type": "string",
              "required": false,
              "description": "Opaque cursor from the previous response's nextCursor. Pass it with otherwise identical parameters to get the next page; a cursor reused with different filters is rejected. Omit for the first page.",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "All audiences",
              "mcp_params": {
                "customer_id": "1234567890",
                "reason": "Audit all audience lists on the account"
              },
              "cli_command": "hopkin google audiences list --customer-id 1234567890",
              "natural_language": "All audiences"
            },
            {
              "label": "Customer Match only",
              "mcp_params": {
                "customer_id": "1234567890",
                "type": [
                  "CRM_BASED"
                ],
                "reason": "View Customer Match lists and match rates"
              },
              "cli_command": "hopkin google audiences list --customer-id 1234567890 --type CRM_BASED",
              "natural_language": "Customer Match only"
            },
            {
              "label": "Search by name",
              "mcp_params": {
                "customer_id": "1234567890",
                "search": "remarketing",
                "reason": "Find remarketing audiences by name"
              },
              "cli_command": "hopkin google audiences list --customer-id 1234567890 --search remarketing",
              "natural_language": "Search by name"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "tiktok_ads_list_audiences",
              "relationship": "cross-platform"
            },
            {
              "name": "microsoft_ads_list_audiences",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "google_ads_check_auth_status",
          "title": "Check Google Ads Auth Status",
          "description": "Troubleshoot authentication issues and get user profile info. Only use when another tool fails with a permission or authentication error — do NOT call proactively.",
          "cli_command": "hopkin google auth check",
          "cli_flags": [
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "auth",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": false
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "Check auth",
              "mcp_params": {
                "reason": "Another tool returned an auth error, checking account connection status"
              },
              "cli_command": "hopkin google auth check",
              "natural_language": "Check auth"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "meta_ads_check_auth_status",
              "relationship": "cross-platform"
            },
            {
              "name": "google_ads_ping",
              "relationship": "sibling"
            },
            {
              "name": "linkedin_ads_check_auth_status",
              "relationship": "cross-platform"
            },
            {
              "name": "reddit_ads_check_auth_status",
              "relationship": "cross-platform"
            },
            {
              "name": "tiktok_ads_check_auth_status",
              "relationship": "cross-platform"
            },
            {
              "name": "chatgpt_ads_check_auth_status",
              "relationship": "cross-platform"
            },
            {
              "name": "microsoft_ads_check_auth_status",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "google_ads_get_auto_applied_recommendations",
          "title": "Check Google Ads Auto-Applied Recommendations",
          "description": "Check which Google Ads recommendation types are set to auto-apply for an account. Auto-applied recommendations can automatically change bids, budgets, keywords, and campaign structure without manual review. Essential for account audits.",
          "cli_command": "hopkin google auto-applied-recommendations get",
          "cli_flags": [
            {
              "flag": "--customer-id",
              "description": "The Google Ads Customer ID (10 digits, with or without dashes)",
              "type": "string",
              "required": true
            },
            {
              "flag": "--login-customer-id",
              "description": "MCC (Manager) Customer ID; required for managed accounts",
              "type": "string",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "auto-applied-recommendations",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "customer_id": {
                "type": "string",
                "maxLength": 20,
                "pattern": "^[\\d-]+$",
                "description": "The Google Ads Customer ID (10 digits, with or without dashes)"
              },
              "login_customer_id": {
                "type": "string",
                "maxLength": 20,
                "pattern": "^[\\d-]+$",
                "description": "MCC (Manager) Customer ID; required for managed accounts"
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "customer_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "customer_id",
              "type": "string",
              "required": true,
              "description": "The Google Ads Customer ID (10 digits, with or without dashes)",
              "constraints": {
                "max_length": 20,
                "pattern": "^[\\d-]+$"
              }
            },
            {
              "name": "login_customer_id",
              "type": "string",
              "required": false,
              "description": "MCC (Manager) Customer ID; required for managed accounts",
              "constraints": {
                "max_length": 20,
                "pattern": "^[\\d-]+$"
              }
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "Check auto-applied",
              "mcp_params": {
                "customer_id": "1234567890",
                "reason": "Audit auto-applied recommendation settings"
              },
              "cli_command": "hopkin google auto-applied-recommendations get --customer-id 1234567890",
              "natural_language": "Check auto-applied"
            },
            {
              "label": "MCC account",
              "mcp_params": {
                "customer_id": "1234567890",
                "login_customer_id": "9876543210",
                "reason": "Check auto-applied for managed account"
              },
              "cli_command": "hopkin google auto-applied-recommendations get --customer-id 1234567890 --login-customer-id 9876543210",
              "natural_language": "MCC account"
            }
          ],
          "response_format": "markdown",
          "related_tools": [],
          "tool_type": "standard"
        },
        {
          "name": "google_ads_get_billing_status",
          "title": "Billing status",
          "description": "Why a call was refused with a billing error (402) and how to get unblocked. Reports whether this organization is entitled, its subscription status, tier, trial end, credits used and left this period, the price table and a link to the billing page. With checkout_tier, the organization owner also gets a Stripe Checkout link for that plan; a member gets the owner's contact and a message to forward. Call it after any 402. While waiting for a human to pay, poll it every 10 seconds for the first minute, every 30 seconds until 5 minutes, then every 60 seconds until 15 minutes, then stop and tell the human. Once it returns entitled: true, retry the blocked call; if the retry still returns 402, wait 15 seconds and retry once. A Checkout link is a payment link: give it to the organization owner only.",
          "cli_command": "hopkin google billing-status get",
          "cli_flags": [
            {
              "flag": "--checkout-tier",
              "description": "Organization owner only: also create a Stripe Checkout link for this plan. A member gets the owner's contact and a message to forward instead.",
              "type": "string",
              "required": false
            }
          ],
          "category": "billing-status",
          "annotations": {
            "readOnly": false,
            "destructive": false,
            "idempotent": true,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "checkout_tier": {
                "type": "string",
                "enum": [
                  "starter",
                  "pro",
                  "enterprise"
                ],
                "description": "Organization owner only: also create a Stripe Checkout link for this plan. A member gets the owner's contact and a message to forward instead."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "checkout_tier",
              "type": "string",
              "required": false,
              "description": "Organization owner only: also create a Stripe Checkout link for this plan. A member gets the owner's contact and a message to forward instead.",
              "enum_values": [
                "starter",
                "pro",
                "enterprise"
              ]
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "After a billing error",
              "mcp_params": {
                "reason": "A tool call was refused with a billing error (402)"
              },
              "cli_command": "hopkin google billing-status get",
              "natural_language": "After a billing error"
            },
            {
              "label": "Owner: Checkout link",
              "mcp_params": {
                "checkout_tier": "pro",
                "reason": "The organization owner wants to pay for Pro now"
              },
              "cli_command": "hopkin google billing-status get --checkout-tier pro",
              "natural_language": "Owner: Checkout link"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "meta_ads_get_billing_status",
              "relationship": "cross-platform"
            },
            {
              "name": "linkedin_ads_get_billing_status",
              "relationship": "cross-platform"
            },
            {
              "name": "reddit_ads_get_billing_status",
              "relationship": "cross-platform"
            },
            {
              "name": "tiktok_ads_get_billing_status",
              "relationship": "cross-platform"
            },
            {
              "name": "chatgpt_ads_get_billing_status",
              "relationship": "cross-platform"
            },
            {
              "name": "microsoft_ads_get_billing_status",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "google_ads_list_campaigns",
          "title": "List Google Ads Campaigns",
          "description": "List campaigns for a Google Ads account. Supports status filtering, search, and pagination. Results are cached; pass refresh=true for latest data. Use include_criteria to control audience/schedule detail: \"none\" (fastest), \"summary\" (default; audiences and locations capped, ad schedules whole), or \"full\" (uncapped, requires campaign_id/campaign_ids). Every campaign also carries its URL tracking configuration — tracking_url_template, final_url_suffix and url_custom_parameters — always present, and null when the campaign sets none (so \"no tracking template here\" is a verified answer, not a missing key). ValueTrack macros such as {lpurl} and {campaignid} are returned verbatim. Every campaign's settings also carry its serving settings, whatever include_criteria is: networkSettings under Google's names (targetSearchNetwork is the \"search partners\" setting, targetContentNetwork is the Display Network; targetPartnerSearchNetwork is the Google Partner Network, not search partners), aiMax { enabled, bundlingRequired } (Search campaigns only, null elsewhere), assetAutomation[], and finalUrlExpansion { status, effective, source }: source \"explicit\" is the campaign's own setting, \"google_default\" applies Google's default (off for Search, on for Performance Max), and \"unset\" means an AI Max Search campaign sets nothing, where the default is not knowable, so effective is null. A null value means Google returned nothing or the setting does not apply, never \"off\". Ad schedules are never capped (at most 42 per campaign), so the default listing answers ad-schedule questions for the whole account: a campaign with no adSchedules runs at all hours, unless warnings names it as a campaign whose criteria could not be fetched, in which case its schedule is unknown. Paginated: when a response includes nextCursor, call again with the same parameters plus cursor=<nextCursor>, and repeat until nextCursor is absent to get every row.",
          "cli_command": "hopkin google campaigns list",
          "cli_flags": [
            {
              "flag": "--customer-id",
              "description": "The Google Ads Customer ID (10 digits, with or without dashes)",
              "type": "string",
              "required": true
            },
            {
              "flag": "--login-customer-id",
              "description": "MCC (Manager) Customer ID; required for managed accounts",
              "type": "string",
              "required": false
            },
            {
              "flag": "--campaign",
              "description": "Get a specific campaign by ID. When provided, returns only that campaign and ignores other filters/pagination.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--campaign-ids",
              "description": "Get multiple campaigns by ID. Mutually exclusive with campaign_id. When provided, ignores other filters/pagination.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--search",
              "description": "Search campaigns by name (case-insensitive partial match)",
              "type": "string",
              "required": false
            },
            {
              "flag": "--status",
              "description": "Filter by campaign status: ENABLED, PAUSED, REMOVED",
              "type": "array",
              "required": false
            },
            {
              "flag": "--limit",
              "description": "Number of campaigns per page (default: 20, max: 100)",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--cursor",
              "description": "Opaque cursor from the previous response's nextCursor. Pass it with otherwise identical parameters to get the next page; a cursor reused with different filters is rejected. Omit for the first page.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--refresh",
              "description": "Force fresh data from Google Ads API instead of using cache. Defaults to false (cache-first). Only set to true when you need real-time data.",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--include-criteria",
              "description": "Controls campaign criteria detail level. \"none\" omits criteria (fastest). \"summary\" (default) returns audiences and locations capped with total counts, and every ad schedule. \"full\" returns all criteria uncapped — requires campaign_id or campaign_ids (max 10).",
              "type": "string",
              "required": false
            },
            {
              "flag": "--label-filter",
              "description": "Filter by labels. Accepts an array whose entries are any of: label name (e.g. \"Big Boom\"), bare label ID (e.g. \"9876543210\"), or full label resource name (e.g. \"customers/1234567890/labels/9876543210\"). Names are resolved against cached labels for the relevant customer scope. Unknown names return an empty result with a warning rather than an error.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "campaigns",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": false,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "customer_id": {
                "type": "string",
                "maxLength": 20,
                "pattern": "^[\\d-]+$",
                "description": "The Google Ads Customer ID (10 digits, with or without dashes)"
              },
              "login_customer_id": {
                "type": "string",
                "maxLength": 20,
                "pattern": "^[\\d-]+$",
                "description": "MCC (Manager) Customer ID; required for managed accounts"
              },
              "campaign_id": {
                "type": "string",
                "maxLength": 20,
                "pattern": "^\\d+$",
                "description": "Get a specific campaign by ID. When provided, returns only that campaign and ignores other filters/pagination."
              },
              "campaign_ids": {
                "type": "array",
                "items": {
                  "type": "string",
                  "maxLength": 20,
                  "pattern": "^\\d+$"
                },
                "minItems": 1,
                "maxItems": 50,
                "description": "Get multiple campaigns by ID. Mutually exclusive with campaign_id. When provided, ignores other filters/pagination."
              },
              "search": {
                "type": "string",
                "minLength": 1,
                "description": "Search campaigns by name (case-insensitive partial match)"
              },
              "status": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "ENABLED",
                    "PAUSED",
                    "REMOVED"
                  ]
                },
                "description": "Filter by campaign status: ENABLED, PAUSED, REMOVED"
              },
              "limit": {
                "type": "integer",
                "minimum": 1,
                "maximum": 100,
                "description": "Number of campaigns per page (default: 20, max: 100)"
              },
              "cursor": {
                "type": "string",
                "minLength": 1,
                "description": "Opaque cursor from the previous response's nextCursor. Pass it with otherwise identical parameters to get the next page; a cursor reused with different filters is rejected. Omit for the first page."
              },
              "refresh": {
                "type": "boolean",
                "default": false,
                "description": "Force fresh data from Google Ads API instead of using cache. Defaults to false (cache-first). Only set to true when you need real-time data."
              },
              "include_criteria": {
                "type": "string",
                "enum": [
                  "none",
                  "summary",
                  "full"
                ],
                "default": "summary",
                "description": "Controls campaign criteria detail level. \"none\" omits criteria (fastest). \"summary\" (default) returns audiences and locations capped with total counts, and every ad schedule. \"full\" returns all criteria uncapped — requires campaign_id or campaign_ids (max 10)."
              },
              "label_filter": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 100
                },
                "minItems": 1,
                "maxItems": 50,
                "description": "Filter by labels. Accepts an array whose entries are any of: label name (e.g. \"Big Boom\"), bare label ID (e.g. \"9876543210\"), or full label resource name (e.g. \"customers/1234567890/labels/9876543210\"). Names are resolved against cached labels for the relevant customer scope. Unknown names return an empty result with a warning rather than an error."
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "customer_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "customer_id",
              "type": "string",
              "required": true,
              "description": "The Google Ads Customer ID (10 digits, with or without dashes)",
              "constraints": {
                "max_length": 20,
                "pattern": "^[\\d-]+$"
              }
            },
            {
              "name": "login_customer_id",
              "type": "string",
              "required": false,
              "description": "MCC (Manager) Customer ID; required for managed accounts",
              "constraints": {
                "max_length": 20,
                "pattern": "^[\\d-]+$"
              }
            },
            {
              "name": "campaign_id",
              "type": "string",
              "required": false,
              "description": "Get a specific campaign by ID. When provided, returns only that campaign and ignores other filters/pagination.",
              "constraints": {
                "max_length": 20,
                "pattern": "^\\d+$"
              }
            },
            {
              "name": "campaign_ids",
              "type": "array",
              "required": false,
              "description": "Get multiple campaigns by ID. Mutually exclusive with campaign_id. When provided, ignores other filters/pagination."
            },
            {
              "name": "search",
              "type": "string",
              "required": false,
              "description": "Search campaigns by name (case-insensitive partial match)",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "status",
              "type": "array",
              "required": false,
              "description": "Filter by campaign status: ENABLED, PAUSED, REMOVED"
            },
            {
              "name": "limit",
              "type": "integer",
              "required": false,
              "description": "Number of campaigns per page (default: 20, max: 100)",
              "constraints": {
                "min": 1,
                "max": 100
              }
            },
            {
              "name": "cursor",
              "type": "string",
              "required": false,
              "description": "Opaque cursor from the previous response's nextCursor. Pass it with otherwise identical parameters to get the next page; a cursor reused with different filters is rejected. Omit for the first page.",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "refresh",
              "type": "boolean",
              "required": false,
              "description": "Force fresh data from Google Ads API instead of using cache. Defaults to false (cache-first). Only set to true when you need real-time data.",
              "default": false
            },
            {
              "name": "include_criteria",
              "type": "string",
              "required": false,
              "description": "Controls campaign criteria detail level. \"none\" omits criteria (fastest). \"summary\" (default) returns audiences and locations capped with total counts, and every ad schedule. \"full\" returns all criteria uncapped — requires campaign_id or campaign_ids (max 10).",
              "enum_values": [
                "none",
                "summary",
                "full"
              ],
              "default": "summary"
            },
            {
              "name": "label_filter",
              "type": "array",
              "required": false,
              "description": "Filter by labels. Accepts an array whose entries are any of: label name (e.g. \"Big Boom\"), bare label ID (e.g. \"9876543210\"), or full label resource name (e.g. \"customers/1234567890/labels/9876543210\"). Names are resolved against cached labels for the relevant customer scope. Unknown names return an empty result with a warning rather than an error."
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "List all",
              "mcp_params": {
                "customer_id": "1234567890",
                "reason": "List campaigns"
              },
              "cli_command": "hopkin google campaigns list --customer-id 1234567890",
              "natural_language": "List all"
            },
            {
              "label": "Filter by status",
              "mcp_params": {
                "customer_id": "1234567890",
                "status": [
                  "ENABLED"
                ],
                "reason": "List enabled campaigns"
              },
              "cli_command": "hopkin google campaigns list --customer-id 1234567890 --status ENABLED",
              "natural_language": "Filter by status"
            },
            {
              "label": "Get by ID",
              "mcp_params": {
                "customer_id": "1234567890",
                "campaign_id": "9876543210",
                "reason": "Get campaign details"
              },
              "cli_command": "hopkin google campaigns list --customer-id 1234567890 --campaign 9876543210",
              "natural_language": "Get by ID"
            },
            {
              "label": "Search",
              "mcp_params": {
                "customer_id": "1234567890",
                "search": "brand",
                "reason": "Find brand campaigns"
              },
              "cli_command": "hopkin google campaigns list --customer-id 1234567890 --search brand",
              "natural_language": "Search"
            },
            {
              "label": "Get multiple by ID",
              "mcp_params": {
                "customer_id": "1234567890",
                "campaign_ids": [
                  "111",
                  "222",
                  "333"
                ],
                "reason": "Get details for specific campaigns"
              },
              "cli_command": "hopkin google campaigns list --customer-id 1234567890 --campaign-ids 111,222,333",
              "natural_language": "Get multiple by ID"
            },
            {
              "label": "MCC child",
              "mcp_params": {
                "customer_id": "1234567890",
                "login_customer_id": "9999999999",
                "reason": "List campaigns for MCC child"
              },
              "cli_command": "hopkin google campaigns list --customer-id 1234567890 --login-customer-id 9999999999",
              "natural_language": "MCC child"
            },
            {
              "label": "Full criteria for campaign",
              "mcp_params": {
                "customer_id": "1234567890",
                "campaign_id": "9876543210",
                "include_criteria": "full",
                "reason": "Get all audiences for campaign"
              },
              "cli_command": "hopkin google campaigns list --customer-id 1234567890 --campaign 9876543210 --include-criteria full",
              "natural_language": "Full criteria for campaign"
            },
            {
              "label": "Fast listing (no criteria)",
              "mcp_params": {
                "customer_id": "1234567890",
                "include_criteria": "none",
                "reason": "Quick campaign overview"
              },
              "cli_command": "hopkin google campaigns list --customer-id 1234567890 --include-criteria none",
              "natural_language": "Fast listing (no criteria)"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "meta_ads_list_campaigns",
              "relationship": "cross-platform"
            },
            {
              "name": "google_ads_list_ad_groups",
              "relationship": "hierarchy"
            },
            {
              "name": "linkedin_ads_list_campaigns",
              "relationship": "cross-platform"
            },
            {
              "name": "reddit_ads_list_campaigns",
              "relationship": "cross-platform"
            },
            {
              "name": "tiktok_ads_list_campaigns",
              "relationship": "cross-platform"
            },
            {
              "name": "chatgpt_ads_list_campaigns",
              "relationship": "cross-platform"
            },
            {
              "name": "microsoft_ads_list_campaigns",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "google_ads_render_chart",
          "title": "Render Chart",
          "description": "Interactive UI for rendering data visualization charts",
          "cli_command": "",
          "cli_flags": [],
          "category": "chart",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": false
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Brief explanation of why you are rendering this chart"
              },
              "chart": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "const": "bar"
                      },
                      "data": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "label": {
                              "type": "string"
                            },
                            "values": {
                              "type": "object",
                              "additionalProperties": {
                                "type": [
                                  "number",
                                  "null"
                                ]
                              }
                            }
                          },
                          "required": [
                            "label",
                            "values"
                          ],
                          "additionalProperties": false
                        }
                      },
                      "metric": {
                        "anyOf": [
                          {
                            "type": "object",
                            "properties": {
                              "field": {
                                "type": "string"
                              },
                              "label": {
                                "type": "string"
                              },
                              "format": {
                                "type": "string"
                              },
                              "tickFormat": {
                                "type": "string"
                              },
                              "labelFields": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "field": {
                                      "type": "string"
                                    },
                                    "format": {
                                      "type": "string"
                                    },
                                    "suffix": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "field"
                                  ],
                                  "additionalProperties": false
                                }
                              }
                            },
                            "required": [
                              "field",
                              "label"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "field": {
                                  "type": "string"
                                },
                                "label": {
                                  "type": "string"
                                },
                                "format": {
                                  "type": "string"
                                },
                                "tickFormat": {
                                  "type": "string"
                                },
                                "labelFields": {
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "properties": {
                                      "field": {
                                        "type": "string"
                                      },
                                      "format": {
                                        "type": "string"
                                      },
                                      "suffix": {
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "field"
                                    ],
                                    "additionalProperties": false
                                  }
                                }
                              },
                              "required": [
                                "field",
                                "label"
                              ],
                              "additionalProperties": false
                            }
                          }
                        ]
                      },
                      "orientation": {
                        "type": "string",
                        "enum": [
                          "horizontal",
                          "vertical"
                        ],
                        "default": "horizontal"
                      },
                      "sort": {
                        "type": "string",
                        "enum": [
                          "asc",
                          "desc",
                          "none"
                        ],
                        "default": "desc"
                      },
                      "colorBy": {
                        "anyOf": [
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "fixed"
                              }
                            },
                            "required": [
                              "type"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "threshold"
                              },
                              "field": {
                                "type": "string"
                              },
                              "threshold": {
                                "type": "number"
                              },
                              "sentiment": {
                                "type": "string",
                                "enum": [
                                  "above-positive",
                                  "above-negative"
                                ],
                                "default": "above-positive"
                              }
                            },
                            "required": [
                              "type",
                              "field",
                              "threshold"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "continuous"
                              },
                              "field": {
                                "type": "string"
                              },
                              "scheme": {
                                "type": "string"
                              },
                              "reverse": {
                                "type": "boolean",
                                "default": false
                              },
                              "muteZero": {
                                "type": "boolean",
                                "default": false
                              },
                              "label": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "type",
                              "field",
                              "scheme"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "categorical"
                              }
                            },
                            "required": [
                              "type"
                            ],
                            "additionalProperties": false
                          }
                        ]
                      },
                      "referenceLines": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "value": {
                              "type": "number"
                            },
                            "label": {
                              "type": "string"
                            },
                            "dash": {
                              "type": "string",
                              "enum": [
                                "solid",
                                "dashed"
                              ],
                              "default": "dashed"
                            }
                          },
                          "required": [
                            "value"
                          ],
                          "additionalProperties": false
                        }
                      },
                      "table": {
                        "type": "object",
                        "properties": {
                          "columns": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "field": {
                                  "type": "string"
                                },
                                "label": {
                                  "type": "string"
                                },
                                "format": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "field",
                                "label"
                              ],
                              "additionalProperties": false
                            }
                          }
                        },
                        "required": [
                          "columns"
                        ],
                        "additionalProperties": false
                      },
                      "panelWidth": {
                        "type": "number"
                      },
                      "width": {
                        "type": "number",
                        "default": 700
                      },
                      "height": {
                        "type": "number",
                        "default": 400
                      }
                    },
                    "required": [
                      "type",
                      "data",
                      "metric"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "const": "scatter"
                      },
                      "data": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "label": {
                              "type": "string"
                            },
                            "values": {
                              "type": "object",
                              "additionalProperties": {
                                "type": "number"
                              }
                            }
                          },
                          "required": [
                            "label",
                            "values"
                          ],
                          "additionalProperties": false
                        }
                      },
                      "x": {
                        "type": "object",
                        "properties": {
                          "field": {
                            "type": "string"
                          },
                          "label": {
                            "type": "string"
                          },
                          "scale": {
                            "type": "string",
                            "enum": [
                              "linear",
                              "log"
                            ],
                            "default": "linear"
                          },
                          "format": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "field",
                          "label"
                        ],
                        "additionalProperties": false
                      },
                      "y": {
                        "type": "object",
                        "properties": {
                          "field": {
                            "type": "string"
                          },
                          "label": {
                            "type": "string"
                          },
                          "scale": {
                            "type": "string",
                            "enum": [
                              "linear",
                              "log"
                            ],
                            "default": "linear"
                          },
                          "format": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "field",
                          "label"
                        ],
                        "additionalProperties": false
                      },
                      "size": {
                        "type": "object",
                        "properties": {
                          "field": {
                            "type": "string"
                          },
                          "range": {
                            "type": "array",
                            "items": {
                              "type": "number"
                            },
                            "minItems": 2,
                            "maxItems": 2,
                            "default": [
                              3,
                              20
                            ]
                          }
                        },
                        "required": [
                          "field"
                        ],
                        "additionalProperties": false
                      },
                      "color": {
                        "anyOf": [
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "fixed"
                              }
                            },
                            "required": [
                              "type"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "continuous"
                              },
                              "field": {
                                "type": "string"
                              },
                              "scheme": {
                                "type": "string"
                              },
                              "reverse": {
                                "type": "boolean",
                                "default": false
                              }
                            },
                            "required": [
                              "type",
                              "field",
                              "scheme"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "threshold"
                              },
                              "field": {
                                "type": "string"
                              },
                              "threshold": {
                                "type": "number"
                              },
                              "sentiment": {
                                "type": "string",
                                "enum": [
                                  "above-positive",
                                  "above-negative"
                                ],
                                "default": "above-positive"
                              }
                            },
                            "required": [
                              "type",
                              "field",
                              "threshold"
                            ],
                            "additionalProperties": false
                          }
                        ]
                      },
                      "referenceLines": {
                        "type": "object",
                        "properties": {
                          "medianX": {
                            "type": "boolean",
                            "default": false
                          },
                          "medianY": {
                            "type": "boolean",
                            "default": false
                          },
                          "targets": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "slope": {
                                  "type": "number"
                                },
                                "label": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "slope",
                                "label"
                              ],
                              "additionalProperties": false
                            }
                          },
                          "regression": {
                            "type": "boolean",
                            "default": false
                          }
                        },
                        "additionalProperties": false
                      },
                      "table": {
                        "type": "object",
                        "properties": {
                          "columns": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "field": {
                                  "type": "string"
                                },
                                "label": {
                                  "type": "string"
                                },
                                "format": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "field",
                                "label"
                              ],
                              "additionalProperties": false
                            }
                          }
                        },
                        "required": [
                          "columns"
                        ],
                        "additionalProperties": false
                      },
                      "width": {
                        "type": "number",
                        "default": 700
                      },
                      "height": {
                        "type": "number",
                        "default": 450
                      }
                    },
                    "required": [
                      "type",
                      "data",
                      "x",
                      "y"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "const": "timeseries"
                      },
                      "data": {
                        "type": "object",
                        "properties": {
                          "current": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "date": {
                                  "type": "string"
                                },
                                "values": {
                                  "type": "object",
                                  "additionalProperties": {
                                    "type": "number"
                                  }
                                }
                              },
                              "required": [
                                "date",
                                "values"
                              ],
                              "additionalProperties": false
                            }
                          },
                          "previous": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "date": {
                                  "type": "string"
                                },
                                "values": {
                                  "type": "object",
                                  "additionalProperties": {
                                    "type": "number"
                                  }
                                }
                              },
                              "required": [
                                "date",
                                "values"
                              ],
                              "additionalProperties": false
                            }
                          },
                          "projection": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "date": {
                                  "type": "string"
                                },
                                "values": {
                                  "type": "object",
                                  "additionalProperties": {
                                    "type": "number"
                                  }
                                }
                              },
                              "required": [
                                "date",
                                "values"
                              ],
                              "additionalProperties": false
                            }
                          }
                        },
                        "required": [
                          "current"
                        ],
                        "additionalProperties": false
                      },
                      "primaryAxis": {
                        "type": "object",
                        "properties": {
                          "field": {
                            "type": "string"
                          },
                          "label": {
                            "type": "string"
                          },
                          "mark": {
                            "type": "string",
                            "enum": [
                              "bar",
                              "area",
                              "line"
                            ]
                          },
                          "groupBars": {
                            "type": "boolean"
                          }
                        },
                        "required": [
                          "field",
                          "label",
                          "mark"
                        ],
                        "additionalProperties": false
                      },
                      "secondaryAxis": {
                        "type": "object",
                        "properties": {
                          "field": {
                            "type": "string"
                          },
                          "label": {
                            "type": "string"
                          },
                          "dash": {
                            "type": "string",
                            "enum": [
                              "solid",
                              "dashed"
                            ],
                            "default": "solid"
                          }
                        },
                        "required": [
                          "field",
                          "label"
                        ],
                        "additionalProperties": false
                      },
                      "width": {
                        "type": "number",
                        "default": 700
                      },
                      "height": {
                        "type": "number",
                        "default": 400
                      }
                    },
                    "required": [
                      "type",
                      "data",
                      "primaryAxis"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "const": "funnel"
                      },
                      "data": {
                        "type": "object",
                        "properties": {
                          "stages": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          },
                          "volume": {
                            "type": "array",
                            "items": {
                              "type": "number"
                            }
                          },
                          "costPer": {
                            "type": "array",
                            "items": {
                              "type": "number"
                            }
                          }
                        },
                        "required": [
                          "stages",
                          "volume"
                        ],
                        "additionalProperties": false
                      },
                      "showConversionRates": {
                        "type": "boolean",
                        "default": true
                      },
                      "showCostPer": {
                        "type": "boolean",
                        "default": true
                      },
                      "colorScheme": {
                        "type": "string",
                        "default": "Blues"
                      },
                      "width": {
                        "type": "number",
                        "default": 700
                      },
                      "height": {
                        "type": "number",
                        "default": 350
                      }
                    },
                    "required": [
                      "type",
                      "data"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "const": "waterfall"
                      },
                      "data": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "label": {
                              "type": "string"
                            },
                            "value": {
                              "type": "number"
                            },
                            "colorValue": {
                              "type": "number"
                            }
                          },
                          "required": [
                            "label",
                            "value",
                            "colorValue"
                          ],
                          "additionalProperties": false
                        }
                      },
                      "colorScheme": {
                        "type": "string",
                        "default": "RdYlGn"
                      },
                      "colorLabel": {
                        "type": "string",
                        "default": "CPA ($)"
                      },
                      "valueLabel": {
                        "type": "string",
                        "default": "Cumulative Spend ($)"
                      },
                      "width": {
                        "type": "number",
                        "default": 700
                      },
                      "height": {
                        "type": "number"
                      }
                    },
                    "required": [
                      "type",
                      "data"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "const": "choropleth"
                      },
                      "data": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "state": {
                              "type": "string"
                            },
                            "value": {
                              "type": "number"
                            },
                            "meta": {
                              "type": "object",
                              "additionalProperties": {
                                "type": [
                                  "string",
                                  "number",
                                  "null"
                                ]
                              }
                            }
                          },
                          "required": [
                            "state",
                            "value"
                          ],
                          "additionalProperties": false
                        }
                      },
                      "valueLabel": {
                        "type": "string"
                      },
                      "colorScheme": {
                        "type": "string",
                        "default": "YlOrRd"
                      },
                      "colorType": {
                        "type": "string",
                        "enum": [
                          "quantize",
                          "linear",
                          "threshold"
                        ],
                        "default": "quantize"
                      },
                      "reverse": {
                        "type": "boolean",
                        "default": false
                      },
                      "tip": {
                        "type": "object",
                        "properties": {
                          "fields": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "field": {
                                  "type": "string"
                                },
                                "label": {
                                  "type": "string"
                                },
                                "format": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "field",
                                "label"
                              ],
                              "additionalProperties": false
                            }
                          }
                        },
                        "required": [
                          "fields"
                        ],
                        "additionalProperties": false
                      },
                      "width": {
                        "type": "number",
                        "default": 700
                      },
                      "height": {
                        "type": "number",
                        "default": 450
                      }
                    },
                    "required": [
                      "type",
                      "data",
                      "valueLabel"
                    ],
                    "additionalProperties": false
                  }
                ]
              }
            },
            "required": [
              "reason",
              "chart"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Brief explanation of why you are rendering this chart",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            },
            {
              "name": "chart",
              "type": "object",
              "required": true,
              "description": "Chart configuration. Supported types: bar, scatter, timeseries, funnel, waterfall, choropleth."
            }
          ],
          "examples": [],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "meta_ads_render_chart",
              "relationship": "cross-platform"
            },
            {
              "name": "linkedin_ads_render_chart",
              "relationship": "cross-platform"
            },
            {
              "name": "reddit_ads_render_chart",
              "relationship": "cross-platform"
            },
            {
              "name": "microsoft_ads_render_chart",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "app",
          "chart_types": [
            "bar",
            "scatter",
            "timeseries",
            "funnel",
            "waterfall",
            "choropleth"
          ]
        },
        {
          "name": "google_ads_list_connections",
          "title": "List Google Connections",
          "description": "List the Google Ads connections available to you — both ones you own and ones shared with you via an organization. Use this to discover connection IDs for set_default / share / rename / revoke.",
          "cli_command": "hopkin google connections list",
          "cli_flags": [],
          "category": "connections",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": false
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "List connections",
              "mcp_params": {
                "reason": "User asked which Google accounts they have connected"
              },
              "cli_command": "hopkin google connections list",
              "natural_language": "List connections"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "meta_ads_list_connections",
              "relationship": "cross-platform"
            },
            {
              "name": "linkedin_ads_list_connections",
              "relationship": "cross-platform"
            },
            {
              "name": "reddit_ads_list_connections",
              "relationship": "cross-platform"
            },
            {
              "name": "tiktok_ads_list_connections",
              "relationship": "cross-platform"
            },
            {
              "name": "chatgpt_ads_list_connections",
              "relationship": "cross-platform"
            },
            {
              "name": "microsoft_ads_list_connections",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "google_ads_set_default_connection",
          "title": "Set Default Google Connection",
          "description": "Set the Google connection that should be used by default for subsequent Google Ads tool calls. The default is scoped to the calling actor (your user account, or the API key being used).",
          "cli_command": "hopkin google set-default-connection",
          "cli_flags": [
            {
              "flag": "--connection-id",
              "description": "UUID of the connection to mark as the actor's default Google connection.",
              "type": "string",
              "required": true
            }
          ],
          "category": "set-default-connection",
          "annotations": {
            "readOnly": false,
            "destructive": false,
            "idempotent": true,
            "openWorld": false
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "UUID of the connection to mark as the actor's default Google connection."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "connection_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "connection_id",
              "type": "string",
              "required": true,
              "description": "UUID of the connection to mark as the actor's default Google connection."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "Set default",
              "mcp_params": {
                "connection_id": "00000000-0000-0000-0000-000000000001",
                "reason": "User picked their primary Google workspace"
              },
              "cli_command": "hopkin google set-default-connection --connection-id 00000000-0000-0000-0000-000000000001",
              "natural_language": "Set default"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "meta_ads_set_default_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "linkedin_ads_set_default_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "reddit_ads_set_default_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "tiktok_ads_set_default_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "chatgpt_ads_set_default_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "microsoft_ads_set_default_connection",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "google_ads_share_connection",
          "title": "Share Google Connection With Organization",
          "description": "Share an owned Google connection with all members of your organization, so teammates can use it without having to reconnect Google themselves. You must be the owner of the connection.",
          "cli_command": "hopkin google share-connection",
          "cli_flags": [
            {
              "flag": "--connection-id",
              "description": "UUID of the connection to share with your organization. You must be the owner.",
              "type": "string",
              "required": true
            }
          ],
          "category": "share-connection",
          "annotations": {
            "readOnly": false,
            "destructive": false,
            "idempotent": true,
            "openWorld": false
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "UUID of the connection to share with your organization. You must be the owner."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "connection_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "connection_id",
              "type": "string",
              "required": true,
              "description": "UUID of the connection to share with your organization. You must be the owner."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "Share with org",
              "mcp_params": {
                "connection_id": "00000000-0000-0000-0000-000000000001",
                "reason": "User asked to share this Google connection with their teammates"
              },
              "cli_command": "hopkin google share-connection --connection-id 00000000-0000-0000-0000-000000000001",
              "natural_language": "Share with org"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "meta_ads_share_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "linkedin_ads_share_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "reddit_ads_share_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "tiktok_ads_share_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "chatgpt_ads_share_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "microsoft_ads_share_connection",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "google_ads_unshare_connection",
          "title": "Unshare Google Connection From Organization",
          "description": "Stop sharing an owned Google connection with your organization. Teammates lose access immediately. You must be the owner.",
          "cli_command": "hopkin google unshare-connection",
          "cli_flags": [
            {
              "flag": "--connection-id",
              "description": "UUID of the connection to stop sharing with your organization. You must be the owner.",
              "type": "string",
              "required": true
            }
          ],
          "category": "unshare-connection",
          "annotations": {
            "readOnly": false,
            "destructive": true,
            "idempotent": true,
            "openWorld": false
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "UUID of the connection to stop sharing with your organization. You must be the owner."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "connection_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "connection_id",
              "type": "string",
              "required": true,
              "description": "UUID of the connection to stop sharing with your organization. You must be the owner."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "Stop sharing",
              "mcp_params": {
                "connection_id": "00000000-0000-0000-0000-000000000001",
                "reason": "User no longer wants the team to access this Google connection"
              },
              "cli_command": "hopkin google unshare-connection --connection-id 00000000-0000-0000-0000-000000000001",
              "natural_language": "Stop sharing"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "meta_ads_unshare_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "linkedin_ads_unshare_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "reddit_ads_unshare_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "tiktok_ads_unshare_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "chatgpt_ads_unshare_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "microsoft_ads_unshare_connection",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "google_ads_rename_connection",
          "title": "Rename Google Connection",
          "description": "Rename the display name of an owned Google connection. The OAuth grant and underlying account are unaffected — this only changes the human-readable label. You must be the owner.",
          "cli_command": "hopkin google rename-connection",
          "cli_flags": [
            {
              "flag": "--connection-id",
              "description": "UUID of the connection to rename. You must be the owner.",
              "type": "string",
              "required": true
            },
            {
              "flag": "--display-name",
              "description": "New human-readable name for the connection.",
              "type": "string",
              "required": true
            }
          ],
          "category": "rename-connection",
          "annotations": {
            "readOnly": false,
            "destructive": false,
            "idempotent": true,
            "openWorld": false
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "UUID of the connection to rename. You must be the owner."
              },
              "display_name": {
                "type": "string",
                "minLength": 1,
                "maxLength": 120,
                "description": "New human-readable name for the connection."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "connection_id",
              "display_name",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "connection_id",
              "type": "string",
              "required": true,
              "description": "UUID of the connection to rename. You must be the owner."
            },
            {
              "name": "display_name",
              "type": "string",
              "required": true,
              "description": "New human-readable name for the connection.",
              "constraints": {
                "min_length": 1,
                "max_length": 120
              }
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "Rename",
              "mcp_params": {
                "connection_id": "00000000-0000-0000-0000-000000000001",
                "display_name": "Acme — Production",
                "reason": "User wanted a clearer label for this Google connection"
              },
              "cli_command": "hopkin google rename-connection --connection-id 00000000-0000-0000-0000-000000000001 --display-name Acme — Production",
              "natural_language": "Rename"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "meta_ads_rename_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "linkedin_ads_rename_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "reddit_ads_rename_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "tiktok_ads_rename_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "chatgpt_ads_rename_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "microsoft_ads_rename_connection",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "google_ads_revoke_connection",
          "title": "Revoke Google Connection",
          "description": "Revoke (soft-delete) an owned Google connection. Any defaults pointing to it are invalidated and shared org members lose access. The OAuth grant at Google is NOT revoked by this tool — the user must disconnect via the dashboard if they want to fully revoke at Google. You must be the owner.",
          "cli_command": "hopkin google revoke-connection",
          "cli_flags": [
            {
              "flag": "--connection-id",
              "description": "UUID of the connection to revoke. You must be the owner.",
              "type": "string",
              "required": true
            }
          ],
          "category": "revoke-connection",
          "annotations": {
            "readOnly": false,
            "destructive": true,
            "idempotent": true,
            "openWorld": false
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "UUID of the connection to revoke. You must be the owner."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "connection_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "connection_id",
              "type": "string",
              "required": true,
              "description": "UUID of the connection to revoke. You must be the owner."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "Revoke",
              "mcp_params": {
                "connection_id": "00000000-0000-0000-0000-000000000001",
                "reason": "User asked to disconnect this Google account"
              },
              "cli_command": "hopkin google revoke-connection --connection-id 00000000-0000-0000-0000-000000000001",
              "natural_language": "Revoke"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "meta_ads_revoke_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "linkedin_ads_revoke_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "reddit_ads_revoke_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "tiktok_ads_revoke_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "chatgpt_ads_revoke_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "microsoft_ads_revoke_connection",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "google_ads_get_conversion_actions",
          "title": "List Google Ads Conversion Actions",
          "description": "List conversion actions for a Google Ads account, including (a) the account-default goal flag, (b) **effective** inclusion across active campaigns (factoring in custom conversion goals and selective optimization), and (c) measured \\",
          "cli_command": "hopkin google conversion-actions get",
          "cli_flags": [
            {
              "flag": "--customer-id",
              "description": "The Google Ads Customer ID (10 digits, with or without dashes)",
              "type": "string",
              "required": true
            },
            {
              "flag": "--login-customer-id",
              "description": "MCC (Manager) Customer ID; required for managed accounts",
              "type": "string",
              "required": false
            },
            {
              "flag": "--status",
              "description": "Filter by status (default: returns all non-REMOVED). ENABLED, REMOVED, HIDDEN",
              "type": "string",
              "required": false
            },
            {
              "flag": "--limit",
              "description": "Maximum number of conversion actions to return per page (default: 100, max: 500)",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--cursor",
              "description": "Opaque pagination cursor from a previous response. Do not construct manually.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--lookback-days",
              "description": "Lookback window (days) for recent conversion counts: the last N days in the account time zone, today included. Default 30.",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--include",
              "description": "Which optional blocks to compute. 'effective' = goal-hierarchy walk (3 extra GAQL queries). 'recent' = metrics.conversions over the lookback window (1 extra query). 'campaign_overrides' = list the contributing campaign IDs per action, grouped by source (HEAVY — full list, no cap; only request when the user explicitly asks 'which campaigns?'). Implies 'effective'. 'tag_snippets' = include tag snippet HTML per row. 'attribution' = include attribution-model + value settings. Default: ['effective','recent']. Pass [] for the lightest possible response.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "conversion-actions",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "customer_id": {
                "type": "string",
                "maxLength": 20,
                "pattern": "^[\\d-]+$",
                "description": "The Google Ads Customer ID (10 digits, with or without dashes)"
              },
              "login_customer_id": {
                "type": "string",
                "maxLength": 20,
                "pattern": "^[\\d-]+$",
                "description": "MCC (Manager) Customer ID; required for managed accounts"
              },
              "status": {
                "type": "string",
                "enum": [
                  "ENABLED",
                  "REMOVED",
                  "HIDDEN"
                ],
                "description": "Filter by status (default: returns all non-REMOVED). ENABLED, REMOVED, HIDDEN"
              },
              "limit": {
                "type": "integer",
                "minimum": 1,
                "maximum": 500,
                "default": 100,
                "description": "Maximum number of conversion actions to return per page (default: 100, max: 500)"
              },
              "cursor": {
                "type": "string",
                "description": "Opaque pagination cursor from a previous response. Do not construct manually."
              },
              "lookback_days": {
                "type": "integer",
                "minimum": 1,
                "maximum": 90,
                "default": 30,
                "description": "Lookback window (days) for recent conversion counts: the last N days in the account time zone, today included. Default 30."
              },
              "include": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "effective",
                    "recent",
                    "campaign_overrides",
                    "tag_snippets",
                    "attribution"
                  ]
                },
                "default": [
                  "effective",
                  "recent"
                ],
                "description": "Which optional blocks to compute. 'effective' = goal-hierarchy walk (3 extra GAQL queries). 'recent' = metrics.conversions over the lookback window (1 extra query). 'campaign_overrides' = list the contributing campaign IDs per action, grouped by source (HEAVY — full list, no cap; only request when the user explicitly asks 'which campaigns?'). Implies 'effective'. 'tag_snippets' = include tag snippet HTML per row. 'attribution' = include attribution-model + value settings. Default: ['effective','recent']. Pass [] for the lightest possible response."
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "customer_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "customer_id",
              "type": "string",
              "required": true,
              "description": "The Google Ads Customer ID (10 digits, with or without dashes)",
              "constraints": {
                "max_length": 20,
                "pattern": "^[\\d-]+$"
              }
            },
            {
              "name": "login_customer_id",
              "type": "string",
              "required": false,
              "description": "MCC (Manager) Customer ID; required for managed accounts",
              "constraints": {
                "max_length": 20,
                "pattern": "^[\\d-]+$"
              }
            },
            {
              "name": "status",
              "type": "string",
              "required": false,
              "description": "Filter by status (default: returns all non-REMOVED). ENABLED, REMOVED, HIDDEN",
              "enum_values": [
                "ENABLED",
                "REMOVED",
                "HIDDEN"
              ]
            },
            {
              "name": "limit",
              "type": "integer",
              "required": false,
              "description": "Maximum number of conversion actions to return per page (default: 100, max: 500)",
              "default": 100,
              "constraints": {
                "min": 1,
                "max": 500
              }
            },
            {
              "name": "cursor",
              "type": "string",
              "required": false,
              "description": "Opaque pagination cursor from a previous response. Do not construct manually."
            },
            {
              "name": "lookback_days",
              "type": "integer",
              "required": false,
              "description": "Lookback window (days) for recent conversion counts: the last N days in the account time zone, today included. Default 30.",
              "default": 30,
              "constraints": {
                "min": 1,
                "max": 90
              }
            },
            {
              "name": "include",
              "type": "array",
              "required": false,
              "description": "Which optional blocks to compute. 'effective' = goal-hierarchy walk (3 extra GAQL queries). 'recent' = metrics.conversions over the lookback window (1 extra query). 'campaign_overrides' = list the contributing campaign IDs per action, grouped by source (HEAVY — full list, no cap; only request when the user explicitly asks 'which campaigns?'). Implies 'effective'. 'tag_snippets' = include tag snippet HTML per row. 'attribution' = include attribution-model + value settings. Default: ['effective','recent']. Pass [] for the lightest possible response.",
              "default": [
                "effective",
                "recent"
              ]
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "List all (default: effective + recent)",
              "mcp_params": {
                "customer_id": "1234567890",
                "reason": "Audit which conversion actions are firing"
              },
              "cli_command": "hopkin google conversion-actions get --customer-id 1234567890",
              "natural_language": "List all (default: effective + recent)"
            },
            {
              "label": "Enabled only",
              "mcp_params": {
                "customer_id": "1234567890",
                "status": "ENABLED",
                "reason": "Active conversion actions"
              },
              "cli_command": "hopkin google conversion-actions get --customer-id 1234567890 --status ENABLED",
              "natural_language": "Enabled only"
            },
            {
              "label": "Lightweight list",
              "mcp_params": {
                "customer_id": "1234567890",
                "include": [],
                "reason": "Just list the conversion actions, no goal walk"
              },
              "cli_command": "hopkin google conversion-actions get --customer-id 1234567890 --include ",
              "natural_language": "Lightweight list"
            },
            {
              "label": "Custom lookback (7 days)",
              "mcp_params": {
                "customer_id": "1234567890",
                "lookback_days": 7,
                "reason": "Recent week of conversions"
              },
              "cli_command": "hopkin google conversion-actions get --customer-id 1234567890 --lookback-days 7",
              "natural_language": "Custom lookback (7 days)"
            },
            {
              "label": "Which campaigns count this action?",
              "mcp_params": {
                "customer_id": "1234567890",
                "include": [
                  "effective",
                  "campaign_overrides"
                ],
                "reason": "Per-campaign attribution audit"
              },
              "cli_command": "hopkin google conversion-actions get --customer-id 1234567890 --include effective,campaign_overrides",
              "natural_language": "Which campaigns count this action?"
            }
          ],
          "response_format": "markdown",
          "related_tools": [],
          "tool_type": "standard"
        },
        {
          "name": "google_ads_developer_feedback",
          "title": "Submit Developer Feedback",
          "description": "Submit feedback about missing tools, needed improvements, bugs, or workflow gaps in the MCP toolset. Not for user-facing issues (auth errors, API errors).",
          "cli_command": "hopkin google developer-feedback send",
          "cli_flags": [
            {
              "flag": "--feedback-type",
              "description": "Feedback category: new_tool (request new capability), improvement (enhance existing tool), bug (report issue), workflow_gap (missing workflow)",
              "type": "string",
              "required": true
            },
            {
              "flag": "--title",
              "description": "Concise title summarizing the feedback",
              "type": "string",
              "required": true
            },
            {
              "flag": "--description",
              "description": "What is needed and why",
              "type": "string",
              "required": true
            },
            {
              "flag": "--current-workaround",
              "description": "Current workaround, if any",
              "type": "string",
              "required": false
            },
            {
              "flag": "--priority",
              "description": "Impact level: low (nice-to-have), medium (improves workflow), high (blocking issue)",
              "type": "string",
              "required": false
            },
            {
              "flag": "--interface",
              "description": "Interface the feedback originated from: MCP (default) or CLI",
              "type": "string",
              "required": false
            }
          ],
          "category": "feedback",
          "annotations": {
            "readOnly": false,
            "destructive": false,
            "idempotent": true,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "feedback_type": {
                "type": "string",
                "enum": [
                  "new_tool",
                  "improvement",
                  "bug",
                  "workflow_gap"
                ],
                "description": "Feedback category: new_tool (request new capability), improvement (enhance existing tool), bug (report issue), workflow_gap (missing workflow)"
              },
              "title": {
                "type": "string",
                "minLength": 5,
                "maxLength": 200,
                "description": "Concise title summarizing the feedback"
              },
              "description": {
                "type": "string",
                "minLength": 20,
                "maxLength": 2000,
                "description": "What is needed and why"
              },
              "current_workaround": {
                "type": "string",
                "maxLength": 1000,
                "description": "Current workaround, if any"
              },
              "priority": {
                "type": "string",
                "enum": [
                  "low",
                  "medium",
                  "high"
                ],
                "default": "medium",
                "description": "Impact level: low (nice-to-have), medium (improves workflow), high (blocking issue)"
              },
              "interface": {
                "type": "string",
                "enum": [
                  "MCP",
                  "CLI"
                ],
                "default": "MCP",
                "description": "Interface the feedback originated from: MCP (default) or CLI"
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "feedback_type",
              "title",
              "description",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "feedback_type",
              "type": "string",
              "required": true,
              "description": "Feedback category: new_tool (request new capability), improvement (enhance existing tool), bug (report issue), workflow_gap (missing workflow)",
              "enum_values": [
                "new_tool",
                "improvement",
                "bug",
                "workflow_gap"
              ]
            },
            {
              "name": "title",
              "type": "string",
              "required": true,
              "description": "Concise title summarizing the feedback",
              "constraints": {
                "min_length": 5,
                "max_length": 200
              }
            },
            {
              "name": "description",
              "type": "string",
              "required": true,
              "description": "What is needed and why",
              "constraints": {
                "min_length": 20,
                "max_length": 2000
              }
            },
            {
              "name": "current_workaround",
              "type": "string",
              "required": false,
              "description": "Current workaround, if any",
              "constraints": {
                "max_length": 1000
              }
            },
            {
              "name": "priority",
              "type": "string",
              "required": false,
              "description": "Impact level: low (nice-to-have), medium (improves workflow), high (blocking issue)",
              "enum_values": [
                "low",
                "medium",
                "high"
              ],
              "default": "medium"
            },
            {
              "name": "interface",
              "type": "string",
              "required": false,
              "description": "Interface the feedback originated from: MCP (default) or CLI",
              "enum_values": [
                "MCP",
                "CLI"
              ],
              "default": "MCP"
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "Missing tool",
              "mcp_params": {
                "feedback_type": "new_tool",
                "title": "Bulk campaign status toggle",
                "description": "Need to pause/enable multiple campaigns at once",
                "priority": "high",
                "reason": "User asked to pause 12 campaigns individually"
              },
              "cli_command": "hopkin google developer-feedback send --feedback-type new_tool --title Bulk campaign status toggle --description Need to pause/enable multiple campaigns at once --priority high",
              "natural_language": "Missing tool"
            },
            {
              "label": "Workflow gap",
              "mcp_params": {
                "feedback_type": "workflow_gap",
                "title": "Campaign cloning with ad groups",
                "description": "No way to duplicate a campaign including ad groups and ads",
                "current_workaround": "Read and recreate each level one by one",
                "reason": "User wanted to duplicate campaign structure"
              },
              "cli_command": "hopkin google developer-feedback send --feedback-type workflow_gap --title Campaign cloning with ad groups --description No way to duplicate a campaign including ad groups and ads --current-workaround Read and recreate each level one by one",
              "natural_language": "Workflow gap"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "meta_ads_developer_feedback",
              "relationship": "cross-platform"
            },
            {
              "name": "linkedin_ads_developer_feedback",
              "relationship": "cross-platform"
            },
            {
              "name": "reddit_ads_developer_feedback",
              "relationship": "cross-platform"
            },
            {
              "name": "tiktok_ads_developer_feedback",
              "relationship": "cross-platform"
            },
            {
              "name": "chatgpt_ads_developer_feedback",
              "relationship": "cross-platform"
            },
            {
              "name": "microsoft_ads_developer_feedback",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "google_ads_get_geo_performance",
          "title": "Get Google Ads Geographic Performance",
          "description": "Get geographic performance data from the geographic_view resource. Only ONE geo level per query. Returns both AREA_OF_INTEREST and LOCATION_OF_PRESENCE location types with auto-resolved location names. Includes a conversion action breakdown for the accounts, campaigns or ad groups in the returned rows. Location names are resolved automatically from criterion IDs. Paginated: \\",
          "cli_command": "hopkin google geo-performance get",
          "cli_flags": [
            {
              "flag": "--customer-id",
              "description": "The Google Ads Customer ID (10 digits, with or without dashes)",
              "type": "string",
              "required": true
            },
            {
              "flag": "--login-customer-id",
              "description": "MCC (Manager) Customer ID; required for managed accounts",
              "type": "string",
              "required": false
            },
            {
              "flag": "--date-preset",
              "description": "Predefined date range: TODAY, YESTERDAY, LAST_7_DAYS, LAST_30_DAYS, THIS_MONTH, LAST_MONTH. LAST_7_DAYS / LAST_30_DAYS are the 7 / 30 complete days ending yesterday (account time zone), as in Google Ads; THIS_MONTH runs through today.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--date-range",
              "description": "Custom date range {start_date, end_date} in YYYY-MM-DD",
              "type": "object",
              "required": false
            },
            {
              "flag": "--geo-level",
              "description": "Geographic granularity. \"country\" uses geographic_view.country_criterion_id; others add a segments.geo_target_* drill-down. Only one geo level per query.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--level",
              "description": "Entity breakdown level",
              "type": "string",
              "required": false
            },
            {
              "flag": "--segments",
              "description": "Additional non-geo segments: date, device, ad_network_type. Rows are totals over the date window unless \"date\" is included, which returns one row per day. conversion_breakdown is always window totals per entity.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--campaign",
              "description": "Filter to a specific campaign ID",
              "type": "string",
              "required": false
            },
            {
              "flag": "--ad-group-id",
              "description": "Filter to a specific ad group ID",
              "type": "string",
              "required": false
            },
            {
              "flag": "--limit",
              "description": "Page size: rows per page (1-1000, default 25). The response `count` is the total across all pages — a city-level report runs to tens of thousands of rows. To get more rows, pass `nextCursor` back as `cursor` rather than raising `limit`: pages much larger than the default can exceed what an MCP client accepts.",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--cursor",
              "description": "Opaque pagination cursor: pass the `nextCursor` value from the previous response unchanged, with every other parameter the same, to fetch the next page. Omit for the first page. Never construct one. Each page carries the conversion breakdown only of the campaigns or ad groups it introduces, so a full crawl adds up rather than double-counting. Pages are positions in a ranking by spend that is re-read live on every call, and Google revises conversions for past days for some time afterwards, so a row near a page boundary can still move between pages — a crawl is a good sample of a large report, not a guaranteed exact snapshot of one.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--include-all-conversions",
              "description": "When true, includes an additional all-conversions breakdown (metrics.all_conversions, all_conversions_value, value_per_all_conversions) segmented by conversion_action_name. This captures ALL conversion actions including those not marked \"Include in Conversions\".",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "geo-performance",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "customer_id": {
                "type": "string",
                "maxLength": 20,
                "pattern": "^[\\d-]+$",
                "description": "The Google Ads Customer ID (10 digits, with or without dashes)"
              },
              "login_customer_id": {
                "type": "string",
                "maxLength": 20,
                "pattern": "^[\\d-]+$",
                "description": "MCC (Manager) Customer ID; required for managed accounts"
              },
              "date_preset": {
                "type": "string",
                "enum": [
                  "TODAY",
                  "YESTERDAY",
                  "LAST_7_DAYS",
                  "LAST_30_DAYS",
                  "THIS_MONTH",
                  "LAST_MONTH"
                ],
                "description": "Predefined date range: TODAY, YESTERDAY, LAST_7_DAYS, LAST_30_DAYS, THIS_MONTH, LAST_MONTH. LAST_7_DAYS / LAST_30_DAYS are the 7 / 30 complete days ending yesterday (account time zone), as in Google Ads; THIS_MONTH runs through today."
              },
              "date_range": {
                "type": "object",
                "properties": {
                  "start_date": {
                    "type": "string",
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                    "description": "Start date (YYYY-MM-DD)"
                  },
                  "end_date": {
                    "type": "string",
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                    "description": "End date (YYYY-MM-DD)"
                  }
                },
                "required": [
                  "start_date",
                  "end_date"
                ],
                "additionalProperties": false,
                "description": "Custom date range {start_date, end_date} in YYYY-MM-DD"
              },
              "geo_level": {
                "type": "string",
                "enum": [
                  "country",
                  "geo_target_city",
                  "geo_target_region",
                  "geo_target_state",
                  "geo_target_metro",
                  "geo_target_province",
                  "geo_target_county",
                  "geo_target_district",
                  "geo_target_most_specific_location",
                  "geo_target_postal_code",
                  "geo_target_airport",
                  "geo_target_canton"
                ],
                "default": "country",
                "description": "Geographic granularity. \"country\" uses geographic_view.country_criterion_id; others add a segments.geo_target_* drill-down. Only one geo level per query."
              },
              "level": {
                "type": "string",
                "enum": [
                  "ACCOUNT",
                  "CAMPAIGN",
                  "AD_GROUP"
                ],
                "default": "CAMPAIGN",
                "description": "Entity breakdown level"
              },
              "segments": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "date",
                    "device",
                    "ad_network_type"
                  ]
                },
                "description": "Additional non-geo segments: date, device, ad_network_type. Rows are totals over the date window unless \"date\" is included, which returns one row per day. conversion_breakdown is always window totals per entity."
              },
              "campaign_id": {
                "type": "string",
                "maxLength": 20,
                "pattern": "^\\d+$",
                "description": "Filter to a specific campaign ID"
              },
              "ad_group_id": {
                "type": "string",
                "maxLength": 20,
                "pattern": "^\\d+$",
                "description": "Filter to a specific ad group ID"
              },
              "limit": {
                "type": "integer",
                "minimum": 1,
                "maximum": 1000,
                "default": 25,
                "description": "Page size: rows per page (1-1000, default 25). The response `count` is the total across all pages — a city-level report runs to tens of thousands of rows. To get more rows, pass `nextCursor` back as `cursor` rather than raising `limit`: pages much larger than the default can exceed what an MCP client accepts."
              },
              "cursor": {
                "type": "string",
                "description": "Opaque pagination cursor: pass the `nextCursor` value from the previous response unchanged, with every other parameter the same, to fetch the next page. Omit for the first page. Never construct one. Each page carries the conversion breakdown only of the campaigns or ad groups it introduces, so a full crawl adds up rather than double-counting. Pages are positions in a ranking by spend that is re-read live on every call, and Google revises conversions for past days for some time afterwards, so a row near a page boundary can still move between pages — a crawl is a good sample of a large report, not a guaranteed exact snapshot of one."
              },
              "include_all_conversions": {
                "type": "boolean",
                "description": "When true, includes an additional all-conversions breakdown (metrics.all_conversions, all_conversions_value, value_per_all_conversions) segmented by conversion_action_name. This captures ALL conversion actions including those not marked \"Include in Conversions\"."
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "customer_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "customer_id",
              "type": "string",
              "required": true,
              "description": "The Google Ads Customer ID (10 digits, with or without dashes)",
              "constraints": {
                "max_length": 20,
                "pattern": "^[\\d-]+$"
              }
            },
            {
              "name": "login_customer_id",
              "type": "string",
              "required": false,
              "description": "MCC (Manager) Customer ID; required for managed accounts",
              "constraints": {
                "max_length": 20,
                "pattern": "^[\\d-]+$"
              }
            },
            {
              "name": "date_preset",
              "type": "string",
              "required": false,
              "description": "Predefined date range: TODAY, YESTERDAY, LAST_7_DAYS, LAST_30_DAYS, THIS_MONTH, LAST_MONTH. LAST_7_DAYS / LAST_30_DAYS are the 7 / 30 complete days ending yesterday (account time zone), as in Google Ads; THIS_MONTH runs through today.",
              "enum_values": [
                "TODAY",
                "YESTERDAY",
                "LAST_7_DAYS",
                "LAST_30_DAYS",
                "THIS_MONTH",
                "LAST_MONTH"
              ]
            },
            {
              "name": "date_range",
              "type": "object",
              "required": false,
              "description": "Custom date range {start_date, end_date} in YYYY-MM-DD"
            },
            {
              "name": "geo_level",
              "type": "string",
              "required": false,
              "description": "Geographic granularity. \"country\" uses geographic_view.country_criterion_id; others add a segments.geo_target_* drill-down. Only one geo level per query.",
              "enum_values": [
                "country",
                "geo_target_city",
                "geo_target_region",
                "geo_target_state",
                "geo_target_metro",
                "geo_target_province",
                "geo_target_county",
                "geo_target_district",
                "geo_target_most_specific_location",
                "geo_target_postal_code",
                "geo_target_airport",
                "geo_target_canton"
              ],
              "default": "country"
            },
            {
              "name": "level",
              "type": "string",
              "required": false,
              "description": "Entity breakdown level",
              "enum_values": [
                "ACCOUNT",
                "CAMPAIGN",
                "AD_GROUP"
              ],
              "default": "CAMPAIGN"
            },
            {
              "name": "segments",
              "type": "array",
              "required": false,
              "description": "Additional non-geo segments: date, device, ad_network_type. Rows are totals over the date window unless \"date\" is included, which returns one row per day. conversion_breakdown is always window totals per entity."
            },
            {
              "name": "campaign_id",
              "type": "string",
              "required": false,
              "description": "Filter to a specific campaign ID",
              "constraints": {
                "max_length": 20,
                "pattern": "^\\d+$"
              }
            },
            {
              "name": "ad_group_id",
              "type": "string",
              "required": false,
              "description": "Filter to a specific ad group ID",
              "constraints": {
                "max_length": 20,
                "pattern": "^\\d+$"
              }
            },
            {
              "name": "limit",
              "type": "integer",
              "required": false,
              "description": "Page size: rows per page (1-1000, default 25). The response `count` is the total across all pages — a city-level report runs to tens of thousands of rows. To get more rows, pass `nextCursor` back as `cursor` rather than raising `limit`: pages much larger than the default can exceed what an MCP client accepts.",
              "default": 25,
              "constraints": {
                "min": 1,
                "max": 1000
              }
            },
            {
              "name": "cursor",
              "type": "string",
              "required": false,
              "description": "Opaque pagination cursor: pass the `nextCursor` value from the previous response unchanged, with every other parameter the same, to fetch the next page. Omit for the first page. Never construct one. Each page carries the conversion breakdown only of the campaigns or ad groups it introduces, so a full crawl adds up rather than double-counting. Pages are positions in a ranking by spend that is re-read live on every call, and Google revises conversions for past days for some time afterwards, so a row near a page boundary can still move between pages — a crawl is a good sample of a large report, not a guaranteed exact snapshot of one."
            },
            {
              "name": "include_all_conversions",
              "type": "boolean",
              "required": false,
              "description": "When true, includes an additional all-conversions breakdown (metrics.all_conversions, all_conversions_value, value_per_all_conversions) segmented by conversion_action_name. This captures ALL conversion actions including those not marked \"Include in Conversions\"."
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "Country performance",
              "mcp_params": {
                "customer_id": "1234567890",
                "date_preset": "LAST_7_DAYS",
                "geo_level": "country",
                "reason": "Compare spend by country"
              },
              "cli_command": "hopkin google geo-performance get --customer-id 1234567890 --date-preset LAST_7_DAYS --geo-level country",
              "natural_language": "Country performance"
            },
            {
              "label": "City-level breakdown",
              "mcp_params": {
                "customer_id": "1234567890",
                "date_preset": "LAST_30_DAYS",
                "geo_level": "geo_target_city",
                "level": "CAMPAIGN",
                "reason": "City performance analysis"
              },
              "cli_command": "hopkin google geo-performance get --customer-id 1234567890 --date-preset LAST_30_DAYS --geo-level geo_target_city --level CAMPAIGN",
              "natural_language": "City-level breakdown"
            },
            {
              "label": "Country by campaign",
              "mcp_params": {
                "customer_id": "1234567890",
                "date_preset": "LAST_7_DAYS",
                "geo_level": "country",
                "level": "CAMPAIGN",
                "segments": [
                  "date"
                ],
                "reason": "Daily country trends per campaign"
              },
              "cli_command": "hopkin google geo-performance get --customer-id 1234567890 --date-preset LAST_7_DAYS --geo-level country --level CAMPAIGN --segments date",
              "natural_language": "Country by campaign"
            },
            {
              "label": "Next page of a city report",
              "mcp_params": {
                "customer_id": "1234567890",
                "date_preset": "LAST_30_DAYS",
                "geo_level": "geo_target_city",
                "level": "CAMPAIGN",
                "cursor": "<nextCursor from the previous response>",
                "reason": "Walk every city in the account"
              },
              "cli_command": "hopkin google geo-performance get --customer-id 1234567890 --date-preset LAST_30_DAYS --geo-level geo_target_city --level CAMPAIGN --cursor <nextCursor from the previous response>",
              "natural_language": "Next page of a city report"
            }
          ],
          "response_format": "markdown",
          "related_tools": [],
          "tool_type": "standard"
        },
        {
          "name": "google_ads_get_insights",
          "title": "Get Google Ads Insights",
          "description": "Retrieve performance metrics using GAQL with full control over metrics, segments, levels, and date ranges. Always fetches fresh data. Default metrics include the supported Demand Gen Platform Comparable conversion family. Custom metrics accept Platform Comparable columns with or without the metrics. prefix (for example platform_comparable_conversions or metrics.platform_comparable_conversions). Supports device breakdowns, ad_network_type channel analysis, and search impression share diagnostics. For standard analysis, prefer google_ads_get_performance_report; use this only for custom metric selection, search impression share diagnostics, ad_network_type channel breakdowns, or segment combinations not available in the performance report. For geographic data, use google_ads_get_geo_performance instead. Conversion action segments automatically remove incompatible cost-based metrics. Budget-lost impression share variants are campaign-level only. Paginated: returns up to limit rows (default 30, max 1000) in a stable order (entity ids, then segment values); count is the total across all pages. When pagination.hasMore is true, call again with the same parameters and cursor set to pagination.nextCursor until hasMore is false. To get every row, follow the cursor rather than raising limit: a larger page can exceed MCP client response limits.",
          "cli_command": "hopkin google insights get",
          "cli_flags": [
            {
              "flag": "--customer-id",
              "description": "The Google Ads Customer ID (10 digits, with or without dashes)",
              "type": "string",
              "required": true
            },
            {
              "flag": "--login-customer-id",
              "description": "MCC (Manager) Customer ID; required for managed accounts",
              "type": "string",
              "required": false
            },
            {
              "flag": "--date-preset",
              "description": "Predefined date range: TODAY, YESTERDAY, LAST_7_DAYS, LAST_30_DAYS, THIS_MONTH, LAST_MONTH. LAST_7_DAYS / LAST_30_DAYS are the 7 / 30 complete days ending yesterday (account time zone), as in Google Ads; THIS_MONTH runs through today.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--date-range",
              "description": "Custom date range {start_date, end_date} in YYYY-MM-DD",
              "type": "object",
              "required": false
            },
            {
              "flag": "--level",
              "description": "Report level (default: ACCOUNT): ACCOUNT, CAMPAIGN, AD_GROUP, AD",
              "type": "string",
              "required": false
            },
            {
              "flag": "--metrics",
              "description": "Metrics to retrieve (defaults to standard set). Demand Gen Platform Comparable columns are accepted with or without the metrics. prefix, e.g. platform_comparable_conversions or metrics.platform_comparable_conversions. These Demand Gen-only columns include view-through conversions; see https://support.google.com/google-ads/answer/15299024.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--segments",
              "description": "Segments to break down by (e.g., date, device, ad_network_type). Use ad_network_type to see which channel delivered traffic (SEARCH, YOUTUBE_WATCH, DISPLAY, DISCOVER, etc.) — essential for Performance Max analysis.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--campaign",
              "description": "Filter to a specific campaign ID",
              "type": "string",
              "required": false
            },
            {
              "flag": "--ad-group-id",
              "description": "Filter to a specific ad group ID",
              "type": "string",
              "required": false
            },
            {
              "flag": "--limit",
              "description": "Maximum rows per page (1-1000, default 30). count is the total across all pages; when pagination.hasMore is true, call again with cursor set to pagination.nextCursor. The default keeps a page within MCP client response limits: to get every row, follow nextCursor rather than raising limit.",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--cursor",
              "description": "Opaque cursor from a previous response's pagination.nextCursor. Pass it with the same other parameters to fetch the next page; do not construct it.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "insights",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "customer_id": {
                "type": "string",
                "maxLength": 20,
                "pattern": "^[\\d-]+$",
                "description": "The Google Ads Customer ID (10 digits, with or without dashes)"
              },
              "login_customer_id": {
                "type": "string",
                "maxLength": 20,
                "pattern": "^[\\d-]+$",
                "description": "MCC (Manager) Customer ID; required for managed accounts"
              },
              "date_preset": {
                "type": "string",
                "enum": [
                  "TODAY",
                  "YESTERDAY",
                  "LAST_7_DAYS",
                  "LAST_30_DAYS",
                  "THIS_MONTH",
                  "LAST_MONTH"
                ],
                "description": "Predefined date range: TODAY, YESTERDAY, LAST_7_DAYS, LAST_30_DAYS, THIS_MONTH, LAST_MONTH. LAST_7_DAYS / LAST_30_DAYS are the 7 / 30 complete days ending yesterday (account time zone), as in Google Ads; THIS_MONTH runs through today."
              },
              "date_range": {
                "type": "object",
                "properties": {
                  "start_date": {
                    "type": "string",
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                    "description": "Start date (YYYY-MM-DD)"
                  },
                  "end_date": {
                    "type": "string",
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                    "description": "End date (YYYY-MM-DD)"
                  }
                },
                "required": [
                  "start_date",
                  "end_date"
                ],
                "additionalProperties": false,
                "description": "Custom date range {start_date, end_date} in YYYY-MM-DD"
              },
              "level": {
                "type": "string",
                "enum": [
                  "ACCOUNT",
                  "CAMPAIGN",
                  "AD_GROUP",
                  "AD"
                ],
                "default": "ACCOUNT",
                "description": "Report level (default: ACCOUNT): ACCOUNT, CAMPAIGN, AD_GROUP, AD"
              },
              "metrics": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1
                },
                "description": "Metrics to retrieve (defaults to standard set). Demand Gen Platform Comparable columns are accepted with or without the metrics. prefix, e.g. platform_comparable_conversions or metrics.platform_comparable_conversions. These Demand Gen-only columns include view-through conversions; see https://support.google.com/google-ads/answer/15299024."
              },
              "segments": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1
                },
                "description": "Segments to break down by (e.g., date, device, ad_network_type). Use ad_network_type to see which channel delivered traffic (SEARCH, YOUTUBE_WATCH, DISPLAY, DISCOVER, etc.) — essential for Performance Max analysis."
              },
              "campaign_id": {
                "type": "string",
                "maxLength": 20,
                "pattern": "^\\d+$",
                "description": "Filter to a specific campaign ID"
              },
              "ad_group_id": {
                "type": "string",
                "maxLength": 20,
                "pattern": "^\\d+$",
                "description": "Filter to a specific ad group ID"
              },
              "limit": {
                "type": "integer",
                "minimum": 1,
                "maximum": 1000,
                "description": "Maximum rows per page (1-1000, default 30). count is the total across all pages; when pagination.hasMore is true, call again with cursor set to pagination.nextCursor. The default keeps a page within MCP client response limits: to get every row, follow nextCursor rather than raising limit."
              },
              "cursor": {
                "type": "string",
                "minLength": 1,
                "maxLength": 4096,
                "description": "Opaque cursor from a previous response's pagination.nextCursor. Pass it with the same other parameters to fetch the next page; do not construct it."
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "customer_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "customer_id",
              "type": "string",
              "required": true,
              "description": "The Google Ads Customer ID (10 digits, with or without dashes)",
              "constraints": {
                "max_length": 20,
                "pattern": "^[\\d-]+$"
              }
            },
            {
              "name": "login_customer_id",
              "type": "string",
              "required": false,
              "description": "MCC (Manager) Customer ID; required for managed accounts",
              "constraints": {
                "max_length": 20,
                "pattern": "^[\\d-]+$"
              }
            },
            {
              "name": "date_preset",
              "type": "string",
              "required": false,
              "description": "Predefined date range: TODAY, YESTERDAY, LAST_7_DAYS, LAST_30_DAYS, THIS_MONTH, LAST_MONTH. LAST_7_DAYS / LAST_30_DAYS are the 7 / 30 complete days ending yesterday (account time zone), as in Google Ads; THIS_MONTH runs through today.",
              "enum_values": [
                "TODAY",
                "YESTERDAY",
                "LAST_7_DAYS",
                "LAST_30_DAYS",
                "THIS_MONTH",
                "LAST_MONTH"
              ]
            },
            {
              "name": "date_range",
              "type": "object",
              "required": false,
              "description": "Custom date range {start_date, end_date} in YYYY-MM-DD"
            },
            {
              "name": "level",
              "type": "string",
              "required": false,
              "description": "Report level (default: ACCOUNT): ACCOUNT, CAMPAIGN, AD_GROUP, AD",
              "enum_values": [
                "ACCOUNT",
                "CAMPAIGN",
                "AD_GROUP",
                "AD"
              ],
              "default": "ACCOUNT"
            },
            {
              "name": "metrics",
              "type": "array",
              "required": false,
              "description": "Metrics to retrieve (defaults to standard set). Demand Gen Platform Comparable columns are accepted with or without the metrics. prefix, e.g. platform_comparable_conversions or metrics.platform_comparable_conversions. These Demand Gen-only columns include view-through conversions; see https://support.google.com/google-ads/answer/15299024."
            },
            {
              "name": "segments",
              "type": "array",
              "required": false,
              "description": "Segments to break down by (e.g., date, device, ad_network_type). Use ad_network_type to see which channel delivered traffic (SEARCH, YOUTUBE_WATCH, DISPLAY, DISCOVER, etc.) — essential for Performance Max analysis."
            },
            {
              "name": "campaign_id",
              "type": "string",
              "required": false,
              "description": "Filter to a specific campaign ID",
              "constraints": {
                "max_length": 20,
                "pattern": "^\\d+$"
              }
            },
            {
              "name": "ad_group_id",
              "type": "string",
              "required": false,
              "description": "Filter to a specific ad group ID",
              "constraints": {
                "max_length": 20,
                "pattern": "^\\d+$"
              }
            },
            {
              "name": "limit",
              "type": "integer",
              "required": false,
              "description": "Maximum rows per page (1-1000, default 30). count is the total across all pages; when pagination.hasMore is true, call again with cursor set to pagination.nextCursor. The default keeps a page within MCP client response limits: to get every row, follow nextCursor rather than raising limit.",
              "constraints": {
                "min": 1,
                "max": 1000
              }
            },
            {
              "name": "cursor",
              "type": "string",
              "required": false,
              "description": "Opaque cursor from a previous response's pagination.nextCursor. Pass it with the same other parameters to fetch the next page; do not construct it.",
              "constraints": {
                "min_length": 1,
                "max_length": 4096
              }
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "All conversions by action",
              "mcp_params": {
                "customer_id": "1234567890",
                "date_preset": "LAST_30_DAYS",
                "metrics": [
                  "all_conversions",
                  "all_conversions_value",
                  "value_per_all_conversions"
                ],
                "segments": [
                  "conversion_action_name"
                ],
                "reason": "All conversions breakdown by action"
              },
              "cli_command": "hopkin google insights get --customer-id 1234567890 --date-preset LAST_30_DAYS --metrics all_conversions,all_conversions_value,value_per_all_conversions --segments conversion_action_name",
              "natural_language": "All conversions by action"
            },
            {
              "label": "Search impression share",
              "mcp_params": {
                "customer_id": "1234567890",
                "date_preset": "LAST_7_DAYS",
                "level": "CAMPAIGN",
                "metrics": [
                  "search_impression_share",
                  "search_top_impression_share",
                  "search_absolute_top_impression_share",
                  "search_budget_lost_impression_share",
                  "search_rank_lost_impression_share"
                ],
                "reason": "Search IS diagnostics"
              },
              "cli_command": "hopkin google insights get --customer-id 1234567890 --date-preset LAST_7_DAYS --level CAMPAIGN --metrics search_impression_share,search_top_impression_share,search_absolute_top_impression_share,search_budget_lost_impression_share,search_rank_lost_impression_share",
              "natural_language": "Search impression share"
            },
            {
              "label": "Device breakdown with custom metrics",
              "mcp_params": {
                "customer_id": "1234567890",
                "date_preset": "LAST_30_DAYS",
                "level": "CAMPAIGN",
                "segments": [
                  "device"
                ],
                "metrics": [
                  "impressions",
                  "clicks",
                  "cost_micros",
                  "conversions",
                  "view_through_conversions"
                ],
                "reason": "Device breakdown with view-through conversions"
              },
              "cli_command": "hopkin google insights get --customer-id 1234567890 --date-preset LAST_30_DAYS --level CAMPAIGN --segments device --metrics impressions,clicks,cost_micros,conversions,view_through_conversions",
              "natural_language": "Device breakdown with custom metrics"
            },
            {
              "label": "PMax channel breakdown",
              "mcp_params": {
                "customer_id": "1234567890",
                "date_preset": "LAST_30_DAYS",
                "level": "CAMPAIGN",
                "segments": [
                  "ad_network_type"
                ],
                "reason": "PMax channel-level performance breakdown"
              },
              "cli_command": "hopkin google insights get --customer-id 1234567890 --date-preset LAST_30_DAYS --level CAMPAIGN --segments ad_network_type",
              "natural_language": "PMax channel breakdown"
            }
          ],
          "response_format": "json",
          "related_tools": [
            {
              "name": "meta_ads_get_insights",
              "relationship": "cross-platform"
            },
            {
              "name": "linkedin_ads_get_insights",
              "relationship": "cross-platform"
            },
            {
              "name": "tiktok_ads_get_insights",
              "relationship": "cross-platform"
            },
            {
              "name": "chatgpt_ads_get_insights",
              "relationship": "cross-platform"
            },
            {
              "name": "microsoft_ads_get_insights",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "google_ads_generate_keyword_ideas",
          "title": "Generate Google Ads Keyword Ideas",
          "description": "Generate keyword suggestions from seed keywords and/or a URL. Returns keyword ideas with average monthly searches, competition level, and estimated bid ranges. Supports pagination for large result sets. Examples: seed with [\"running shoes\", \"athletic footwear\"] for shoe campaigns, or provide a competitor URL to discover relevant keywords. Use include_monthly_volumes=true for seasonal trend data.",
          "cli_command": "hopkin google generate-keyword-ideas",
          "cli_flags": [
            {
              "flag": "--customer-id",
              "description": "The Google Ads Customer ID (10 digits, with or without dashes)",
              "type": "string",
              "required": true
            },
            {
              "flag": "--login-customer-id",
              "description": "MCC (Manager) Customer ID; required for managed accounts",
              "type": "string",
              "required": false
            },
            {
              "flag": "--keywords",
              "description": "Seed keywords to generate ideas from (max 20). At least one of keywords or url must be provided.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--url",
              "description": "Seed URL to generate keyword ideas from. At least one of keywords or url must be provided.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--language",
              "description": "ISO 639-1 language code (e.g., \"en\", \"es\"). Default: \"en\".",
              "type": "string",
              "required": false
            },
            {
              "flag": "--geo-targets",
              "description": "ISO 3166-1 alpha-2 country codes (e.g., [\"US\", \"GB\"]). Default: [\"US\"].",
              "type": "array",
              "required": false
            },
            {
              "flag": "--network",
              "description": "Keyword plan network: GOOGLE_SEARCH (default) or GOOGLE_SEARCH_AND_PARTNERS",
              "type": "string",
              "required": false
            },
            {
              "flag": "--include-adult-keywords",
              "description": "Whether to include adult keyword ideas. Default: false.",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--include-monthly-volumes",
              "description": "When true, includes per-month search volume history for each keyword. Default: false.",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--limit",
              "description": "Maximum keyword ideas to return per page (1-1000, default 50)",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--cursor",
              "description": "Opaque pagination cursor from a previous response. Do not construct manually.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "generate-keyword-ideas",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "customer_id": {
                "type": "string",
                "maxLength": 20,
                "pattern": "^[\\d-]+$",
                "description": "The Google Ads Customer ID (10 digits, with or without dashes)"
              },
              "login_customer_id": {
                "type": "string",
                "maxLength": 20,
                "pattern": "^[\\d-]+$",
                "description": "MCC (Manager) Customer ID; required for managed accounts"
              },
              "keywords": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 80
                },
                "description": "Seed keywords to generate ideas from (max 20). At least one of keywords or url must be provided."
              },
              "url": {
                "type": "string",
                "format": "uri",
                "description": "Seed URL to generate keyword ideas from. At least one of keywords or url must be provided."
              },
              "language": {
                "type": "string",
                "minLength": 2,
                "maxLength": 5,
                "default": "en",
                "description": "ISO 639-1 language code (e.g., \"en\", \"es\"). Default: \"en\"."
              },
              "geo_targets": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 2,
                  "maxLength": 2
                },
                "default": [
                  "US"
                ],
                "description": "ISO 3166-1 alpha-2 country codes (e.g., [\"US\", \"GB\"]). Default: [\"US\"]."
              },
              "network": {
                "type": "string",
                "enum": [
                  "GOOGLE_SEARCH",
                  "GOOGLE_SEARCH_AND_PARTNERS"
                ],
                "default": "GOOGLE_SEARCH",
                "description": "Keyword plan network: GOOGLE_SEARCH (default) or GOOGLE_SEARCH_AND_PARTNERS"
              },
              "include_adult_keywords": {
                "type": "boolean",
                "default": false,
                "description": "Whether to include adult keyword ideas. Default: false."
              },
              "include_monthly_volumes": {
                "type": "boolean",
                "default": false,
                "description": "When true, includes per-month search volume history for each keyword. Default: false."
              },
              "limit": {
                "type": "integer",
                "minimum": 1,
                "maximum": 1000,
                "default": 50,
                "description": "Maximum keyword ideas to return per page (1-1000, default 50)"
              },
              "cursor": {
                "type": "string",
                "description": "Opaque pagination cursor from a previous response. Do not construct manually."
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "customer_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "customer_id",
              "type": "string",
              "required": true,
              "description": "The Google Ads Customer ID (10 digits, with or without dashes)",
              "constraints": {
                "max_length": 20,
                "pattern": "^[\\d-]+$"
              }
            },
            {
              "name": "login_customer_id",
              "type": "string",
              "required": false,
              "description": "MCC (Manager) Customer ID; required for managed accounts",
              "constraints": {
                "max_length": 20,
                "pattern": "^[\\d-]+$"
              }
            },
            {
              "name": "keywords",
              "type": "array",
              "required": false,
              "description": "Seed keywords to generate ideas from (max 20). At least one of keywords or url must be provided."
            },
            {
              "name": "url",
              "type": "string",
              "required": false,
              "description": "Seed URL to generate keyword ideas from. At least one of keywords or url must be provided."
            },
            {
              "name": "language",
              "type": "string",
              "required": false,
              "description": "ISO 639-1 language code (e.g., \"en\", \"es\"). Default: \"en\".",
              "default": "en",
              "constraints": {
                "min_length": 2,
                "max_length": 5
              }
            },
            {
              "name": "geo_targets",
              "type": "array",
              "required": false,
              "description": "ISO 3166-1 alpha-2 country codes (e.g., [\"US\", \"GB\"]). Default: [\"US\"].",
              "default": [
                "US"
              ]
            },
            {
              "name": "network",
              "type": "string",
              "required": false,
              "description": "Keyword plan network: GOOGLE_SEARCH (default) or GOOGLE_SEARCH_AND_PARTNERS",
              "enum_values": [
                "GOOGLE_SEARCH",
                "GOOGLE_SEARCH_AND_PARTNERS"
              ],
              "default": "GOOGLE_SEARCH"
            },
            {
              "name": "include_adult_keywords",
              "type": "boolean",
              "required": false,
              "description": "Whether to include adult keyword ideas. Default: false.",
              "default": false
            },
            {
              "name": "include_monthly_volumes",
              "type": "boolean",
              "required": false,
              "description": "When true, includes per-month search volume history for each keyword. Default: false.",
              "default": false
            },
            {
              "name": "limit",
              "type": "integer",
              "required": false,
              "description": "Maximum keyword ideas to return per page (1-1000, default 50)",
              "default": 50,
              "constraints": {
                "min": 1,
                "max": 1000
              }
            },
            {
              "name": "cursor",
              "type": "string",
              "required": false,
              "description": "Opaque pagination cursor from a previous response. Do not construct manually."
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "From seed keywords",
              "mcp_params": {
                "customer_id": "1234567890",
                "keywords": [
                  "running shoes",
                  "athletic footwear"
                ],
                "reason": "Keyword research for new campaign"
              },
              "cli_command": "hopkin google generate-keyword-ideas --customer-id 1234567890 --keywords running shoes,athletic footwear",
              "natural_language": "From seed keywords"
            },
            {
              "label": "From URL",
              "mcp_params": {
                "customer_id": "1234567890",
                "url": "https://example.com/products/shoes",
                "reason": "Find keywords from competitor page"
              },
              "cli_command": "hopkin google generate-keyword-ideas --customer-id 1234567890 --url https://example.com/products/shoes",
              "natural_language": "From URL"
            },
            {
              "label": "With monthly volumes",
              "mcp_params": {
                "customer_id": "1234567890",
                "keywords": [
                  "yoga mat"
                ],
                "include_monthly_volumes": true,
                "geo_targets": [
                  "US",
                  "GB"
                ],
                "reason": "Seasonal trend analysis"
              },
              "cli_command": "hopkin google generate-keyword-ideas --customer-id 1234567890 --keywords yoga mat --include-monthly-volumes true --geo-targets US,GB",
              "natural_language": "With monthly volumes"
            }
          ],
          "response_format": "markdown",
          "related_tools": [],
          "tool_type": "standard"
        },
        {
          "name": "google_ads_get_keyword_historical_metrics",
          "title": "Get Google Ads Keyword Historical Metrics",
          "description": "Get historical search metrics for specific keywords — average monthly searches, competition level, and bid estimates. Unlike keyword ideas, this takes exact keywords you already have and returns their metrics. Use include_monthly_volumes=true for month-by-month search volume trends. Examples: check volume for [\"running shoes\", \"trail running shoes\"] before adding to campaigns, or validate keywords from external research.",
          "cli_command": "hopkin google keyword-historical-metrics get",
          "cli_flags": [
            {
              "flag": "--customer-id",
              "description": "The Google Ads Customer ID (10 digits, with or without dashes)",
              "type": "string",
              "required": true
            },
            {
              "flag": "--login-customer-id",
              "description": "MCC (Manager) Customer ID; required for managed accounts",
              "type": "string",
              "required": false
            },
            {
              "flag": "--keywords",
              "description": "Keywords to get historical metrics for (1-200 keywords)",
              "type": "array",
              "required": true
            },
            {
              "flag": "--language",
              "description": "ISO 639-1 language code (e.g. \"en\", \"es\"). Maps internally to languageConstants resource name.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--geo-targets",
              "description": "ISO 3166-1 alpha-2 country codes (e.g. [\"US\", \"GB\"]). Maps internally to geoTargetConstants.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--network",
              "description": "Network: GOOGLE_SEARCH (default) or GOOGLE_SEARCH_AND_PARTNERS",
              "type": "string",
              "required": false
            },
            {
              "flag": "--include-monthly-volumes",
              "description": "When true, includes month-by-month search volume data. Default: false.",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "keyword-historical-metrics",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "customer_id": {
                "type": "string",
                "maxLength": 20,
                "pattern": "^[\\d-]+$",
                "description": "The Google Ads Customer ID (10 digits, with or without dashes)"
              },
              "login_customer_id": {
                "type": "string",
                "maxLength": 20,
                "pattern": "^[\\d-]+$",
                "description": "MCC (Manager) Customer ID; required for managed accounts"
              },
              "keywords": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1
                },
                "minItems": 1,
                "maxItems": 200,
                "description": "Keywords to get historical metrics for (1-200 keywords)"
              },
              "language": {
                "type": "string",
                "pattern": "^[a-z]{2}$",
                "description": "ISO 639-1 language code (e.g. \"en\", \"es\"). Maps internally to languageConstants resource name."
              },
              "geo_targets": {
                "type": "array",
                "items": {
                  "type": "string",
                  "pattern": "^[A-Z]{2}$"
                },
                "description": "ISO 3166-1 alpha-2 country codes (e.g. [\"US\", \"GB\"]). Maps internally to geoTargetConstants."
              },
              "network": {
                "type": "string",
                "enum": [
                  "GOOGLE_SEARCH",
                  "GOOGLE_SEARCH_AND_PARTNERS"
                ],
                "default": "GOOGLE_SEARCH",
                "description": "Network: GOOGLE_SEARCH (default) or GOOGLE_SEARCH_AND_PARTNERS"
              },
              "include_monthly_volumes": {
                "type": "boolean",
                "default": false,
                "description": "When true, includes month-by-month search volume data. Default: false."
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "customer_id",
              "keywords",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "customer_id",
              "type": "string",
              "required": true,
              "description": "The Google Ads Customer ID (10 digits, with or without dashes)",
              "constraints": {
                "max_length": 20,
                "pattern": "^[\\d-]+$"
              }
            },
            {
              "name": "login_customer_id",
              "type": "string",
              "required": false,
              "description": "MCC (Manager) Customer ID; required for managed accounts",
              "constraints": {
                "max_length": 20,
                "pattern": "^[\\d-]+$"
              }
            },
            {
              "name": "keywords",
              "type": "array",
              "required": true,
              "description": "Keywords to get historical metrics for (1-200 keywords)"
            },
            {
              "name": "language",
              "type": "string",
              "required": false,
              "description": "ISO 639-1 language code (e.g. \"en\", \"es\"). Maps internally to languageConstants resource name.",
              "constraints": {
                "pattern": "^[a-z]{2}$"
              }
            },
            {
              "name": "geo_targets",
              "type": "array",
              "required": false,
              "description": "ISO 3166-1 alpha-2 country codes (e.g. [\"US\", \"GB\"]). Maps internally to geoTargetConstants."
            },
            {
              "name": "network",
              "type": "string",
              "required": false,
              "description": "Network: GOOGLE_SEARCH (default) or GOOGLE_SEARCH_AND_PARTNERS",
              "enum_values": [
                "GOOGLE_SEARCH",
                "GOOGLE_SEARCH_AND_PARTNERS"
              ],
              "default": "GOOGLE_SEARCH"
            },
            {
              "name": "include_monthly_volumes",
              "type": "boolean",
              "required": false,
              "description": "When true, includes month-by-month search volume data. Default: false.",
              "default": false
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "Basic metrics",
              "mcp_params": {
                "customer_id": "1234567890",
                "keywords": [
                  "running shoes",
                  "trail running shoes"
                ],
                "reason": "Check keyword search volume"
              },
              "cli_command": "hopkin google keyword-historical-metrics get --customer-id 1234567890 --keywords running shoes,trail running shoes",
              "natural_language": "Basic metrics"
            },
            {
              "label": "With geo targeting",
              "mcp_params": {
                "customer_id": "1234567890",
                "keywords": [
                  "yoga classes"
                ],
                "geo_targets": [
                  "US"
                ],
                "language": "en",
                "reason": "Market sizing for US"
              },
              "cli_command": "hopkin google keyword-historical-metrics get --customer-id 1234567890 --keywords yoga classes --geo-targets US --language en",
              "natural_language": "With geo targeting"
            },
            {
              "label": "Monthly trends",
              "mcp_params": {
                "customer_id": "1234567890",
                "keywords": [
                  "winter coats"
                ],
                "include_monthly_volumes": true,
                "reason": "Analyze seasonal patterns"
              },
              "cli_command": "hopkin google keyword-historical-metrics get --customer-id 1234567890 --keywords winter coats --include-monthly-volumes true",
              "natural_language": "Monthly trends"
            }
          ],
          "response_format": "markdown",
          "related_tools": [],
          "tool_type": "standard"
        },
        {
          "name": "google_ads_generate_keyword_forecast_metrics",
          "title": "Generate Google Ads Keyword Forecast Metrics",
          "description": "Forecast campaign performance for a set of keywords with budget and bidding config. Returns projected impressions, clicks, cost, CTR, conversions, and CPA. Supports MANUAL_CPC (requires default_max_cpc_bid_micros), MAXIMIZE_CLICKS, and MAXIMIZE_CONVERSIONS strategies. Budget is in micros (10000000 = $10). Examples: forecast a $50/day campaign with exact-match keywords, or compare BROAD vs EXACT match performance.",
          "cli_command": "hopkin google generate-keyword-forecast-metrics",
          "cli_flags": [
            {
              "flag": "--customer-id",
              "description": "The Google Ads Customer ID (10 digits, with or without dashes)",
              "type": "string",
              "required": true
            },
            {
              "flag": "--login-customer-id",
              "description": "MCC (Manager) Customer ID; required for managed accounts",
              "type": "string",
              "required": false
            },
            {
              "flag": "--keywords",
              "description": "Keywords to forecast (1-200). Each has text, optional match_type, optional max_cpc_bid_micros.",
              "type": "array",
              "required": true
            },
            {
              "flag": "--daily-budget-micros",
              "description": "Daily budget in micros (e.g., 10000000 = $10.00)",
              "type": "integer",
              "required": true
            },
            {
              "flag": "--default-max-cpc-bid-micros",
              "description": "Default max CPC bid in micros. Required for MANUAL_CPC strategy. Per-keyword bids override this.",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--bidding-strategy",
              "description": "Bidding strategy: MANUAL_CPC (default), MAXIMIZE_CLICKS, or MAXIMIZE_CONVERSIONS",
              "type": "string",
              "required": false
            },
            {
              "flag": "--max-cpc-bid-ceiling-micros",
              "description": "Max CPC bid ceiling for MAXIMIZE_CLICKS strategy (micros). Ignored for other strategies.",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--geo-targets",
              "description": "ISO 3166-1 alpha-2 country codes (e.g., [\"US\", \"GB\"]). Default: [\"US\"].",
              "type": "array",
              "required": false
            },
            {
              "flag": "--language",
              "description": "ISO 639-1 language code (e.g., \"en\", \"es\"). Default: \"en\".",
              "type": "string",
              "required": false
            },
            {
              "flag": "--network",
              "description": "Ad network: GOOGLE_SEARCH (default) or GOOGLE_SEARCH_AND_PARTNERS",
              "type": "string",
              "required": false
            },
            {
              "flag": "--forecast-start-date",
              "description": "Forecast period start date (YYYY-MM-DD). Defaults to tomorrow.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--forecast-end-date",
              "description": "Forecast period end date (YYYY-MM-DD). Defaults to 30 days from start.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--negative-keywords",
              "description": "Negative keyword texts to exclude from the forecast",
              "type": "array",
              "required": false
            },
            {
              "flag": "--conversion-rate",
              "description": "Expected conversion rate (0-1, e.g., 0.05 for 5%)",
              "type": "number",
              "required": false
            },
            {
              "flag": "--currency-code",
              "description": "ISO 4217 currency code (e.g., \"USD\", \"EUR\"). Defaults to account currency.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "generate-keyword-forecast-metrics",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "customer_id": {
                "type": "string",
                "maxLength": 20,
                "pattern": "^[\\d-]+$",
                "description": "The Google Ads Customer ID (10 digits, with or without dashes)"
              },
              "login_customer_id": {
                "type": "string",
                "maxLength": 20,
                "pattern": "^[\\d-]+$",
                "description": "MCC (Manager) Customer ID; required for managed accounts"
              },
              "keywords": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "text": {
                      "type": "string",
                      "minLength": 1,
                      "description": "The keyword text"
                    },
                    "match_type": {
                      "type": "string",
                      "enum": [
                        "EXACT",
                        "PHRASE",
                        "BROAD"
                      ],
                      "default": "BROAD",
                      "description": "Keyword match type (default: BROAD)"
                    },
                    "max_cpc_bid_micros": {
                      "type": "integer",
                      "exclusiveMinimum": 0,
                      "description": "Per-keyword max CPC bid in micros. Overrides the ad-group-level default."
                    }
                  },
                  "required": [
                    "text"
                  ],
                  "additionalProperties": false
                },
                "minItems": 1,
                "maxItems": 200,
                "description": "Keywords to forecast (1-200). Each has text, optional match_type, optional max_cpc_bid_micros."
              },
              "daily_budget_micros": {
                "type": "integer",
                "exclusiveMinimum": 0,
                "description": "Daily budget in micros (e.g., 10000000 = $10.00)"
              },
              "default_max_cpc_bid_micros": {
                "type": "integer",
                "exclusiveMinimum": 0,
                "description": "Default max CPC bid in micros. Required for MANUAL_CPC strategy. Per-keyword bids override this."
              },
              "bidding_strategy": {
                "type": "string",
                "enum": [
                  "MANUAL_CPC",
                  "MAXIMIZE_CLICKS",
                  "MAXIMIZE_CONVERSIONS"
                ],
                "default": "MANUAL_CPC",
                "description": "Bidding strategy: MANUAL_CPC (default), MAXIMIZE_CLICKS, or MAXIMIZE_CONVERSIONS"
              },
              "max_cpc_bid_ceiling_micros": {
                "type": "integer",
                "exclusiveMinimum": 0,
                "description": "Max CPC bid ceiling for MAXIMIZE_CLICKS strategy (micros). Ignored for other strategies."
              },
              "geo_targets": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 2,
                  "maxLength": 2
                },
                "minItems": 1,
                "default": [
                  "US"
                ],
                "description": "ISO 3166-1 alpha-2 country codes (e.g., [\"US\", \"GB\"]). Default: [\"US\"]."
              },
              "language": {
                "type": "string",
                "minLength": 2,
                "maxLength": 2,
                "default": "en",
                "description": "ISO 639-1 language code (e.g., \"en\", \"es\"). Default: \"en\"."
              },
              "network": {
                "type": "string",
                "enum": [
                  "GOOGLE_SEARCH",
                  "GOOGLE_SEARCH_AND_PARTNERS"
                ],
                "default": "GOOGLE_SEARCH",
                "description": "Ad network: GOOGLE_SEARCH (default) or GOOGLE_SEARCH_AND_PARTNERS"
              },
              "forecast_start_date": {
                "type": "string",
                "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                "description": "Forecast period start date (YYYY-MM-DD). Defaults to tomorrow."
              },
              "forecast_end_date": {
                "type": "string",
                "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                "description": "Forecast period end date (YYYY-MM-DD). Defaults to 30 days from start."
              },
              "negative_keywords": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1
                },
                "description": "Negative keyword texts to exclude from the forecast"
              },
              "conversion_rate": {
                "type": "number",
                "minimum": 0,
                "maximum": 1,
                "description": "Expected conversion rate (0-1, e.g., 0.05 for 5%)"
              },
              "currency_code": {
                "type": "string",
                "minLength": 3,
                "maxLength": 3,
                "description": "ISO 4217 currency code (e.g., \"USD\", \"EUR\"). Defaults to account currency."
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "customer_id",
              "keywords",
              "daily_budget_micros",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "customer_id",
              "type": "string",
              "required": true,
              "description": "The Google Ads Customer ID (10 digits, with or without dashes)",
              "constraints": {
                "max_length": 20,
                "pattern": "^[\\d-]+$"
              }
            },
            {
              "name": "login_customer_id",
              "type": "string",
              "required": false,
              "description": "MCC (Manager) Customer ID; required for managed accounts",
              "constraints": {
                "max_length": 20,
                "pattern": "^[\\d-]+$"
              }
            },
            {
              "name": "keywords",
              "type": "array",
              "required": true,
              "description": "Keywords to forecast (1-200). Each has text, optional match_type, optional max_cpc_bid_micros."
            },
            {
              "name": "daily_budget_micros",
              "type": "integer",
              "required": true,
              "description": "Daily budget in micros (e.g., 10000000 = $10.00)"
            },
            {
              "name": "default_max_cpc_bid_micros",
              "type": "integer",
              "required": false,
              "description": "Default max CPC bid in micros. Required for MANUAL_CPC strategy. Per-keyword bids override this."
            },
            {
              "name": "bidding_strategy",
              "type": "string",
              "required": false,
              "description": "Bidding strategy: MANUAL_CPC (default), MAXIMIZE_CLICKS, or MAXIMIZE_CONVERSIONS",
              "enum_values": [
                "MANUAL_CPC",
                "MAXIMIZE_CLICKS",
                "MAXIMIZE_CONVERSIONS"
              ],
              "default": "MANUAL_CPC"
            },
            {
              "name": "max_cpc_bid_ceiling_micros",
              "type": "integer",
              "required": false,
              "description": "Max CPC bid ceiling for MAXIMIZE_CLICKS strategy (micros). Ignored for other strategies."
            },
            {
              "name": "geo_targets",
              "type": "array",
              "required": false,
              "description": "ISO 3166-1 alpha-2 country codes (e.g., [\"US\", \"GB\"]). Default: [\"US\"].",
              "default": [
                "US"
              ]
            },
            {
              "name": "language",
              "type": "string",
              "required": false,
              "description": "ISO 639-1 language code (e.g., \"en\", \"es\"). Default: \"en\".",
              "default": "en",
              "constraints": {
                "min_length": 2,
                "max_length": 2
              }
            },
            {
              "name": "network",
              "type": "string",
              "required": false,
              "description": "Ad network: GOOGLE_SEARCH (default) or GOOGLE_SEARCH_AND_PARTNERS",
              "enum_values": [
                "GOOGLE_SEARCH",
                "GOOGLE_SEARCH_AND_PARTNERS"
              ],
              "default": "GOOGLE_SEARCH"
            },
            {
              "name": "forecast_start_date",
              "type": "string",
              "required": false,
              "description": "Forecast period start date (YYYY-MM-DD). Defaults to tomorrow.",
              "constraints": {
                "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
              }
            },
            {
              "name": "forecast_end_date",
              "type": "string",
              "required": false,
              "description": "Forecast period end date (YYYY-MM-DD). Defaults to 30 days from start.",
              "constraints": {
                "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
              }
            },
            {
              "name": "negative_keywords",
              "type": "array",
              "required": false,
              "description": "Negative keyword texts to exclude from the forecast"
            },
            {
              "name": "conversion_rate",
              "type": "number",
              "required": false,
              "description": "Expected conversion rate (0-1, e.g., 0.05 for 5%)",
              "constraints": {
                "min": 0,
                "max": 1
              }
            },
            {
              "name": "currency_code",
              "type": "string",
              "required": false,
              "description": "ISO 4217 currency code (e.g., \"USD\", \"EUR\"). Defaults to account currency.",
              "constraints": {
                "min_length": 3,
                "max_length": 3
              }
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "Manual CPC forecast",
              "mcp_params": {
                "customer_id": "1234567890",
                "keywords": [
                  {
                    "text": "running shoes",
                    "match_type": "EXACT"
                  }
                ],
                "daily_budget_micros": 10000000,
                "default_max_cpc_bid_micros": 1500000,
                "bidding_strategy": "MANUAL_CPC",
                "reason": "Budget planning for new campaign"
              },
              "cli_command": "hopkin google generate-keyword-forecast-metrics --customer-id 1234567890 --keywords [object Object] --daily-budget-micros 10000000 --default-max-cpc-bid-micros 1500000 --bidding-strategy MANUAL_CPC",
              "natural_language": "Manual CPC forecast"
            },
            {
              "label": "Maximize clicks",
              "mcp_params": {
                "customer_id": "1234567890",
                "keywords": [
                  {
                    "text": "yoga mat"
                  },
                  {
                    "text": "yoga accessories"
                  }
                ],
                "daily_budget_micros": 5000000,
                "bidding_strategy": "MAXIMIZE_CLICKS",
                "reason": "Estimate traffic potential"
              },
              "cli_command": "hopkin google generate-keyword-forecast-metrics --customer-id 1234567890 --keywords [object Object],[object Object] --daily-budget-micros 5000000 --bidding-strategy MAXIMIZE_CLICKS",
              "natural_language": "Maximize clicks"
            },
            {
              "label": "With date range",
              "mcp_params": {
                "customer_id": "1234567890",
                "keywords": [
                  {
                    "text": "winter coats",
                    "match_type": "BROAD"
                  }
                ],
                "daily_budget_micros": 20000000,
                "default_max_cpc_bid_micros": 2000000,
                "forecast_start_date": "2025-11-01",
                "forecast_end_date": "2025-12-31",
                "reason": "Holiday season forecast"
              },
              "cli_command": "hopkin google generate-keyword-forecast-metrics --customer-id 1234567890 --keywords [object Object] --daily-budget-micros 20000000 --default-max-cpc-bid-micros 2000000 --forecast-start-date 2025-11-01 --forecast-end-date 2025-12-31",
              "natural_language": "With date range"
            }
          ],
          "response_format": "markdown",
          "related_tools": [],
          "tool_type": "standard"
        },
        {
          "name": "google_ads_generate_ad_group_themes",
          "title": "Generate Google Ads Ad Group Themes",
          "description": "Suggest which ad group each keyword belongs to. Takes a list of keywords and existing ad group resource names, returns keyword-to-ad-group assignment suggestions with recommended match types. Also identifies unusable ad groups. Example: organize [\"running shoes\", \"trail shoes\", \"yoga mat\", \"yoga block\"] across your existing ad groups.",
          "cli_command": "hopkin google generate-ad-group-themes",
          "cli_flags": [
            {
              "flag": "--customer-id",
              "description": "The Google Ads Customer ID (10 digits, with or without dashes)",
              "type": "string",
              "required": true
            },
            {
              "flag": "--login-customer-id",
              "description": "MCC (Manager) Customer ID; required for managed accounts",
              "type": "string",
              "required": false
            },
            {
              "flag": "--keywords",
              "description": "Keywords to find ad group assignments for (1-2000 keywords)",
              "type": "array",
              "required": true
            },
            {
              "flag": "--ad-groups",
              "description": "Ad group resource names (e.g., \"customers/1234567890/adGroups/111222333\") to consider as placement targets",
              "type": "array",
              "required": true
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "generate-ad-group-themes",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "customer_id": {
                "type": "string",
                "maxLength": 20,
                "pattern": "^[\\d-]+$",
                "description": "The Google Ads Customer ID (10 digits, with or without dashes)"
              },
              "login_customer_id": {
                "type": "string",
                "maxLength": 20,
                "pattern": "^[\\d-]+$",
                "description": "MCC (Manager) Customer ID; required for managed accounts"
              },
              "keywords": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1
                },
                "minItems": 1,
                "maxItems": 2000,
                "description": "Keywords to find ad group assignments for (1-2000 keywords)"
              },
              "ad_groups": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1
                },
                "minItems": 1,
                "description": "Ad group resource names (e.g., \"customers/1234567890/adGroups/111222333\") to consider as placement targets"
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "customer_id",
              "keywords",
              "ad_groups",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "customer_id",
              "type": "string",
              "required": true,
              "description": "The Google Ads Customer ID (10 digits, with or without dashes)",
              "constraints": {
                "max_length": 20,
                "pattern": "^[\\d-]+$"
              }
            },
            {
              "name": "login_customer_id",
              "type": "string",
              "required": false,
              "description": "MCC (Manager) Customer ID; required for managed accounts",
              "constraints": {
                "max_length": 20,
                "pattern": "^[\\d-]+$"
              }
            },
            {
              "name": "keywords",
              "type": "array",
              "required": true,
              "description": "Keywords to find ad group assignments for (1-2000 keywords)"
            },
            {
              "name": "ad_groups",
              "type": "array",
              "required": true,
              "description": "Ad group resource names (e.g., \"customers/1234567890/adGroups/111222333\") to consider as placement targets"
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "Assign keywords to ad groups",
              "mcp_params": {
                "customer_id": "1234567890",
                "keywords": [
                  "running shoes",
                  "trail shoes",
                  "yoga mat",
                  "yoga block"
                ],
                "ad_groups": [
                  "customers/1234567890/adGroups/111",
                  "customers/1234567890/adGroups/222"
                ],
                "reason": "Organize keywords into ad groups"
              },
              "cli_command": "hopkin google generate-ad-group-themes --customer-id 1234567890 --keywords running shoes,trail shoes,yoga mat,yoga block --ad-groups customers/1234567890/adGroups/111,customers/1234567890/adGroups/222",
              "natural_language": "Assign keywords to ad groups"
            }
          ],
          "response_format": "markdown",
          "related_tools": [],
          "tool_type": "standard"
        },
        {
          "name": "google_ads_get_keyword_performance",
          "title": "Get Google Ads Keyword Performance",
          "description": "Get keyword-level performance metrics including quality score, match type, status, and search impression share. Supports segments parameter (e.g., ad_network_type) for channel-level breakdown — use to compare Search vs Search Partners per keyword. Includes a conversion breakdown (\\",
          "cli_command": "hopkin google keyword-performance get",
          "cli_flags": [
            {
              "flag": "--customer-id",
              "description": "The Google Ads Customer ID (10 digits, with or without dashes)",
              "type": "string",
              "required": true
            },
            {
              "flag": "--login-customer-id",
              "description": "MCC (Manager) Customer ID; required for managed accounts",
              "type": "string",
              "required": false
            },
            {
              "flag": "--date-preset",
              "description": "Predefined date range: TODAY, YESTERDAY, LAST_7_DAYS, LAST_30_DAYS, THIS_MONTH, LAST_MONTH. LAST_7_DAYS / LAST_30_DAYS are the 7 / 30 complete days ending yesterday (account time zone), as in Google Ads; THIS_MONTH runs through today.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--date-range",
              "description": "Custom date range {start_date, end_date} in YYYY-MM-DD",
              "type": "object",
              "required": false
            },
            {
              "flag": "--campaign",
              "description": "Filter to a specific campaign ID",
              "type": "string",
              "required": false
            },
            {
              "flag": "--ad-group-id",
              "description": "Filter to a specific ad group ID",
              "type": "string",
              "required": false
            },
            {
              "flag": "--keyword-match-type",
              "description": "Filter by match type: EXACT, PHRASE, BROAD",
              "type": "string",
              "required": false
            },
            {
              "flag": "--status",
              "description": "Filter by keyword status: ENABLED, PAUSED, REMOVED",
              "type": "array",
              "required": false
            },
            {
              "flag": "--limit",
              "description": "Page size: rows per page (1-1000, default 15). The response `count` is the total across all pages. To get more rows, pass `nextCursor` back as `cursor` rather than raising `limit`: pages much larger than the default can exceed what an MCP client accepts.",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--cursor",
              "description": "Opaque pagination cursor: pass the `nextCursor` value from the previous response unchanged, with every other parameter the same, to fetch the next page. Omit for the first page. Never construct one. Every page re-reads live data, so for an exact walk of every keyword, with none repeated or skipped, use a date_range that ended before today.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--order-by",
              "description": "Sort by metric (descending): impressions (default), clicks, cost, conversions, ctr. Ties are ordered by ad group ID, then keyword criterion ID, then segment values. Pages are positions in this ranking, and every page re-reads live data, so metrics that change between page requests (a window that includes today, or conversions still being reported) can move a keyword across a page boundary, repeating or skipping it; for an exact walk of every keyword, use a date_range that ended before today.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--include-all-conversions",
              "description": "When true, includes an additional all-conversions breakdown (metrics.all_conversions, all_conversions_value, value_per_all_conversions) segmented by conversion_action_name. This captures ALL conversion actions including those not marked \"Include in Conversions\".",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--include-landing-pages",
              "description": "When true, includes keyword-level Final URLs on each row: ad_group_criterion_final_urls (array), ad_group_criterion_final_mobile_urls (array), and ad_group_criterion_tracking_url_template (string). Adds response size — omit when not needed. Default: false.",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--segments",
              "description": "Segments to break down by (e.g., ad_network_type, device). Use ad_network_type to split keyword metrics by channel (SEARCH vs SEARCH_PARTNERS).",
              "type": "array",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "keyword-performance",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "customer_id": {
                "type": "string",
                "maxLength": 20,
                "pattern": "^[\\d-]+$",
                "description": "The Google Ads Customer ID (10 digits, with or without dashes)"
              },
              "login_customer_id": {
                "type": "string",
                "maxLength": 20,
                "pattern": "^[\\d-]+$",
                "description": "MCC (Manager) Customer ID; required for managed accounts"
              },
              "date_preset": {
                "type": "string",
                "enum": [
                  "TODAY",
                  "YESTERDAY",
                  "LAST_7_DAYS",
                  "LAST_30_DAYS",
                  "THIS_MONTH",
                  "LAST_MONTH"
                ],
                "description": "Predefined date range: TODAY, YESTERDAY, LAST_7_DAYS, LAST_30_DAYS, THIS_MONTH, LAST_MONTH. LAST_7_DAYS / LAST_30_DAYS are the 7 / 30 complete days ending yesterday (account time zone), as in Google Ads; THIS_MONTH runs through today."
              },
              "date_range": {
                "type": "object",
                "properties": {
                  "start_date": {
                    "type": "string",
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                    "description": "Start date (YYYY-MM-DD)"
                  },
                  "end_date": {
                    "type": "string",
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                    "description": "End date (YYYY-MM-DD)"
                  }
                },
                "required": [
                  "start_date",
                  "end_date"
                ],
                "additionalProperties": false,
                "description": "Custom date range {start_date, end_date} in YYYY-MM-DD"
              },
              "campaign_id": {
                "type": "string",
                "maxLength": 20,
                "pattern": "^\\d+$",
                "description": "Filter to a specific campaign ID"
              },
              "ad_group_id": {
                "type": "string",
                "maxLength": 20,
                "pattern": "^\\d+$",
                "description": "Filter to a specific ad group ID"
              },
              "keyword_match_type": {
                "type": "string",
                "enum": [
                  "EXACT",
                  "PHRASE",
                  "BROAD"
                ],
                "description": "Filter by match type: EXACT, PHRASE, BROAD"
              },
              "status": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "ENABLED",
                    "PAUSED",
                    "REMOVED"
                  ]
                },
                "description": "Filter by keyword status: ENABLED, PAUSED, REMOVED"
              },
              "limit": {
                "type": "integer",
                "minimum": 1,
                "maximum": 1000,
                "default": 15,
                "description": "Page size: rows per page (1-1000, default 15). The response `count` is the total across all pages. To get more rows, pass `nextCursor` back as `cursor` rather than raising `limit`: pages much larger than the default can exceed what an MCP client accepts."
              },
              "cursor": {
                "type": "string",
                "description": "Opaque pagination cursor: pass the `nextCursor` value from the previous response unchanged, with every other parameter the same, to fetch the next page. Omit for the first page. Never construct one. Every page re-reads live data, so for an exact walk of every keyword, with none repeated or skipped, use a date_range that ended before today."
              },
              "order_by": {
                "type": "string",
                "enum": [
                  "impressions",
                  "clicks",
                  "cost",
                  "conversions",
                  "ctr"
                ],
                "description": "Sort by metric (descending): impressions (default), clicks, cost, conversions, ctr. Ties are ordered by ad group ID, then keyword criterion ID, then segment values. Pages are positions in this ranking, and every page re-reads live data, so metrics that change between page requests (a window that includes today, or conversions still being reported) can move a keyword across a page boundary, repeating or skipping it; for an exact walk of every keyword, use a date_range that ended before today."
              },
              "include_all_conversions": {
                "type": "boolean",
                "description": "When true, includes an additional all-conversions breakdown (metrics.all_conversions, all_conversions_value, value_per_all_conversions) segmented by conversion_action_name. This captures ALL conversion actions including those not marked \"Include in Conversions\"."
              },
              "include_landing_pages": {
                "type": "boolean",
                "default": false,
                "description": "When true, includes keyword-level Final URLs on each row: ad_group_criterion_final_urls (array), ad_group_criterion_final_mobile_urls (array), and ad_group_criterion_tracking_url_template (string). Adds response size — omit when not needed. Default: false."
              },
              "segments": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1
                },
                "description": "Segments to break down by (e.g., ad_network_type, device). Use ad_network_type to split keyword metrics by channel (SEARCH vs SEARCH_PARTNERS)."
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "customer_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "customer_id",
              "type": "string",
              "required": true,
              "description": "The Google Ads Customer ID (10 digits, with or without dashes)",
              "constraints": {
                "max_length": 20,
                "pattern": "^[\\d-]+$"
              }
            },
            {
              "name": "login_customer_id",
              "type": "string",
              "required": false,
              "description": "MCC (Manager) Customer ID; required for managed accounts",
              "constraints": {
                "max_length": 20,
                "pattern": "^[\\d-]+$"
              }
            },
            {
              "name": "date_preset",
              "type": "string",
              "required": false,
              "description": "Predefined date range: TODAY, YESTERDAY, LAST_7_DAYS, LAST_30_DAYS, THIS_MONTH, LAST_MONTH. LAST_7_DAYS / LAST_30_DAYS are the 7 / 30 complete days ending yesterday (account time zone), as in Google Ads; THIS_MONTH runs through today.",
              "enum_values": [
                "TODAY",
                "YESTERDAY",
                "LAST_7_DAYS",
                "LAST_30_DAYS",
                "THIS_MONTH",
                "LAST_MONTH"
              ]
            },
            {
              "name": "date_range",
              "type": "object",
              "required": false,
              "description": "Custom date range {start_date, end_date} in YYYY-MM-DD"
            },
            {
              "name": "campaign_id",
              "type": "string",
              "required": false,
              "description": "Filter to a specific campaign ID",
              "constraints": {
                "max_length": 20,
                "pattern": "^\\d+$"
              }
            },
            {
              "name": "ad_group_id",
              "type": "string",
              "required": false,
              "description": "Filter to a specific ad group ID",
              "constraints": {
                "max_length": 20,
                "pattern": "^\\d+$"
              }
            },
            {
              "name": "keyword_match_type",
              "type": "string",
              "required": false,
              "description": "Filter by match type: EXACT, PHRASE, BROAD",
              "enum_values": [
                "EXACT",
                "PHRASE",
                "BROAD"
              ]
            },
            {
              "name": "status",
              "type": "array",
              "required": false,
              "description": "Filter by keyword status: ENABLED, PAUSED, REMOVED"
            },
            {
              "name": "limit",
              "type": "integer",
              "required": false,
              "description": "Page size: rows per page (1-1000, default 15). The response `count` is the total across all pages. To get more rows, pass `nextCursor` back as `cursor` rather than raising `limit`: pages much larger than the default can exceed what an MCP client accepts.",
              "default": 15,
              "constraints": {
                "min": 1,
                "max": 1000
              }
            },
            {
              "name": "cursor",
              "type": "string",
              "required": false,
              "description": "Opaque pagination cursor: pass the `nextCursor` value from the previous response unchanged, with every other parameter the same, to fetch the next page. Omit for the first page. Never construct one. Every page re-reads live data, so for an exact walk of every keyword, with none repeated or skipped, use a date_range that ended before today."
            },
            {
              "name": "order_by",
              "type": "string",
              "required": false,
              "description": "Sort by metric (descending): impressions (default), clicks, cost, conversions, ctr. Ties are ordered by ad group ID, then keyword criterion ID, then segment values. Pages are positions in this ranking, and every page re-reads live data, so metrics that change between page requests (a window that includes today, or conversions still being reported) can move a keyword across a page boundary, repeating or skipping it; for an exact walk of every keyword, use a date_range that ended before today.",
              "enum_values": [
                "impressions",
                "clicks",
                "cost",
                "conversions",
                "ctr"
              ]
            },
            {
              "name": "include_all_conversions",
              "type": "boolean",
              "required": false,
              "description": "When true, includes an additional all-conversions breakdown (metrics.all_conversions, all_conversions_value, value_per_all_conversions) segmented by conversion_action_name. This captures ALL conversion actions including those not marked \"Include in Conversions\"."
            },
            {
              "name": "include_landing_pages",
              "type": "boolean",
              "required": false,
              "description": "When true, includes keyword-level Final URLs on each row: ad_group_criterion_final_urls (array), ad_group_criterion_final_mobile_urls (array), and ad_group_criterion_tracking_url_template (string). Adds response size — omit when not needed. Default: false.",
              "default": false
            },
            {
              "name": "segments",
              "type": "array",
              "required": false,
              "description": "Segments to break down by (e.g., ad_network_type, device). Use ad_network_type to split keyword metrics by channel (SEARCH vs SEARCH_PARTNERS)."
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "Top keywords",
              "mcp_params": {
                "customer_id": "1234567890",
                "date_preset": "LAST_7_DAYS",
                "reason": "Keyword performance review"
              },
              "cli_command": "hopkin google keyword-performance get --customer-id 1234567890 --date-preset LAST_7_DAYS",
              "natural_language": "Top keywords"
            },
            {
              "label": "Exact match only",
              "mcp_params": {
                "customer_id": "1234567890",
                "date_preset": "LAST_7_DAYS",
                "keyword_match_type": "EXACT",
                "reason": "Exact match keyword analysis"
              },
              "cli_command": "hopkin google keyword-performance get --customer-id 1234567890 --date-preset LAST_7_DAYS --keyword-match-type EXACT",
              "natural_language": "Exact match only"
            },
            {
              "label": "Top converters",
              "mcp_params": {
                "customer_id": "1234567890",
                "date_preset": "LAST_30_DAYS",
                "order_by": "conversions",
                "status": [
                  "ENABLED"
                ],
                "reason": "Find top converting keywords"
              },
              "cli_command": "hopkin google keyword-performance get --customer-id 1234567890 --date-preset LAST_30_DAYS --order-by conversions --status ENABLED",
              "natural_language": "Top converters"
            },
            {
              "label": "By network channel",
              "mcp_params": {
                "customer_id": "1234567890",
                "date_preset": "LAST_30_DAYS",
                "segments": [
                  "ad_network_type"
                ],
                "reason": "Keyword performance by ad network"
              },
              "cli_command": "hopkin google keyword-performance get --customer-id 1234567890 --date-preset LAST_30_DAYS --segments ad_network_type",
              "natural_language": "By network channel"
            },
            {
              "label": "With landing pages",
              "mcp_params": {
                "customer_id": "1234567890",
                "date_preset": "LAST_30_DAYS",
                "status": [
                  "ENABLED"
                ],
                "include_landing_pages": true,
                "reason": "Export active keywords with their landing pages"
              },
              "cli_command": "hopkin google keyword-performance get --customer-id 1234567890 --date-preset LAST_30_DAYS --status ENABLED --include-landing-pages true",
              "natural_language": "With landing pages"
            }
          ],
          "response_format": "markdown",
          "related_tools": [],
          "tool_type": "standard"
        },
        {
          "name": "google_ads_get_search_terms_report",
          "title": "Get Google Ads Search Terms Report",
          "description": "Get actual search queries that triggered ads, with performance metrics and keyword match status. Google may not disclose all terms for privacy. Supports segments parameter (e.g., ad_network_type) for channel-level breakdown — use to compare Search vs Search Partners per search term. Always fetches fresh data. Conversion breakdown (keyed by search term) and landing page lookups are opt-in to control response size. Passing conversion_action_name in segments auto-enables conversion breakdown. If a breakdown query fails, that breakdown comes back empty and \\",
          "cli_command": "hopkin google search-terms-report get",
          "cli_flags": [
            {
              "flag": "--customer-id",
              "description": "The Google Ads Customer ID (10 digits, with or without dashes)",
              "type": "string",
              "required": true
            },
            {
              "flag": "--login-customer-id",
              "description": "MCC (Manager) Customer ID; required for managed accounts",
              "type": "string",
              "required": false
            },
            {
              "flag": "--date-preset",
              "description": "Predefined date range: TODAY, YESTERDAY, LAST_7_DAYS, LAST_30_DAYS, THIS_MONTH, LAST_MONTH. LAST_7_DAYS / LAST_30_DAYS are the 7 / 30 complete days ending yesterday (account time zone), as in Google Ads; THIS_MONTH runs through today.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--date-range",
              "description": "Custom date range {start_date, end_date} in YYYY-MM-DD",
              "type": "object",
              "required": false
            },
            {
              "flag": "--campaign",
              "description": "Filter to a specific campaign ID",
              "type": "string",
              "required": false
            },
            {
              "flag": "--ad-group-id",
              "description": "Filter to a specific ad group ID",
              "type": "string",
              "required": false
            },
            {
              "flag": "--search-term-status",
              "description": "Filter by search term status: ADDED, EXCLUDED, ADDED_EXCLUDED, NONE",
              "type": "array",
              "required": false
            },
            {
              "flag": "--limit",
              "description": "Page size: rows per page (1-1000, default 40). `count` in the response is the total across all pages; when more rows remain, the response includes a top-level `nextCursor`. To get more rows, follow `nextCursor` rather than raising `limit`: the default keeps a page (about 1,000 characters per row) inside what MCP clients accept.",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--cursor",
              "description": "Opaque pagination cursor: the `nextCursor` value from the previous response. Pass it back unchanged, with the same filters, segments and order_by, to fetch the next page. Omit for the first page.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--order-by",
              "description": "Sort by metric (descending): impressions, clicks, cost, conversions, ctr. Rows that tie on the metric keep a fixed order across pages. Every page re-reads live data, so metrics that change between page requests (a window that includes today, conversions still being reported, or a date_preset that rolls over at midnight in the account time zone) can move a row across a page boundary; for an exact walk of every row, use a date_range that ended before today.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--include-all-conversions",
              "description": "When true, includes an additional all-conversions breakdown (metrics.all_conversions, all_conversions_value, value_per_all_conversions) segmented by conversion_action_name. This captures ALL conversion actions including those not marked \"Include in Conversions\".",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--include-conversion-breakdown",
              "description": "When true, includes a conversion breakdown by conversion action for the returned search terms (keyed by search term text; a term that ran in several of the returned ad groups is summed across them). The breakdown on each page covers only the rows on that page, so breakdowns from successive pages add up without counting a conversion twice. Adds significant response size — omit when response size is a concern. Default: false.",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--include-landing-pages",
              "description": "When true, runs a parallel query against ad_group_ad to fetch final_urls for each ad group in the results. Returns landing_pages_by_ad_group map keyed by ad_group_id. Default: false.",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--pmax-search-categories",
              "description": "When true, queries campaign_search_term_insight for PMax search category data (grouped themes, not individual queries). ad_group_id and search_term_status are ignored in this mode. Default: false.",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--include-pmax-search-terms",
              "description": "When true, returns the individual search queries of Performance Max campaigns (campaign_search_term_view) instead of search_term_view rows, with impressions, clicks, cost and conversions per query and a `coverage` block comparing their totals with the PMax campaigns' own on the Search network (Google Search and search partners) and on all networks. Works account-wide or with campaign_id. search_term_status filters on segments_search_term_targeting_status; pass [\"NONE\", \"ADDED\"] to leave out queries already negated (EXCLUDED, ADDED_EXCLUDED). Rows carry campaign_search_term_view_search_term, segments_search_term_targeting_status, segments_search_term_match_type, campaign_id and campaign_name, and have no ad group. Cannot be combined with ad_group_id, include_landing_pages, pmax_search_categories or keyword segments (keyword.*, match_type: Performance Max has no keywords). Default: false.",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--segments",
              "description": "Segments to break down by (e.g., ad_network_type, device). Use ad_network_type to split search term metrics by channel (SEARCH vs SEARCH_PARTNERS). If conversion_action or conversion_action_name is included, it is automatically stripped from the main query and a parallel conversion breakdown query runs instead. Ignored when pmax_search_categories is true.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "search-terms-report",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "customer_id": {
                "type": "string",
                "maxLength": 20,
                "pattern": "^[\\d-]+$",
                "description": "The Google Ads Customer ID (10 digits, with or without dashes)"
              },
              "login_customer_id": {
                "type": "string",
                "maxLength": 20,
                "pattern": "^[\\d-]+$",
                "description": "MCC (Manager) Customer ID; required for managed accounts"
              },
              "date_preset": {
                "type": "string",
                "enum": [
                  "TODAY",
                  "YESTERDAY",
                  "LAST_7_DAYS",
                  "LAST_30_DAYS",
                  "THIS_MONTH",
                  "LAST_MONTH"
                ],
                "description": "Predefined date range: TODAY, YESTERDAY, LAST_7_DAYS, LAST_30_DAYS, THIS_MONTH, LAST_MONTH. LAST_7_DAYS / LAST_30_DAYS are the 7 / 30 complete days ending yesterday (account time zone), as in Google Ads; THIS_MONTH runs through today."
              },
              "date_range": {
                "type": "object",
                "properties": {
                  "start_date": {
                    "type": "string",
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                    "description": "Start date (YYYY-MM-DD)"
                  },
                  "end_date": {
                    "type": "string",
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                    "description": "End date (YYYY-MM-DD)"
                  }
                },
                "required": [
                  "start_date",
                  "end_date"
                ],
                "additionalProperties": false,
                "description": "Custom date range {start_date, end_date} in YYYY-MM-DD"
              },
              "campaign_id": {
                "type": "string",
                "maxLength": 20,
                "pattern": "^\\d+$",
                "description": "Filter to a specific campaign ID"
              },
              "ad_group_id": {
                "type": "string",
                "maxLength": 20,
                "pattern": "^\\d+$",
                "description": "Filter to a specific ad group ID"
              },
              "search_term_status": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "ADDED",
                    "EXCLUDED",
                    "ADDED_EXCLUDED",
                    "NONE"
                  ]
                },
                "description": "Filter by search term status: ADDED, EXCLUDED, ADDED_EXCLUDED, NONE"
              },
              "limit": {
                "type": "integer",
                "minimum": 1,
                "maximum": 1000,
                "default": 40,
                "description": "Page size: rows per page (1-1000, default 40). `count` in the response is the total across all pages; when more rows remain, the response includes a top-level `nextCursor`. To get more rows, follow `nextCursor` rather than raising `limit`: the default keeps a page (about 1,000 characters per row) inside what MCP clients accept."
              },
              "cursor": {
                "type": "string",
                "description": "Opaque pagination cursor: the `nextCursor` value from the previous response. Pass it back unchanged, with the same filters, segments and order_by, to fetch the next page. Omit for the first page."
              },
              "order_by": {
                "type": "string",
                "enum": [
                  "impressions",
                  "clicks",
                  "cost",
                  "conversions",
                  "ctr"
                ],
                "description": "Sort by metric (descending): impressions, clicks, cost, conversions, ctr. Rows that tie on the metric keep a fixed order across pages. Every page re-reads live data, so metrics that change between page requests (a window that includes today, conversions still being reported, or a date_preset that rolls over at midnight in the account time zone) can move a row across a page boundary; for an exact walk of every row, use a date_range that ended before today."
              },
              "include_all_conversions": {
                "type": "boolean",
                "description": "When true, includes an additional all-conversions breakdown (metrics.all_conversions, all_conversions_value, value_per_all_conversions) segmented by conversion_action_name. This captures ALL conversion actions including those not marked \"Include in Conversions\"."
              },
              "include_conversion_breakdown": {
                "type": "boolean",
                "default": false,
                "description": "When true, includes a conversion breakdown by conversion action for the returned search terms (keyed by search term text; a term that ran in several of the returned ad groups is summed across them). The breakdown on each page covers only the rows on that page, so breakdowns from successive pages add up without counting a conversion twice. Adds significant response size — omit when response size is a concern. Default: false."
              },
              "include_landing_pages": {
                "type": "boolean",
                "default": false,
                "description": "When true, runs a parallel query against ad_group_ad to fetch final_urls for each ad group in the results. Returns landing_pages_by_ad_group map keyed by ad_group_id. Default: false."
              },
              "pmax_search_categories": {
                "type": "boolean",
                "default": false,
                "description": "When true, queries campaign_search_term_insight for PMax search category data (grouped themes, not individual queries). ad_group_id and search_term_status are ignored in this mode. Default: false."
              },
              "include_pmax_search_terms": {
                "type": "boolean",
                "default": false,
                "description": "When true, returns the individual search queries of Performance Max campaigns (campaign_search_term_view) instead of search_term_view rows, with impressions, clicks, cost and conversions per query and a `coverage` block comparing their totals with the PMax campaigns' own on the Search network (Google Search and search partners) and on all networks. Works account-wide or with campaign_id. search_term_status filters on segments_search_term_targeting_status; pass [\"NONE\", \"ADDED\"] to leave out queries already negated (EXCLUDED, ADDED_EXCLUDED). Rows carry campaign_search_term_view_search_term, segments_search_term_targeting_status, segments_search_term_match_type, campaign_id and campaign_name, and have no ad group. Cannot be combined with ad_group_id, include_landing_pages, pmax_search_categories or keyword segments (keyword.*, match_type: Performance Max has no keywords). Default: false."
              },
              "segments": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1
                },
                "description": "Segments to break down by (e.g., ad_network_type, device). Use ad_network_type to split search term metrics by channel (SEARCH vs SEARCH_PARTNERS). If conversion_action or conversion_action_name is included, it is automatically stripped from the main query and a parallel conversion breakdown query runs instead. Ignored when pmax_search_categories is true."
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "customer_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "customer_id",
              "type": "string",
              "required": true,
              "description": "The Google Ads Customer ID (10 digits, with or without dashes)",
              "constraints": {
                "max_length": 20,
                "pattern": "^[\\d-]+$"
              }
            },
            {
              "name": "login_customer_id",
              "type": "string",
              "required": false,
              "description": "MCC (Manager) Customer ID; required for managed accounts",
              "constraints": {
                "max_length": 20,
                "pattern": "^[\\d-]+$"
              }
            },
            {
              "name": "date_preset",
              "type": "string",
              "required": false,
              "description": "Predefined date range: TODAY, YESTERDAY, LAST_7_DAYS, LAST_30_DAYS, THIS_MONTH, LAST_MONTH. LAST_7_DAYS / LAST_30_DAYS are the 7 / 30 complete days ending yesterday (account time zone), as in Google Ads; THIS_MONTH runs through today.",
              "enum_values": [
                "TODAY",
                "YESTERDAY",
                "LAST_7_DAYS",
                "LAST_30_DAYS",
                "THIS_MONTH",
                "LAST_MONTH"
              ]
            },
            {
              "name": "date_range",
              "type": "object",
              "required": false,
              "description": "Custom date range {start_date, end_date} in YYYY-MM-DD"
            },
            {
              "name": "campaign_id",
              "type": "string",
              "required": false,
              "description": "Filter to a specific campaign ID",
              "constraints": {
                "max_length": 20,
                "pattern": "^\\d+$"
              }
            },
            {
              "name": "ad_group_id",
              "type": "string",
              "required": false,
              "description": "Filter to a specific ad group ID",
              "constraints": {
                "max_length": 20,
                "pattern": "^\\d+$"
              }
            },
            {
              "name": "search_term_status",
              "type": "array",
              "required": false,
              "description": "Filter by search term status: ADDED, EXCLUDED, ADDED_EXCLUDED, NONE"
            },
            {
              "name": "limit",
              "type": "integer",
              "required": false,
              "description": "Page size: rows per page (1-1000, default 40). `count` in the response is the total across all pages; when more rows remain, the response includes a top-level `nextCursor`. To get more rows, follow `nextCursor` rather than raising `limit`: the default keeps a page (about 1,000 characters per row) inside what MCP clients accept.",
              "default": 40,
              "constraints": {
                "min": 1,
                "max": 1000
              }
            },
            {
              "name": "cursor",
              "type": "string",
              "required": false,
              "description": "Opaque pagination cursor: the `nextCursor` value from the previous response. Pass it back unchanged, with the same filters, segments and order_by, to fetch the next page. Omit for the first page."
            },
            {
              "name": "order_by",
              "type": "string",
              "required": false,
              "description": "Sort by metric (descending): impressions, clicks, cost, conversions, ctr. Rows that tie on the metric keep a fixed order across pages. Every page re-reads live data, so metrics that change between page requests (a window that includes today, conversions still being reported, or a date_preset that rolls over at midnight in the account time zone) can move a row across a page boundary; for an exact walk of every row, use a date_range that ended before today.",
              "enum_values": [
                "impressions",
                "clicks",
                "cost",
                "conversions",
                "ctr"
              ]
            },
            {
              "name": "include_all_conversions",
              "type": "boolean",
              "required": false,
              "description": "When true, includes an additional all-conversions breakdown (metrics.all_conversions, all_conversions_value, value_per_all_conversions) segmented by conversion_action_name. This captures ALL conversion actions including those not marked \"Include in Conversions\"."
            },
            {
              "name": "include_conversion_breakdown",
              "type": "boolean",
              "required": false,
              "description": "When true, includes a conversion breakdown by conversion action for the returned search terms (keyed by search term text; a term that ran in several of the returned ad groups is summed across them). The breakdown on each page covers only the rows on that page, so breakdowns from successive pages add up without counting a conversion twice. Adds significant response size — omit when response size is a concern. Default: false.",
              "default": false
            },
            {
              "name": "include_landing_pages",
              "type": "boolean",
              "required": false,
              "description": "When true, runs a parallel query against ad_group_ad to fetch final_urls for each ad group in the results. Returns landing_pages_by_ad_group map keyed by ad_group_id. Default: false.",
              "default": false
            },
            {
              "name": "pmax_search_categories",
              "type": "boolean",
              "required": false,
              "description": "When true, queries campaign_search_term_insight for PMax search category data (grouped themes, not individual queries). ad_group_id and search_term_status are ignored in this mode. Default: false.",
              "default": false
            },
            {
              "name": "include_pmax_search_terms",
              "type": "boolean",
              "required": false,
              "description": "When true, returns the individual search queries of Performance Max campaigns (campaign_search_term_view) instead of search_term_view rows, with impressions, clicks, cost and conversions per query and a `coverage` block comparing their totals with the PMax campaigns' own on the Search network (Google Search and search partners) and on all networks. Works account-wide or with campaign_id. search_term_status filters on segments_search_term_targeting_status; pass [\"NONE\", \"ADDED\"] to leave out queries already negated (EXCLUDED, ADDED_EXCLUDED). Rows carry campaign_search_term_view_search_term, segments_search_term_targeting_status, segments_search_term_match_type, campaign_id and campaign_name, and have no ad group. Cannot be combined with ad_group_id, include_landing_pages, pmax_search_categories or keyword segments (keyword.*, match_type: Performance Max has no keywords). Default: false.",
              "default": false
            },
            {
              "name": "segments",
              "type": "array",
              "required": false,
              "description": "Segments to break down by (e.g., ad_network_type, device). Use ad_network_type to split search term metrics by channel (SEARCH vs SEARCH_PARTNERS). If conversion_action or conversion_action_name is included, it is automatically stripped from the main query and a parallel conversion breakdown query runs instead. Ignored when pmax_search_categories is true."
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "Top search terms",
              "mcp_params": {
                "customer_id": "1234567890",
                "date_preset": "LAST_7_DAYS",
                "reason": "Search term analysis"
              },
              "cli_command": "hopkin google search-terms-report get --customer-id 1234567890 --date-preset LAST_7_DAYS",
              "natural_language": "Top search terms"
            },
            {
              "label": "New terms only",
              "mcp_params": {
                "customer_id": "1234567890",
                "date_preset": "LAST_7_DAYS",
                "search_term_status": [
                  "NONE"
                ],
                "order_by": "conversions",
                "reason": "Find new converting search terms"
              },
              "cli_command": "hopkin google search-terms-report get --customer-id 1234567890 --date-preset LAST_7_DAYS --search-term-status NONE --order-by conversions",
              "natural_language": "New terms only"
            },
            {
              "label": "With landing pages",
              "mcp_params": {
                "customer_id": "1234567890",
                "date_preset": "LAST_7_DAYS",
                "include_landing_pages": true,
                "reason": "Find which landing pages top search terms go to"
              },
              "cli_command": "hopkin google search-terms-report get --customer-id 1234567890 --date-preset LAST_7_DAYS --include-landing-pages true",
              "natural_language": "With landing pages"
            },
            {
              "label": "PMax search categories",
              "mcp_params": {
                "customer_id": "1234567890",
                "campaign_id": "5555555555",
                "date_preset": "LAST_30_DAYS",
                "pmax_search_categories": true,
                "reason": "PMax search category analysis"
              },
              "cli_command": "hopkin google search-terms-report get --customer-id 1234567890 --campaign 5555555555 --date-preset LAST_30_DAYS --pmax-search-categories true",
              "natural_language": "PMax search categories"
            },
            {
              "label": "PMax individual search terms, not yet negated",
              "mcp_params": {
                "customer_id": "1234567890",
                "campaign_id": "5555555555",
                "date_preset": "LAST_30_DAYS",
                "include_pmax_search_terms": true,
                "search_term_status": [
                  "NONE",
                  "ADDED"
                ],
                "order_by": "cost",
                "reason": "Find PMax queries to negate"
              },
              "cli_command": "hopkin google search-terms-report get --customer-id 1234567890 --campaign 5555555555 --date-preset LAST_30_DAYS --include-pmax-search-terms true --search-term-status NONE,ADDED --order-by cost",
              "natural_language": "PMax individual search terms, not yet negated"
            },
            {
              "label": "By network channel",
              "mcp_params": {
                "customer_id": "1234567890",
                "date_preset": "LAST_30_DAYS",
                "segments": [
                  "ad_network_type"
                ],
                "reason": "Search terms by ad network"
              },
              "cli_command": "hopkin google search-terms-report get --customer-id 1234567890 --date-preset LAST_30_DAYS --segments ad_network_type",
              "natural_language": "By network channel"
            },
            {
              "label": "Next page",
              "mcp_params": {
                "customer_id": "1234567890",
                "date_preset": "LAST_30_DAYS",
                "cursor": "eyJvZmZzZXQiOjQwfQ==",
                "reason": "Fetch the next page of search terms using nextCursor from the previous response"
              },
              "cli_command": "hopkin google search-terms-report get --customer-id 1234567890 --date-preset LAST_30_DAYS --cursor eyJvZmZzZXQiOjQwfQ==",
              "natural_language": "Next page"
            }
          ],
          "response_format": "markdown",
          "related_tools": [],
          "tool_type": "standard"
        },
        {
          "name": "google_ads_get_landing_page_report",
          "title": "Get Landing Page Performance Report",
          "description": "Landing page performance report from the landing_page_view resource. Preferred tool for all landing page analysis — do not use google_ads_get_insights or google_ads_list_ads for landing page data. Returns clicks, impressions, cost, conversions and speed_score grouped by landing page URL, with per-conversion-action breakdowns included automatically. speed_score is Google's mobile landing page speed score, 1–10 with 10 fastest, measured from mobile ad clicks. It is on every row and is null when Google has no measurement for that row, which is common on rows with little mobile traffic, such as desktop and Demand Gen rows; null means not measured, not slow. It is the only landing page quality signal Google Ads still reports: Google no longer reports the mobile-friendly click rate or the valid AMP click rate, so they are not available from this or any other tool. Use url_contains to filter by URL pattern. Paginated: \\",
          "cli_command": "hopkin google landing-page-report get",
          "cli_flags": [
            {
              "flag": "--customer-id",
              "description": "The Google Ads Customer ID (10 digits, with or without dashes)",
              "type": "string",
              "required": true
            },
            {
              "flag": "--login-customer-id",
              "description": "MCC (Manager) Customer ID; required for managed accounts",
              "type": "string",
              "required": false
            },
            {
              "flag": "--date-preset",
              "description": "Predefined date range: TODAY, YESTERDAY, LAST_7_DAYS, LAST_30_DAYS, THIS_MONTH, LAST_MONTH. LAST_7_DAYS / LAST_30_DAYS are the 7 / 30 complete days ending yesterday (account time zone), as in Google Ads; THIS_MONTH runs through today.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--date-range",
              "description": "Custom date range {start_date, end_date} in YYYY-MM-DD",
              "type": "object",
              "required": false
            },
            {
              "flag": "--segments",
              "description": "Additional segments: date, device, ad_network_type. Rows and conversion breakdowns are totals over the date window unless \"date\" is included, which returns one row per day (breakdown keys become url|date). Conversion breakdowns are always included automatically via a separate query.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--campaign",
              "description": "Filter to a specific campaign ID",
              "type": "string",
              "required": false
            },
            {
              "flag": "--ad-group-id",
              "description": "Filter to a specific ad group ID",
              "type": "string",
              "required": false
            },
            {
              "flag": "--url-contains",
              "description": "Filter landing pages where URL contains this string (case-insensitive)",
              "type": "string",
              "required": false
            },
            {
              "flag": "--limit",
              "description": "Page size: rows per page (1-1000, default 25). The response `count` is the total across all pages. To get more rows, pass `nextCursor` back as `cursor` rather than raising `limit`: pages much larger than the default can exceed what an MCP client accepts.",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--cursor",
              "description": "Opaque pagination cursor: pass the `nextCursor` value from the previous response unchanged, with the same filters, segments and order_by, to fetch the next page. Omit for the first page. Never construct one. Each page carries the conversion breakdown only of the URLs it introduces, so a full crawl adds up rather than double-counting. Pages are positions in a ranking by `order_by` that is re-read live on every call, so a row near a page boundary can move between pages if its metric changes — with order_by=\"conversions\" that happens even for a window that ended days ago, because Google keeps revising past days as conversions are attributed. Order by clicks, impressions or cost for the steadiest crawl.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--order-by",
              "description": "Sort results by this metric (default: clicks, descending)",
              "type": "string",
              "required": false
            },
            {
              "flag": "--include-all-conversions",
              "description": "When true, includes an additional all-conversions breakdown (all_conversions, all_conversions_value) segmented by conversion_action_name.",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "landing-page-report",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "customer_id": {
                "type": "string",
                "maxLength": 20,
                "pattern": "^[\\d-]+$",
                "description": "The Google Ads Customer ID (10 digits, with or without dashes)"
              },
              "login_customer_id": {
                "type": "string",
                "maxLength": 20,
                "pattern": "^[\\d-]+$",
                "description": "MCC (Manager) Customer ID; required for managed accounts"
              },
              "date_preset": {
                "type": "string",
                "enum": [
                  "TODAY",
                  "YESTERDAY",
                  "LAST_7_DAYS",
                  "LAST_30_DAYS",
                  "THIS_MONTH",
                  "LAST_MONTH"
                ],
                "description": "Predefined date range: TODAY, YESTERDAY, LAST_7_DAYS, LAST_30_DAYS, THIS_MONTH, LAST_MONTH. LAST_7_DAYS / LAST_30_DAYS are the 7 / 30 complete days ending yesterday (account time zone), as in Google Ads; THIS_MONTH runs through today."
              },
              "date_range": {
                "type": "object",
                "properties": {
                  "start_date": {
                    "type": "string",
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                    "description": "Start date (YYYY-MM-DD)"
                  },
                  "end_date": {
                    "type": "string",
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                    "description": "End date (YYYY-MM-DD)"
                  }
                },
                "required": [
                  "start_date",
                  "end_date"
                ],
                "additionalProperties": false,
                "description": "Custom date range {start_date, end_date} in YYYY-MM-DD"
              },
              "segments": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "date",
                    "device",
                    "ad_network_type"
                  ]
                },
                "description": "Additional segments: date, device, ad_network_type. Rows and conversion breakdowns are totals over the date window unless \"date\" is included, which returns one row per day (breakdown keys become url|date). Conversion breakdowns are always included automatically via a separate query."
              },
              "campaign_id": {
                "type": "string",
                "maxLength": 20,
                "pattern": "^\\d+$",
                "description": "Filter to a specific campaign ID"
              },
              "ad_group_id": {
                "type": "string",
                "maxLength": 20,
                "pattern": "^\\d+$",
                "description": "Filter to a specific ad group ID"
              },
              "url_contains": {
                "type": "string",
                "description": "Filter landing pages where URL contains this string (case-insensitive)"
              },
              "limit": {
                "type": "integer",
                "minimum": 1,
                "maximum": 1000,
                "default": 25,
                "description": "Page size: rows per page (1-1000, default 25). The response `count` is the total across all pages. To get more rows, pass `nextCursor` back as `cursor` rather than raising `limit`: pages much larger than the default can exceed what an MCP client accepts."
              },
              "cursor": {
                "type": "string",
                "description": "Opaque pagination cursor: pass the `nextCursor` value from the previous response unchanged, with the same filters, segments and order_by, to fetch the next page. Omit for the first page. Never construct one. Each page carries the conversion breakdown only of the URLs it introduces, so a full crawl adds up rather than double-counting. Pages are positions in a ranking by `order_by` that is re-read live on every call, so a row near a page boundary can move between pages if its metric changes — with order_by=\"conversions\" that happens even for a window that ended days ago, because Google keeps revising past days as conversions are attributed. Order by clicks, impressions or cost for the steadiest crawl."
              },
              "order_by": {
                "type": "string",
                "enum": [
                  "impressions",
                  "clicks",
                  "cost",
                  "conversions",
                  "ctr"
                ],
                "default": "clicks",
                "description": "Sort results by this metric (default: clicks, descending)"
              },
              "include_all_conversions": {
                "type": "boolean",
                "description": "When true, includes an additional all-conversions breakdown (all_conversions, all_conversions_value) segmented by conversion_action_name."
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "customer_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "customer_id",
              "type": "string",
              "required": true,
              "description": "The Google Ads Customer ID (10 digits, with or without dashes)",
              "constraints": {
                "max_length": 20,
                "pattern": "^[\\d-]+$"
              }
            },
            {
              "name": "login_customer_id",
              "type": "string",
              "required": false,
              "description": "MCC (Manager) Customer ID; required for managed accounts",
              "constraints": {
                "max_length": 20,
                "pattern": "^[\\d-]+$"
              }
            },
            {
              "name": "date_preset",
              "type": "string",
              "required": false,
              "description": "Predefined date range: TODAY, YESTERDAY, LAST_7_DAYS, LAST_30_DAYS, THIS_MONTH, LAST_MONTH. LAST_7_DAYS / LAST_30_DAYS are the 7 / 30 complete days ending yesterday (account time zone), as in Google Ads; THIS_MONTH runs through today.",
              "enum_values": [
                "TODAY",
                "YESTERDAY",
                "LAST_7_DAYS",
                "LAST_30_DAYS",
                "THIS_MONTH",
                "LAST_MONTH"
              ]
            },
            {
              "name": "date_range",
              "type": "object",
              "required": false,
              "description": "Custom date range {start_date, end_date} in YYYY-MM-DD"
            },
            {
              "name": "segments",
              "type": "array",
              "required": false,
              "description": "Additional segments: date, device, ad_network_type. Rows and conversion breakdowns are totals over the date window unless \"date\" is included, which returns one row per day (breakdown keys become url|date). Conversion breakdowns are always included automatically via a separate query."
            },
            {
              "name": "campaign_id",
              "type": "string",
              "required": false,
              "description": "Filter to a specific campaign ID",
              "constraints": {
                "max_length": 20,
                "pattern": "^\\d+$"
              }
            },
            {
              "name": "ad_group_id",
              "type": "string",
              "required": false,
              "description": "Filter to a specific ad group ID",
              "constraints": {
                "max_length": 20,
                "pattern": "^\\d+$"
              }
            },
            {
              "name": "url_contains",
              "type": "string",
              "required": false,
              "description": "Filter landing pages where URL contains this string (case-insensitive)"
            },
            {
              "name": "limit",
              "type": "integer",
              "required": false,
              "description": "Page size: rows per page (1-1000, default 25). The response `count` is the total across all pages. To get more rows, pass `nextCursor` back as `cursor` rather than raising `limit`: pages much larger than the default can exceed what an MCP client accepts.",
              "default": 25,
              "constraints": {
                "min": 1,
                "max": 1000
              }
            },
            {
              "name": "cursor",
              "type": "string",
              "required": false,
              "description": "Opaque pagination cursor: pass the `nextCursor` value from the previous response unchanged, with the same filters, segments and order_by, to fetch the next page. Omit for the first page. Never construct one. Each page carries the conversion breakdown only of the URLs it introduces, so a full crawl adds up rather than double-counting. Pages are positions in a ranking by `order_by` that is re-read live on every call, so a row near a page boundary can move between pages if its metric changes — with order_by=\"conversions\" that happens even for a window that ended days ago, because Google keeps revising past days as conversions are attributed. Order by clicks, impressions or cost for the steadiest crawl."
            },
            {
              "name": "order_by",
              "type": "string",
              "required": false,
              "description": "Sort results by this metric (default: clicks, descending)",
              "enum_values": [
                "impressions",
                "clicks",
                "cost",
                "conversions",
                "ctr"
              ],
              "default": "clicks"
            },
            {
              "name": "include_all_conversions",
              "type": "boolean",
              "required": false,
              "description": "When true, includes an additional all-conversions breakdown (all_conversions, all_conversions_value) segmented by conversion_action_name."
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "Top landing pages by clicks",
              "mcp_params": {
                "customer_id": "1234567890",
                "date_preset": "LAST_30_DAYS",
                "reason": "Landing page analysis"
              },
              "cli_command": "hopkin google landing-page-report get --customer-id 1234567890 --date-preset LAST_30_DAYS",
              "natural_language": "Top landing pages by clicks"
            },
            {
              "label": "Daily landing page trend",
              "mcp_params": {
                "customer_id": "1234567890",
                "date_preset": "LAST_7_DAYS",
                "segments": [
                  "date"
                ],
                "reason": "Daily landing page trend"
              },
              "cli_command": "hopkin google landing-page-report get --customer-id 1234567890 --date-preset LAST_7_DAYS --segments date",
              "natural_language": "Daily landing page trend"
            },
            {
              "label": "Landing pages for a campaign",
              "mcp_params": {
                "customer_id": "1234567890",
                "date_preset": "LAST_30_DAYS",
                "campaign_id": "9876543210",
                "reason": "Campaign landing page review"
              },
              "cli_command": "hopkin google landing-page-report get --customer-id 1234567890 --date-preset LAST_30_DAYS --campaign 9876543210",
              "natural_language": "Landing pages for a campaign"
            },
            {
              "label": "Filter by URL pattern",
              "mcp_params": {
                "customer_id": "1234567890",
                "date_preset": "LAST_30_DAYS",
                "url_contains": "/products/",
                "reason": "Product page performance"
              },
              "cli_command": "hopkin google landing-page-report get --customer-id 1234567890 --date-preset LAST_30_DAYS --url-contains /products/",
              "natural_language": "Filter by URL pattern"
            },
            {
              "label": "Next page",
              "mcp_params": {
                "customer_id": "1234567890",
                "date_preset": "LAST_30_DAYS",
                "cursor": "<nextCursor from the previous response>",
                "reason": "Walk every landing page in the account"
              },
              "cli_command": "hopkin google landing-page-report get --customer-id 1234567890 --date-preset LAST_30_DAYS --cursor <nextCursor from the previous response>",
              "natural_language": "Next page"
            }
          ],
          "response_format": "markdown",
          "related_tools": [],
          "tool_type": "standard"
        },
        {
          "name": "google_ads_list_keywords",
          "title": "List Google Ads Keywords",
          "description": "",
          "cli_command": "hopkin google keywords list",
          "cli_flags": [
            {
              "flag": "--customer-id",
              "description": "The Google Ads Customer ID (10 digits, with or without dashes)",
              "type": "string",
              "required": true
            },
            {
              "flag": "--login-customer-id",
              "description": "MCC (Manager) Customer ID; required for managed accounts",
              "type": "string",
              "required": false
            },
            {
              "flag": "--campaign",
              "description": "Only keywords in this campaign. Omit for the whole account.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--ad-group-id",
              "description": "Only keywords in this ad group.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--approval-status",
              "description": "Filter by Google's policy review result: DISAPPROVED (not serving; see disapproval_reasons), UNDER_REVIEW, PENDING_REVIEW, APPROVED. Pass [\"DISAPPROVED\",\"UNDER_REVIEW\",\"PENDING_REVIEW\"] to list every keyword with a policy problem in one call.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--system-serving-status",
              "description": "Filter by serving status: RARELY_SERVED (Google shows it rarely, usually low search volume) or ELIGIBLE.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--status",
              "description": "Filter by keyword status: ENABLED, PAUSED, REMOVED. Default ENABLED and PAUSED. Removed keywords carry no approval or serving status.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--match-type",
              "description": "Filter by match type: EXACT, PHRASE, BROAD",
              "type": "array",
              "required": false
            },
            {
              "flag": "--limit",
              "description": "Number of keywords per page (default: 50, max: 200)",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--cursor",
              "description": "Opaque cursor from the previous response's nextCursor. Pass it with otherwise identical parameters to get the next page; a cursor reused with different filters is rejected. Omit for the first page.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "keywords",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "customer_id": {
                "type": "string",
                "maxLength": 20,
                "pattern": "^[\\d-]+$",
                "description": "The Google Ads Customer ID (10 digits, with or without dashes)"
              },
              "login_customer_id": {
                "type": "string",
                "maxLength": 20,
                "pattern": "^[\\d-]+$",
                "description": "MCC (Manager) Customer ID; required for managed accounts"
              },
              "campaign_id": {
                "type": "string",
                "maxLength": 20,
                "pattern": "^\\d+$",
                "description": "Only keywords in this campaign. Omit for the whole account."
              },
              "ad_group_id": {
                "type": "string",
                "maxLength": 20,
                "pattern": "^\\d+$",
                "description": "Only keywords in this ad group."
              },
              "approval_status": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "APPROVED",
                    "DISAPPROVED",
                    "PENDING_REVIEW",
                    "UNDER_REVIEW"
                  ]
                },
                "minItems": 1,
                "description": "Filter by Google's policy review result: DISAPPROVED (not serving; see disapproval_reasons), UNDER_REVIEW, PENDING_REVIEW, APPROVED. Pass [\"DISAPPROVED\",\"UNDER_REVIEW\",\"PENDING_REVIEW\"] to list every keyword with a policy problem in one call."
              },
              "system_serving_status": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "ELIGIBLE",
                    "RARELY_SERVED"
                  ]
                },
                "minItems": 1,
                "description": "Filter by serving status: RARELY_SERVED (Google shows it rarely, usually low search volume) or ELIGIBLE."
              },
              "status": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "ENABLED",
                    "PAUSED",
                    "REMOVED"
                  ]
                },
                "minItems": 1,
                "description": "Filter by keyword status: ENABLED, PAUSED, REMOVED. Default ENABLED and PAUSED. Removed keywords carry no approval or serving status."
              },
              "match_type": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "EXACT",
                    "PHRASE",
                    "BROAD"
                  ]
                },
                "minItems": 1,
                "description": "Filter by match type: EXACT, PHRASE, BROAD"
              },
              "limit": {
                "type": "integer",
                "minimum": 1,
                "maximum": 200,
                "description": "Number of keywords per page (default: 50, max: 200)"
              },
              "cursor": {
                "type": "string",
                "minLength": 1,
                "description": "Opaque cursor from the previous response's nextCursor. Pass it with otherwise identical parameters to get the next page; a cursor reused with different filters is rejected. Omit for the first page."
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "customer_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "customer_id",
              "type": "string",
              "required": true,
              "description": "The Google Ads Customer ID (10 digits, with or without dashes)",
              "constraints": {
                "max_length": 20,
                "pattern": "^[\\d-]+$"
              }
            },
            {
              "name": "login_customer_id",
              "type": "string",
              "required": false,
              "description": "MCC (Manager) Customer ID; required for managed accounts",
              "constraints": {
                "max_length": 20,
                "pattern": "^[\\d-]+$"
              }
            },
            {
              "name": "campaign_id",
              "type": "string",
              "required": false,
              "description": "Only keywords in this campaign. Omit for the whole account.",
              "constraints": {
                "max_length": 20,
                "pattern": "^\\d+$"
              }
            },
            {
              "name": "ad_group_id",
              "type": "string",
              "required": false,
              "description": "Only keywords in this ad group.",
              "constraints": {
                "max_length": 20,
                "pattern": "^\\d+$"
              }
            },
            {
              "name": "approval_status",
              "type": "array",
              "required": false,
              "description": "Filter by Google's policy review result: DISAPPROVED (not serving; see disapproval_reasons), UNDER_REVIEW, PENDING_REVIEW, APPROVED. Pass [\"DISAPPROVED\",\"UNDER_REVIEW\",\"PENDING_REVIEW\"] to list every keyword with a policy problem in one call."
            },
            {
              "name": "system_serving_status",
              "type": "array",
              "required": false,
              "description": "Filter by serving status: RARELY_SERVED (Google shows it rarely, usually low search volume) or ELIGIBLE."
            },
            {
              "name": "status",
              "type": "array",
              "required": false,
              "description": "Filter by keyword status: ENABLED, PAUSED, REMOVED. Default ENABLED and PAUSED. Removed keywords carry no approval or serving status."
            },
            {
              "name": "match_type",
              "type": "array",
              "required": false,
              "description": "Filter by match type: EXACT, PHRASE, BROAD"
            },
            {
              "name": "limit",
              "type": "integer",
              "required": false,
              "description": "Number of keywords per page (default: 50, max: 200)",
              "constraints": {
                "min": 1,
                "max": 200
              }
            },
            {
              "name": "cursor",
              "type": "string",
              "required": false,
              "description": "Opaque cursor from the previous response's nextCursor. Pass it with otherwise identical parameters to get the next page; a cursor reused with different filters is rejected. Omit for the first page.",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "Policy problems",
              "mcp_params": {
                "customer_id": "1234567890",
                "approval_status": [
                  "DISAPPROVED",
                  "UNDER_REVIEW",
                  "PENDING_REVIEW"
                ],
                "reason": "Daily check for disapproved keywords"
              },
              "cli_command": "hopkin google keywords list --customer-id 1234567890 --approval-status DISAPPROVED,UNDER_REVIEW,PENDING_REVIEW",
              "natural_language": "Policy problems"
            },
            {
              "label": "Rarely served",
              "mcp_params": {
                "customer_id": "1234567890",
                "system_serving_status": [
                  "RARELY_SERVED"
                ],
                "reason": "Find low-volume keywords Google rarely shows"
              },
              "cli_command": "hopkin google keywords list --customer-id 1234567890 --system-serving-status RARELY_SERVED",
              "natural_language": "Rarely served"
            },
            {
              "label": "One campaign",
              "mcp_params": {
                "customer_id": "1234567890",
                "campaign_id": "5555555555",
                "reason": "Review the keywords in one campaign"
              },
              "cli_command": "hopkin google keywords list --customer-id 1234567890 --campaign 5555555555",
              "natural_language": "One campaign"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "microsoft_ads_list_keywords",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "google_ads_list_negative_keyword_lists",
          "title": "List Google Ads Negative Keyword Lists",
          "description": "List shared negative keyword lists at the account level. Optionally includes the keywords within each list and which campaigns each list is attached to. Use for auditing shared exclusion lists and finding coverage gaps. Paginated: when a response includes nextCursor, call again with the same parameters plus cursor=<nextCursor>, and repeat until nextCursor is absent to get every row.",
          "cli_command": "hopkin google negative-keyword-lists list",
          "cli_flags": [
            {
              "flag": "--customer-id",
              "description": "The Google Ads Customer ID (10 digits, with or without dashes)",
              "type": "string",
              "required": true
            },
            {
              "flag": "--login-customer-id",
              "description": "MCC (Manager) Customer ID; required for managed accounts",
              "type": "string",
              "required": false
            },
            {
              "flag": "--list-id",
              "description": "Filter to a specific shared set ID to see its keywords and campaign associations",
              "type": "string",
              "required": false
            },
            {
              "flag": "--include-keywords",
              "description": "Include the keywords in each list. Defaults to false for overview.",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--include-campaign-associations",
              "description": "Include which campaigns each list is attached to. Defaults to false.",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--limit",
              "description": "Number of lists per page (default: 20, max: 100)",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--cursor",
              "description": "Opaque cursor from the previous response's nextCursor. Pass it with otherwise identical parameters to get the next page; a cursor reused with different filters is rejected. Omit for the first page.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "negative-keyword-lists",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "customer_id": {
                "type": "string",
                "maxLength": 20,
                "pattern": "^[\\d-]+$",
                "description": "The Google Ads Customer ID (10 digits, with or without dashes)"
              },
              "login_customer_id": {
                "type": "string",
                "maxLength": 20,
                "pattern": "^[\\d-]+$",
                "description": "MCC (Manager) Customer ID; required for managed accounts"
              },
              "list_id": {
                "type": "string",
                "maxLength": 20,
                "pattern": "^\\d+$",
                "description": "Filter to a specific shared set ID to see its keywords and campaign associations"
              },
              "include_keywords": {
                "type": "boolean",
                "default": false,
                "description": "Include the keywords in each list. Defaults to false for overview."
              },
              "include_campaign_associations": {
                "type": "boolean",
                "default": false,
                "description": "Include which campaigns each list is attached to. Defaults to false."
              },
              "limit": {
                "type": "integer",
                "minimum": 1,
                "maximum": 100,
                "description": "Number of lists per page (default: 20, max: 100)"
              },
              "cursor": {
                "type": "string",
                "minLength": 1,
                "description": "Opaque cursor from the previous response's nextCursor. Pass it with otherwise identical parameters to get the next page; a cursor reused with different filters is rejected. Omit for the first page."
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "customer_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "customer_id",
              "type": "string",
              "required": true,
              "description": "The Google Ads Customer ID (10 digits, with or without dashes)",
              "constraints": {
                "max_length": 20,
                "pattern": "^[\\d-]+$"
              }
            },
            {
              "name": "login_customer_id",
              "type": "string",
              "required": false,
              "description": "MCC (Manager) Customer ID; required for managed accounts",
              "constraints": {
                "max_length": 20,
                "pattern": "^[\\d-]+$"
              }
            },
            {
              "name": "list_id",
              "type": "string",
              "required": false,
              "description": "Filter to a specific shared set ID to see its keywords and campaign associations",
              "constraints": {
                "max_length": 20,
                "pattern": "^\\d+$"
              }
            },
            {
              "name": "include_keywords",
              "type": "boolean",
              "required": false,
              "description": "Include the keywords in each list. Defaults to false for overview.",
              "default": false
            },
            {
              "name": "include_campaign_associations",
              "type": "boolean",
              "required": false,
              "description": "Include which campaigns each list is attached to. Defaults to false.",
              "default": false
            },
            {
              "name": "limit",
              "type": "integer",
              "required": false,
              "description": "Number of lists per page (default: 20, max: 100)",
              "constraints": {
                "min": 1,
                "max": 100
              }
            },
            {
              "name": "cursor",
              "type": "string",
              "required": false,
              "description": "Opaque cursor from the previous response's nextCursor. Pass it with otherwise identical parameters to get the next page; a cursor reused with different filters is rejected. Omit for the first page.",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "All lists",
              "mcp_params": {
                "customer_id": "1234567890",
                "reason": "Audit shared negative keyword lists"
              },
              "cli_command": "hopkin google negative-keyword-lists list --customer-id 1234567890",
              "natural_language": "All lists"
            },
            {
              "label": "With keywords",
              "mcp_params": {
                "customer_id": "1234567890",
                "include_keywords": true,
                "reason": "View all negative keyword list contents"
              },
              "cli_command": "hopkin google negative-keyword-lists list --customer-id 1234567890 --include-keywords true",
              "natural_language": "With keywords"
            },
            {
              "label": "Single list detail",
              "mcp_params": {
                "customer_id": "1234567890",
                "list_id": "5555555555",
                "include_keywords": true,
                "include_campaign_associations": true,
                "reason": "Full audit of a specific list"
              },
              "cli_command": "hopkin google negative-keyword-lists list --customer-id 1234567890 --list-id 5555555555 --include-keywords true --include-campaign-associations true",
              "natural_language": "Single list detail"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "microsoft_ads_list_negative_keyword_lists",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "google_ads_list_negative_keywords",
          "title": "List Google Ads Negative Keywords",
          "description": "List negative keywords at the campaign and/or ad-group level. Supports filtering by campaign, ad group, match type, and level. Always fetches fresh data. Use this during search term audits to cross-check recommended negatives against existing ones. Paginated: when a response includes nextCursor, call again with the same parameters plus cursor=<nextCursor>, and repeat until nextCursor is absent to get every row.",
          "cli_command": "hopkin google negative-keywords list",
          "cli_flags": [
            {
              "flag": "--customer-id",
              "description": "The Google Ads Customer ID (10 digits, with or without dashes)",
              "type": "string",
              "required": true
            },
            {
              "flag": "--login-customer-id",
              "description": "MCC (Manager) Customer ID; required for managed accounts",
              "type": "string",
              "required": false
            },
            {
              "flag": "--campaign",
              "description": "Filter to a specific campaign ID",
              "type": "string",
              "required": false
            },
            {
              "flag": "--ad-group-id",
              "description": "Filter to a specific ad group ID",
              "type": "string",
              "required": false
            },
            {
              "flag": "--level",
              "description": "Which level of negative keywords to return. Defaults to ALL.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--match-type",
              "description": "Filter by match type: EXACT, PHRASE, BROAD",
              "type": "array",
              "required": false
            },
            {
              "flag": "--limit",
              "description": "Number of negative keywords per page (default: 20, max: 100)",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--cursor",
              "description": "Opaque cursor from the previous response's nextCursor. Pass it with otherwise identical parameters to get the next page; a cursor reused with different filters is rejected. Omit for the first page.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "negative-keywords",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "customer_id": {
                "type": "string",
                "maxLength": 20,
                "pattern": "^[\\d-]+$",
                "description": "The Google Ads Customer ID (10 digits, with or without dashes)"
              },
              "login_customer_id": {
                "type": "string",
                "maxLength": 20,
                "pattern": "^[\\d-]+$",
                "description": "MCC (Manager) Customer ID; required for managed accounts"
              },
              "campaign_id": {
                "type": "string",
                "maxLength": 20,
                "pattern": "^\\d+$",
                "description": "Filter to a specific campaign ID"
              },
              "ad_group_id": {
                "type": "string",
                "maxLength": 20,
                "pattern": "^\\d+$",
                "description": "Filter to a specific ad group ID"
              },
              "level": {
                "type": "string",
                "enum": [
                  "CAMPAIGN",
                  "AD_GROUP",
                  "ALL"
                ],
                "default": "ALL",
                "description": "Which level of negative keywords to return. Defaults to ALL."
              },
              "match_type": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "EXACT",
                    "PHRASE",
                    "BROAD"
                  ]
                },
                "description": "Filter by match type: EXACT, PHRASE, BROAD"
              },
              "limit": {
                "type": "integer",
                "minimum": 1,
                "maximum": 100,
                "description": "Number of negative keywords per page (default: 20, max: 100)"
              },
              "cursor": {
                "type": "string",
                "minLength": 1,
                "description": "Opaque cursor from the previous response's nextCursor. Pass it with otherwise identical parameters to get the next page; a cursor reused with different filters is rejected. Omit for the first page."
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "customer_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "customer_id",
              "type": "string",
              "required": true,
              "description": "The Google Ads Customer ID (10 digits, with or without dashes)",
              "constraints": {
                "max_length": 20,
                "pattern": "^[\\d-]+$"
              }
            },
            {
              "name": "login_customer_id",
              "type": "string",
              "required": false,
              "description": "MCC (Manager) Customer ID; required for managed accounts",
              "constraints": {
                "max_length": 20,
                "pattern": "^[\\d-]+$"
              }
            },
            {
              "name": "campaign_id",
              "type": "string",
              "required": false,
              "description": "Filter to a specific campaign ID",
              "constraints": {
                "max_length": 20,
                "pattern": "^\\d+$"
              }
            },
            {
              "name": "ad_group_id",
              "type": "string",
              "required": false,
              "description": "Filter to a specific ad group ID",
              "constraints": {
                "max_length": 20,
                "pattern": "^\\d+$"
              }
            },
            {
              "name": "level",
              "type": "string",
              "required": false,
              "description": "Which level of negative keywords to return. Defaults to ALL.",
              "enum_values": [
                "CAMPAIGN",
                "AD_GROUP",
                "ALL"
              ],
              "default": "ALL"
            },
            {
              "name": "match_type",
              "type": "array",
              "required": false,
              "description": "Filter by match type: EXACT, PHRASE, BROAD"
            },
            {
              "name": "limit",
              "type": "integer",
              "required": false,
              "description": "Number of negative keywords per page (default: 20, max: 100)",
              "constraints": {
                "min": 1,
                "max": 100
              }
            },
            {
              "name": "cursor",
              "type": "string",
              "required": false,
              "description": "Opaque cursor from the previous response's nextCursor. Pass it with otherwise identical parameters to get the next page; a cursor reused with different filters is rejected. Omit for the first page.",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "All negatives",
              "mcp_params": {
                "customer_id": "1234567890",
                "reason": "Audit negative keywords"
              },
              "cli_command": "hopkin google negative-keywords list --customer-id 1234567890",
              "natural_language": "All negatives"
            },
            {
              "label": "Campaign level",
              "mcp_params": {
                "customer_id": "1234567890",
                "campaign_id": "5555555555",
                "level": "CAMPAIGN",
                "reason": "Cross-check campaign negatives during search term audit"
              },
              "cli_command": "hopkin google negative-keywords list --customer-id 1234567890 --campaign 5555555555 --level CAMPAIGN",
              "natural_language": "Campaign level"
            },
            {
              "label": "Filter by match type",
              "mcp_params": {
                "customer_id": "1234567890",
                "match_type": [
                  "BROAD"
                ],
                "reason": "Find broad match negatives that may be too aggressive"
              },
              "cli_command": "hopkin google negative-keywords list --customer-id 1234567890 --match-type BROAD",
              "natural_language": "Filter by match type"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "microsoft_ads_list_negative_keywords",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "google_ads_get_performance_report",
          "title": "Get Google Ads Performance Report",
          "description": "Segmented and multi-level performance reporting. FIRST, CHECK THE REQUEST: for a plain account-level overview with no segments and no level breakdown — a quick performance summary, \"how is this account doing\", or account totals over a date range — use google_ads_get_account_summary instead; it returns those totals pre-aggregated in a single call. Use this tool when a level (CAMPAIGN, AD_GROUP) or a segment (device, date, network type) is actually needed. Comprehensive funnel metrics with per-conversion-action breakdowns. Supports segments for device breakdown (DESKTOP, MOBILE, TABLET), daily trends, and network type analysis. Preferred over google_ads_get_insights for standard analysis. Runs parallel queries for top-level funnel and conversion action breakdown. Supported levels automatically include the Demand Gen Platform Comparable conversion family (platform_comparable_conversions, cost/value/rate variants); row-level reports return null for non-Demand Gen rows. Search impression share is included at CAMPAIGN and AD_GROUP levels (budget-lost variants campaign-level only). Set include_new_vs_returning to add a conversions breakdown by new vs returning customer (segments.new_versus_returning_customers; new customers = NEW + NEW_AND_HIGH_LTV buckets summed) for cost-per-new-customer reporting on customer-acquisition-goal campaigns. Use google_ads_get_insights for custom metric selection. For geographic data, use google_ads_get_geo_performance instead. Paginated: data holds up to limit rows (default 15, or 10 with include_all_conversions or include_new_vs_returning; max 1000) in a stable order (entity ids, then segment values), count is the total across all pages, and the conversion breakdowns cover only the rows on the current page; a breakdown key shared by rows on several pages (at AD level, an ad running in two ad groups) is listed once, on the first page that holds it. When nextCursor is present, call again with the same parameters and cursor set to nextCursor until it is absent. To get every row, follow the cursor rather than raising limit: a larger page can exceed MCP client response limits.",
          "cli_command": "hopkin google performance-report get",
          "cli_flags": [
            {
              "flag": "--customer-id",
              "description": "The Google Ads Customer ID (10 digits, with or without dashes)",
              "type": "string",
              "required": true
            },
            {
              "flag": "--login-customer-id",
              "description": "MCC (Manager) Customer ID; required for managed accounts",
              "type": "string",
              "required": false
            },
            {
              "flag": "--date-preset",
              "description": "Predefined date range: TODAY, YESTERDAY, LAST_7_DAYS, LAST_30_DAYS, THIS_MONTH, LAST_MONTH. LAST_7_DAYS / LAST_30_DAYS are the 7 / 30 complete days ending yesterday (account time zone), as in Google Ads; THIS_MONTH runs through today.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--date-range",
              "description": "Custom date range {start_date, end_date} in YYYY-MM-DD",
              "type": "object",
              "required": false
            },
            {
              "flag": "--level",
              "description": "Report level (default: CAMPAIGN): ACCOUNT, CAMPAIGN, AD_GROUP, AD. CAMPAIGN, AD_GROUP, and AD reports automatically include platform_comparable_conversions for Demand Gen rows (null for non-Demand Gen).",
              "type": "string",
              "required": false
            },
            {
              "flag": "--segments",
              "description": "Additional segments for the main metrics: date, device, ad_network_type. Conversion action breakdowns are always included automatically via a separate query.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--campaign",
              "description": "Filter to a specific campaign ID",
              "type": "string",
              "required": false
            },
            {
              "flag": "--ad-group-id",
              "description": "Filter to a specific ad group ID",
              "type": "string",
              "required": false
            },
            {
              "flag": "--include-all-conversions",
              "description": "When true, includes an additional all-conversions breakdown (metrics.all_conversions, all_conversions_value, value_per_all_conversions) segmented by conversion_action_name. This captures ALL conversion actions including those not marked \"Include in Conversions\" (e.g., view-through, cross-device, store visits). If the breakdown query fails, the breakdown is empty and a warnings entry explains why.",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--include-new-vs-returning",
              "description": "When true, includes an additional breakdown of conversions by segments.new_versus_returning_customers (NEW, RETURNING, NEW_AND_HIGH_LTV, UNKNOWN) via a separate query, aggregated over the date range. New customers are split across the NEW and NEW_AND_HIGH_LTV buckets — sum both, then combine with the main query cost to compute cost-per-new-customer. Only populated for campaigns using a customer acquisition goal; if the breakdown query fails, the breakdown is empty and a warnings entry explains why.",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--limit",
              "description": "Maximum data rows per page (1-1000, default 15, or 10 when include_all_conversions or include_new_vs_returning is set). count is the total across all pages, and the breakdowns cover only the rows on the page (a key shared across pages is listed once, on the first page that holds it). When nextCursor is present, call again with cursor set to it. The default keeps a page within MCP client response limits: to get every row, follow nextCursor rather than raising limit.",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--cursor",
              "description": "Opaque cursor from a previous response's nextCursor. Pass it with the same other parameters to fetch the next page; do not construct it.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "reporting",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "customer_id": {
                "type": "string",
                "maxLength": 20,
                "pattern": "^[\\d-]+$",
                "description": "The Google Ads Customer ID (10 digits, with or without dashes)"
              },
              "login_customer_id": {
                "type": "string",
                "maxLength": 20,
                "pattern": "^[\\d-]+$",
                "description": "MCC (Manager) Customer ID; required for managed accounts"
              },
              "date_preset": {
                "type": "string",
                "enum": [
                  "TODAY",
                  "YESTERDAY",
                  "LAST_7_DAYS",
                  "LAST_30_DAYS",
                  "THIS_MONTH",
                  "LAST_MONTH"
                ],
                "description": "Predefined date range: TODAY, YESTERDAY, LAST_7_DAYS, LAST_30_DAYS, THIS_MONTH, LAST_MONTH. LAST_7_DAYS / LAST_30_DAYS are the 7 / 30 complete days ending yesterday (account time zone), as in Google Ads; THIS_MONTH runs through today."
              },
              "date_range": {
                "type": "object",
                "properties": {
                  "start_date": {
                    "type": "string",
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                    "description": "Start date (YYYY-MM-DD)"
                  },
                  "end_date": {
                    "type": "string",
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                    "description": "End date (YYYY-MM-DD)"
                  }
                },
                "required": [
                  "start_date",
                  "end_date"
                ],
                "additionalProperties": false,
                "description": "Custom date range {start_date, end_date} in YYYY-MM-DD"
              },
              "level": {
                "type": "string",
                "enum": [
                  "ACCOUNT",
                  "CAMPAIGN",
                  "AD_GROUP",
                  "AD"
                ],
                "default": "CAMPAIGN",
                "description": "Report level (default: CAMPAIGN): ACCOUNT, CAMPAIGN, AD_GROUP, AD. CAMPAIGN, AD_GROUP, and AD reports automatically include platform_comparable_conversions for Demand Gen rows (null for non-Demand Gen)."
              },
              "segments": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "date",
                    "device",
                    "ad_network_type"
                  ]
                },
                "description": "Additional segments for the main metrics: date, device, ad_network_type. Conversion action breakdowns are always included automatically via a separate query."
              },
              "campaign_id": {
                "type": "string",
                "maxLength": 20,
                "pattern": "^\\d+$",
                "description": "Filter to a specific campaign ID"
              },
              "ad_group_id": {
                "type": "string",
                "maxLength": 20,
                "pattern": "^\\d+$",
                "description": "Filter to a specific ad group ID"
              },
              "include_all_conversions": {
                "type": "boolean",
                "description": "When true, includes an additional all-conversions breakdown (metrics.all_conversions, all_conversions_value, value_per_all_conversions) segmented by conversion_action_name. This captures ALL conversion actions including those not marked \"Include in Conversions\" (e.g., view-through, cross-device, store visits). If the breakdown query fails, the breakdown is empty and a warnings entry explains why."
              },
              "include_new_vs_returning": {
                "type": "boolean",
                "description": "When true, includes an additional breakdown of conversions by segments.new_versus_returning_customers (NEW, RETURNING, NEW_AND_HIGH_LTV, UNKNOWN) via a separate query, aggregated over the date range. New customers are split across the NEW and NEW_AND_HIGH_LTV buckets — sum both, then combine with the main query cost to compute cost-per-new-customer. Only populated for campaigns using a customer acquisition goal; if the breakdown query fails, the breakdown is empty and a warnings entry explains why."
              },
              "limit": {
                "type": "integer",
                "minimum": 1,
                "maximum": 1000,
                "description": "Maximum data rows per page (1-1000, default 15, or 10 when include_all_conversions or include_new_vs_returning is set). count is the total across all pages, and the breakdowns cover only the rows on the page (a key shared across pages is listed once, on the first page that holds it). When nextCursor is present, call again with cursor set to it. The default keeps a page within MCP client response limits: to get every row, follow nextCursor rather than raising limit."
              },
              "cursor": {
                "type": "string",
                "minLength": 1,
                "maxLength": 4096,
                "description": "Opaque cursor from a previous response's nextCursor. Pass it with the same other parameters to fetch the next page; do not construct it."
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "customer_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "customer_id",
              "type": "string",
              "required": true,
              "description": "The Google Ads Customer ID (10 digits, with or without dashes)",
              "constraints": {
                "max_length": 20,
                "pattern": "^[\\d-]+$"
              }
            },
            {
              "name": "login_customer_id",
              "type": "string",
              "required": false,
              "description": "MCC (Manager) Customer ID; required for managed accounts",
              "constraints": {
                "max_length": 20,
                "pattern": "^[\\d-]+$"
              }
            },
            {
              "name": "date_preset",
              "type": "string",
              "required": false,
              "description": "Predefined date range: TODAY, YESTERDAY, LAST_7_DAYS, LAST_30_DAYS, THIS_MONTH, LAST_MONTH. LAST_7_DAYS / LAST_30_DAYS are the 7 / 30 complete days ending yesterday (account time zone), as in Google Ads; THIS_MONTH runs through today.",
              "enum_values": [
                "TODAY",
                "YESTERDAY",
                "LAST_7_DAYS",
                "LAST_30_DAYS",
                "THIS_MONTH",
                "LAST_MONTH"
              ]
            },
            {
              "name": "date_range",
              "type": "object",
              "required": false,
              "description": "Custom date range {start_date, end_date} in YYYY-MM-DD"
            },
            {
              "name": "level",
              "type": "string",
              "required": false,
              "description": "Report level (default: CAMPAIGN): ACCOUNT, CAMPAIGN, AD_GROUP, AD. CAMPAIGN, AD_GROUP, and AD reports automatically include platform_comparable_conversions for Demand Gen rows (null for non-Demand Gen).",
              "enum_values": [
                "ACCOUNT",
                "CAMPAIGN",
                "AD_GROUP",
                "AD"
              ],
              "default": "CAMPAIGN"
            },
            {
              "name": "segments",
              "type": "array",
              "required": false,
              "description": "Additional segments for the main metrics: date, device, ad_network_type. Conversion action breakdowns are always included automatically via a separate query."
            },
            {
              "name": "campaign_id",
              "type": "string",
              "required": false,
              "description": "Filter to a specific campaign ID",
              "constraints": {
                "max_length": 20,
                "pattern": "^\\d+$"
              }
            },
            {
              "name": "ad_group_id",
              "type": "string",
              "required": false,
              "description": "Filter to a specific ad group ID",
              "constraints": {
                "max_length": 20,
                "pattern": "^\\d+$"
              }
            },
            {
              "name": "include_all_conversions",
              "type": "boolean",
              "required": false,
              "description": "When true, includes an additional all-conversions breakdown (metrics.all_conversions, all_conversions_value, value_per_all_conversions) segmented by conversion_action_name. This captures ALL conversion actions including those not marked \"Include in Conversions\" (e.g., view-through, cross-device, store visits). If the breakdown query fails, the breakdown is empty and a warnings entry explains why."
            },
            {
              "name": "include_new_vs_returning",
              "type": "boolean",
              "required": false,
              "description": "When true, includes an additional breakdown of conversions by segments.new_versus_returning_customers (NEW, RETURNING, NEW_AND_HIGH_LTV, UNKNOWN) via a separate query, aggregated over the date range. New customers are split across the NEW and NEW_AND_HIGH_LTV buckets — sum both, then combine with the main query cost to compute cost-per-new-customer. Only populated for campaigns using a customer acquisition goal; if the breakdown query fails, the breakdown is empty and a warnings entry explains why."
            },
            {
              "name": "limit",
              "type": "integer",
              "required": false,
              "description": "Maximum data rows per page (1-1000, default 15, or 10 when include_all_conversions or include_new_vs_returning is set). count is the total across all pages, and the breakdowns cover only the rows on the page (a key shared across pages is listed once, on the first page that holds it). When nextCursor is present, call again with cursor set to it. The default keeps a page within MCP client response limits: to get every row, follow nextCursor rather than raising limit.",
              "constraints": {
                "min": 1,
                "max": 1000
              }
            },
            {
              "name": "cursor",
              "type": "string",
              "required": false,
              "description": "Opaque cursor from a previous response's nextCursor. Pass it with the same other parameters to fetch the next page; do not construct it.",
              "constraints": {
                "min_length": 1,
                "max_length": 4096
              }
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "Campaign overview",
              "mcp_params": {
                "customer_id": "1234567890",
                "date_preset": "LAST_30_DAYS",
                "reason": "Monthly performance review"
              },
              "cli_command": "hopkin google performance-report get --customer-id 1234567890 --date-preset LAST_30_DAYS",
              "natural_language": "Campaign overview"
            },
            {
              "label": "Daily trend",
              "mcp_params": {
                "customer_id": "1234567890",
                "date_preset": "LAST_7_DAYS",
                "segments": [
                  "date"
                ],
                "reason": "Daily performance trend"
              },
              "cli_command": "hopkin google performance-report get --customer-id 1234567890 --date-preset LAST_7_DAYS --segments date",
              "natural_language": "Daily trend"
            },
            {
              "label": "Account summary",
              "mcp_params": {
                "customer_id": "1234567890",
                "date_preset": "LAST_30_DAYS",
                "level": "ACCOUNT",
                "reason": "Account-level overview"
              },
              "cli_command": "hopkin google performance-report get --customer-id 1234567890 --date-preset LAST_30_DAYS --level ACCOUNT",
              "natural_language": "Account summary"
            },
            {
              "label": "Device breakdown",
              "mcp_params": {
                "customer_id": "1234567890",
                "date_preset": "LAST_30_DAYS",
                "segments": [
                  "device"
                ],
                "reason": "Device analysis"
              },
              "cli_command": "hopkin google performance-report get --customer-id 1234567890 --date-preset LAST_30_DAYS --segments device",
              "natural_language": "Device breakdown"
            },
            {
              "label": "Cost per new customer",
              "mcp_params": {
                "customer_id": "1234567890",
                "date_preset": "LAST_30_DAYS",
                "include_new_vs_returning": true,
                "reason": "New vs returning customer acquisition analysis"
              },
              "cli_command": "hopkin google performance-report get --customer-id 1234567890 --date-preset LAST_30_DAYS --include-new-vs-returning true",
              "natural_language": "Cost per new customer"
            }
          ],
          "response_format": "json",
          "related_tools": [
            {
              "name": "meta_ads_get_performance_report",
              "relationship": "cross-platform"
            },
            {
              "name": "google_ads_get_asset_report",
              "relationship": "sibling"
            },
            {
              "name": "linkedin_ads_get_performance_report",
              "relationship": "cross-platform"
            },
            {
              "name": "reddit_ads_get_performance_report",
              "relationship": "cross-platform"
            },
            {
              "name": "tiktok_ads_get_performance_report",
              "relationship": "cross-platform"
            },
            {
              "name": "microsoft_ads_get_performance_report",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "google_ads_ping",
          "title": "Ping Google Ads MCP Server",
          "description": "Health check for the Google Ads MCP server.",
          "cli_command": "hopkin google ping",
          "cli_flags": [
            {
              "flag": "--message",
              "description": "Optional message to echo back",
              "type": "string",
              "required": false
            }
          ],
          "category": "auth",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": false
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "message": {
                "type": "string",
                "maxLength": 100,
                "description": "Optional message to echo back"
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "message",
              "type": "string",
              "required": false,
              "description": "Optional message to echo back",
              "constraints": {
                "max_length": 100
              }
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "Health check",
              "mcp_params": {
                "reason": "Verify server is running"
              },
              "cli_command": "hopkin google ping",
              "natural_language": "Health check"
            },
            {
              "label": "With message",
              "mcp_params": {
                "message": "hello",
                "reason": "Test connectivity"
              },
              "cli_command": "hopkin google ping --message hello",
              "natural_language": "With message"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "meta_ads_ping",
              "relationship": "cross-platform"
            },
            {
              "name": "google_ads_check_auth_status",
              "relationship": "sibling"
            },
            {
              "name": "linkedin_ads_ping",
              "relationship": "cross-platform"
            },
            {
              "name": "reddit_ads_ping",
              "relationship": "cross-platform"
            },
            {
              "name": "tiktok_ads_ping",
              "relationship": "cross-platform"
            },
            {
              "name": "chatgpt_ads_ping",
              "relationship": "cross-platform"
            },
            {
              "name": "microsoft_ads_ping",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "google_ads_get_url_tracking_config",
          "title": "Get URL & UTM Tracking Configuration",
          "description": "Complete URL and UTM tracking configuration across every Google Ads hierarchy level — account, campaign, ad group, ad, keyword and asset — in one call. Preferred tool for any UTM or tracking audit; do not chain list_campaigns + list_ad_groups + list_ads + get_account_summary for this. Returns each entity's own tracking template, final URL suffix, custom parameters and final URLs, plus the effective value resolved through Google's precedence chain (account → campaign → ad group → ad → keyword) and labelled with the level that set it. Every field is always present: a field that is not set is null, never omitted — so \"no tracking template here\" is verifiable rather than merely unobserved. The coverage block reports how many entities were scanned at each level across the whole account, not just the returned page; observed: true with entities_with_own_values: 0 is a verified pass, not a coverage gap. scope defaults to \"all\" (every entity, paginated on large accounts); pass scope: \"overrides\" for an audit — it returns only entities that set a value at their own level and usually fits in one page. ValueTrack macros such as {lpurl} and {campaignid} are returned verbatim and are never parsed or expanded. Paginated: pass nextCursor back with the same parameters. A cursor continues the levels page 1 observed — a level unobserved on page 1 stays unobserved on later pages (omit cursor to retry it), and a level page 1 read that fails on a later page fails that call, which can be retried with the same cursor.",
          "cli_command": "hopkin google url-tracking-config get",
          "cli_flags": [
            {
              "flag": "--customer-id",
              "description": "The Google Ads Customer ID (10 digits, with or without dashes)",
              "type": "string",
              "required": true
            },
            {
              "flag": "--login-customer-id",
              "description": "MCC (Manager) Customer ID; required for managed accounts",
              "type": "string",
              "required": false
            },
            {
              "flag": "--levels",
              "description": "Hierarchy levels to scan. Defaults to all six. ACCOUNT is always included regardless, because it is the root of every effective-value chain.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--scope",
              "description": "\"all\" (default) returns every entity at the requested levels with its effective config — complete, and paginated on large accounts. \"overrides\" returns only entities that set at least one URL field at their own level: the compact answer to \"what is configured where\", and the right choice for an audit. The coverage block is identical in both modes and always describes the full scan.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--campaign-ids",
              "description": "Restrict the scan to these campaigns and their descendants",
              "type": "array",
              "required": false
            },
            {
              "flag": "--ad-group-ids",
              "description": "Restrict the scan to these ad groups and their descendants",
              "type": "array",
              "required": false
            },
            {
              "flag": "--status",
              "description": "Entity status filter. Defaults to [\"ENABLED\"] — a removed campaign cannot serve a mistagged URL.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--limit",
              "description": "Maximum rows in `data` per page (default 200, max 1000)",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--cursor",
              "description": "Opaque pagination cursor from a previous response nextCursor",
              "type": "string",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "url-tracking-config",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "customer_id": {
                "type": "string",
                "maxLength": 20,
                "pattern": "^[\\d-]+$",
                "description": "The Google Ads Customer ID (10 digits, with or without dashes)"
              },
              "login_customer_id": {
                "type": "string",
                "maxLength": 20,
                "pattern": "^[\\d-]+$",
                "description": "MCC (Manager) Customer ID; required for managed accounts"
              },
              "levels": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "ACCOUNT",
                    "CAMPAIGN",
                    "AD_GROUP",
                    "AD",
                    "KEYWORD",
                    "ASSET"
                  ]
                },
                "description": "Hierarchy levels to scan. Defaults to all six. ACCOUNT is always included regardless, because it is the root of every effective-value chain."
              },
              "scope": {
                "type": "string",
                "enum": [
                  "all",
                  "overrides"
                ],
                "default": "all",
                "description": "\"all\" (default) returns every entity at the requested levels with its effective config — complete, and paginated on large accounts. \"overrides\" returns only entities that set at least one URL field at their own level: the compact answer to \"what is configured where\", and the right choice for an audit. The coverage block is identical in both modes and always describes the full scan."
              },
              "campaign_ids": {
                "type": "array",
                "items": {
                  "type": "string",
                  "maxLength": 20,
                  "pattern": "^\\d+$"
                },
                "maxItems": 50,
                "description": "Restrict the scan to these campaigns and their descendants"
              },
              "ad_group_ids": {
                "type": "array",
                "items": {
                  "type": "string",
                  "maxLength": 20,
                  "pattern": "^\\d+$"
                },
                "maxItems": 50,
                "description": "Restrict the scan to these ad groups and their descendants"
              },
              "status": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "ENABLED",
                    "PAUSED",
                    "REMOVED"
                  ]
                },
                "default": [
                  "ENABLED"
                ],
                "description": "Entity status filter. Defaults to [\"ENABLED\"] — a removed campaign cannot serve a mistagged URL."
              },
              "limit": {
                "type": "integer",
                "minimum": 1,
                "maximum": 1000,
                "default": 200,
                "description": "Maximum rows in `data` per page (default 200, max 1000)"
              },
              "cursor": {
                "type": "string",
                "description": "Opaque pagination cursor from a previous response nextCursor"
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "customer_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "customer_id",
              "type": "string",
              "required": true,
              "description": "The Google Ads Customer ID (10 digits, with or without dashes)",
              "constraints": {
                "max_length": 20,
                "pattern": "^[\\d-]+$"
              }
            },
            {
              "name": "login_customer_id",
              "type": "string",
              "required": false,
              "description": "MCC (Manager) Customer ID; required for managed accounts",
              "constraints": {
                "max_length": 20,
                "pattern": "^[\\d-]+$"
              }
            },
            {
              "name": "levels",
              "type": "array",
              "required": false,
              "description": "Hierarchy levels to scan. Defaults to all six. ACCOUNT is always included regardless, because it is the root of every effective-value chain."
            },
            {
              "name": "scope",
              "type": "string",
              "required": false,
              "description": "\"all\" (default) returns every entity at the requested levels with its effective config — complete, and paginated on large accounts. \"overrides\" returns only entities that set at least one URL field at their own level: the compact answer to \"what is configured where\", and the right choice for an audit. The coverage block is identical in both modes and always describes the full scan.",
              "enum_values": [
                "all",
                "overrides"
              ],
              "default": "all"
            },
            {
              "name": "campaign_ids",
              "type": "array",
              "required": false,
              "description": "Restrict the scan to these campaigns and their descendants"
            },
            {
              "name": "ad_group_ids",
              "type": "array",
              "required": false,
              "description": "Restrict the scan to these ad groups and their descendants"
            },
            {
              "name": "status",
              "type": "array",
              "required": false,
              "description": "Entity status filter. Defaults to [\"ENABLED\"] — a removed campaign cannot serve a mistagged URL.",
              "default": [
                "ENABLED"
              ]
            },
            {
              "name": "limit",
              "type": "integer",
              "required": false,
              "description": "Maximum rows in `data` per page (default 200, max 1000)",
              "default": 200,
              "constraints": {
                "min": 1,
                "max": 1000
              }
            },
            {
              "name": "cursor",
              "type": "string",
              "required": false,
              "description": "Opaque pagination cursor from a previous response nextCursor"
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "Audit what is configured where (compact)",
              "mcp_params": {
                "customer_id": "1234567890",
                "scope": "overrides",
                "reason": "UTM tracking audit"
              },
              "cli_command": "hopkin google url-tracking-config get --customer-id 1234567890 --scope overrides",
              "natural_language": "Audit what is configured where (compact)"
            },
            {
              "label": "Every entity with its effective config",
              "mcp_params": {
                "customer_id": "1234567890",
                "reason": "Full URL tracking enumeration"
              },
              "cli_command": "hopkin google url-tracking-config get --customer-id 1234567890",
              "natural_language": "Every entity with its effective config"
            },
            {
              "label": "Drill into one campaign and its descendants",
              "mcp_params": {
                "customer_id": "1234567890",
                "campaign_ids": [
                  "9876543210"
                ],
                "reason": "Campaign tracking template review"
              },
              "cli_command": "hopkin google url-tracking-config get --customer-id 1234567890 --campaign-ids 9876543210",
              "natural_language": "Drill into one campaign and its descendants"
            },
            {
              "label": "Sitelinks and other assets only",
              "mcp_params": {
                "customer_id": "1234567890",
                "levels": [
                  "ASSET"
                ],
                "scope": "overrides",
                "reason": "Check asset-level tracking overrides"
              },
              "cli_command": "hopkin google url-tracking-config get --customer-id 1234567890 --levels ASSET --scope overrides",
              "natural_language": "Sitelinks and other assets only"
            },
            {
              "label": "Keyword-level overrides in one ad group",
              "mcp_params": {
                "customer_id": "1234567890",
                "levels": [
                  "KEYWORD"
                ],
                "ad_group_ids": [
                  "5555555555"
                ],
                "scope": "overrides",
                "reason": "Check keyword final URL suffixes"
              },
              "cli_command": "hopkin google url-tracking-config get --customer-id 1234567890 --levels KEYWORD --ad-group-ids 5555555555 --scope overrides",
              "natural_language": "Keyword-level overrides in one ad group"
            }
          ],
          "response_format": "markdown",
          "related_tools": [],
          "tool_type": "standard"
        }
      ]
    },
    {
      "id": "linkedin-ads",
      "name": "LinkedIn Ads",
      "description": "LinkedIn Marketing API v202602 for B2B advertising",
      "tool_count": 27,
      "mcpUrl": "https://linkedin.mcp.hopkin.ai",
      "tools": [
        {
          "name": "linkedin_ads_get_account_summary",
          "title": "Get LinkedIn Account Summary",
          "description": "Get a high-level performance summary for a LinkedIn Ads account including spend, impressions, clicks, conversions, leads, and conversion breakdown. Conversion data may be delayed 24-72 hours.",
          "cli_command": "hopkin linkedin account-summary get",
          "cli_flags": [
            {
              "flag": "--account",
              "description": "Ad account ID (numeric, without URN prefix).",
              "type": "string",
              "required": true
            },
            {
              "flag": "--date-preset",
              "description": "",
              "type": "string",
              "required": false
            },
            {
              "flag": "--start-date",
              "description": "",
              "type": "string",
              "required": false
            },
            {
              "flag": "--end-date",
              "description": "",
              "type": "string",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "account-summary",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "account_id": {
                "type": "string",
                "minLength": 1,
                "description": "Ad account ID (numeric, without URN prefix)."
              },
              "date_preset": {
                "type": "string",
                "enum": [
                  "LAST_7_DAYS",
                  "LAST_14_DAYS",
                  "LAST_30_DAYS",
                  "THIS_MONTH",
                  "LAST_MONTH",
                  "LAST_90_DAYS"
                ],
                "default": "LAST_30_DAYS"
              },
              "start_date": {
                "type": "string"
              },
              "end_date": {
                "type": "string"
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "account_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "account_id",
              "type": "string",
              "required": true,
              "description": "Ad account ID (numeric, without URN prefix).",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "date_preset",
              "type": "string",
              "required": false,
              "description": "",
              "enum_values": [
                "LAST_7_DAYS",
                "LAST_14_DAYS",
                "LAST_30_DAYS",
                "THIS_MONTH",
                "LAST_MONTH",
                "LAST_90_DAYS"
              ],
              "default": "LAST_30_DAYS"
            },
            {
              "name": "start_date",
              "type": "string",
              "required": false,
              "description": ""
            },
            {
              "name": "end_date",
              "type": "string",
              "required": false,
              "description": ""
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "Last 30 days",
              "mcp_params": {
                "account_id": "123456789",
                "date_preset": "LAST_30_DAYS",
                "reason": "User wants an account overview"
              },
              "cli_command": "hopkin linkedin account-summary get --account 123456789 --date-preset LAST_30_DAYS",
              "natural_language": "Last 30 days"
            },
            {
              "label": "This month",
              "mcp_params": {
                "account_id": "123456789",
                "date_preset": "THIS_MONTH",
                "reason": "Monthly performance summary"
              },
              "cli_command": "hopkin linkedin account-summary get --account 123456789 --date-preset THIS_MONTH",
              "natural_language": "This month"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "meta_ads_get_account_summary",
              "relationship": "cross-platform"
            },
            {
              "name": "google_ads_get_account_summary",
              "relationship": "cross-platform"
            },
            {
              "name": "reddit_ads_get_account_summary",
              "relationship": "cross-platform"
            },
            {
              "name": "microsoft_ads_get_account_summary",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "linkedin_ads_get_activities",
          "title": "Get LinkedIn Ads Change History",
          "description": "What changed in a LinkedIn ad account, and when: budgets, bids, status, targeting, schedules and names of campaign groups, campaigns and creatives, with before/after values. ",
          "cli_command": "hopkin linkedin activities get",
          "cli_flags": [
            {
              "flag": "--account",
              "description": "LinkedIn ad account ID (numeric, or the sponsoredAccount URN).",
              "type": "string",
              "required": true
            },
            {
              "flag": "--start-date",
              "description": "Start of the window, YYYY-MM-DD (UTC). Defaults to 7 days ago.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--end-date",
              "description": "End of the window, YYYY-MM-DD (UTC), inclusive. Defaults to today.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--entity-type",
              "description": "Only changes to this kind of entity.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--entity-ids",
              "description": "Only changes to these campaign group / campaign / creative IDs (numeric or URN).",
              "type": "array",
              "required": false
            },
            {
              "flag": "--limit",
              "description": "Changes per page (1-200, default 50).",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--cursor",
              "description": "nextCursor from the previous response. Pass it with otherwise identical parameters for the next page.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--refresh",
              "description": "Re-scan the account now before answering. Normally not needed: the account is re-scanned when the last scan is over 15 minutes old.",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "activities",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "account_id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 64,
                "description": "LinkedIn ad account ID (numeric, or the sponsoredAccount URN)."
              },
              "start_date": {
                "type": "string",
                "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                "description": "Start of the window, YYYY-MM-DD (UTC). Defaults to 7 days ago."
              },
              "end_date": {
                "type": "string",
                "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                "description": "End of the window, YYYY-MM-DD (UTC), inclusive. Defaults to today."
              },
              "entity_type": {
                "type": "string",
                "enum": [
                  "CAMPAIGN_GROUP",
                  "CAMPAIGN",
                  "CREATIVE"
                ],
                "description": "Only changes to this kind of entity."
              },
              "entity_ids": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 64
                },
                "minItems": 1,
                "maxItems": 100,
                "description": "Only changes to these campaign group / campaign / creative IDs (numeric or URN)."
              },
              "limit": {
                "type": "integer",
                "minimum": 1,
                "maximum": 200,
                "default": 50,
                "description": "Changes per page (1-200, default 50)."
              },
              "cursor": {
                "type": "string",
                "description": "nextCursor from the previous response. Pass it with otherwise identical parameters for the next page."
              },
              "refresh": {
                "type": "boolean",
                "default": false,
                "description": "Re-scan the account now before answering. Normally not needed: the account is re-scanned when the last scan is over 15 minutes old."
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "account_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "account_id",
              "type": "string",
              "required": true,
              "description": "LinkedIn ad account ID (numeric, or the sponsoredAccount URN).",
              "constraints": {
                "min_length": 1,
                "max_length": 64
              }
            },
            {
              "name": "start_date",
              "type": "string",
              "required": false,
              "description": "Start of the window, YYYY-MM-DD (UTC). Defaults to 7 days ago.",
              "constraints": {
                "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
              }
            },
            {
              "name": "end_date",
              "type": "string",
              "required": false,
              "description": "End of the window, YYYY-MM-DD (UTC), inclusive. Defaults to today.",
              "constraints": {
                "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
              }
            },
            {
              "name": "entity_type",
              "type": "string",
              "required": false,
              "description": "Only changes to this kind of entity.",
              "enum_values": [
                "CAMPAIGN_GROUP",
                "CAMPAIGN",
                "CREATIVE"
              ]
            },
            {
              "name": "entity_ids",
              "type": "array",
              "required": false,
              "description": "Only changes to these campaign group / campaign / creative IDs (numeric or URN)."
            },
            {
              "name": "limit",
              "type": "integer",
              "required": false,
              "description": "Changes per page (1-200, default 50).",
              "default": 50,
              "constraints": {
                "min": 1,
                "max": 200
              }
            },
            {
              "name": "cursor",
              "type": "string",
              "required": false,
              "description": "nextCursor from the previous response. Pass it with otherwise identical parameters for the next page."
            },
            {
              "name": "refresh",
              "type": "boolean",
              "required": false,
              "description": "Re-scan the account now before answering. Normally not needed: the account is re-scanned when the last scan is over 15 minutes old.",
              "default": false
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "Recent changes",
              "mcp_params": {
                "account_id": "123456789",
                "reason": "What changed in the account this week"
              },
              "cli_command": "hopkin linkedin activities get --account 123456789",
              "natural_language": "Recent changes"
            },
            {
              "label": "Budget audit, last 30 days",
              "mcp_params": {
                "account_id": "123456789",
                "start_date": "2026-09-01",
                "end_date": "2026-09-30",
                "entity_type": "CAMPAIGN",
                "reason": "Did anyone change budgets?"
              },
              "cli_command": "hopkin linkedin activities get --account 123456789 --start-date 2026-09-01 --end-date 2026-09-30 --entity-type CAMPAIGN",
              "natural_language": "Budget audit, last 30 days"
            },
            {
              "label": "One creative",
              "mcp_params": {
                "account_id": "123456789",
                "entity_type": "CREATIVE",
                "entity_ids": [
                  "9001"
                ],
                "reason": "Who edited this creative?"
              },
              "cli_command": "hopkin linkedin activities get --account 123456789 --entity-type CREATIVE --entity-ids 9001",
              "natural_language": "One creative"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "meta_ads_get_activities",
              "relationship": "cross-platform"
            },
            {
              "name": "google_ads_get_activities",
              "relationship": "cross-platform"
            },
            {
              "name": "reddit_ads_get_activities",
              "relationship": "cross-platform"
            },
            {
              "name": "tiktok_ads_get_activities",
              "relationship": "cross-platform"
            },
            {
              "name": "microsoft_ads_get_activities",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "linkedin_ads_list_ad_accounts",
          "title": "List LinkedIn Ad Accounts",
          "description": "List LinkedIn Sponsored Ad Accounts accessible to the authenticated user.",
          "cli_command": "hopkin linkedin ad-accounts list",
          "cli_flags": [
            {
              "flag": "--status",
              "description": "Filter by account status. Defaults to [ACTIVE].",
              "type": "array",
              "required": false
            },
            {
              "flag": "--type",
              "description": "Filter by account type.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--include-test-accounts",
              "description": "Include test accounts. Defaults to false.",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--limit",
              "description": "",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--cursor",
              "description": "Opaque pagination cursor.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--refresh",
              "description": "",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "ad-accounts",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "status": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "ACTIVE",
                    "DRAFT",
                    "CANCELED",
                    "PENDING_DELETION",
                    "REMOVED"
                  ]
                },
                "description": "Filter by account status. Defaults to [ACTIVE]."
              },
              "type": {
                "type": "string",
                "enum": [
                  "BUSINESS",
                  "ENTERPRISE"
                ],
                "description": "Filter by account type."
              },
              "include_test_accounts": {
                "type": "boolean",
                "default": false,
                "description": "Include test accounts. Defaults to false."
              },
              "limit": {
                "type": "integer",
                "minimum": 1,
                "maximum": 100,
                "default": 20
              },
              "cursor": {
                "type": "string",
                "description": "Opaque pagination cursor."
              },
              "refresh": {
                "type": "boolean",
                "default": false
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "status",
              "type": "array",
              "required": false,
              "description": "Filter by account status. Defaults to [ACTIVE]."
            },
            {
              "name": "type",
              "type": "string",
              "required": false,
              "description": "Filter by account type.",
              "enum_values": [
                "BUSINESS",
                "ENTERPRISE"
              ]
            },
            {
              "name": "include_test_accounts",
              "type": "boolean",
              "required": false,
              "description": "Include test accounts. Defaults to false.",
              "default": false
            },
            {
              "name": "limit",
              "type": "integer",
              "required": false,
              "description": "",
              "default": 20,
              "constraints": {
                "min": 1,
                "max": 100
              }
            },
            {
              "name": "cursor",
              "type": "string",
              "required": false,
              "description": "Opaque pagination cursor."
            },
            {
              "name": "refresh",
              "type": "boolean",
              "required": false,
              "description": "",
              "default": false
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "List active accounts",
              "mcp_params": {
                "reason": "User wants to see their LinkedIn ad accounts"
              },
              "cli_command": "hopkin linkedin ad-accounts list",
              "natural_language": "List active accounts"
            },
            {
              "label": "Include test accounts",
              "mcp_params": {
                "include_test_accounts": true,
                "reason": "User wants to see test accounts"
              },
              "cli_command": "hopkin linkedin ad-accounts list --include-test-accounts true",
              "natural_language": "Include test accounts"
            },
            {
              "label": "By type",
              "mcp_params": {
                "type": "BUSINESS",
                "reason": "Filter to business accounts only"
              },
              "cli_command": "hopkin linkedin ad-accounts list --type BUSINESS",
              "natural_language": "By type"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "meta_ads_list_ad_accounts",
              "relationship": "cross-platform"
            },
            {
              "name": "linkedin_ads_list_campaign_groups",
              "relationship": "hierarchy"
            },
            {
              "name": "linkedin_ads_list_campaigns",
              "relationship": "hierarchy"
            },
            {
              "name": "reddit_ads_list_ad_accounts",
              "relationship": "cross-platform"
            },
            {
              "name": "chatgpt_ads_list_ad_accounts",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "linkedin_ads_search_ad_library",
          "title": "Search LinkedIn Ad Library",
          "description": "Search the LinkedIn Ad Library for ads from any advertiser. Returns real creative content — ad copy (primary text, headline, description, CTA), landing URLs, run dates, and media source/mirrored URLs. Served from Hopkin's scraped ad-library corpus (LinkedIn exposes no ad-library API), results under \\",
          "cli_command": "hopkin linkedin search-ad-library",
          "cli_flags": [
            {
              "flag": "--search-terms",
              "description": "Keywords to search for in ad content. Spaces act as AND. Use the language the ad is written in.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--search-type",
              "description": "Search mode: KEYWORD_UNORDERED (default, any order) or KEYWORD_EXACT_PHRASE",
              "type": "string",
              "required": false
            },
            {
              "flag": "--advertiser-name",
              "description": "One company's ads, by name — exactly as shown on its LinkedIn page, e.g. \"Refine Labs\". Searches the Ad Library's advertiser-name field, so use this, NOT search_terms, to see what a company is running (if you know its numeric organization ID, organization_ids is exact); not yet in the corpus, it is looked up live and the rest of its ads are collected in the background. Includes posts from employees' profiles it paid for, marked attribution: \"payer\". Not together with organization_ids.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--organization-ids",
              "description": "Up to 10 numeric LinkedIn organization IDs — the number in linkedin.com/company/<id>, in an Ad Library companyIds= URL, or from linkedin_ads_list_tracked_competitors. The search is exact, and an organization nobody has scraped yet is looked up live (the first ID only, per call) with the rest of its ads collected in the background. Prefer this over advertiser_name when you know the ID.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--countries",
              "description": "REQUIRED. ISO-3166-1 alpha-2 country codes (e.g. [\"US\", \"GB\"] — use \"GB\" not \"UK\") or [\"ALL\"]. Scopes on-demand scrapes; corpus rows carry no per-ad reach countries.",
              "type": "array",
              "required": true
            },
            {
              "flag": "--ad-active-status",
              "description": "Filter by delivery status. Default: ACTIVE",
              "type": "string",
              "required": false
            },
            {
              "flag": "--ad-delivery-date-min",
              "description": "Minimum delivery date (YYYY-MM-DD)",
              "type": "string",
              "required": false
            },
            {
              "flag": "--ad-delivery-date-max",
              "description": "Maximum delivery date (YYYY-MM-DD). Ads whose start date is unknown (not yet detail-enriched) are excluded by this bound.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--display-format",
              "description": "Filter by creative type as recorded from the LinkedIn Ad Library (case-insensitive). Observed values: sponsored_status_update, sponsored_video, sponsored_update_linkedin_article, sponsored_message, sponsored_update_native_document, sponsored_update_event. sponsored_status_update is a single-image post; the vocabulary is LinkedIn’s own and open-ended.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--languages",
              "description": "Filter by language name as shown in LinkedIn ad transparency data, e.g. [\"English\"]",
              "type": "array",
              "required": false
            },
            {
              "flag": "--limit",
              "description": "Results per page (default: 25, max: 50)",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--cursor",
              "description": "Pagination cursor from previous response",
              "type": "string",
              "required": false
            },
            {
              "flag": "--include-raw",
              "description": "Also return raw_data, the scraped LinkedIn Ad Library payload behind the normalized fields. Off by default. raw_data is the only place an ad's EU-DSA transparency data lives, under raw_data.detail: payer (the legal 'Paid for by' identity), total_impressions (an impression range), impressions_by_country, targeting and video_urls. It is there only when the scrape read the ad's detail page, and LinkedIn shows impressions and targeting only for ads delivered in the EU. Set include_raw for who pays for an ad, its impressions or reach by country, or its targeting. Raw rows are large (~1.4 KB per ad on average and up to 15 KB), so pass a small `limit` (e.g. 3-5) when setting this.",
              "type": "boolean",
              "required": false
            }
          ],
          "category": "search-ad-library",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "search_terms": {
                "type": "string",
                "minLength": 1,
                "maxLength": 100,
                "description": "Keywords to search for in ad content. Spaces act as AND. Use the language the ad is written in."
              },
              "search_type": {
                "type": "string",
                "enum": [
                  "KEYWORD_UNORDERED",
                  "KEYWORD_EXACT_PHRASE"
                ],
                "description": "Search mode: KEYWORD_UNORDERED (default, any order) or KEYWORD_EXACT_PHRASE"
              },
              "advertiser_name": {
                "type": "string",
                "minLength": 1,
                "maxLength": 100,
                "description": "One company's ads, by name — exactly as shown on its LinkedIn page, e.g. \"Refine Labs\". Searches the Ad Library's advertiser-name field, so use this, NOT search_terms, to see what a company is running (if you know its numeric organization ID, organization_ids is exact); not yet in the corpus, it is looked up live and the rest of its ads are collected in the background. Includes posts from employees' profiles it paid for, marked attribution: \"payer\". Not together with organization_ids."
              },
              "organization_ids": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1
                },
                "minItems": 1,
                "maxItems": 10,
                "description": "Up to 10 numeric LinkedIn organization IDs — the number in linkedin.com/company/<id>, in an Ad Library companyIds= URL, or from linkedin_ads_list_tracked_competitors. The search is exact, and an organization nobody has scraped yet is looked up live (the first ID only, per call) with the rest of its ads collected in the background. Prefer this over advertiser_name when you know the ID."
              },
              "countries": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 2
                },
                "minItems": 1,
                "description": "REQUIRED. ISO-3166-1 alpha-2 country codes (e.g. [\"US\", \"GB\"] — use \"GB\" not \"UK\") or [\"ALL\"]. Scopes on-demand scrapes; corpus rows carry no per-ad reach countries."
              },
              "ad_active_status": {
                "type": "string",
                "enum": [
                  "ACTIVE",
                  "INACTIVE",
                  "ALL"
                ],
                "description": "Filter by delivery status. Default: ACTIVE"
              },
              "ad_delivery_date_min": {
                "type": "string",
                "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d+)?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
                "description": "Minimum delivery date (YYYY-MM-DD)"
              },
              "ad_delivery_date_max": {
                "type": "string",
                "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d+)?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
                "description": "Maximum delivery date (YYYY-MM-DD). Ads whose start date is unknown (not yet detail-enriched) are excluded by this bound."
              },
              "display_format": {
                "type": "string",
                "minLength": 1,
                "description": "Filter by creative type as recorded from the LinkedIn Ad Library (case-insensitive). Observed values: sponsored_status_update, sponsored_video, sponsored_update_linkedin_article, sponsored_message, sponsored_update_native_document, sponsored_update_event. sponsored_status_update is a single-image post; the vocabulary is LinkedIn’s own and open-ended."
              },
              "languages": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1
                },
                "minItems": 1,
                "description": "Filter by language name as shown in LinkedIn ad transparency data, e.g. [\"English\"]"
              },
              "limit": {
                "type": "integer",
                "minimum": 1,
                "maximum": 50,
                "description": "Results per page (default: 25, max: 50)"
              },
              "cursor": {
                "type": "string",
                "minLength": 1,
                "description": "Pagination cursor from previous response"
              },
              "include_raw": {
                "type": "boolean",
                "description": "Also return raw_data, the scraped LinkedIn Ad Library payload behind the normalized fields. Off by default. raw_data is the only place an ad's EU-DSA transparency data lives, under raw_data.detail: payer (the legal 'Paid for by' identity), total_impressions (an impression range), impressions_by_country, targeting and video_urls. It is there only when the scrape read the ad's detail page, and LinkedIn shows impressions and targeting only for ads delivered in the EU. Set include_raw for who pays for an ad, its impressions or reach by country, or its targeting. Raw rows are large (~1.4 KB per ad on average and up to 15 KB), so pass a small `limit` (e.g. 3-5) when setting this."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "countries",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "search_terms",
              "type": "string",
              "required": false,
              "description": "Keywords to search for in ad content. Spaces act as AND. Use the language the ad is written in.",
              "constraints": {
                "min_length": 1,
                "max_length": 100
              }
            },
            {
              "name": "search_type",
              "type": "string",
              "required": false,
              "description": "Search mode: KEYWORD_UNORDERED (default, any order) or KEYWORD_EXACT_PHRASE",
              "enum_values": [
                "KEYWORD_UNORDERED",
                "KEYWORD_EXACT_PHRASE"
              ]
            },
            {
              "name": "advertiser_name",
              "type": "string",
              "required": false,
              "description": "One company's ads, by name — exactly as shown on its LinkedIn page, e.g. \"Refine Labs\". Searches the Ad Library's advertiser-name field, so use this, NOT search_terms, to see what a company is running (if you know its numeric organization ID, organization_ids is exact); not yet in the corpus, it is looked up live and the rest of its ads are collected in the background. Includes posts from employees' profiles it paid for, marked attribution: \"payer\". Not together with organization_ids.",
              "constraints": {
                "min_length": 1,
                "max_length": 100
              }
            },
            {
              "name": "organization_ids",
              "type": "array",
              "required": false,
              "description": "Up to 10 numeric LinkedIn organization IDs — the number in linkedin.com/company/<id>, in an Ad Library companyIds= URL, or from linkedin_ads_list_tracked_competitors. The search is exact, and an organization nobody has scraped yet is looked up live (the first ID only, per call) with the rest of its ads collected in the background. Prefer this over advertiser_name when you know the ID."
            },
            {
              "name": "countries",
              "type": "array",
              "required": true,
              "description": "REQUIRED. ISO-3166-1 alpha-2 country codes (e.g. [\"US\", \"GB\"] — use \"GB\" not \"UK\") or [\"ALL\"]. Scopes on-demand scrapes; corpus rows carry no per-ad reach countries."
            },
            {
              "name": "ad_active_status",
              "type": "string",
              "required": false,
              "description": "Filter by delivery status. Default: ACTIVE",
              "enum_values": [
                "ACTIVE",
                "INACTIVE",
                "ALL"
              ]
            },
            {
              "name": "ad_delivery_date_min",
              "type": "string",
              "required": false,
              "description": "Minimum delivery date (YYYY-MM-DD)",
              "constraints": {
                "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d+)?)?(Z|[+-]\\d{2}:\\d{2})?)?$"
              }
            },
            {
              "name": "ad_delivery_date_max",
              "type": "string",
              "required": false,
              "description": "Maximum delivery date (YYYY-MM-DD). Ads whose start date is unknown (not yet detail-enriched) are excluded by this bound.",
              "constraints": {
                "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d+)?)?(Z|[+-]\\d{2}:\\d{2})?)?$"
              }
            },
            {
              "name": "display_format",
              "type": "string",
              "required": false,
              "description": "Filter by creative type as recorded from the LinkedIn Ad Library (case-insensitive). Observed values: sponsored_status_update, sponsored_video, sponsored_update_linkedin_article, sponsored_message, sponsored_update_native_document, sponsored_update_event. sponsored_status_update is a single-image post; the vocabulary is LinkedIn’s own and open-ended.",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "languages",
              "type": "array",
              "required": false,
              "description": "Filter by language name as shown in LinkedIn ad transparency data, e.g. [\"English\"]"
            },
            {
              "name": "limit",
              "type": "integer",
              "required": false,
              "description": "Results per page (default: 25, max: 50)",
              "constraints": {
                "min": 1,
                "max": 50
              }
            },
            {
              "name": "cursor",
              "type": "string",
              "required": false,
              "description": "Pagination cursor from previous response",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "include_raw",
              "type": "boolean",
              "required": false,
              "description": "Also return raw_data, the scraped LinkedIn Ad Library payload behind the normalized fields. Off by default. raw_data is the only place an ad's EU-DSA transparency data lives, under raw_data.detail: payer (the legal 'Paid for by' identity), total_impressions (an impression range), impressions_by_country, targeting and video_urls. It is there only when the scrape read the ad's detail page, and LinkedIn shows impressions and targeting only for ads delivered in the EU. Set include_raw for who pays for an ad, its impressions or reach by country, or its targeting. Raw rows are large (~1.4 KB per ad on average and up to 15 KB), so pass a small `limit` (e.g. 3-5) when setting this."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "Search by keyword",
              "mcp_params": {
                "search_terms": "sales automation",
                "countries": [
                  "US"
                ],
                "reason": "Competitive research on B2B sales tooling ads"
              },
              "cli_command": "hopkin linkedin search-ad-library --search-terms sales automation --countries US",
              "natural_language": "Search by keyword"
            },
            {
              "label": "One company's ads, by name",
              "mcp_params": {
                "advertiser_name": "Refine Labs",
                "countries": [
                  "US"
                ],
                "reason": "See what a competitor agency is running"
              },
              "cli_command": "hopkin linkedin search-ad-library --advertiser-name Refine Labs --countries US",
              "natural_language": "One company's ads, by name"
            },
            {
              "label": "One company's ads, by organization ID (exact)",
              "mcp_params": {
                "organization_ids": [
                  "3185"
                ],
                "countries": [
                  "US"
                ],
                "reason": "View a tracked competitor's ads"
              },
              "cli_command": "hopkin linkedin search-ad-library --organization-ids 3185 --countries US",
              "natural_language": "One company's ads, by organization ID (exact)"
            },
            {
              "label": "Video ads only",
              "mcp_params": {
                "search_terms": "crm",
                "countries": [
                  "ALL"
                ],
                "display_format": "sponsored_video",
                "reason": "Creative research"
              },
              "cli_command": "hopkin linkedin search-ad-library --search-terms crm --countries ALL --display-format sponsored_video",
              "natural_language": "Video ads only"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "meta_ads_search_ad_library",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "linkedin_ads_check_auth_status",
          "title": "Check LinkedIn Ads Authentication Status",
          "description": "Troubleshoot authentication issues and get user profile info. Only use when another tool fails with a permission or authentication error — do NOT call proactively.",
          "cli_command": "hopkin linkedin auth check",
          "cli_flags": [
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "auth",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": false
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "Check auth",
              "mcp_params": {
                "reason": "Another tool returned an auth error, checking LinkedIn account connection status"
              },
              "cli_command": "hopkin linkedin auth check",
              "natural_language": "Check auth"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "meta_ads_check_auth_status",
              "relationship": "cross-platform"
            },
            {
              "name": "google_ads_check_auth_status",
              "relationship": "cross-platform"
            },
            {
              "name": "linkedin_ads_ping",
              "relationship": "sibling"
            },
            {
              "name": "reddit_ads_check_auth_status",
              "relationship": "cross-platform"
            },
            {
              "name": "tiktok_ads_check_auth_status",
              "relationship": "cross-platform"
            },
            {
              "name": "chatgpt_ads_check_auth_status",
              "relationship": "cross-platform"
            },
            {
              "name": "microsoft_ads_check_auth_status",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "linkedin_ads_get_billing_status",
          "title": "Billing status",
          "description": "Why a call was refused with a billing error (402) and how to get unblocked. Reports whether this organization is entitled, its subscription status, tier, trial end, credits used and left this period, the price table and a link to the billing page. With checkout_tier, the organization owner also gets a Stripe Checkout link for that plan; a member gets the owner's contact and a message to forward. Call it after any 402. While waiting for a human to pay, poll it every 10 seconds for the first minute, every 30 seconds until 5 minutes, then every 60 seconds until 15 minutes, then stop and tell the human. Once it returns entitled: true, retry the blocked call; if the retry still returns 402, wait 15 seconds and retry once. A Checkout link is a payment link: give it to the organization owner only.",
          "cli_command": "hopkin linkedin billing-status get",
          "cli_flags": [
            {
              "flag": "--checkout-tier",
              "description": "Organization owner only: also create a Stripe Checkout link for this plan. A member gets the owner's contact and a message to forward instead.",
              "type": "string",
              "required": false
            }
          ],
          "category": "billing-status",
          "annotations": {
            "readOnly": false,
            "destructive": false,
            "idempotent": true,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "checkout_tier": {
                "type": "string",
                "enum": [
                  "starter",
                  "pro",
                  "enterprise"
                ],
                "description": "Organization owner only: also create a Stripe Checkout link for this plan. A member gets the owner's contact and a message to forward instead."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "checkout_tier",
              "type": "string",
              "required": false,
              "description": "Organization owner only: also create a Stripe Checkout link for this plan. A member gets the owner's contact and a message to forward instead.",
              "enum_values": [
                "starter",
                "pro",
                "enterprise"
              ]
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "After a billing error",
              "mcp_params": {
                "reason": "A tool call was refused with a billing error (402)"
              },
              "cli_command": "hopkin linkedin billing-status get",
              "natural_language": "After a billing error"
            },
            {
              "label": "Owner: Checkout link",
              "mcp_params": {
                "checkout_tier": "pro",
                "reason": "The organization owner wants to pay for Pro now"
              },
              "cli_command": "hopkin linkedin billing-status get --checkout-tier pro",
              "natural_language": "Owner: Checkout link"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "meta_ads_get_billing_status",
              "relationship": "cross-platform"
            },
            {
              "name": "google_ads_get_billing_status",
              "relationship": "cross-platform"
            },
            {
              "name": "reddit_ads_get_billing_status",
              "relationship": "cross-platform"
            },
            {
              "name": "tiktok_ads_get_billing_status",
              "relationship": "cross-platform"
            },
            {
              "name": "chatgpt_ads_get_billing_status",
              "relationship": "cross-platform"
            },
            {
              "name": "microsoft_ads_get_billing_status",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "linkedin_ads_get_budget_pricing",
          "title": "Get LinkedIn Budget & Pricing",
          "description": "Get bid ranges and daily budget limits for a LinkedIn campaign type and audience. Call this before creating a campaign to understand recommended bids. Required: account_id, campaign_type, bid_type, match_type, currency, and at least one location_urns entry; the other targeting facets, objective_type and daily_budget_amount are optional. DYNAMIC campaign type is not supported by this endpoint.",
          "cli_command": "hopkin linkedin budget-pricing get",
          "cli_flags": [
            {
              "flag": "--account",
              "description": "Ad account ID (numeric, without URN prefix).",
              "type": "string",
              "required": true
            },
            {
              "flag": "--campaign-type",
              "description": "Campaign type. DYNAMIC is not supported by this endpoint.",
              "type": "string",
              "required": true
            },
            {
              "flag": "--bid-type",
              "description": "Bid type. CPV is only valid for SPONSORED_UPDATES video campaigns.",
              "type": "string",
              "required": true
            },
            {
              "flag": "--match-type",
              "description": "EXACT prices the audience as targeted; AUDIENCE_EXPANDED includes LinkedIn Audience Expansion.",
              "type": "string",
              "required": true
            },
            {
              "flag": "--currency",
              "description": "ISO-4217 currency code (e.g. USD, GBP).",
              "type": "string",
              "required": true
            },
            {
              "flag": "--location-urns",
              "description": "Target location URNs (e.g. urn:li:geo:103644278 for USA).",
              "type": "array",
              "required": true
            },
            {
              "flag": "--seniority-urns",
              "description": "Target seniority URNs (e.g. urn:li:seniority:4 for Senior).",
              "type": "array",
              "required": false
            },
            {
              "flag": "--job-function-urns",
              "description": "Target job function URNs.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--industry-urns",
              "description": "Target industry URNs.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--company-size-urns",
              "description": "Target company size range URNs (e.g. urn:li:staffCountRange:(51,200)).",
              "type": "array",
              "required": false
            },
            {
              "flag": "--objective-type",
              "description": "Campaign objective; affects the suggested bid. These are this endpoint's values, checked live: note WEBSITE_CONVERSION (singular) where campaigns report WEBSITE_CONVERSIONS, and JOB_APPLICANT.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--daily-budget-amount",
              "description": "Current or target daily budget (influences suggested bid calculation).",
              "type": "number",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "budget-pricing",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": false,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "account_id": {
                "type": "string",
                "minLength": 1,
                "description": "Ad account ID (numeric, without URN prefix)."
              },
              "campaign_type": {
                "type": "string",
                "enum": [
                  "TEXT_AD",
                  "SPONSORED_UPDATES",
                  "SPONSORED_INMAILS"
                ],
                "description": "Campaign type. DYNAMIC is not supported by this endpoint."
              },
              "bid_type": {
                "type": "string",
                "enum": [
                  "CPM",
                  "CPC",
                  "CPV"
                ],
                "description": "Bid type. CPV is only valid for SPONSORED_UPDATES video campaigns."
              },
              "match_type": {
                "type": "string",
                "enum": [
                  "EXACT",
                  "AUDIENCE_EXPANDED"
                ],
                "description": "EXACT prices the audience as targeted; AUDIENCE_EXPANDED includes LinkedIn Audience Expansion."
              },
              "currency": {
                "type": "string",
                "minLength": 3,
                "maxLength": 3,
                "description": "ISO-4217 currency code (e.g. USD, GBP)."
              },
              "location_urns": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "minItems": 1,
                "description": "Target location URNs (e.g. urn:li:geo:103644278 for USA)."
              },
              "seniority_urns": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Target seniority URNs (e.g. urn:li:seniority:4 for Senior)."
              },
              "job_function_urns": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Target job function URNs."
              },
              "industry_urns": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Target industry URNs."
              },
              "company_size_urns": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Target company size range URNs (e.g. urn:li:staffCountRange:(51,200))."
              },
              "objective_type": {
                "type": "string",
                "enum": [
                  "VIDEO_VIEW",
                  "LEAD_GENERATION",
                  "WEBSITE_CONVERSION",
                  "BRAND_AWARENESS",
                  "WEBSITE_VISIT",
                  "ENGAGEMENT",
                  "WEBSITE_TRAFFIC",
                  "CREATIVE_ENGAGEMENT",
                  "JOB_APPLICANT",
                  "TALENT_LEAD"
                ],
                "description": "Campaign objective; affects the suggested bid. These are this endpoint's values, checked live: note WEBSITE_CONVERSION (singular) where campaigns report WEBSITE_CONVERSIONS, and JOB_APPLICANT."
              },
              "daily_budget_amount": {
                "type": "number",
                "description": "Current or target daily budget (influences suggested bid calculation)."
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "account_id",
              "campaign_type",
              "bid_type",
              "match_type",
              "currency",
              "location_urns",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "account_id",
              "type": "string",
              "required": true,
              "description": "Ad account ID (numeric, without URN prefix).",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "campaign_type",
              "type": "string",
              "required": true,
              "description": "Campaign type. DYNAMIC is not supported by this endpoint.",
              "enum_values": [
                "TEXT_AD",
                "SPONSORED_UPDATES",
                "SPONSORED_INMAILS"
              ]
            },
            {
              "name": "bid_type",
              "type": "string",
              "required": true,
              "description": "Bid type. CPV is only valid for SPONSORED_UPDATES video campaigns.",
              "enum_values": [
                "CPM",
                "CPC",
                "CPV"
              ]
            },
            {
              "name": "match_type",
              "type": "string",
              "required": true,
              "description": "EXACT prices the audience as targeted; AUDIENCE_EXPANDED includes LinkedIn Audience Expansion.",
              "enum_values": [
                "EXACT",
                "AUDIENCE_EXPANDED"
              ]
            },
            {
              "name": "currency",
              "type": "string",
              "required": true,
              "description": "ISO-4217 currency code (e.g. USD, GBP).",
              "constraints": {
                "min_length": 3,
                "max_length": 3
              }
            },
            {
              "name": "location_urns",
              "type": "array",
              "required": true,
              "description": "Target location URNs (e.g. urn:li:geo:103644278 for USA)."
            },
            {
              "name": "seniority_urns",
              "type": "array",
              "required": false,
              "description": "Target seniority URNs (e.g. urn:li:seniority:4 for Senior)."
            },
            {
              "name": "job_function_urns",
              "type": "array",
              "required": false,
              "description": "Target job function URNs."
            },
            {
              "name": "industry_urns",
              "type": "array",
              "required": false,
              "description": "Target industry URNs."
            },
            {
              "name": "company_size_urns",
              "type": "array",
              "required": false,
              "description": "Target company size range URNs (e.g. urn:li:staffCountRange:(51,200))."
            },
            {
              "name": "objective_type",
              "type": "string",
              "required": false,
              "description": "Campaign objective; affects the suggested bid. These are this endpoint's values, checked live: note WEBSITE_CONVERSION (singular) where campaigns report WEBSITE_CONVERSIONS, and JOB_APPLICANT.",
              "enum_values": [
                "VIDEO_VIEW",
                "LEAD_GENERATION",
                "WEBSITE_CONVERSION",
                "BRAND_AWARENESS",
                "WEBSITE_VISIT",
                "ENGAGEMENT",
                "WEBSITE_TRAFFIC",
                "CREATIVE_ENGAGEMENT",
                "JOB_APPLICANT",
                "TALENT_LEAD"
              ]
            },
            {
              "name": "daily_budget_amount",
              "type": "number",
              "required": false,
              "description": "Current or target daily budget (influences suggested bid calculation)."
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "Sponsored Content CPM",
              "mcp_params": {
                "account_id": "123456789",
                "campaign_type": "SPONSORED_UPDATES",
                "bid_type": "CPM",
                "match_type": "EXACT",
                "currency": "USD",
                "location_urns": [
                  "urn:li:geo:103644278"
                ],
                "reason": "User wants to know bid ranges before creating a campaign"
              },
              "cli_command": "hopkin linkedin budget-pricing get --account 123456789 --campaign-type SPONSORED_UPDATES --bid-type CPM --match-type EXACT --currency USD --location-urns urn:li:geo:103644278",
              "natural_language": "Sponsored Content CPM"
            },
            {
              "label": "Text Ad CPC",
              "mcp_params": {
                "account_id": "123456789",
                "campaign_type": "TEXT_AD",
                "bid_type": "CPC",
                "match_type": "EXACT",
                "currency": "USD",
                "location_urns": [
                  "urn:li:geo:103644278"
                ],
                "reason": "Get text ad pricing for US audience"
              },
              "cli_command": "hopkin linkedin budget-pricing get --account 123456789 --campaign-type TEXT_AD --bid-type CPC --match-type EXACT --currency USD --location-urns urn:li:geo:103644278",
              "natural_language": "Text Ad CPC"
            }
          ],
          "response_format": "markdown",
          "related_tools": [],
          "tool_type": "standard"
        },
        {
          "name": "linkedin_ads_list_campaign_groups",
          "title": "List LinkedIn Campaign Groups",
          "description": "List LinkedIn Campaign Groups for an ad account. Campaign groups are the top-level organizational unit containing campaigns.",
          "cli_command": "hopkin linkedin campaign-groups list",
          "cli_flags": [
            {
              "flag": "--account",
              "description": "Ad account ID (numeric, without URN prefix).",
              "type": "string",
              "required": true
            },
            {
              "flag": "--status",
              "description": "Filter by status. Defaults to [ACTIVE, PAUSED].",
              "type": "array",
              "required": false
            },
            {
              "flag": "--campaign-group-id",
              "description": "Fetch a single campaign group by numeric ID.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--campaign-group-ids",
              "description": "Fetch specific campaign groups by numeric IDs (batch GET).",
              "type": "array",
              "required": false
            },
            {
              "flag": "--limit",
              "description": "",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--cursor",
              "description": "",
              "type": "string",
              "required": false
            },
            {
              "flag": "--refresh",
              "description": "",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "campaign-groups",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "account_id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 64,
                "description": "Ad account ID (numeric, without URN prefix)."
              },
              "status": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "ACTIVE",
                    "PAUSED",
                    "DRAFT",
                    "ARCHIVED",
                    "CANCELED",
                    "PENDING_DELETION",
                    "REMOVED"
                  ]
                },
                "description": "Filter by status. Defaults to [ACTIVE, PAUSED]."
              },
              "campaign_group_id": {
                "type": "string",
                "maxLength": 64,
                "description": "Fetch a single campaign group by numeric ID."
              },
              "campaign_group_ids": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "minItems": 1,
                "maxItems": 50,
                "description": "Fetch specific campaign groups by numeric IDs (batch GET)."
              },
              "limit": {
                "type": "integer",
                "minimum": 1,
                "maximum": 100,
                "default": 20
              },
              "cursor": {
                "type": "string"
              },
              "refresh": {
                "type": "boolean",
                "default": false
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "account_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "account_id",
              "type": "string",
              "required": true,
              "description": "Ad account ID (numeric, without URN prefix).",
              "constraints": {
                "min_length": 1,
                "max_length": 64
              }
            },
            {
              "name": "status",
              "type": "array",
              "required": false,
              "description": "Filter by status. Defaults to [ACTIVE, PAUSED]."
            },
            {
              "name": "campaign_group_id",
              "type": "string",
              "required": false,
              "description": "Fetch a single campaign group by numeric ID.",
              "constraints": {
                "max_length": 64
              }
            },
            {
              "name": "campaign_group_ids",
              "type": "array",
              "required": false,
              "description": "Fetch specific campaign groups by numeric IDs (batch GET)."
            },
            {
              "name": "limit",
              "type": "integer",
              "required": false,
              "description": "",
              "default": 20,
              "constraints": {
                "min": 1,
                "max": 100
              }
            },
            {
              "name": "cursor",
              "type": "string",
              "required": false,
              "description": ""
            },
            {
              "name": "refresh",
              "type": "boolean",
              "required": false,
              "description": "",
              "default": false
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "List active groups",
              "mcp_params": {
                "account_id": "123456789",
                "reason": "User wants to see campaign groups"
              },
              "cli_command": "hopkin linkedin campaign-groups list --account 123456789",
              "natural_language": "List active groups"
            },
            {
              "label": "Filter by status",
              "mcp_params": {
                "account_id": "123456789",
                "status": [
                  "ACTIVE",
                  "PAUSED"
                ],
                "reason": "Show active and paused campaign groups"
              },
              "cli_command": "hopkin linkedin campaign-groups list --account 123456789 --status ACTIVE,PAUSED",
              "natural_language": "Filter by status"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "linkedin_ads_list_ad_accounts",
              "relationship": "hierarchy"
            },
            {
              "name": "linkedin_ads_list_campaigns",
              "relationship": "hierarchy"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "linkedin_ads_list_campaigns",
          "title": "List LinkedIn Campaigns",
          "description": "List LinkedIn Campaigns for an ad account. Campaigns define targeting, bidding, and budget within a campaign group. Pass include_targeting: true for full normalized targetingCriteria (include/exclude facets with URNs resolved to human names) + audience expansion, audience network preferences, frequency cap, and conversion actions; this also applies when fetching specific campaigns with campaign_id / campaign_ids. Pass include_forecast: true to additionally return per-campaign audience size forecasts (requires include_targeting).",
          "cli_command": "hopkin linkedin campaigns list",
          "cli_flags": [
            {
              "flag": "--account",
              "description": "Ad account ID (numeric, without URN prefix).",
              "type": "string",
              "required": true
            },
            {
              "flag": "--status",
              "description": "Filter by status. Defaults to [ACTIVE, PAUSED].",
              "type": "array",
              "required": false
            },
            {
              "flag": "--campaign-group-id",
              "description": "Filter by campaign group (numeric ID).",
              "type": "string",
              "required": false
            },
            {
              "flag": "--type",
              "description": "Filter by campaign type.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--campaign",
              "description": "Fetch a single campaign by numeric ID.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--campaign-ids",
              "description": "Fetch specific campaigns by numeric IDs (batch filter).",
              "type": "array",
              "required": false
            },
            {
              "flag": "--limit",
              "description": "",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--cursor",
              "description": "",
              "type": "string",
              "required": false
            },
            {
              "flag": "--refresh",
              "description": "Skip the cache and fetch live from LinkedIn, including for campaign_id / campaign_ids lookups.",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--include-targeting",
              "description": "Return full normalized targetingCriteria (include + exclude facets with URNs resolved to human names), plus audience_expansion_enabled, audience_network_enabled, frequency_cap, creative_selection, and conversion_actions. Also applies to campaign_id / campaign_ids lookups. The text output lists resolved names per facet, separated by \"; \" (up to 20 per facet, then \"+K more\"). When a page is too wide for the text limit, the text first drops facet names (last campaigns first), then whole campaigns, and names every dropped ID so it can be re-fetched with campaign_ids. structured_content has every facet value and every campaign. Adds ~6-13 API calls per list regardless of campaign count (batched URN resolution is cached).",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--include-forecast",
              "description": "Add audience_forecast (total + breakdown by channel) to each campaign. Requires include_targeting: true. Adds 1 API call per campaign (capped 5 parallel). Per-campaign failures are non-fatal.",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "campaigns",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "account_id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 64,
                "description": "Ad account ID (numeric, without URN prefix)."
              },
              "status": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "ACTIVE",
                    "PAUSED",
                    "DRAFT",
                    "ARCHIVED",
                    "COMPLETED",
                    "CANCELED",
                    "PENDING_DELETION",
                    "REMOVED"
                  ]
                },
                "description": "Filter by status. Defaults to [ACTIVE, PAUSED]."
              },
              "campaign_group_id": {
                "type": "string",
                "description": "Filter by campaign group (numeric ID)."
              },
              "type": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "TEXT_AD",
                    "SPONSORED_UPDATES",
                    "SPONSORED_INMAILS",
                    "DYNAMIC",
                    "EVENT_AD"
                  ]
                },
                "description": "Filter by campaign type."
              },
              "campaign_id": {
                "type": "string",
                "maxLength": 64,
                "description": "Fetch a single campaign by numeric ID."
              },
              "campaign_ids": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "minItems": 1,
                "maxItems": 50,
                "description": "Fetch specific campaigns by numeric IDs (batch filter)."
              },
              "limit": {
                "type": "integer",
                "minimum": 1,
                "maximum": 100,
                "default": 20
              },
              "cursor": {
                "type": "string"
              },
              "refresh": {
                "type": "boolean",
                "default": false,
                "description": "Skip the cache and fetch live from LinkedIn, including for campaign_id / campaign_ids lookups."
              },
              "include_targeting": {
                "type": "boolean",
                "default": false,
                "description": "Return full normalized targetingCriteria (include + exclude facets with URNs resolved to human names), plus audience_expansion_enabled, audience_network_enabled, frequency_cap, creative_selection, and conversion_actions. Also applies to campaign_id / campaign_ids lookups. The text output lists resolved names per facet, separated by \"; \" (up to 20 per facet, then \"+K more\"). When a page is too wide for the text limit, the text first drops facet names (last campaigns first), then whole campaigns, and names every dropped ID so it can be re-fetched with campaign_ids. structured_content has every facet value and every campaign. Adds ~6-13 API calls per list regardless of campaign count (batched URN resolution is cached)."
              },
              "include_forecast": {
                "type": "boolean",
                "default": false,
                "description": "Add audience_forecast (total + breakdown by channel) to each campaign. Requires include_targeting: true. Adds 1 API call per campaign (capped 5 parallel). Per-campaign failures are non-fatal."
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "account_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "account_id",
              "type": "string",
              "required": true,
              "description": "Ad account ID (numeric, without URN prefix).",
              "constraints": {
                "min_length": 1,
                "max_length": 64
              }
            },
            {
              "name": "status",
              "type": "array",
              "required": false,
              "description": "Filter by status. Defaults to [ACTIVE, PAUSED]."
            },
            {
              "name": "campaign_group_id",
              "type": "string",
              "required": false,
              "description": "Filter by campaign group (numeric ID)."
            },
            {
              "name": "type",
              "type": "array",
              "required": false,
              "description": "Filter by campaign type."
            },
            {
              "name": "campaign_id",
              "type": "string",
              "required": false,
              "description": "Fetch a single campaign by numeric ID.",
              "constraints": {
                "max_length": 64
              }
            },
            {
              "name": "campaign_ids",
              "type": "array",
              "required": false,
              "description": "Fetch specific campaigns by numeric IDs (batch filter)."
            },
            {
              "name": "limit",
              "type": "integer",
              "required": false,
              "description": "",
              "default": 20,
              "constraints": {
                "min": 1,
                "max": 100
              }
            },
            {
              "name": "cursor",
              "type": "string",
              "required": false,
              "description": ""
            },
            {
              "name": "refresh",
              "type": "boolean",
              "required": false,
              "description": "Skip the cache and fetch live from LinkedIn, including for campaign_id / campaign_ids lookups.",
              "default": false
            },
            {
              "name": "include_targeting",
              "type": "boolean",
              "required": false,
              "description": "Return full normalized targetingCriteria (include + exclude facets with URNs resolved to human names), plus audience_expansion_enabled, audience_network_enabled, frequency_cap, creative_selection, and conversion_actions. Also applies to campaign_id / campaign_ids lookups. The text output lists resolved names per facet, separated by \"; \" (up to 20 per facet, then \"+K more\"). When a page is too wide for the text limit, the text first drops facet names (last campaigns first), then whole campaigns, and names every dropped ID so it can be re-fetched with campaign_ids. structured_content has every facet value and every campaign. Adds ~6-13 API calls per list regardless of campaign count (batched URN resolution is cached).",
              "default": false
            },
            {
              "name": "include_forecast",
              "type": "boolean",
              "required": false,
              "description": "Add audience_forecast (total + breakdown by channel) to each campaign. Requires include_targeting: true. Adds 1 API call per campaign (capped 5 parallel). Per-campaign failures are non-fatal.",
              "default": false
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "List active campaigns",
              "mcp_params": {
                "account_id": "123456789",
                "reason": "User wants to see campaigns"
              },
              "cli_command": "hopkin linkedin campaigns list --account 123456789",
              "natural_language": "List active campaigns"
            },
            {
              "label": "By campaign group",
              "mcp_params": {
                "account_id": "123456789",
                "campaign_group_id": "987654",
                "reason": "List campaigns under a specific campaign group"
              },
              "cli_command": "hopkin linkedin campaigns list --account 123456789 --campaign-group-id 987654",
              "natural_language": "By campaign group"
            },
            {
              "label": "By type",
              "mcp_params": {
                "account_id": "123456789",
                "type": [
                  "SPONSORED_UPDATES"
                ],
                "reason": "Filter to sponsored content campaigns"
              },
              "cli_command": "hopkin linkedin campaigns list --account 123456789 --type SPONSORED_UPDATES",
              "natural_language": "By type"
            },
            {
              "label": "Full targeting audit",
              "mcp_params": {
                "account_id": "123456789",
                "include_targeting": true,
                "reason": "Audit full targeting config across all campaigns"
              },
              "cli_command": "hopkin linkedin campaigns list --account 123456789 --include-targeting true",
              "natural_language": "Full targeting audit"
            },
            {
              "label": "Audit with audience forecast",
              "mcp_params": {
                "account_id": "123456789",
                "include_targeting": true,
                "include_forecast": true,
                "reason": "Full audit with audience size forecasts"
              },
              "cli_command": "hopkin linkedin campaigns list --account 123456789 --include-targeting true --include-forecast true",
              "natural_language": "Audit with audience forecast"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "meta_ads_list_campaigns",
              "relationship": "cross-platform"
            },
            {
              "name": "google_ads_list_campaigns",
              "relationship": "cross-platform"
            },
            {
              "name": "linkedin_ads_list_ad_accounts",
              "relationship": "hierarchy"
            },
            {
              "name": "linkedin_ads_list_campaign_groups",
              "relationship": "hierarchy"
            },
            {
              "name": "linkedin_ads_list_creatives",
              "relationship": "hierarchy"
            },
            {
              "name": "reddit_ads_list_campaigns",
              "relationship": "cross-platform"
            },
            {
              "name": "tiktok_ads_list_campaigns",
              "relationship": "cross-platform"
            },
            {
              "name": "chatgpt_ads_list_campaigns",
              "relationship": "cross-platform"
            },
            {
              "name": "microsoft_ads_list_campaigns",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "linkedin_ads_render_chart",
          "title": "Render LinkedIn Ads Chart",
          "description": "Interactive chart renderer for LinkedIn Ads performance visualization",
          "cli_command": "",
          "cli_flags": [],
          "category": "chart",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": false
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Brief explanation of why you are rendering this chart"
              },
              "chart": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "const": "bar"
                      },
                      "data": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "label": {
                              "type": "string"
                            },
                            "values": {
                              "type": "object",
                              "additionalProperties": {
                                "type": [
                                  "number",
                                  "null"
                                ]
                              }
                            }
                          },
                          "required": [
                            "label",
                            "values"
                          ],
                          "additionalProperties": false
                        }
                      },
                      "metric": {
                        "anyOf": [
                          {
                            "type": "object",
                            "properties": {
                              "field": {
                                "type": "string"
                              },
                              "label": {
                                "type": "string"
                              },
                              "format": {
                                "type": "string"
                              },
                              "tickFormat": {
                                "type": "string"
                              },
                              "labelFields": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "field": {
                                      "type": "string"
                                    },
                                    "format": {
                                      "type": "string"
                                    },
                                    "suffix": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "field"
                                  ],
                                  "additionalProperties": false
                                }
                              }
                            },
                            "required": [
                              "field",
                              "label"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "field": {
                                  "type": "string"
                                },
                                "label": {
                                  "type": "string"
                                },
                                "format": {
                                  "type": "string"
                                },
                                "tickFormat": {
                                  "type": "string"
                                },
                                "labelFields": {
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "properties": {
                                      "field": {
                                        "type": "string"
                                      },
                                      "format": {
                                        "type": "string"
                                      },
                                      "suffix": {
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "field"
                                    ],
                                    "additionalProperties": false
                                  }
                                }
                              },
                              "required": [
                                "field",
                                "label"
                              ],
                              "additionalProperties": false
                            }
                          }
                        ]
                      },
                      "orientation": {
                        "type": "string",
                        "enum": [
                          "horizontal",
                          "vertical"
                        ],
                        "default": "horizontal"
                      },
                      "sort": {
                        "type": "string",
                        "enum": [
                          "asc",
                          "desc",
                          "none"
                        ],
                        "default": "desc"
                      },
                      "colorBy": {
                        "anyOf": [
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "fixed"
                              }
                            },
                            "required": [
                              "type"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "threshold"
                              },
                              "field": {
                                "type": "string"
                              },
                              "threshold": {
                                "type": "number"
                              },
                              "sentiment": {
                                "type": "string",
                                "enum": [
                                  "above-positive",
                                  "above-negative"
                                ],
                                "default": "above-positive"
                              }
                            },
                            "required": [
                              "type",
                              "field",
                              "threshold"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "continuous"
                              },
                              "field": {
                                "type": "string"
                              },
                              "scheme": {
                                "type": "string"
                              },
                              "reverse": {
                                "type": "boolean",
                                "default": false
                              },
                              "muteZero": {
                                "type": "boolean",
                                "default": false
                              },
                              "label": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "type",
                              "field",
                              "scheme"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "categorical"
                              }
                            },
                            "required": [
                              "type"
                            ],
                            "additionalProperties": false
                          }
                        ]
                      },
                      "referenceLines": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "value": {
                              "type": "number"
                            },
                            "label": {
                              "type": "string"
                            },
                            "dash": {
                              "type": "string",
                              "enum": [
                                "solid",
                                "dashed"
                              ],
                              "default": "dashed"
                            }
                          },
                          "required": [
                            "value"
                          ],
                          "additionalProperties": false
                        }
                      },
                      "table": {
                        "type": "object",
                        "properties": {
                          "columns": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "field": {
                                  "type": "string"
                                },
                                "label": {
                                  "type": "string"
                                },
                                "format": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "field",
                                "label"
                              ],
                              "additionalProperties": false
                            }
                          }
                        },
                        "required": [
                          "columns"
                        ],
                        "additionalProperties": false
                      },
                      "panelWidth": {
                        "type": "number"
                      },
                      "width": {
                        "type": "number",
                        "default": 700
                      },
                      "height": {
                        "type": "number",
                        "default": 400
                      }
                    },
                    "required": [
                      "type",
                      "data",
                      "metric"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "const": "scatter"
                      },
                      "data": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "label": {
                              "type": "string"
                            },
                            "values": {
                              "type": "object",
                              "additionalProperties": {
                                "type": "number"
                              }
                            }
                          },
                          "required": [
                            "label",
                            "values"
                          ],
                          "additionalProperties": false
                        }
                      },
                      "x": {
                        "type": "object",
                        "properties": {
                          "field": {
                            "type": "string"
                          },
                          "label": {
                            "type": "string"
                          },
                          "scale": {
                            "type": "string",
                            "enum": [
                              "linear",
                              "log"
                            ],
                            "default": "linear"
                          },
                          "format": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "field",
                          "label"
                        ],
                        "additionalProperties": false
                      },
                      "y": {
                        "type": "object",
                        "properties": {
                          "field": {
                            "type": "string"
                          },
                          "label": {
                            "type": "string"
                          },
                          "scale": {
                            "type": "string",
                            "enum": [
                              "linear",
                              "log"
                            ],
                            "default": "linear"
                          },
                          "format": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "field",
                          "label"
                        ],
                        "additionalProperties": false
                      },
                      "size": {
                        "type": "object",
                        "properties": {
                          "field": {
                            "type": "string"
                          },
                          "range": {
                            "type": "array",
                            "items": {
                              "type": "number"
                            },
                            "minItems": 2,
                            "maxItems": 2,
                            "default": [
                              3,
                              20
                            ]
                          }
                        },
                        "required": [
                          "field"
                        ],
                        "additionalProperties": false
                      },
                      "color": {
                        "anyOf": [
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "fixed"
                              }
                            },
                            "required": [
                              "type"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "continuous"
                              },
                              "field": {
                                "type": "string"
                              },
                              "scheme": {
                                "type": "string"
                              },
                              "reverse": {
                                "type": "boolean",
                                "default": false
                              }
                            },
                            "required": [
                              "type",
                              "field",
                              "scheme"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "threshold"
                              },
                              "field": {
                                "type": "string"
                              },
                              "threshold": {
                                "type": "number"
                              },
                              "sentiment": {
                                "type": "string",
                                "enum": [
                                  "above-positive",
                                  "above-negative"
                                ],
                                "default": "above-positive"
                              }
                            },
                            "required": [
                              "type",
                              "field",
                              "threshold"
                            ],
                            "additionalProperties": false
                          }
                        ]
                      },
                      "referenceLines": {
                        "type": "object",
                        "properties": {
                          "medianX": {
                            "type": "boolean",
                            "default": false
                          },
                          "medianY": {
                            "type": "boolean",
                            "default": false
                          },
                          "targets": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "slope": {
                                  "type": "number"
                                },
                                "label": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "slope",
                                "label"
                              ],
                              "additionalProperties": false
                            }
                          },
                          "regression": {
                            "type": "boolean",
                            "default": false
                          }
                        },
                        "additionalProperties": false
                      },
                      "table": {
                        "type": "object",
                        "properties": {
                          "columns": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "field": {
                                  "type": "string"
                                },
                                "label": {
                                  "type": "string"
                                },
                                "format": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "field",
                                "label"
                              ],
                              "additionalProperties": false
                            }
                          }
                        },
                        "required": [
                          "columns"
                        ],
                        "additionalProperties": false
                      },
                      "width": {
                        "type": "number",
                        "default": 700
                      },
                      "height": {
                        "type": "number",
                        "default": 450
                      }
                    },
                    "required": [
                      "type",
                      "data",
                      "x",
                      "y"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "const": "timeseries"
                      },
                      "data": {
                        "type": "object",
                        "properties": {
                          "current": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "date": {
                                  "type": "string"
                                },
                                "values": {
                                  "type": "object",
                                  "additionalProperties": {
                                    "type": "number"
                                  }
                                }
                              },
                              "required": [
                                "date",
                                "values"
                              ],
                              "additionalProperties": false
                            }
                          },
                          "previous": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "date": {
                                  "type": "string"
                                },
                                "values": {
                                  "type": "object",
                                  "additionalProperties": {
                                    "type": "number"
                                  }
                                }
                              },
                              "required": [
                                "date",
                                "values"
                              ],
                              "additionalProperties": false
                            }
                          },
                          "projection": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "date": {
                                  "type": "string"
                                },
                                "values": {
                                  "type": "object",
                                  "additionalProperties": {
                                    "type": "number"
                                  }
                                }
                              },
                              "required": [
                                "date",
                                "values"
                              ],
                              "additionalProperties": false
                            }
                          }
                        },
                        "required": [
                          "current"
                        ],
                        "additionalProperties": false
                      },
                      "primaryAxis": {
                        "type": "object",
                        "properties": {
                          "field": {
                            "type": "string"
                          },
                          "label": {
                            "type": "string"
                          },
                          "mark": {
                            "type": "string",
                            "enum": [
                              "bar",
                              "area",
                              "line"
                            ]
                          },
                          "groupBars": {
                            "type": "boolean"
                          }
                        },
                        "required": [
                          "field",
                          "label",
                          "mark"
                        ],
                        "additionalProperties": false
                      },
                      "secondaryAxis": {
                        "type": "object",
                        "properties": {
                          "field": {
                            "type": "string"
                          },
                          "label": {
                            "type": "string"
                          },
                          "dash": {
                            "type": "string",
                            "enum": [
                              "solid",
                              "dashed"
                            ],
                            "default": "solid"
                          }
                        },
                        "required": [
                          "field",
                          "label"
                        ],
                        "additionalProperties": false
                      },
                      "width": {
                        "type": "number",
                        "default": 700
                      },
                      "height": {
                        "type": "number",
                        "default": 400
                      }
                    },
                    "required": [
                      "type",
                      "data",
                      "primaryAxis"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "const": "funnel"
                      },
                      "data": {
                        "type": "object",
                        "properties": {
                          "stages": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          },
                          "volume": {
                            "type": "array",
                            "items": {
                              "type": "number"
                            }
                          },
                          "costPer": {
                            "type": "array",
                            "items": {
                              "type": "number"
                            }
                          }
                        },
                        "required": [
                          "stages",
                          "volume"
                        ],
                        "additionalProperties": false
                      },
                      "showConversionRates": {
                        "type": "boolean",
                        "default": true
                      },
                      "showCostPer": {
                        "type": "boolean",
                        "default": true
                      },
                      "colorScheme": {
                        "type": "string",
                        "default": "Blues"
                      },
                      "width": {
                        "type": "number",
                        "default": 700
                      },
                      "height": {
                        "type": "number",
                        "default": 350
                      }
                    },
                    "required": [
                      "type",
                      "data"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "const": "waterfall"
                      },
                      "data": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "label": {
                              "type": "string"
                            },
                            "value": {
                              "type": "number"
                            },
                            "colorValue": {
                              "type": "number"
                            }
                          },
                          "required": [
                            "label",
                            "value",
                            "colorValue"
                          ],
                          "additionalProperties": false
                        }
                      },
                      "colorScheme": {
                        "type": "string",
                        "default": "RdYlGn"
                      },
                      "colorLabel": {
                        "type": "string",
                        "default": "CPA ($)"
                      },
                      "valueLabel": {
                        "type": "string",
                        "default": "Cumulative Spend ($)"
                      },
                      "width": {
                        "type": "number",
                        "default": 700
                      },
                      "height": {
                        "type": "number"
                      }
                    },
                    "required": [
                      "type",
                      "data"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "const": "choropleth"
                      },
                      "data": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "state": {
                              "type": "string"
                            },
                            "value": {
                              "type": "number"
                            },
                            "meta": {
                              "type": "object",
                              "additionalProperties": {
                                "type": [
                                  "string",
                                  "number",
                                  "null"
                                ]
                              }
                            }
                          },
                          "required": [
                            "state",
                            "value"
                          ],
                          "additionalProperties": false
                        }
                      },
                      "valueLabel": {
                        "type": "string"
                      },
                      "colorScheme": {
                        "type": "string",
                        "default": "YlOrRd"
                      },
                      "colorType": {
                        "type": "string",
                        "enum": [
                          "quantize",
                          "linear",
                          "threshold"
                        ],
                        "default": "quantize"
                      },
                      "reverse": {
                        "type": "boolean",
                        "default": false
                      },
                      "tip": {
                        "type": "object",
                        "properties": {
                          "fields": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "field": {
                                  "type": "string"
                                },
                                "label": {
                                  "type": "string"
                                },
                                "format": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "field",
                                "label"
                              ],
                              "additionalProperties": false
                            }
                          }
                        },
                        "required": [
                          "fields"
                        ],
                        "additionalProperties": false
                      },
                      "width": {
                        "type": "number",
                        "default": 700
                      },
                      "height": {
                        "type": "number",
                        "default": 450
                      }
                    },
                    "required": [
                      "type",
                      "data",
                      "valueLabel"
                    ],
                    "additionalProperties": false
                  }
                ]
              }
            },
            "required": [
              "reason",
              "chart"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Brief explanation of why you are rendering this chart",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            },
            {
              "name": "chart",
              "type": "object",
              "required": true,
              "description": "Chart configuration. Supported types: bar, scatter, timeseries, funnel, waterfall, choropleth."
            }
          ],
          "examples": [],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "meta_ads_render_chart",
              "relationship": "cross-platform"
            },
            {
              "name": "google_ads_render_chart",
              "relationship": "cross-platform"
            },
            {
              "name": "reddit_ads_render_chart",
              "relationship": "cross-platform"
            },
            {
              "name": "microsoft_ads_render_chart",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "app",
          "chart_types": [
            "bar",
            "scatter",
            "timeseries",
            "funnel",
            "waterfall",
            "choropleth"
          ]
        },
        {
          "name": "linkedin_ads_list_competitor_ads",
          "title": "List Competitor Ads",
          "description": "List a competitor's ads from the scraped LinkedIn Ad Library corpus — real creative content (copy, CTA, landing URL, media metadata), not just library links. Includes posts from employees' own profiles that the advertiser paid for — each ad says attribution: \"advertiser\" (its company page) or \"payer\" (an employee post, with posted_by naming the person). Filter by active_only (still running), display_format (e.g. sponsored_status_update, sponsored_video, sponsored_update_linkedin_article), first_seen_since / first_seen_until (when the ad first appeared — the platform's start date, else when Hopkin first scraped it; use these for \"new ads\" and read count), since (last seen by a scrape on/after a date, so long-running ads match too), and search (full-text over ad copy). Requires no LinkedIn connection — the corpus is maintained by Hopkin's daily scrape of tracked advertisers. Get advertiser IDs from linkedin_ads_list_tracked_competitors or linkedin_ads_track_competitor. Each ad leaves out raw_data, the raw scraped payload behind these fields, unless include_raw is set. ${LINKEDIN_RAW_ONLY_DATA} raw_data is large, so pair include_raw with a small limit.",
          "cli_command": "hopkin linkedin competitor-ads list",
          "cli_flags": [
            {
              "flag": "--advertiser-id",
              "description": "The advertiser ID from linkedin_ads_list_tracked_competitors or linkedin_ads_track_competitor",
              "type": "string",
              "required": true
            },
            {
              "flag": "--active-only",
              "description": "Only ads still running (no stopped_running_at)",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--display-format",
              "description": "Filter by creative type as recorded from the LinkedIn Ad Library (case-insensitive). Observed values: sponsored_status_update, sponsored_video, sponsored_update_linkedin_article, sponsored_message, sponsored_update_native_document, sponsored_update_event. sponsored_status_update is a single-image post; the vocabulary is LinkedIn’s own and open-ended.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--since",
              "description": "Only ads a scrape last saw on or after this ISO date/timestamp (e.g. 2026-07-01) — compares last_seen_at, so an ad running for months still matches. For ads that are NEW, use first_seen_since.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--first-seen-since",
              "description": "Only ads that first appeared on or after this ISO date/timestamp (e.g. 2026-10-05). \"First appeared\" is the platform's own start date (started_running_at) when the ad has one, else first_seen_at — when Hopkin first scraped it, so a newly tracked advertiser's older ads can count as new. For \"new ads in the last 7 days\", pass the date 7 days ago with limit: 1 and read count.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--first-seen-until",
              "description": "Only ads that first appeared on or before this ISO date/timestamp — same clock as first_seen_since. A date alone (e.g. 2026-10-11) includes that whole UTC day.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--search",
              "description": "Case-insensitive search over ad copy (primary text, headline, description), up to 100 characters",
              "type": "string",
              "required": false
            },
            {
              "flag": "--limit",
              "description": "Number of ads per page (default: 20, max: 100)",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--cursor",
              "description": "Pagination cursor from previous response",
              "type": "string",
              "required": false
            },
            {
              "flag": "--include-raw",
              "description": "Also return raw_data, the scraped LinkedIn Ad Library payload behind the normalized fields. Off by default. raw_data is the only place an ad's EU-DSA transparency data lives, under raw_data.detail: payer (the legal 'Paid for by' identity), total_impressions (an impression range), impressions_by_country, targeting and video_urls. It is there only when the scrape read the ad's detail page, and LinkedIn shows impressions and targeting only for ads delivered in the EU. Set include_raw for who pays for an ad, its impressions or reach by country, or its targeting. Raw rows are large (~1.4 KB per ad on average and up to 15 KB), so pass a small `limit` (e.g. 3-5) when setting this.",
              "type": "boolean",
              "required": false
            }
          ],
          "category": "competitor-ads",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": false
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "advertiser_id": {
                "type": "string",
                "minLength": 1,
                "description": "The advertiser ID from linkedin_ads_list_tracked_competitors or linkedin_ads_track_competitor"
              },
              "active_only": {
                "type": "boolean",
                "description": "Only ads still running (no stopped_running_at)"
              },
              "display_format": {
                "type": "string",
                "minLength": 1,
                "description": "Filter by creative type as recorded from the LinkedIn Ad Library (case-insensitive). Observed values: sponsored_status_update, sponsored_video, sponsored_update_linkedin_article, sponsored_message, sponsored_update_native_document, sponsored_update_event. sponsored_status_update is a single-image post; the vocabulary is LinkedIn’s own and open-ended."
              },
              "since": {
                "type": "string",
                "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d+)?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
                "description": "Only ads a scrape last saw on or after this ISO date/timestamp (e.g. 2026-07-01) — compares last_seen_at, so an ad running for months still matches. For ads that are NEW, use first_seen_since."
              },
              "first_seen_since": {
                "type": "string",
                "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d+)?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
                "description": "Only ads that first appeared on or after this ISO date/timestamp (e.g. 2026-10-05). \"First appeared\" is the platform's own start date (started_running_at) when the ad has one, else first_seen_at — when Hopkin first scraped it, so a newly tracked advertiser's older ads can count as new. For \"new ads in the last 7 days\", pass the date 7 days ago with limit: 1 and read count."
              },
              "first_seen_until": {
                "type": "string",
                "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d+)?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
                "description": "Only ads that first appeared on or before this ISO date/timestamp — same clock as first_seen_since. A date alone (e.g. 2026-10-11) includes that whole UTC day."
              },
              "search": {
                "type": "string",
                "minLength": 1,
                "maxLength": 100,
                "description": "Case-insensitive search over ad copy (primary text, headline, description), up to 100 characters"
              },
              "limit": {
                "type": "integer",
                "minimum": 1,
                "maximum": 100,
                "description": "Number of ads per page (default: 20, max: 100)"
              },
              "cursor": {
                "type": "string",
                "minLength": 1,
                "description": "Pagination cursor from previous response"
              },
              "include_raw": {
                "type": "boolean",
                "description": "Also return raw_data, the scraped LinkedIn Ad Library payload behind the normalized fields. Off by default. raw_data is the only place an ad's EU-DSA transparency data lives, under raw_data.detail: payer (the legal 'Paid for by' identity), total_impressions (an impression range), impressions_by_country, targeting and video_urls. It is there only when the scrape read the ad's detail page, and LinkedIn shows impressions and targeting only for ads delivered in the EU. Set include_raw for who pays for an ad, its impressions or reach by country, or its targeting. Raw rows are large (~1.4 KB per ad on average and up to 15 KB), so pass a small `limit` (e.g. 3-5) when setting this."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "advertiser_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "advertiser_id",
              "type": "string",
              "required": true,
              "description": "The advertiser ID from linkedin_ads_list_tracked_competitors or linkedin_ads_track_competitor",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "active_only",
              "type": "boolean",
              "required": false,
              "description": "Only ads still running (no stopped_running_at)"
            },
            {
              "name": "display_format",
              "type": "string",
              "required": false,
              "description": "Filter by creative type as recorded from the LinkedIn Ad Library (case-insensitive). Observed values: sponsored_status_update, sponsored_video, sponsored_update_linkedin_article, sponsored_message, sponsored_update_native_document, sponsored_update_event. sponsored_status_update is a single-image post; the vocabulary is LinkedIn’s own and open-ended.",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "since",
              "type": "string",
              "required": false,
              "description": "Only ads a scrape last saw on or after this ISO date/timestamp (e.g. 2026-07-01) — compares last_seen_at, so an ad running for months still matches. For ads that are NEW, use first_seen_since.",
              "constraints": {
                "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d+)?)?(Z|[+-]\\d{2}:\\d{2})?)?$"
              }
            },
            {
              "name": "first_seen_since",
              "type": "string",
              "required": false,
              "description": "Only ads that first appeared on or after this ISO date/timestamp (e.g. 2026-10-05). \"First appeared\" is the platform's own start date (started_running_at) when the ad has one, else first_seen_at — when Hopkin first scraped it, so a newly tracked advertiser's older ads can count as new. For \"new ads in the last 7 days\", pass the date 7 days ago with limit: 1 and read count.",
              "constraints": {
                "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d+)?)?(Z|[+-]\\d{2}:\\d{2})?)?$"
              }
            },
            {
              "name": "first_seen_until",
              "type": "string",
              "required": false,
              "description": "Only ads that first appeared on or before this ISO date/timestamp — same clock as first_seen_since. A date alone (e.g. 2026-10-11) includes that whole UTC day.",
              "constraints": {
                "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d+)?)?(Z|[+-]\\d{2}:\\d{2})?)?$"
              }
            },
            {
              "name": "search",
              "type": "string",
              "required": false,
              "description": "Case-insensitive search over ad copy (primary text, headline, description), up to 100 characters",
              "constraints": {
                "min_length": 1,
                "max_length": 100
              }
            },
            {
              "name": "limit",
              "type": "integer",
              "required": false,
              "description": "Number of ads per page (default: 20, max: 100)",
              "constraints": {
                "min": 1,
                "max": 100
              }
            },
            {
              "name": "cursor",
              "type": "string",
              "required": false,
              "description": "Pagination cursor from previous response",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "include_raw",
              "type": "boolean",
              "required": false,
              "description": "Also return raw_data, the scraped LinkedIn Ad Library payload behind the normalized fields. Off by default. raw_data is the only place an ad's EU-DSA transparency data lives, under raw_data.detail: payer (the legal 'Paid for by' identity), total_impressions (an impression range), impressions_by_country, targeting and video_urls. It is there only when the scrape read the ad's detail page, and LinkedIn shows impressions and targeting only for ads delivered in the EU. Set include_raw for who pays for an ad, its impressions or reach by country, or its targeting. Raw rows are large (~1.4 KB per ad on average and up to 15 KB), so pass a small `limit` (e.g. 3-5) when setting this."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "Browse all ads",
              "mcp_params": {
                "advertiser_id": "adv-uuid-from-tracked-list",
                "reason": "Review a competitor’s current creative strategy"
              },
              "cli_command": "hopkin linkedin competitor-ads list --advertiser-id adv-uuid-from-tracked-list",
              "natural_language": "Browse all ads"
            },
            {
              "label": "Active video ads",
              "mcp_params": {
                "advertiser_id": "adv-uuid-from-tracked-list",
                "active_only": true,
                "display_format": "sponsored_video",
                "reason": "Study competitor video creative"
              },
              "cli_command": "hopkin linkedin competitor-ads list --advertiser-id adv-uuid-from-tracked-list --active-only true --display-format sponsored_video",
              "natural_language": "Active video ads"
            },
            {
              "label": "New ads this month",
              "mcp_params": {
                "advertiser_id": "adv-uuid-from-tracked-list",
                "first_seen_since": "2026-08-01",
                "reason": "Find newly launched competitor ads"
              },
              "cli_command": "hopkin linkedin competitor-ads list --advertiser-id adv-uuid-from-tracked-list --first-seen-since 2026-08-01",
              "natural_language": "New ads this month"
            },
            {
              "label": "Search ad copy",
              "mcp_params": {
                "advertiser_id": "adv-uuid-from-tracked-list",
                "search": "free trial",
                "reason": "Find offer-led competitor messaging"
              },
              "cli_command": "hopkin linkedin competitor-ads list --advertiser-id adv-uuid-from-tracked-list --search free trial",
              "natural_language": "Search ad copy"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "meta_ads_list_competitor_ads",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "linkedin_ads_get_competitor_ad",
          "title": "Get Competitor Ad",
          "description": "Fetch one competitor ad in full detail from the scraped corpus: complete copy (headline, primary text, description, CTA), landing URL, run dates, and every media asset with its permanent CDN \\",
          "cli_command": "hopkin linkedin competitor-ad get",
          "cli_flags": [
            {
              "flag": "--ad",
              "description": "The library ad ID from linkedin_ads_list_competitor_ads",
              "type": "string",
              "required": true
            },
            {
              "flag": "--include-frames",
              "description": "Optional, no effect: frame URLs are always listed. Use stride/start/end to choose which frames.",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--stride",
              "description": "List every Nth extracted frame. Defaults to a stride that fits each video into its share of 120 frame URLs per ad (split evenly between the ad's videos).",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--start",
              "description": "Only frames at or after this offset into the video, in seconds",
              "type": "number",
              "required": false
            },
            {
              "flag": "--end",
              "description": "Only frames at or before this offset into the video, in seconds",
              "type": "number",
              "required": false
            },
            {
              "flag": "--include-raw",
              "description": "Also return raw_data, the scraped LinkedIn Ad Library payload behind the normalized fields. Off by default. raw_data is the only place an ad's EU-DSA transparency data lives, under raw_data.detail: payer (the legal 'Paid for by' identity), total_impressions (an impression range), impressions_by_country, targeting and video_urls. It is there only when the scrape read the ad's detail page, and LinkedIn shows impressions and targeting only for ads delivered in the EU. Set include_raw for who pays for an ad, its impressions or reach by country, or its targeting. A raw row is large (~1.4 KB per ad on average and up to 15 KB).",
              "type": "boolean",
              "required": false
            }
          ],
          "category": "competitor-ad",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": false
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "ad_id": {
                "type": "string",
                "minLength": 1,
                "description": "The library ad ID from linkedin_ads_list_competitor_ads"
              },
              "include_frames": {
                "type": "boolean",
                "description": "Optional, no effect: frame URLs are always listed. Use stride/start/end to choose which frames."
              },
              "stride": {
                "type": "integer",
                "minimum": 1,
                "description": "List every Nth extracted frame. Defaults to a stride that fits each video into its share of 120 frame URLs per ad (split evenly between the ad's videos)."
              },
              "start": {
                "type": "number",
                "minimum": 0,
                "description": "Only frames at or after this offset into the video, in seconds"
              },
              "end": {
                "type": "number",
                "minimum": 0,
                "description": "Only frames at or before this offset into the video, in seconds"
              },
              "include_raw": {
                "type": "boolean",
                "description": "Also return raw_data, the scraped LinkedIn Ad Library payload behind the normalized fields. Off by default. raw_data is the only place an ad's EU-DSA transparency data lives, under raw_data.detail: payer (the legal 'Paid for by' identity), total_impressions (an impression range), impressions_by_country, targeting and video_urls. It is there only when the scrape read the ad's detail page, and LinkedIn shows impressions and targeting only for ads delivered in the EU. Set include_raw for who pays for an ad, its impressions or reach by country, or its targeting. A raw row is large (~1.4 KB per ad on average and up to 15 KB)."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "ad_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "ad_id",
              "type": "string",
              "required": true,
              "description": "The library ad ID from linkedin_ads_list_competitor_ads",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "include_frames",
              "type": "boolean",
              "required": false,
              "description": "Optional, no effect: frame URLs are always listed. Use stride/start/end to choose which frames."
            },
            {
              "name": "stride",
              "type": "integer",
              "required": false,
              "description": "List every Nth extracted frame. Defaults to a stride that fits each video into its share of 120 frame URLs per ad (split evenly between the ad's videos).",
              "constraints": {
                "min": 1
              }
            },
            {
              "name": "start",
              "type": "number",
              "required": false,
              "description": "Only frames at or after this offset into the video, in seconds",
              "constraints": {
                "min": 0
              }
            },
            {
              "name": "end",
              "type": "number",
              "required": false,
              "description": "Only frames at or before this offset into the video, in seconds",
              "constraints": {
                "min": 0
              }
            },
            {
              "name": "include_raw",
              "type": "boolean",
              "required": false,
              "description": "Also return raw_data, the scraped LinkedIn Ad Library payload behind the normalized fields. Off by default. raw_data is the only place an ad's EU-DSA transparency data lives, under raw_data.detail: payer (the legal 'Paid for by' identity), total_impressions (an impression range), impressions_by_country, targeting and video_urls. It is there only when the scrape read the ad's detail page, and LinkedIn shows impressions and targeting only for ads delivered in the EU. Set include_raw for who pays for an ad, its impressions or reach by country, or its targeting. A raw row is large (~1.4 KB per ad on average and up to 15 KB)."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "Inspect one ad",
              "mcp_params": {
                "ad_id": "ad-uuid-from-list",
                "reason": "Read the full copy and media for this ad"
              },
              "cli_command": "hopkin linkedin competitor-ad get --ad ad-uuid-from-list",
              "natural_language": "Inspect one ad"
            },
            {
              "label": "Frame URLs for the first 10 seconds",
              "mcp_params": {
                "ad_id": "ad-uuid-from-list",
                "start": 0,
                "end": 10,
                "reason": "List the opening frames of the video creative"
              },
              "cli_command": "hopkin linkedin competitor-ad get --ad ad-uuid-from-list --start 0 --end 10",
              "natural_language": "Frame URLs for the first 10 seconds"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "meta_ads_get_competitor_ad",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "linkedin_ads_track_competitor",
          "title": "Track Competitor",
          "description": "Register a LinkedIn advertiser for daily ad-library tracking — its company-page ads plus the posts from employees' own profiles it pays for. Pass organization_id when you know it — the numeric LinkedIn organization ID (the number in linkedin.com/company/<id>, or in an Ad Library URL's companyIds=). It is exact: an organization not yet in the corpus is looked up live by ID (about 20–40 s) and tracked in this same call under its real name; no ads from it → a plain \"no ads\" answer, nothing tracked. company_url accepts the same IDs as a URL — a numeric /company/<id> URL or an Ad Library search URL with one companyIds= (e.g. https://www.linkedin.com/ad-library/search?companyIds=17955831) — while a vanity slug is only a name guess (\"hawkemedia\" is not \"Hawke Media\" — pass name then). Otherwise pass name: the company name exactly as it appears on its LinkedIn page (e.g. \"Refine Labs\"). The name search is fuzzy: a name not yet in the corpus is looked up live and tracked if exactly one advertiser has that name; several advertisers → a candidate list and NOTHING tracked (retry with organization_id from it); none → a plain answer that LinkedIn has no ads from that name. Short or generic names (e.g. \"Remote\") can surface only lookalikes — use organization_id for those. countries (ISO codes, or [\"ALL\"]) sets where it is tracked; omit for the default. A new track, or new countries, starts a full background scrape (full_scrape: \"started\"); the response reports seeded, countries, full_scrape and any warning separately. Undo with linkedin_ads_untrack_competitor — ads already scraped stay in the shared corpus. Requires no LinkedIn connection.",
          "cli_command": "hopkin linkedin track-competitor",
          "cli_flags": [
            {
              "flag": "--name",
              "description": "The company name exactly as shown on its LinkedIn page, e.g. \"Refine Labs\" — use it when you do not have the organization ID. The Ad Library name search is fuzzy: a name not in the corpus yet is looked up live (about 20–40 s) and tracked if exactly one advertiser has that name. Several → candidates, tracks nothing; only similarly named advertisers → those names as candidates to retry with; none → a plain \"no ads\" answer. Short or generic names (e.g. \"Remote\") may surface only lookalikes — pass organization_id then.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--company-url",
              "description": "LinkedIn company page or Ad Library URL. A numeric company URL (https://www.linkedin.com/company/1035) or an Ad Library URL with one companyIds= (https://www.linkedin.com/ad-library/search?companyIds=17955831) resolves exactly like organization_id. A vanity slug (/company/refine-labs) is only a NAME GUESS (\"refine labs\"), tracked if it exactly matches an advertiser — slugs such as \"hawkemedia\" often do not; pass name then.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--organization-id",
              "description": "RECOMMENDED when known. Numeric LinkedIn organization ID — the number in linkedin.com/company/<id> or in an Ad Library URL's companyIds=. Exact: an organization not in the corpus yet is looked up live by ID (about 20–40 s) and tracked under its real name; no ads from it → a plain \"no ads\" answer, nothing tracked.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--countries",
              "description": "ISO-3166-1 alpha-2 codes to track this advertiser in, e.g. [\"US\",\"GB\",\"DE\"] (use \"GB\", not \"UK\"), or [\"ALL\"]. Omit for the default sweep countries. Re-tracking with a different set updates it.",
              "type": "array",
              "required": false
            }
          ],
          "category": "track-competitor",
          "annotations": {
            "readOnly": false,
            "destructive": false,
            "idempotent": true,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "name": {
                "type": "string",
                "minLength": 1,
                "maxLength": 100,
                "description": "The company name exactly as shown on its LinkedIn page, e.g. \"Refine Labs\" — use it when you do not have the organization ID. The Ad Library name search is fuzzy: a name not in the corpus yet is looked up live (about 20–40 s) and tracked if exactly one advertiser has that name. Several → candidates, tracks nothing; only similarly named advertisers → those names as candidates to retry with; none → a plain \"no ads\" answer. Short or generic names (e.g. \"Remote\") may surface only lookalikes — pass organization_id then."
              },
              "company_url": {
                "type": "string",
                "format": "uri",
                "description": "LinkedIn company page or Ad Library URL. A numeric company URL (https://www.linkedin.com/company/1035) or an Ad Library URL with one companyIds= (https://www.linkedin.com/ad-library/search?companyIds=17955831) resolves exactly like organization_id. A vanity slug (/company/refine-labs) is only a NAME GUESS (\"refine labs\"), tracked if it exactly matches an advertiser — slugs such as \"hawkemedia\" often do not; pass name then."
              },
              "organization_id": {
                "type": "string",
                "minLength": 1,
                "description": "RECOMMENDED when known. Numeric LinkedIn organization ID — the number in linkedin.com/company/<id> or in an Ad Library URL's companyIds=. Exact: an organization not in the corpus yet is looked up live by ID (about 20–40 s) and tracked under its real name; no ads from it → a plain \"no ads\" answer, nothing tracked."
              },
              "countries": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 2
                },
                "minItems": 1,
                "description": "ISO-3166-1 alpha-2 codes to track this advertiser in, e.g. [\"US\",\"GB\",\"DE\"] (use \"GB\", not \"UK\"), or [\"ALL\"]. Omit for the default sweep countries. Re-tracking with a different set updates it."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "name",
              "type": "string",
              "required": false,
              "description": "The company name exactly as shown on its LinkedIn page, e.g. \"Refine Labs\" — use it when you do not have the organization ID. The Ad Library name search is fuzzy: a name not in the corpus yet is looked up live (about 20–40 s) and tracked if exactly one advertiser has that name. Several → candidates, tracks nothing; only similarly named advertisers → those names as candidates to retry with; none → a plain \"no ads\" answer. Short or generic names (e.g. \"Remote\") may surface only lookalikes — pass organization_id then.",
              "constraints": {
                "min_length": 1,
                "max_length": 100
              }
            },
            {
              "name": "company_url",
              "type": "string",
              "required": false,
              "description": "LinkedIn company page or Ad Library URL. A numeric company URL (https://www.linkedin.com/company/1035) or an Ad Library URL with one companyIds= (https://www.linkedin.com/ad-library/search?companyIds=17955831) resolves exactly like organization_id. A vanity slug (/company/refine-labs) is only a NAME GUESS (\"refine labs\"), tracked if it exactly matches an advertiser — slugs such as \"hawkemedia\" often do not; pass name then."
            },
            {
              "name": "organization_id",
              "type": "string",
              "required": false,
              "description": "RECOMMENDED when known. Numeric LinkedIn organization ID — the number in linkedin.com/company/<id> or in an Ad Library URL's companyIds=. Exact: an organization not in the corpus yet is looked up live by ID (about 20–40 s) and tracked under its real name; no ads from it → a plain \"no ads\" answer, nothing tracked.",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "countries",
              "type": "array",
              "required": false,
              "description": "ISO-3166-1 alpha-2 codes to track this advertiser in, e.g. [\"US\",\"GB\",\"DE\"] (use \"GB\", not \"UK\"), or [\"ALL\"]. Omit for the default sweep countries. Re-tracking with a different set updates it."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "Track by name (looked up live if never scraped)",
              "mcp_params": {
                "name": "Refine Labs",
                "reason": "Start daily tracking of a competitor agency"
              },
              "cli_command": "hopkin linkedin track-competitor --name Refine Labs",
              "natural_language": "Track by name (looked up live if never scraped)"
            },
            {
              "label": "Track across several countries",
              "mcp_params": {
                "name": "Hawke Media",
                "countries": [
                  "US",
                  "GB",
                  "DE"
                ],
                "reason": "Watch a competitor in every market we sell in"
              },
              "cli_command": "hopkin linkedin track-competitor --name Hawke Media --countries US,GB,DE",
              "natural_language": "Track across several countries"
            },
            {
              "label": "Track by organization ID (exact — looked up live if never scraped)",
              "mcp_params": {
                "organization_id": "17955831",
                "reason": "Track a competitor whose LinkedIn organization ID we know"
              },
              "cli_command": "hopkin linkedin track-competitor --organization-id 17955831",
              "natural_language": "Track by organization ID (exact — looked up live if never scraped)"
            },
            {
              "label": "Track by Ad Library URL",
              "mcp_params": {
                "company_url": "https://www.linkedin.com/ad-library/search?companyIds=17955831",
                "reason": "Track the competitor from the Ad Library link the user pasted"
              },
              "cli_command": "hopkin linkedin track-competitor --company-url https://www.linkedin.com/ad-library/search?companyIds=17955831",
              "natural_language": "Track by Ad Library URL"
            },
            {
              "label": "Track by company URL",
              "mcp_params": {
                "company_url": "https://www.linkedin.com/company/1035",
                "reason": "Track a competitor from their LinkedIn company page link"
              },
              "cli_command": "hopkin linkedin track-competitor --company-url https://www.linkedin.com/company/1035",
              "natural_language": "Track by company URL"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "meta_ads_track_competitor",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "linkedin_ads_untrack_competitor",
          "title": "Untrack Competitor",
          "description": "Stop tracking a LinkedIn advertiser. Removes only your tracking registration — the shared ad corpus is untouched, and untracking an advertiser that was never tracked succeeds with removed: false. Get advertiser IDs from linkedin_ads_list_tracked_competitors.",
          "cli_command": "hopkin linkedin untrack-competitor",
          "cli_flags": [
            {
              "flag": "--advertiser-id",
              "description": "The advertiser ID from linkedin_ads_list_tracked_competitors",
              "type": "string",
              "required": true
            }
          ],
          "category": "untrack-competitor",
          "annotations": {
            "readOnly": false,
            "destructive": true,
            "idempotent": true,
            "openWorld": false
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "advertiser_id": {
                "type": "string",
                "minLength": 1,
                "description": "The advertiser ID from linkedin_ads_list_tracked_competitors"
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "advertiser_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "advertiser_id",
              "type": "string",
              "required": true,
              "description": "The advertiser ID from linkedin_ads_list_tracked_competitors",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "Stop tracking",
              "mcp_params": {
                "advertiser_id": "adv-uuid-from-tracked-list",
                "reason": "No longer a relevant competitor"
              },
              "cli_command": "hopkin linkedin untrack-competitor --advertiser-id adv-uuid-from-tracked-list",
              "natural_language": "Stop tracking"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "meta_ads_untrack_competitor",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "linkedin_ads_list_tracked_competitors",
          "title": "List Tracked Competitors",
          "description": "List the LinkedIn advertisers you are tracking: advertiser name, organization ID, the countries you track it in, when tracking started, last scrape time and status, its ad count in the corpus, and payer_ad_count — the posts from employees' profiles it paid for. Scrape health is flagged per row — advertisers with no successful scrape in the last 48 hours are marked stale, and a non-ok scrape status (blocked, schema_error, empty) carries an explicit scrape_warning; treat flagged rows' corpus data as possibly out of date. Use the returned advertiser IDs with linkedin_ads_list_competitor_ads to browse their ads. Requires no LinkedIn connection.",
          "cli_command": "hopkin linkedin tracked-competitors list",
          "cli_flags": [
            {
              "flag": "--limit",
              "description": "Number of tracked competitors per page (default: 20, max: 100)",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--cursor",
              "description": "Pagination cursor from previous response",
              "type": "string",
              "required": false
            }
          ],
          "category": "tracked-competitors",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": false
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "limit": {
                "type": "integer",
                "minimum": 1,
                "maximum": 100,
                "description": "Number of tracked competitors per page (default: 20, max: 100)"
              },
              "cursor": {
                "type": "string",
                "minLength": 1,
                "description": "Pagination cursor from previous response"
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "limit",
              "type": "integer",
              "required": false,
              "description": "Number of tracked competitors per page (default: 20, max: 100)",
              "constraints": {
                "min": 1,
                "max": 100
              }
            },
            {
              "name": "cursor",
              "type": "string",
              "required": false,
              "description": "Pagination cursor from previous response",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "List tracked",
              "mcp_params": {
                "reason": "Review which competitors are being tracked"
              },
              "cli_command": "hopkin linkedin tracked-competitors list",
              "natural_language": "List tracked"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "meta_ads_list_tracked_competitors",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "linkedin_ads_list_connections",
          "title": "List LinkedIn Connections",
          "description": "List the LinkedIn Ads connections available to you — both ones you own and ones shared with you via an organization. Use this to discover connection IDs for set_default / share / rename / revoke.",
          "cli_command": "hopkin linkedin connections list",
          "cli_flags": [],
          "category": "connections",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": false
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "List connections",
              "mcp_params": {
                "reason": "User asked which LinkedIn accounts they have connected"
              },
              "cli_command": "hopkin linkedin connections list",
              "natural_language": "List connections"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "meta_ads_list_connections",
              "relationship": "cross-platform"
            },
            {
              "name": "google_ads_list_connections",
              "relationship": "cross-platform"
            },
            {
              "name": "reddit_ads_list_connections",
              "relationship": "cross-platform"
            },
            {
              "name": "tiktok_ads_list_connections",
              "relationship": "cross-platform"
            },
            {
              "name": "chatgpt_ads_list_connections",
              "relationship": "cross-platform"
            },
            {
              "name": "microsoft_ads_list_connections",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "linkedin_ads_set_default_connection",
          "title": "Set Default LinkedIn Connection",
          "description": "Set the LinkedIn connection that should be used by default for subsequent LinkedIn Ads tool calls. The default is scoped to the calling actor (your user account, or the API key being used).",
          "cli_command": "hopkin linkedin set-default-connection",
          "cli_flags": [
            {
              "flag": "--connection-id",
              "description": "UUID of the connection to mark as the actor's default LinkedIn connection.",
              "type": "string",
              "required": true
            }
          ],
          "category": "set-default-connection",
          "annotations": {
            "readOnly": false,
            "destructive": false,
            "idempotent": true,
            "openWorld": false
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "UUID of the connection to mark as the actor's default LinkedIn connection."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "connection_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "connection_id",
              "type": "string",
              "required": true,
              "description": "UUID of the connection to mark as the actor's default LinkedIn connection."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "Set default",
              "mcp_params": {
                "connection_id": "00000000-0000-0000-0000-000000000001",
                "reason": "User picked their primary LinkedIn workspace"
              },
              "cli_command": "hopkin linkedin set-default-connection --connection-id 00000000-0000-0000-0000-000000000001",
              "natural_language": "Set default"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "meta_ads_set_default_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "google_ads_set_default_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "reddit_ads_set_default_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "tiktok_ads_set_default_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "chatgpt_ads_set_default_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "microsoft_ads_set_default_connection",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "linkedin_ads_share_connection",
          "title": "Share LinkedIn Connection With Organization",
          "description": "Share an owned LinkedIn connection with all members of your organization, so teammates can use it without having to reconnect LinkedIn themselves. You must be the owner of the connection.",
          "cli_command": "hopkin linkedin share-connection",
          "cli_flags": [
            {
              "flag": "--connection-id",
              "description": "UUID of the connection to share with your organization. You must be the owner.",
              "type": "string",
              "required": true
            }
          ],
          "category": "share-connection",
          "annotations": {
            "readOnly": false,
            "destructive": false,
            "idempotent": true,
            "openWorld": false
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "UUID of the connection to share with your organization. You must be the owner."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "connection_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "connection_id",
              "type": "string",
              "required": true,
              "description": "UUID of the connection to share with your organization. You must be the owner."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "Share with org",
              "mcp_params": {
                "connection_id": "00000000-0000-0000-0000-000000000001",
                "reason": "User asked to share this LinkedIn connection with their teammates"
              },
              "cli_command": "hopkin linkedin share-connection --connection-id 00000000-0000-0000-0000-000000000001",
              "natural_language": "Share with org"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "meta_ads_share_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "google_ads_share_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "reddit_ads_share_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "tiktok_ads_share_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "chatgpt_ads_share_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "microsoft_ads_share_connection",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "linkedin_ads_unshare_connection",
          "title": "Unshare LinkedIn Connection From Organization",
          "description": "Stop sharing an owned LinkedIn connection with your organization. Teammates lose access immediately. You must be the owner.",
          "cli_command": "hopkin linkedin unshare-connection",
          "cli_flags": [
            {
              "flag": "--connection-id",
              "description": "UUID of the connection to stop sharing with your organization. You must be the owner.",
              "type": "string",
              "required": true
            }
          ],
          "category": "unshare-connection",
          "annotations": {
            "readOnly": false,
            "destructive": true,
            "idempotent": true,
            "openWorld": false
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "UUID of the connection to stop sharing with your organization. You must be the owner."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "connection_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "connection_id",
              "type": "string",
              "required": true,
              "description": "UUID of the connection to stop sharing with your organization. You must be the owner."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "Stop sharing",
              "mcp_params": {
                "connection_id": "00000000-0000-0000-0000-000000000001",
                "reason": "User no longer wants the team to access this LinkedIn connection"
              },
              "cli_command": "hopkin linkedin unshare-connection --connection-id 00000000-0000-0000-0000-000000000001",
              "natural_language": "Stop sharing"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "meta_ads_unshare_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "google_ads_unshare_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "reddit_ads_unshare_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "tiktok_ads_unshare_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "chatgpt_ads_unshare_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "microsoft_ads_unshare_connection",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "linkedin_ads_rename_connection",
          "title": "Rename LinkedIn Connection",
          "description": "Rename the display name of an owned LinkedIn connection. The OAuth grant and underlying account are unaffected — this only changes the human-readable label. You must be the owner.",
          "cli_command": "hopkin linkedin rename-connection",
          "cli_flags": [
            {
              "flag": "--connection-id",
              "description": "UUID of the connection to rename. You must be the owner.",
              "type": "string",
              "required": true
            },
            {
              "flag": "--display-name",
              "description": "New human-readable name for the connection.",
              "type": "string",
              "required": true
            }
          ],
          "category": "rename-connection",
          "annotations": {
            "readOnly": false,
            "destructive": false,
            "idempotent": true,
            "openWorld": false
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "UUID of the connection to rename. You must be the owner."
              },
              "display_name": {
                "type": "string",
                "minLength": 1,
                "maxLength": 120,
                "description": "New human-readable name for the connection."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "connection_id",
              "display_name",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "connection_id",
              "type": "string",
              "required": true,
              "description": "UUID of the connection to rename. You must be the owner."
            },
            {
              "name": "display_name",
              "type": "string",
              "required": true,
              "description": "New human-readable name for the connection.",
              "constraints": {
                "min_length": 1,
                "max_length": 120
              }
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "Rename",
              "mcp_params": {
                "connection_id": "00000000-0000-0000-0000-000000000001",
                "display_name": "Acme — Production",
                "reason": "User wanted a clearer label for this LinkedIn connection"
              },
              "cli_command": "hopkin linkedin rename-connection --connection-id 00000000-0000-0000-0000-000000000001 --display-name Acme — Production",
              "natural_language": "Rename"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "meta_ads_rename_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "google_ads_rename_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "reddit_ads_rename_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "tiktok_ads_rename_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "chatgpt_ads_rename_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "microsoft_ads_rename_connection",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "linkedin_ads_revoke_connection",
          "title": "Revoke LinkedIn Connection",
          "description": "Revoke (soft-delete) an owned LinkedIn connection. Any defaults pointing to it are invalidated and shared org members lose access. The OAuth grant at LinkedIn is NOT revoked by this tool — the user must disconnect via the dashboard if they want to fully revoke at LinkedIn. You must be the owner.",
          "cli_command": "hopkin linkedin revoke-connection",
          "cli_flags": [
            {
              "flag": "--connection-id",
              "description": "UUID of the connection to revoke. You must be the owner.",
              "type": "string",
              "required": true
            }
          ],
          "category": "revoke-connection",
          "annotations": {
            "readOnly": false,
            "destructive": true,
            "idempotent": true,
            "openWorld": false
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "UUID of the connection to revoke. You must be the owner."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "connection_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "connection_id",
              "type": "string",
              "required": true,
              "description": "UUID of the connection to revoke. You must be the owner."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "Revoke",
              "mcp_params": {
                "connection_id": "00000000-0000-0000-0000-000000000001",
                "reason": "User asked to disconnect this LinkedIn account"
              },
              "cli_command": "hopkin linkedin revoke-connection --connection-id 00000000-0000-0000-0000-000000000001",
              "natural_language": "Revoke"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "meta_ads_revoke_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "google_ads_revoke_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "reddit_ads_revoke_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "tiktok_ads_revoke_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "chatgpt_ads_revoke_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "microsoft_ads_revoke_connection",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "linkedin_ads_list_creatives",
          "title": "List LinkedIn Creatives",
          "description": "List LinkedIn Creatives (ads) for an ad account. Ad copy (headline, body text, destination URL) is always resolved from linked posts/shares.",
          "cli_command": "hopkin linkedin creatives list",
          "cli_flags": [
            {
              "flag": "--account",
              "description": "Ad account ID (numeric, without URN prefix).",
              "type": "string",
              "required": true
            },
            {
              "flag": "--campaign-ids",
              "description": "Filter by campaign IDs (numeric).",
              "type": "array",
              "required": false
            },
            {
              "flag": "--status",
              "description": "Filter by intended status. Defaults to [ACTIVE, PAUSED, DRAFT].",
              "type": "array",
              "required": false
            },
            {
              "flag": "--creative-id",
              "description": "Fetch a single creative by URN or numeric ID.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--creative-ids",
              "description": "Fetch specific creatives by numeric IDs (batch filter).",
              "type": "array",
              "required": false
            },
            {
              "flag": "--limit",
              "description": "",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--cursor",
              "description": "",
              "type": "string",
              "required": false
            },
            {
              "flag": "--refresh",
              "description": "",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "creatives",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "account_id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 64,
                "description": "Ad account ID (numeric, without URN prefix)."
              },
              "campaign_ids": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "minItems": 1,
                "maxItems": 20,
                "description": "Filter by campaign IDs (numeric)."
              },
              "status": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "ACTIVE",
                    "PAUSED",
                    "DRAFT",
                    "ARCHIVED",
                    "CANCELED",
                    "PENDING_DELETION",
                    "REMOVED"
                  ]
                },
                "description": "Filter by intended status. Defaults to [ACTIVE, PAUSED, DRAFT]."
              },
              "creative_id": {
                "type": "string",
                "maxLength": 64,
                "description": "Fetch a single creative by URN or numeric ID."
              },
              "creative_ids": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "minItems": 1,
                "maxItems": 50,
                "description": "Fetch specific creatives by numeric IDs (batch filter)."
              },
              "limit": {
                "type": "integer",
                "minimum": 1,
                "maximum": 100,
                "default": 20
              },
              "cursor": {
                "type": "string"
              },
              "refresh": {
                "type": "boolean",
                "default": false
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "account_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "account_id",
              "type": "string",
              "required": true,
              "description": "Ad account ID (numeric, without URN prefix).",
              "constraints": {
                "min_length": 1,
                "max_length": 64
              }
            },
            {
              "name": "campaign_ids",
              "type": "array",
              "required": false,
              "description": "Filter by campaign IDs (numeric)."
            },
            {
              "name": "status",
              "type": "array",
              "required": false,
              "description": "Filter by intended status. Defaults to [ACTIVE, PAUSED, DRAFT]."
            },
            {
              "name": "creative_id",
              "type": "string",
              "required": false,
              "description": "Fetch a single creative by URN or numeric ID.",
              "constraints": {
                "max_length": 64
              }
            },
            {
              "name": "creative_ids",
              "type": "array",
              "required": false,
              "description": "Fetch specific creatives by numeric IDs (batch filter)."
            },
            {
              "name": "limit",
              "type": "integer",
              "required": false,
              "description": "",
              "default": 20,
              "constraints": {
                "min": 1,
                "max": 100
              }
            },
            {
              "name": "cursor",
              "type": "string",
              "required": false,
              "description": ""
            },
            {
              "name": "refresh",
              "type": "boolean",
              "required": false,
              "description": "",
              "default": false
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "List active creatives",
              "mcp_params": {
                "account_id": "123456789",
                "reason": "User wants to see ads"
              },
              "cli_command": "hopkin linkedin creatives list --account 123456789",
              "natural_language": "List active creatives"
            },
            {
              "label": "By campaign",
              "mcp_params": {
                "account_id": "123456789",
                "campaign_ids": [
                  "654321"
                ],
                "reason": "Show creatives for a specific campaign"
              },
              "cli_command": "hopkin linkedin creatives list --account 123456789 --campaign-ids 654321",
              "natural_language": "By campaign"
            },
            {
              "label": "With content resolved",
              "mcp_params": {
                "account_id": "123456789",
                "reason": "Show ad copy and headline text"
              },
              "cli_command": "hopkin linkedin creatives list --account 123456789",
              "natural_language": "With content resolved"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "linkedin_ads_list_campaigns",
              "relationship": "hierarchy"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "linkedin_ads_developer_feedback",
          "title": "Submit Developer Feedback",
          "description": "Submit feedback about missing tools, improvements, or workflow gaps in the LinkedIn Ads MCP toolset. Not for user-facing issues like auth or API errors.",
          "cli_command": "hopkin linkedin developer-feedback send",
          "cli_flags": [
            {
              "flag": "--feedback-type",
              "description": "Feedback category: new_tool (request new capability), improvement (enhance existing tool), bug (report issue), workflow_gap (missing workflow)",
              "type": "string",
              "required": true
            },
            {
              "flag": "--title",
              "description": "Concise title summarizing the feedback",
              "type": "string",
              "required": true
            },
            {
              "flag": "--description",
              "description": "What is needed and why",
              "type": "string",
              "required": true
            },
            {
              "flag": "--current-workaround",
              "description": "Current workaround, if any",
              "type": "string",
              "required": false
            },
            {
              "flag": "--priority",
              "description": "Impact level: low (nice-to-have), medium (improves workflow), high (blocking issue)",
              "type": "string",
              "required": false
            },
            {
              "flag": "--interface",
              "description": "Interface the feedback originated from: MCP (default) or CLI",
              "type": "string",
              "required": false
            }
          ],
          "category": "feedback",
          "annotations": {
            "readOnly": false,
            "destructive": false,
            "idempotent": true,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "feedback_type": {
                "type": "string",
                "enum": [
                  "new_tool",
                  "improvement",
                  "bug",
                  "workflow_gap"
                ],
                "description": "Feedback category: new_tool (request new capability), improvement (enhance existing tool), bug (report issue), workflow_gap (missing workflow)"
              },
              "title": {
                "type": "string",
                "minLength": 5,
                "maxLength": 200,
                "description": "Concise title summarizing the feedback"
              },
              "description": {
                "type": "string",
                "minLength": 20,
                "maxLength": 2000,
                "description": "What is needed and why"
              },
              "current_workaround": {
                "type": "string",
                "maxLength": 1000,
                "description": "Current workaround, if any"
              },
              "priority": {
                "type": "string",
                "enum": [
                  "low",
                  "medium",
                  "high"
                ],
                "default": "medium",
                "description": "Impact level: low (nice-to-have), medium (improves workflow), high (blocking issue)"
              },
              "interface": {
                "type": "string",
                "enum": [
                  "MCP",
                  "CLI"
                ],
                "default": "MCP",
                "description": "Interface the feedback originated from: MCP (default) or CLI"
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "feedback_type",
              "title",
              "description",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "feedback_type",
              "type": "string",
              "required": true,
              "description": "Feedback category: new_tool (request new capability), improvement (enhance existing tool), bug (report issue), workflow_gap (missing workflow)",
              "enum_values": [
                "new_tool",
                "improvement",
                "bug",
                "workflow_gap"
              ]
            },
            {
              "name": "title",
              "type": "string",
              "required": true,
              "description": "Concise title summarizing the feedback",
              "constraints": {
                "min_length": 5,
                "max_length": 200
              }
            },
            {
              "name": "description",
              "type": "string",
              "required": true,
              "description": "What is needed and why",
              "constraints": {
                "min_length": 20,
                "max_length": 2000
              }
            },
            {
              "name": "current_workaround",
              "type": "string",
              "required": false,
              "description": "Current workaround, if any",
              "constraints": {
                "max_length": 1000
              }
            },
            {
              "name": "priority",
              "type": "string",
              "required": false,
              "description": "Impact level: low (nice-to-have), medium (improves workflow), high (blocking issue)",
              "enum_values": [
                "low",
                "medium",
                "high"
              ],
              "default": "medium"
            },
            {
              "name": "interface",
              "type": "string",
              "required": false,
              "description": "Interface the feedback originated from: MCP (default) or CLI",
              "enum_values": [
                "MCP",
                "CLI"
              ],
              "default": "MCP"
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "Missing tool",
              "mcp_params": {
                "feedback_type": "new_tool",
                "title": "Bulk campaign status toggle",
                "description": "Need to pause/enable multiple LinkedIn campaigns at once rather than one by one",
                "priority": "high",
                "reason": "User asked to pause 8 campaigns individually"
              },
              "cli_command": "hopkin linkedin developer-feedback send --feedback-type new_tool --title Bulk campaign status toggle --description Need to pause/enable multiple LinkedIn campaigns at once rather than one by one --priority high",
              "natural_language": "Missing tool"
            },
            {
              "label": "Workflow gap",
              "mcp_params": {
                "feedback_type": "workflow_gap",
                "title": "Campaign group hierarchy cloning",
                "description": "No way to duplicate a campaign group including all campaigns and creatives",
                "current_workaround": "Read and recreate each level one by one",
                "reason": "User wanted to duplicate campaign structure for A/B test"
              },
              "cli_command": "hopkin linkedin developer-feedback send --feedback-type workflow_gap --title Campaign group hierarchy cloning --description No way to duplicate a campaign group including all campaigns and creatives --current-workaround Read and recreate each level one by one",
              "natural_language": "Workflow gap"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "meta_ads_developer_feedback",
              "relationship": "cross-platform"
            },
            {
              "name": "google_ads_developer_feedback",
              "relationship": "cross-platform"
            },
            {
              "name": "reddit_ads_developer_feedback",
              "relationship": "cross-platform"
            },
            {
              "name": "tiktok_ads_developer_feedback",
              "relationship": "cross-platform"
            },
            {
              "name": "chatgpt_ads_developer_feedback",
              "relationship": "cross-platform"
            },
            {
              "name": "microsoft_ads_developer_feedback",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "linkedin_ads_get_insights",
          "title": "Get LinkedIn Ads Insights",
          "description": "Get LinkedIn Ads analytics with a single pivot dimension. For standard analysis, prefer linkedin_ads_get_performance_report; use this only for MEMBER_* demographic pivots (unique to LinkedIn), the Conversation Ads CONVERSATION_NODE pivots, or custom metric queries not available in the performance report. MEMBER_* pivots have a 3-event minimum threshold and 12-24 hour data delay, so totals may not match account-level numbers. Max 18 metrics per query. Results are paged (default 100 rows, max 1000 per page); when pagination.hasMore is true, call again with cursor set to pagination.nextCursor.",
          "cli_command": "hopkin linkedin insights get",
          "cli_flags": [
            {
              "flag": "--account",
              "description": "Ad account ID (numeric, without URN prefix).",
              "type": "string",
              "required": true
            },
            {
              "flag": "--pivot",
              "description": "Analytics pivot dimension. MEMBER_* pivots provide demographic breakdowns unique to LinkedIn. CONVERSATION_NODE (per Conversation Ads message step) defaults to the Sponsored Messaging metrics, but LinkedIn returns no rows for it on many accounts; for Conversation Ads sends/opens/open rate by campaign or creative, use linkedin_ads_get_performance_report with metric_set SPONSORED_MESSAGING.",
              "type": "string",
              "required": true
            },
            {
              "flag": "--date-preset",
              "description": "",
              "type": "string",
              "required": false
            },
            {
              "flag": "--start-date",
              "description": "ISO date YYYY-MM-DD. Use with end_date to override date_preset.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--end-date",
              "description": "",
              "type": "string",
              "required": false
            },
            {
              "flag": "--time-granularity",
              "description": "",
              "type": "string",
              "required": false
            },
            {
              "flag": "--campaign-ids",
              "description": "Filter to specific campaigns (numeric IDs).",
              "type": "array",
              "required": false
            },
            {
              "flag": "--campaign-group-ids",
              "description": "Filter to specific campaign groups (numeric IDs).",
              "type": "array",
              "required": false
            },
            {
              "flag": "--metrics",
              "description": "LinkedIn adAnalytics metric field names (camelCase, exact names required). Core: impressions, clicks, costInLocalCurrency, costInUsd. Conversions: externalWebsiteConversions, externalWebsitePostClickConversions, externalWebsitePostViewConversions, conversionValueInLocalCurrency. Leads: oneClickLeads, oneClickLeadFormOpens, qualifiedLeads. Video: videoViews, videoCompletions. Engagement: totalEngagements, shares, follows, reactions, comments, landingPageClicks, textUrlClicks, companyPageClicks. Card: cardImpressions, cardClicks, viralCardImpressions, viralCardClicks. Sponsored Messaging (Conversation Ads / Message Ads — these report sends, not impressions): sends, opens, actionClicks, adUnitClicks, textUrlClicks, headlineImpressions, headlineClicks, leadGenerationMailContactInfoShares, leadGenerationMailInterestedClicks. When sends is requested, rows also get open_rate (opens/sends) and engagement_rate (totalEngagements/sends). Reach: approximateMemberReach (only with ACCOUNT/CAMPAIGN_GROUP/CAMPAIGN pivot, ≤92 day range). IMPORTANT: Do NOT use aliases like \"conversions\", \"leads\", \"spend\", or \"reach\" — use the exact camelCase field names listed above. Max 18 (pivotValues + dateRange count toward the 20-field API limit). Every requested metric is returned on each row in snake_case (a few under friendlier names: costInLocalCurrency → spend, costInUsd → spend_usd, externalWebsiteConversions → conversions, oneClickLeads → leads). Defaults to: impressions, clicks, costInLocalCurrency, costInUsd, externalWebsiteConversions, oneClickLeads, videoViews, totalEngagements (the Sponsored Messaging set for the CONVERSATION_NODE pivot).",
              "type": "array",
              "required": false
            },
            {
              "flag": "--include-conversion-breakdown",
              "description": "When true (and pivot is not CONVERSION), runs a second query to break down conversions per action with names.",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--limit",
              "description": "Maximum rows per page (1-1000, default 100). count is the total across all pages; when pagination.hasMore is true, call again with cursor set to pagination.nextCursor.",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--cursor",
              "description": "Opaque cursor from a previous response's pagination.nextCursor. Pass it with the same other parameters to fetch the next page; do not construct it.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "insights",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "account_id": {
                "type": "string",
                "minLength": 1,
                "description": "Ad account ID (numeric, without URN prefix)."
              },
              "pivot": {
                "type": "string",
                "enum": [
                  "ACCOUNT",
                  "CAMPAIGN_GROUP",
                  "CAMPAIGN",
                  "CREATIVE",
                  "SHARE",
                  "COMPANY",
                  "CONVERSION",
                  "CONVERSATION_NODE",
                  "SERVING_LOCATION",
                  "PLACEMENT_NAME",
                  "IMPRESSION_DEVICE_TYPE",
                  "CARD_INDEX",
                  "MEMBER_COMPANY_SIZE",
                  "MEMBER_INDUSTRY",
                  "MEMBER_SENIORITY",
                  "MEMBER_JOB_TITLE",
                  "MEMBER_JOB_FUNCTION",
                  "MEMBER_COUNTRY_V2",
                  "MEMBER_REGION_V2",
                  "MEMBER_COUNTY",
                  "MEMBER_COMPANY"
                ],
                "description": "Analytics pivot dimension. MEMBER_* pivots provide demographic breakdowns unique to LinkedIn. CONVERSATION_NODE (per Conversation Ads message step) defaults to the Sponsored Messaging metrics, but LinkedIn returns no rows for it on many accounts; for Conversation Ads sends/opens/open rate by campaign or creative, use linkedin_ads_get_performance_report with metric_set SPONSORED_MESSAGING."
              },
              "date_preset": {
                "type": "string",
                "enum": [
                  "LAST_7_DAYS",
                  "LAST_14_DAYS",
                  "LAST_30_DAYS",
                  "THIS_MONTH",
                  "LAST_MONTH",
                  "LAST_90_DAYS"
                ],
                "default": "LAST_30_DAYS"
              },
              "start_date": {
                "type": "string",
                "description": "ISO date YYYY-MM-DD. Use with end_date to override date_preset."
              },
              "end_date": {
                "type": "string"
              },
              "time_granularity": {
                "type": "string",
                "enum": [
                  "ALL",
                  "DAILY",
                  "MONTHLY"
                ],
                "default": "ALL"
              },
              "campaign_ids": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "minItems": 1,
                "maxItems": 50,
                "description": "Filter to specific campaigns (numeric IDs)."
              },
              "campaign_group_ids": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "minItems": 1,
                "maxItems": 20,
                "description": "Filter to specific campaign groups (numeric IDs)."
              },
              "metrics": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "minItems": 1,
                "maxItems": 18,
                "description": "LinkedIn adAnalytics metric field names (camelCase, exact names required). Core: impressions, clicks, costInLocalCurrency, costInUsd. Conversions: externalWebsiteConversions, externalWebsitePostClickConversions, externalWebsitePostViewConversions, conversionValueInLocalCurrency. Leads: oneClickLeads, oneClickLeadFormOpens, qualifiedLeads. Video: videoViews, videoCompletions. Engagement: totalEngagements, shares, follows, reactions, comments, landingPageClicks, textUrlClicks, companyPageClicks. Card: cardImpressions, cardClicks, viralCardImpressions, viralCardClicks. Sponsored Messaging (Conversation Ads / Message Ads — these report sends, not impressions): sends, opens, actionClicks, adUnitClicks, textUrlClicks, headlineImpressions, headlineClicks, leadGenerationMailContactInfoShares, leadGenerationMailInterestedClicks. When sends is requested, rows also get open_rate (opens/sends) and engagement_rate (totalEngagements/sends). Reach: approximateMemberReach (only with ACCOUNT/CAMPAIGN_GROUP/CAMPAIGN pivot, ≤92 day range). IMPORTANT: Do NOT use aliases like \"conversions\", \"leads\", \"spend\", or \"reach\" — use the exact camelCase field names listed above. Max 18 (pivotValues + dateRange count toward the 20-field API limit). Every requested metric is returned on each row in snake_case (a few under friendlier names: costInLocalCurrency → spend, costInUsd → spend_usd, externalWebsiteConversions → conversions, oneClickLeads → leads). Defaults to: impressions, clicks, costInLocalCurrency, costInUsd, externalWebsiteConversions, oneClickLeads, videoViews, totalEngagements (the Sponsored Messaging set for the CONVERSATION_NODE pivot)."
              },
              "include_conversion_breakdown": {
                "type": "boolean",
                "default": false,
                "description": "When true (and pivot is not CONVERSION), runs a second query to break down conversions per action with names."
              },
              "limit": {
                "type": "integer",
                "minimum": 1,
                "maximum": 1000,
                "default": 100,
                "description": "Maximum rows per page (1-1000, default 100). count is the total across all pages; when pagination.hasMore is true, call again with cursor set to pagination.nextCursor."
              },
              "cursor": {
                "type": "string",
                "minLength": 1,
                "maxLength": 4096,
                "description": "Opaque cursor from a previous response's pagination.nextCursor. Pass it with the same other parameters to fetch the next page; do not construct it."
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "account_id",
              "pivot",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "account_id",
              "type": "string",
              "required": true,
              "description": "Ad account ID (numeric, without URN prefix).",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "pivot",
              "type": "string",
              "required": true,
              "description": "Analytics pivot dimension. MEMBER_* pivots provide demographic breakdowns unique to LinkedIn. CONVERSATION_NODE (per Conversation Ads message step) defaults to the Sponsored Messaging metrics, but LinkedIn returns no rows for it on many accounts; for Conversation Ads sends/opens/open rate by campaign or creative, use linkedin_ads_get_performance_report with metric_set SPONSORED_MESSAGING.",
              "enum_values": [
                "ACCOUNT",
                "CAMPAIGN_GROUP",
                "CAMPAIGN",
                "CREATIVE",
                "SHARE",
                "COMPANY",
                "CONVERSION",
                "CONVERSATION_NODE",
                "SERVING_LOCATION",
                "PLACEMENT_NAME",
                "IMPRESSION_DEVICE_TYPE",
                "CARD_INDEX",
                "MEMBER_COMPANY_SIZE",
                "MEMBER_INDUSTRY",
                "MEMBER_SENIORITY",
                "MEMBER_JOB_TITLE",
                "MEMBER_JOB_FUNCTION",
                "MEMBER_COUNTRY_V2",
                "MEMBER_REGION_V2",
                "MEMBER_COUNTY",
                "MEMBER_COMPANY"
              ]
            },
            {
              "name": "date_preset",
              "type": "string",
              "required": false,
              "description": "",
              "enum_values": [
                "LAST_7_DAYS",
                "LAST_14_DAYS",
                "LAST_30_DAYS",
                "THIS_MONTH",
                "LAST_MONTH",
                "LAST_90_DAYS"
              ],
              "default": "LAST_30_DAYS"
            },
            {
              "name": "start_date",
              "type": "string",
              "required": false,
              "description": "ISO date YYYY-MM-DD. Use with end_date to override date_preset."
            },
            {
              "name": "end_date",
              "type": "string",
              "required": false,
              "description": ""
            },
            {
              "name": "time_granularity",
              "type": "string",
              "required": false,
              "description": "",
              "enum_values": [
                "ALL",
                "DAILY",
                "MONTHLY"
              ],
              "default": "ALL"
            },
            {
              "name": "campaign_ids",
              "type": "array",
              "required": false,
              "description": "Filter to specific campaigns (numeric IDs)."
            },
            {
              "name": "campaign_group_ids",
              "type": "array",
              "required": false,
              "description": "Filter to specific campaign groups (numeric IDs)."
            },
            {
              "name": "metrics",
              "type": "array",
              "required": false,
              "description": "LinkedIn adAnalytics metric field names (camelCase, exact names required). Core: impressions, clicks, costInLocalCurrency, costInUsd. Conversions: externalWebsiteConversions, externalWebsitePostClickConversions, externalWebsitePostViewConversions, conversionValueInLocalCurrency. Leads: oneClickLeads, oneClickLeadFormOpens, qualifiedLeads. Video: videoViews, videoCompletions. Engagement: totalEngagements, shares, follows, reactions, comments, landingPageClicks, textUrlClicks, companyPageClicks. Card: cardImpressions, cardClicks, viralCardImpressions, viralCardClicks. Sponsored Messaging (Conversation Ads / Message Ads — these report sends, not impressions): sends, opens, actionClicks, adUnitClicks, textUrlClicks, headlineImpressions, headlineClicks, leadGenerationMailContactInfoShares, leadGenerationMailInterestedClicks. When sends is requested, rows also get open_rate (opens/sends) and engagement_rate (totalEngagements/sends). Reach: approximateMemberReach (only with ACCOUNT/CAMPAIGN_GROUP/CAMPAIGN pivot, ≤92 day range). IMPORTANT: Do NOT use aliases like \"conversions\", \"leads\", \"spend\", or \"reach\" — use the exact camelCase field names listed above. Max 18 (pivotValues + dateRange count toward the 20-field API limit). Every requested metric is returned on each row in snake_case (a few under friendlier names: costInLocalCurrency → spend, costInUsd → spend_usd, externalWebsiteConversions → conversions, oneClickLeads → leads). Defaults to: impressions, clicks, costInLocalCurrency, costInUsd, externalWebsiteConversions, oneClickLeads, videoViews, totalEngagements (the Sponsored Messaging set for the CONVERSATION_NODE pivot)."
            },
            {
              "name": "include_conversion_breakdown",
              "type": "boolean",
              "required": false,
              "description": "When true (and pivot is not CONVERSION), runs a second query to break down conversions per action with names.",
              "default": false
            },
            {
              "name": "limit",
              "type": "integer",
              "required": false,
              "description": "Maximum rows per page (1-1000, default 100). count is the total across all pages; when pagination.hasMore is true, call again with cursor set to pagination.nextCursor.",
              "default": 100,
              "constraints": {
                "min": 1,
                "max": 1000
              }
            },
            {
              "name": "cursor",
              "type": "string",
              "required": false,
              "description": "Opaque cursor from a previous response's pagination.nextCursor. Pass it with the same other parameters to fetch the next page; do not construct it.",
              "constraints": {
                "min_length": 1,
                "max_length": 4096
              }
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "Job function breakdown",
              "mcp_params": {
                "account_id": "123456789",
                "pivot": "MEMBER_JOB_FUNCTION",
                "date_preset": "LAST_30_DAYS",
                "reason": "Demographic breakdown by job function"
              },
              "cli_command": "hopkin linkedin insights get --account 123456789 --pivot MEMBER_JOB_FUNCTION --date-preset LAST_30_DAYS",
              "natural_language": "Job function breakdown"
            },
            {
              "label": "Seniority breakdown",
              "mcp_params": {
                "account_id": "123456789",
                "pivot": "MEMBER_SENIORITY",
                "date_preset": "LAST_30_DAYS",
                "reason": "Performance by member seniority level"
              },
              "cli_command": "hopkin linkedin insights get --account 123456789 --pivot MEMBER_SENIORITY --date-preset LAST_30_DAYS",
              "natural_language": "Seniority breakdown"
            },
            {
              "label": "Industry breakdown",
              "mcp_params": {
                "account_id": "123456789",
                "pivot": "MEMBER_INDUSTRY",
                "date_preset": "LAST_30_DAYS",
                "reason": "Reach and engagement by industry"
              },
              "cli_command": "hopkin linkedin insights get --account 123456789 --pivot MEMBER_INDUSTRY --date-preset LAST_30_DAYS",
              "natural_language": "Industry breakdown"
            },
            {
              "label": "Device type breakdown",
              "mcp_params": {
                "account_id": "123456789",
                "pivot": "IMPRESSION_DEVICE_TYPE",
                "date_preset": "LAST_30_DAYS",
                "reason": "Performance split by device type"
              },
              "cli_command": "hopkin linkedin insights get --account 123456789 --pivot IMPRESSION_DEVICE_TYPE --date-preset LAST_30_DAYS",
              "natural_language": "Device type breakdown"
            }
          ],
          "response_format": "json",
          "related_tools": [
            {
              "name": "meta_ads_get_insights",
              "relationship": "cross-platform"
            },
            {
              "name": "google_ads_get_insights",
              "relationship": "cross-platform"
            },
            {
              "name": "tiktok_ads_get_insights",
              "relationship": "cross-platform"
            },
            {
              "name": "chatgpt_ads_get_insights",
              "relationship": "cross-platform"
            },
            {
              "name": "microsoft_ads_get_insights",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "linkedin_ads_get_partner_conversions",
          "title": "Get LinkedIn Partner Conversions",
          "description": "List partner conversions (conversion actions) configured for a LinkedIn Ads account. Use this to understand what conversion tracking is set up before analyzing performance data. Results are paged (default 50, max 200 per page); when nextCursor is present, call again with cursor set to it to fetch the next page.",
          "cli_command": "hopkin linkedin partner-conversions get",
          "cli_flags": [
            {
              "flag": "--account",
              "description": "Ad account ID (numeric, without URN prefix).",
              "type": "string",
              "required": true
            },
            {
              "flag": "--limit",
              "description": "Maximum conversions per page (1-200, default 50). count is the total across all pages; when nextCursor is present, call again with cursor set to it to fetch the next page.",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--cursor",
              "description": "Opaque pagination cursor from a previous response's nextCursor. Pass it with the same other parameters to fetch the next page; do not construct it.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "partner-conversions",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "account_id": {
                "type": "string",
                "minLength": 1,
                "description": "Ad account ID (numeric, without URN prefix)."
              },
              "limit": {
                "type": "integer",
                "minimum": 1,
                "maximum": 200,
                "default": 50,
                "description": "Maximum conversions per page (1-200, default 50). count is the total across all pages; when nextCursor is present, call again with cursor set to it to fetch the next page."
              },
              "cursor": {
                "type": "string",
                "minLength": 1,
                "maxLength": 4096,
                "description": "Opaque pagination cursor from a previous response's nextCursor. Pass it with the same other parameters to fetch the next page; do not construct it."
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "account_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "account_id",
              "type": "string",
              "required": true,
              "description": "Ad account ID (numeric, without URN prefix).",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "limit",
              "type": "integer",
              "required": false,
              "description": "Maximum conversions per page (1-200, default 50). count is the total across all pages; when nextCursor is present, call again with cursor set to it to fetch the next page.",
              "default": 50,
              "constraints": {
                "min": 1,
                "max": 200
              }
            },
            {
              "name": "cursor",
              "type": "string",
              "required": false,
              "description": "Opaque pagination cursor from a previous response's nextCursor. Pass it with the same other parameters to fetch the next page; do not construct it.",
              "constraints": {
                "min_length": 1,
                "max_length": 4096
              }
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "List all partner conversions",
              "mcp_params": {
                "account_id": "123456789",
                "reason": "User wants to see what partner conversions are configured"
              },
              "cli_command": "hopkin linkedin partner-conversions get --account 123456789",
              "natural_language": "List all partner conversions"
            }
          ],
          "response_format": "markdown",
          "related_tools": [],
          "tool_type": "standard"
        },
        {
          "name": "linkedin_ads_get_performance_report",
          "title": "Get LinkedIn Ads Performance Report",
          "description": "Get a full-funnel performance report with up to 3 pivot dimensions and optional per-conversion-action breakdown. For Conversation Ads / Message Ads (Sponsored Messaging), set metric_set to SPONSORED_MESSAGING to get sends, opens, open rate, engagement rate and cost per send — these campaigns report sends, not impressions. MEMBER_* demographic pivots are not supported here — use linkedin_ads_get_insights instead. Results are paged (default 100 rows, max 1000 per page); when nextCursor is present, call again with cursor set to it to fetch the next page.",
          "cli_command": "hopkin linkedin performance-report get",
          "cli_flags": [
            {
              "flag": "--account",
              "description": "Ad account ID (numeric, without URN prefix).",
              "type": "string",
              "required": true
            },
            {
              "flag": "--pivots",
              "description": "Up to 3 pivot dimensions. OBJECTIVE_TYPE is only available in q=statistics.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--date-preset",
              "description": "",
              "type": "string",
              "required": false
            },
            {
              "flag": "--start-date",
              "description": "",
              "type": "string",
              "required": false
            },
            {
              "flag": "--end-date",
              "description": "",
              "type": "string",
              "required": false
            },
            {
              "flag": "--time-granularity",
              "description": "",
              "type": "string",
              "required": false
            },
            {
              "flag": "--campaign-ids",
              "description": "",
              "type": "array",
              "required": false
            },
            {
              "flag": "--campaign-group-ids",
              "description": "",
              "type": "array",
              "required": false
            },
            {
              "flag": "--metric-set",
              "description": "Which metrics to report. FULL_FUNNEL (default): impressions, clicks, spend, conversions, leads, video, reach. SPONSORED_MESSAGING: for Conversation Ads / Message Ads, which report sends instead of impressions — spend, sends, opens, clicks, action/ad-unit/text-URL clicks, headline impressions/clicks, engagements, lead-gen mail shares/interested clicks, leads, conversions, reach, plus open_rate, engagement_rate, cost_per_send and cost_per_open.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--include-conversion-breakdown",
              "description": "Run a second query for per-conversion-action breakdown. Adds one extra API call.",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--limit",
              "description": "Maximum rows per page (1-1000, default 100). count is the total across all pages; when nextCursor is present, call again with cursor set to it to fetch the next page.",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--cursor",
              "description": "Opaque cursor from a previous response's nextCursor. Pass it with the same other parameters to fetch the next page; do not construct it.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "reporting",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "account_id": {
                "type": "string",
                "minLength": 1,
                "description": "Ad account ID (numeric, without URN prefix)."
              },
              "pivots": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "ACCOUNT",
                    "CAMPAIGN_GROUP",
                    "CAMPAIGN",
                    "CREATIVE",
                    "SHARE",
                    "COMPANY",
                    "CONVERSION",
                    "SERVING_LOCATION",
                    "PLACEMENT_NAME",
                    "IMPRESSION_DEVICE_TYPE",
                    "CARD_INDEX",
                    "OBJECTIVE_TYPE"
                  ]
                },
                "minItems": 1,
                "maxItems": 3,
                "default": [
                  "CAMPAIGN"
                ],
                "description": "Up to 3 pivot dimensions. OBJECTIVE_TYPE is only available in q=statistics."
              },
              "date_preset": {
                "type": "string",
                "enum": [
                  "LAST_7_DAYS",
                  "LAST_14_DAYS",
                  "LAST_30_DAYS",
                  "THIS_MONTH",
                  "LAST_MONTH",
                  "LAST_90_DAYS"
                ],
                "default": "LAST_30_DAYS"
              },
              "start_date": {
                "type": "string"
              },
              "end_date": {
                "type": "string"
              },
              "time_granularity": {
                "type": "string",
                "enum": [
                  "ALL",
                  "DAILY",
                  "MONTHLY"
                ],
                "default": "ALL"
              },
              "campaign_ids": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "minItems": 1,
                "maxItems": 50
              },
              "campaign_group_ids": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "minItems": 1,
                "maxItems": 20
              },
              "metric_set": {
                "type": "string",
                "enum": [
                  "FULL_FUNNEL",
                  "SPONSORED_MESSAGING"
                ],
                "default": "FULL_FUNNEL",
                "description": "Which metrics to report. FULL_FUNNEL (default): impressions, clicks, spend, conversions, leads, video, reach. SPONSORED_MESSAGING: for Conversation Ads / Message Ads, which report sends instead of impressions — spend, sends, opens, clicks, action/ad-unit/text-URL clicks, headline impressions/clicks, engagements, lead-gen mail shares/interested clicks, leads, conversions, reach, plus open_rate, engagement_rate, cost_per_send and cost_per_open."
              },
              "include_conversion_breakdown": {
                "type": "boolean",
                "default": true,
                "description": "Run a second query for per-conversion-action breakdown. Adds one extra API call."
              },
              "limit": {
                "type": "integer",
                "minimum": 1,
                "maximum": 1000,
                "default": 100,
                "description": "Maximum rows per page (1-1000, default 100). count is the total across all pages; when nextCursor is present, call again with cursor set to it to fetch the next page."
              },
              "cursor": {
                "type": "string",
                "minLength": 1,
                "maxLength": 4096,
                "description": "Opaque cursor from a previous response's nextCursor. Pass it with the same other parameters to fetch the next page; do not construct it."
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "account_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "account_id",
              "type": "string",
              "required": true,
              "description": "Ad account ID (numeric, without URN prefix).",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "pivots",
              "type": "array",
              "required": false,
              "description": "Up to 3 pivot dimensions. OBJECTIVE_TYPE is only available in q=statistics.",
              "default": [
                "CAMPAIGN"
              ]
            },
            {
              "name": "date_preset",
              "type": "string",
              "required": false,
              "description": "",
              "enum_values": [
                "LAST_7_DAYS",
                "LAST_14_DAYS",
                "LAST_30_DAYS",
                "THIS_MONTH",
                "LAST_MONTH",
                "LAST_90_DAYS"
              ],
              "default": "LAST_30_DAYS"
            },
            {
              "name": "start_date",
              "type": "string",
              "required": false,
              "description": ""
            },
            {
              "name": "end_date",
              "type": "string",
              "required": false,
              "description": ""
            },
            {
              "name": "time_granularity",
              "type": "string",
              "required": false,
              "description": "",
              "enum_values": [
                "ALL",
                "DAILY",
                "MONTHLY"
              ],
              "default": "ALL"
            },
            {
              "name": "campaign_ids",
              "type": "array",
              "required": false,
              "description": ""
            },
            {
              "name": "campaign_group_ids",
              "type": "array",
              "required": false,
              "description": ""
            },
            {
              "name": "metric_set",
              "type": "string",
              "required": false,
              "description": "Which metrics to report. FULL_FUNNEL (default): impressions, clicks, spend, conversions, leads, video, reach. SPONSORED_MESSAGING: for Conversation Ads / Message Ads, which report sends instead of impressions — spend, sends, opens, clicks, action/ad-unit/text-URL clicks, headline impressions/clicks, engagements, lead-gen mail shares/interested clicks, leads, conversions, reach, plus open_rate, engagement_rate, cost_per_send and cost_per_open.",
              "enum_values": [
                "FULL_FUNNEL",
                "SPONSORED_MESSAGING"
              ],
              "default": "FULL_FUNNEL"
            },
            {
              "name": "include_conversion_breakdown",
              "type": "boolean",
              "required": false,
              "description": "Run a second query for per-conversion-action breakdown. Adds one extra API call.",
              "default": true
            },
            {
              "name": "limit",
              "type": "integer",
              "required": false,
              "description": "Maximum rows per page (1-1000, default 100). count is the total across all pages; when nextCursor is present, call again with cursor set to it to fetch the next page.",
              "default": 100,
              "constraints": {
                "min": 1,
                "max": 1000
              }
            },
            {
              "name": "cursor",
              "type": "string",
              "required": false,
              "description": "Opaque cursor from a previous response's nextCursor. Pass it with the same other parameters to fetch the next page; do not construct it.",
              "constraints": {
                "min_length": 1,
                "max_length": 4096
              }
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "Campaign report",
              "mcp_params": {
                "account_id": "123456789",
                "pivots": [
                  "CAMPAIGN"
                ],
                "date_preset": "LAST_30_DAYS",
                "reason": "User wants full campaign performance report"
              },
              "cli_command": "hopkin linkedin performance-report get --account 123456789 --pivots CAMPAIGN --date-preset LAST_30_DAYS",
              "natural_language": "Campaign report"
            },
            {
              "label": "With conversion breakdown",
              "mcp_params": {
                "account_id": "123456789",
                "pivots": [
                  "CAMPAIGN"
                ],
                "date_preset": "LAST_30_DAYS",
                "include_conversion_breakdown": true,
                "reason": "Show conversion breakdown by campaign"
              },
              "cli_command": "hopkin linkedin performance-report get --account 123456789 --pivots CAMPAIGN --date-preset LAST_30_DAYS --include-conversion-breakdown true",
              "natural_language": "With conversion breakdown"
            },
            {
              "label": "Daily campaign group",
              "mcp_params": {
                "account_id": "123456789",
                "pivots": [
                  "CAMPAIGN_GROUP"
                ],
                "time_granularity": "DAILY",
                "date_preset": "LAST_7_DAYS",
                "reason": "Daily trend by campaign group"
              },
              "cli_command": "hopkin linkedin performance-report get --account 123456789 --pivots CAMPAIGN_GROUP --time-granularity DAILY --date-preset LAST_7_DAYS",
              "natural_language": "Daily campaign group"
            }
          ],
          "response_format": "json",
          "related_tools": [
            {
              "name": "meta_ads_get_performance_report",
              "relationship": "cross-platform"
            },
            {
              "name": "google_ads_get_performance_report",
              "relationship": "cross-platform"
            },
            {
              "name": "reddit_ads_get_performance_report",
              "relationship": "cross-platform"
            },
            {
              "name": "tiktok_ads_get_performance_report",
              "relationship": "cross-platform"
            },
            {
              "name": "microsoft_ads_get_performance_report",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "linkedin_ads_ping",
          "title": "Ping LinkedIn Ads MCP Server",
          "description": "Health check for the LinkedIn Ads MCP server. Does not call the LinkedIn API.",
          "cli_command": "hopkin linkedin ping",
          "cli_flags": [
            {
              "flag": "--message",
              "description": "Optional message to echo back",
              "type": "string",
              "required": false
            }
          ],
          "category": "auth",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": false
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "message": {
                "type": "string",
                "maxLength": 100,
                "description": "Optional message to echo back"
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "message",
              "type": "string",
              "required": false,
              "description": "Optional message to echo back",
              "constraints": {
                "max_length": 100
              }
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "Health check",
              "mcp_params": {
                "reason": "Verify server is running"
              },
              "cli_command": "hopkin linkedin ping",
              "natural_language": "Health check"
            },
            {
              "label": "With message",
              "mcp_params": {
                "message": "hello",
                "reason": "Test connectivity"
              },
              "cli_command": "hopkin linkedin ping --message hello",
              "natural_language": "With message"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "meta_ads_ping",
              "relationship": "cross-platform"
            },
            {
              "name": "google_ads_ping",
              "relationship": "cross-platform"
            },
            {
              "name": "linkedin_ads_check_auth_status",
              "relationship": "sibling"
            },
            {
              "name": "reddit_ads_ping",
              "relationship": "cross-platform"
            },
            {
              "name": "tiktok_ads_ping",
              "relationship": "cross-platform"
            },
            {
              "name": "chatgpt_ads_ping",
              "relationship": "cross-platform"
            },
            {
              "name": "microsoft_ads_ping",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        }
      ]
    },
    {
      "id": "reddit-ads",
      "name": "Reddit Ads",
      "description": "Reddit Ads API for community-driven advertising campaigns",
      "tool_count": 19,
      "mcpUrl": "https://reddit.mcp.hopkin.ai",
      "tools": [
        {
          "name": "reddit_ads_get_account_summary",
          "title": "Get Reddit Ads Account Summary",
          "description": "Get a high-level performance summary for a Reddit ad account over a date range, with optional conversion metrics such as sign-ups, leads, purchases, CPA, value, and ROAS.",
          "cli_command": "hopkin reddit account-summary get",
          "cli_flags": [
            {
              "flag": "--account",
              "description": "Reddit ad account ID.",
              "type": "string",
              "required": true
            },
            {
              "flag": "--date-start",
              "description": "Start date in YYYY-MM-DD format.",
              "type": "string",
              "required": true
            },
            {
              "flag": "--date-end",
              "description": "End date in YYYY-MM-DD format.",
              "type": "string",
              "required": true
            },
            {
              "flag": "--metrics",
              "description": "Optional summary metrics. Defaults to impressions, clicks, spend, ecpm, ctr, cpc. Conversion examples: signup_total, lead_total, purchase_total, conversion_purchase_roas.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "account-summary",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "account_id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 64,
                "description": "Reddit ad account ID."
              },
              "date_start": {
                "type": "string",
                "description": "Start date in YYYY-MM-DD format."
              },
              "date_end": {
                "type": "string",
                "description": "End date in YYYY-MM-DD format."
              },
              "metrics": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "minItems": 1,
                "maxItems": 40,
                "description": "Optional summary metrics. Defaults to impressions, clicks, spend, ecpm, ctr, cpc. Conversion examples: signup_total, lead_total, purchase_total, conversion_purchase_roas."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              }
            },
            "required": [
              "account_id",
              "date_start",
              "date_end",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "account_id",
              "type": "string",
              "required": true,
              "description": "Reddit ad account ID.",
              "constraints": {
                "min_length": 1,
                "max_length": 64
              }
            },
            {
              "name": "date_start",
              "type": "string",
              "required": true,
              "description": "Start date in YYYY-MM-DD format."
            },
            {
              "name": "date_end",
              "type": "string",
              "required": true,
              "description": "End date in YYYY-MM-DD format."
            },
            {
              "name": "metrics",
              "type": "array",
              "required": false,
              "description": "Optional summary metrics. Defaults to impressions, clicks, spend, ecpm, ctr, cpc. Conversion examples: signup_total, lead_total, purchase_total, conversion_purchase_roas."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            }
          ],
          "examples": [],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "meta_ads_get_account_summary",
              "relationship": "cross-platform"
            },
            {
              "name": "google_ads_get_account_summary",
              "relationship": "cross-platform"
            },
            {
              "name": "linkedin_ads_get_account_summary",
              "relationship": "cross-platform"
            },
            {
              "name": "microsoft_ads_get_account_summary",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "reddit_ads_get_activities",
          "title": "Get Reddit Ads Change History",
          "description": "What changed in a Reddit ad account, and when: status, budgets, bids, targeting, schedules, names and creative links of campaigns, ad groups, ads and audiences, with before/after values and who made the change. ",
          "cli_command": "hopkin reddit activities get",
          "cli_flags": [
            {
              "flag": "--account",
              "description": "Reddit ad account ID (e.g. a2_abc123 or t2_abc123).",
              "type": "string",
              "required": true
            },
            {
              "flag": "--start-date",
              "description": "Start of the window, YYYY-MM-DD (UTC). Defaults to 7 days ago.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--end-date",
              "description": "End of the window, YYYY-MM-DD (UTC), inclusive. Defaults to today.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--entity-type",
              "description": "Only changes to this kind of entity.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--entity-ids",
              "description": "Only changes to these campaign / ad group / ad / audience IDs.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--limit",
              "description": "Changes per page (1-200, default 50).",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--cursor",
              "description": "nextCursor from the previous response. Pass it with otherwise identical parameters for the next page.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--refresh",
              "description": "Fetch the latest changes from Reddit now before answering. Normally not needed: the account is re-synced when the last sync is over 15 minutes old.",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "activities",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "account_id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 64,
                "description": "Reddit ad account ID (e.g. a2_abc123 or t2_abc123)."
              },
              "start_date": {
                "type": "string",
                "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                "description": "Start of the window, YYYY-MM-DD (UTC). Defaults to 7 days ago."
              },
              "end_date": {
                "type": "string",
                "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                "description": "End of the window, YYYY-MM-DD (UTC), inclusive. Defaults to today."
              },
              "entity_type": {
                "type": "string",
                "enum": [
                  "AD_ACCOUNT",
                  "CAMPAIGN",
                  "AD_GROUP",
                  "AD",
                  "AUDIENCE"
                ],
                "description": "Only changes to this kind of entity."
              },
              "entity_ids": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 64
                },
                "minItems": 1,
                "maxItems": 100,
                "description": "Only changes to these campaign / ad group / ad / audience IDs."
              },
              "limit": {
                "type": "integer",
                "minimum": 1,
                "maximum": 200,
                "default": 50,
                "description": "Changes per page (1-200, default 50)."
              },
              "cursor": {
                "type": "string",
                "description": "nextCursor from the previous response. Pass it with otherwise identical parameters for the next page."
              },
              "refresh": {
                "type": "boolean",
                "default": false,
                "description": "Fetch the latest changes from Reddit now before answering. Normally not needed: the account is re-synced when the last sync is over 15 minutes old."
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "account_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "account_id",
              "type": "string",
              "required": true,
              "description": "Reddit ad account ID (e.g. a2_abc123 or t2_abc123).",
              "constraints": {
                "min_length": 1,
                "max_length": 64
              }
            },
            {
              "name": "start_date",
              "type": "string",
              "required": false,
              "description": "Start of the window, YYYY-MM-DD (UTC). Defaults to 7 days ago.",
              "constraints": {
                "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
              }
            },
            {
              "name": "end_date",
              "type": "string",
              "required": false,
              "description": "End of the window, YYYY-MM-DD (UTC), inclusive. Defaults to today.",
              "constraints": {
                "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
              }
            },
            {
              "name": "entity_type",
              "type": "string",
              "required": false,
              "description": "Only changes to this kind of entity.",
              "enum_values": [
                "AD_ACCOUNT",
                "CAMPAIGN",
                "AD_GROUP",
                "AD",
                "AUDIENCE"
              ]
            },
            {
              "name": "entity_ids",
              "type": "array",
              "required": false,
              "description": "Only changes to these campaign / ad group / ad / audience IDs."
            },
            {
              "name": "limit",
              "type": "integer",
              "required": false,
              "description": "Changes per page (1-200, default 50).",
              "default": 50,
              "constraints": {
                "min": 1,
                "max": 200
              }
            },
            {
              "name": "cursor",
              "type": "string",
              "required": false,
              "description": "nextCursor from the previous response. Pass it with otherwise identical parameters for the next page."
            },
            {
              "name": "refresh",
              "type": "boolean",
              "required": false,
              "description": "Fetch the latest changes from Reddit now before answering. Normally not needed: the account is re-synced when the last sync is over 15 minutes old.",
              "default": false
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "meta_ads_get_activities",
              "relationship": "cross-platform"
            },
            {
              "name": "google_ads_get_activities",
              "relationship": "cross-platform"
            },
            {
              "name": "linkedin_ads_get_activities",
              "relationship": "cross-platform"
            },
            {
              "name": "tiktok_ads_get_activities",
              "relationship": "cross-platform"
            },
            {
              "name": "microsoft_ads_get_activities",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "reddit_ads_list_ad_accounts",
          "title": "List Reddit Ad Accounts",
          "description": "List Reddit ad accounts accessible to the authenticated user.",
          "cli_command": "hopkin reddit ad-accounts list",
          "cli_flags": [
            {
              "flag": "--account",
              "description": "Fetch a single ad account by ID.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--account-ids",
              "description": "Fetch specific accounts by IDs.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--limit",
              "description": "",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--cursor",
              "description": "Opaque pagination cursor.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--refresh",
              "description": "",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "ad-accounts",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "account_id": {
                "type": "string",
                "maxLength": 64,
                "description": "Fetch a single ad account by ID."
              },
              "account_ids": {
                "type": "array",
                "items": {
                  "type": "string",
                  "maxLength": 64
                },
                "minItems": 1,
                "maxItems": 50,
                "description": "Fetch specific accounts by IDs."
              },
              "limit": {
                "type": "integer",
                "minimum": 1,
                "maximum": 100,
                "default": 20
              },
              "cursor": {
                "type": "string",
                "description": "Opaque pagination cursor."
              },
              "refresh": {
                "type": "boolean",
                "default": false
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              }
            },
            "required": [
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "account_id",
              "type": "string",
              "required": false,
              "description": "Fetch a single ad account by ID.",
              "constraints": {
                "max_length": 64
              }
            },
            {
              "name": "account_ids",
              "type": "array",
              "required": false,
              "description": "Fetch specific accounts by IDs."
            },
            {
              "name": "limit",
              "type": "integer",
              "required": false,
              "description": "",
              "default": 20,
              "constraints": {
                "min": 1,
                "max": 100
              }
            },
            {
              "name": "cursor",
              "type": "string",
              "required": false,
              "description": "Opaque pagination cursor."
            },
            {
              "name": "refresh",
              "type": "boolean",
              "required": false,
              "description": "",
              "default": false
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            }
          ],
          "examples": [],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "meta_ads_list_ad_accounts",
              "relationship": "cross-platform"
            },
            {
              "name": "linkedin_ads_list_ad_accounts",
              "relationship": "cross-platform"
            },
            {
              "name": "reddit_ads_list_campaigns",
              "relationship": "hierarchy"
            },
            {
              "name": "chatgpt_ads_list_ad_accounts",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "reddit_ads_list_ad_groups",
          "title": "List Reddit Ad Groups",
          "description": "List Reddit ad groups for an ad account. Shows targeting, bid strategy and bid, the spend goal (Reddit's budget lives here), configured and delivery status, and campaign association.",
          "cli_command": "hopkin reddit ad-groups list",
          "cli_flags": [
            {
              "flag": "--account",
              "description": "Reddit ad account ID.",
              "type": "string",
              "required": true
            },
            {
              "flag": "--ad-group-id",
              "description": "Fetch a single ad group by ID.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--ad-group-ids",
              "description": "Fetch specific ad groups by IDs.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--campaign",
              "description": "Filter by parent campaign ID.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--status",
              "description": "Filter by status.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--limit",
              "description": "",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--cursor",
              "description": "Opaque pagination cursor.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--refresh",
              "description": "",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "ad-groups",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "account_id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 64,
                "description": "Reddit ad account ID."
              },
              "ad_group_id": {
                "type": "string",
                "maxLength": 64,
                "description": "Fetch a single ad group by ID."
              },
              "ad_group_ids": {
                "type": "array",
                "items": {
                  "type": "string",
                  "maxLength": 64
                },
                "minItems": 1,
                "maxItems": 50,
                "description": "Fetch specific ad groups by IDs."
              },
              "campaign_id": {
                "type": "string",
                "maxLength": 64,
                "description": "Filter by parent campaign ID."
              },
              "status": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "ACTIVE",
                    "PAUSED",
                    "ARCHIVED"
                  ]
                },
                "description": "Filter by status."
              },
              "limit": {
                "type": "integer",
                "minimum": 1,
                "maximum": 100,
                "default": 20
              },
              "cursor": {
                "type": "string",
                "description": "Opaque pagination cursor."
              },
              "refresh": {
                "type": "boolean",
                "default": false
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              }
            },
            "required": [
              "account_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "account_id",
              "type": "string",
              "required": true,
              "description": "Reddit ad account ID.",
              "constraints": {
                "min_length": 1,
                "max_length": 64
              }
            },
            {
              "name": "ad_group_id",
              "type": "string",
              "required": false,
              "description": "Fetch a single ad group by ID.",
              "constraints": {
                "max_length": 64
              }
            },
            {
              "name": "ad_group_ids",
              "type": "array",
              "required": false,
              "description": "Fetch specific ad groups by IDs."
            },
            {
              "name": "campaign_id",
              "type": "string",
              "required": false,
              "description": "Filter by parent campaign ID.",
              "constraints": {
                "max_length": 64
              }
            },
            {
              "name": "status",
              "type": "array",
              "required": false,
              "description": "Filter by status."
            },
            {
              "name": "limit",
              "type": "integer",
              "required": false,
              "description": "",
              "default": 20,
              "constraints": {
                "min": 1,
                "max": 100
              }
            },
            {
              "name": "cursor",
              "type": "string",
              "required": false,
              "description": "Opaque pagination cursor."
            },
            {
              "name": "refresh",
              "type": "boolean",
              "required": false,
              "description": "",
              "default": false
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            }
          ],
          "examples": [],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "google_ads_list_ad_groups",
              "relationship": "cross-platform"
            },
            {
              "name": "reddit_ads_list_ads",
              "relationship": "hierarchy"
            },
            {
              "name": "reddit_ads_list_campaigns",
              "relationship": "hierarchy"
            },
            {
              "name": "tiktok_ads_list_ad_groups",
              "relationship": "cross-platform"
            },
            {
              "name": "chatgpt_ads_list_ad_groups",
              "relationship": "cross-platform"
            },
            {
              "name": "microsoft_ads_list_ad_groups",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "reddit_ads_list_ads",
          "title": "List Reddit Ads",
          "description": "List Reddit ads for an ad account. Shows configured status, delivery (effective) status, any rejection reason, parent campaign and ad group, and the click and post URLs.",
          "cli_command": "hopkin reddit ads list",
          "cli_flags": [
            {
              "flag": "--account",
              "description": "Reddit ad account ID.",
              "type": "string",
              "required": true
            },
            {
              "flag": "--ad",
              "description": "Fetch a single ad by ID.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--ad-ids",
              "description": "Fetch specific ads by IDs.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--ad-group-id",
              "description": "Filter by parent ad group ID.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--status",
              "description": "Filter by status.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--limit",
              "description": "",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--cursor",
              "description": "Opaque pagination cursor.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--refresh",
              "description": "",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "ads",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "account_id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 64,
                "description": "Reddit ad account ID."
              },
              "ad_id": {
                "type": "string",
                "maxLength": 64,
                "description": "Fetch a single ad by ID."
              },
              "ad_ids": {
                "type": "array",
                "items": {
                  "type": "string",
                  "maxLength": 64
                },
                "minItems": 1,
                "maxItems": 50,
                "description": "Fetch specific ads by IDs."
              },
              "ad_group_id": {
                "type": "string",
                "maxLength": 64,
                "description": "Filter by parent ad group ID."
              },
              "status": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "ACTIVE",
                    "PAUSED",
                    "ARCHIVED"
                  ]
                },
                "description": "Filter by status."
              },
              "limit": {
                "type": "integer",
                "minimum": 1,
                "maximum": 100,
                "default": 20
              },
              "cursor": {
                "type": "string",
                "description": "Opaque pagination cursor."
              },
              "refresh": {
                "type": "boolean",
                "default": false
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              }
            },
            "required": [
              "account_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "account_id",
              "type": "string",
              "required": true,
              "description": "Reddit ad account ID.",
              "constraints": {
                "min_length": 1,
                "max_length": 64
              }
            },
            {
              "name": "ad_id",
              "type": "string",
              "required": false,
              "description": "Fetch a single ad by ID.",
              "constraints": {
                "max_length": 64
              }
            },
            {
              "name": "ad_ids",
              "type": "array",
              "required": false,
              "description": "Fetch specific ads by IDs."
            },
            {
              "name": "ad_group_id",
              "type": "string",
              "required": false,
              "description": "Filter by parent ad group ID.",
              "constraints": {
                "max_length": 64
              }
            },
            {
              "name": "status",
              "type": "array",
              "required": false,
              "description": "Filter by status."
            },
            {
              "name": "limit",
              "type": "integer",
              "required": false,
              "description": "",
              "default": 20,
              "constraints": {
                "min": 1,
                "max": 100
              }
            },
            {
              "name": "cursor",
              "type": "string",
              "required": false,
              "description": "Opaque pagination cursor."
            },
            {
              "name": "refresh",
              "type": "boolean",
              "required": false,
              "description": "",
              "default": false
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            }
          ],
          "examples": [],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "meta_ads_list_ads",
              "relationship": "cross-platform"
            },
            {
              "name": "google_ads_list_ads",
              "relationship": "cross-platform"
            },
            {
              "name": "reddit_ads_list_ad_groups",
              "relationship": "hierarchy"
            },
            {
              "name": "tiktok_ads_list_ads",
              "relationship": "cross-platform"
            },
            {
              "name": "chatgpt_ads_list_ads",
              "relationship": "cross-platform"
            },
            {
              "name": "microsoft_ads_list_ads",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "reddit_ads_check_auth_status",
          "title": "Check Reddit Ads Authentication Status",
          "description": "Troubleshoot authentication issues and get user profile info. Only use when another tool fails with a permission or authentication error — do NOT call proactively.",
          "cli_command": "hopkin reddit auth check",
          "cli_flags": [
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "auth",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              }
            },
            "required": [
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            }
          ],
          "examples": [],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "meta_ads_check_auth_status",
              "relationship": "cross-platform"
            },
            {
              "name": "google_ads_check_auth_status",
              "relationship": "cross-platform"
            },
            {
              "name": "linkedin_ads_check_auth_status",
              "relationship": "cross-platform"
            },
            {
              "name": "reddit_ads_ping",
              "relationship": "sibling"
            },
            {
              "name": "tiktok_ads_check_auth_status",
              "relationship": "cross-platform"
            },
            {
              "name": "chatgpt_ads_check_auth_status",
              "relationship": "cross-platform"
            },
            {
              "name": "microsoft_ads_check_auth_status",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "reddit_ads_get_billing_status",
          "title": "Billing status",
          "description": "Why a call was refused with a billing error (402) and how to get unblocked. Reports whether this organization is entitled, its subscription status, tier, trial end, credits used and left this period, the price table and a link to the billing page. With checkout_tier, the organization owner also gets a Stripe Checkout link for that plan; a member gets the owner's contact and a message to forward. Call it after any 402. While waiting for a human to pay, poll it every 10 seconds for the first minute, every 30 seconds until 5 minutes, then every 60 seconds until 15 minutes, then stop and tell the human. Once it returns entitled: true, retry the blocked call; if the retry still returns 402, wait 15 seconds and retry once. A Checkout link is a payment link: give it to the organization owner only.",
          "cli_command": "hopkin reddit billing-status get",
          "cli_flags": [
            {
              "flag": "--checkout-tier",
              "description": "Organization owner only: also create a Stripe Checkout link for this plan. A member gets the owner's contact and a message to forward instead.",
              "type": "string",
              "required": false
            }
          ],
          "category": "billing-status",
          "annotations": {
            "readOnly": false,
            "destructive": false,
            "idempotent": true,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "checkout_tier": {
                "type": "string",
                "enum": [
                  "starter",
                  "pro",
                  "enterprise"
                ],
                "description": "Organization owner only: also create a Stripe Checkout link for this plan. A member gets the owner's contact and a message to forward instead."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "checkout_tier",
              "type": "string",
              "required": false,
              "description": "Organization owner only: also create a Stripe Checkout link for this plan. A member gets the owner's contact and a message to forward instead.",
              "enum_values": [
                "starter",
                "pro",
                "enterprise"
              ]
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "meta_ads_get_billing_status",
              "relationship": "cross-platform"
            },
            {
              "name": "google_ads_get_billing_status",
              "relationship": "cross-platform"
            },
            {
              "name": "linkedin_ads_get_billing_status",
              "relationship": "cross-platform"
            },
            {
              "name": "tiktok_ads_get_billing_status",
              "relationship": "cross-platform"
            },
            {
              "name": "chatgpt_ads_get_billing_status",
              "relationship": "cross-platform"
            },
            {
              "name": "microsoft_ads_get_billing_status",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "reddit_ads_list_campaigns",
          "title": "List Reddit Campaigns",
          "description": "List Reddit ad campaigns for an ad account. Shows name, configured status, delivery (effective) status, objective, and spend cap. Reddit sets budget on the ad group, not the campaign — use reddit_ads_list_ad_groups for budgets and bids.",
          "cli_command": "hopkin reddit campaigns list",
          "cli_flags": [
            {
              "flag": "--account",
              "description": "Reddit ad account ID.",
              "type": "string",
              "required": true
            },
            {
              "flag": "--campaign",
              "description": "Fetch a single campaign by ID.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--campaign-ids",
              "description": "Fetch specific campaigns by IDs.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--status",
              "description": "Filter by status.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--search",
              "description": "Search by campaign name (case-insensitive).",
              "type": "string",
              "required": false
            },
            {
              "flag": "--limit",
              "description": "",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--cursor",
              "description": "Opaque pagination cursor.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--refresh",
              "description": "",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "campaigns",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "account_id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 64,
                "description": "Reddit ad account ID."
              },
              "campaign_id": {
                "type": "string",
                "maxLength": 64,
                "description": "Fetch a single campaign by ID."
              },
              "campaign_ids": {
                "type": "array",
                "items": {
                  "type": "string",
                  "maxLength": 64
                },
                "minItems": 1,
                "maxItems": 50,
                "description": "Fetch specific campaigns by IDs."
              },
              "status": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "ACTIVE",
                    "PAUSED",
                    "ARCHIVED"
                  ]
                },
                "description": "Filter by status."
              },
              "search": {
                "type": "string",
                "description": "Search by campaign name (case-insensitive)."
              },
              "limit": {
                "type": "integer",
                "minimum": 1,
                "maximum": 100,
                "default": 20
              },
              "cursor": {
                "type": "string",
                "description": "Opaque pagination cursor."
              },
              "refresh": {
                "type": "boolean",
                "default": false
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              }
            },
            "required": [
              "account_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "account_id",
              "type": "string",
              "required": true,
              "description": "Reddit ad account ID.",
              "constraints": {
                "min_length": 1,
                "max_length": 64
              }
            },
            {
              "name": "campaign_id",
              "type": "string",
              "required": false,
              "description": "Fetch a single campaign by ID.",
              "constraints": {
                "max_length": 64
              }
            },
            {
              "name": "campaign_ids",
              "type": "array",
              "required": false,
              "description": "Fetch specific campaigns by IDs."
            },
            {
              "name": "status",
              "type": "array",
              "required": false,
              "description": "Filter by status."
            },
            {
              "name": "search",
              "type": "string",
              "required": false,
              "description": "Search by campaign name (case-insensitive)."
            },
            {
              "name": "limit",
              "type": "integer",
              "required": false,
              "description": "",
              "default": 20,
              "constraints": {
                "min": 1,
                "max": 100
              }
            },
            {
              "name": "cursor",
              "type": "string",
              "required": false,
              "description": "Opaque pagination cursor."
            },
            {
              "name": "refresh",
              "type": "boolean",
              "required": false,
              "description": "",
              "default": false
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            }
          ],
          "examples": [],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "meta_ads_list_campaigns",
              "relationship": "cross-platform"
            },
            {
              "name": "google_ads_list_campaigns",
              "relationship": "cross-platform"
            },
            {
              "name": "linkedin_ads_list_campaigns",
              "relationship": "cross-platform"
            },
            {
              "name": "reddit_ads_list_ad_accounts",
              "relationship": "hierarchy"
            },
            {
              "name": "reddit_ads_list_ad_groups",
              "relationship": "hierarchy"
            },
            {
              "name": "tiktok_ads_list_campaigns",
              "relationship": "cross-platform"
            },
            {
              "name": "chatgpt_ads_list_campaigns",
              "relationship": "cross-platform"
            },
            {
              "name": "microsoft_ads_list_campaigns",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "reddit_ads_render_chart",
          "title": "Render Chart",
          "description": "Interactive UI for rendering data visualization charts",
          "cli_command": "",
          "cli_flags": [],
          "category": "chart",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": false
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Brief explanation of why you are rendering this chart"
              },
              "chart": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "const": "bar"
                      },
                      "data": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "label": {
                              "type": "string"
                            },
                            "values": {
                              "type": "object",
                              "additionalProperties": {
                                "type": [
                                  "number",
                                  "null"
                                ]
                              }
                            }
                          },
                          "required": [
                            "label",
                            "values"
                          ],
                          "additionalProperties": false
                        }
                      },
                      "metric": {
                        "anyOf": [
                          {
                            "type": "object",
                            "properties": {
                              "field": {
                                "type": "string"
                              },
                              "label": {
                                "type": "string"
                              },
                              "format": {
                                "type": "string"
                              },
                              "tickFormat": {
                                "type": "string"
                              },
                              "labelFields": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "field": {
                                      "type": "string"
                                    },
                                    "format": {
                                      "type": "string"
                                    },
                                    "suffix": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "field"
                                  ],
                                  "additionalProperties": false
                                }
                              }
                            },
                            "required": [
                              "field",
                              "label"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "field": {
                                  "type": "string"
                                },
                                "label": {
                                  "type": "string"
                                },
                                "format": {
                                  "type": "string"
                                },
                                "tickFormat": {
                                  "type": "string"
                                },
                                "labelFields": {
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "properties": {
                                      "field": {
                                        "type": "string"
                                      },
                                      "format": {
                                        "type": "string"
                                      },
                                      "suffix": {
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "field"
                                    ],
                                    "additionalProperties": false
                                  }
                                }
                              },
                              "required": [
                                "field",
                                "label"
                              ],
                              "additionalProperties": false
                            }
                          }
                        ]
                      },
                      "orientation": {
                        "type": "string",
                        "enum": [
                          "horizontal",
                          "vertical"
                        ],
                        "default": "horizontal"
                      },
                      "sort": {
                        "type": "string",
                        "enum": [
                          "asc",
                          "desc",
                          "none"
                        ],
                        "default": "desc"
                      },
                      "colorBy": {
                        "anyOf": [
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "fixed"
                              }
                            },
                            "required": [
                              "type"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "threshold"
                              },
                              "field": {
                                "type": "string"
                              },
                              "threshold": {
                                "type": "number"
                              },
                              "sentiment": {
                                "type": "string",
                                "enum": [
                                  "above-positive",
                                  "above-negative"
                                ],
                                "default": "above-positive"
                              }
                            },
                            "required": [
                              "type",
                              "field",
                              "threshold"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "continuous"
                              },
                              "field": {
                                "type": "string"
                              },
                              "scheme": {
                                "type": "string"
                              },
                              "reverse": {
                                "type": "boolean",
                                "default": false
                              },
                              "muteZero": {
                                "type": "boolean",
                                "default": false
                              },
                              "label": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "type",
                              "field",
                              "scheme"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "categorical"
                              }
                            },
                            "required": [
                              "type"
                            ],
                            "additionalProperties": false
                          }
                        ]
                      },
                      "referenceLines": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "value": {
                              "type": "number"
                            },
                            "label": {
                              "type": "string"
                            },
                            "dash": {
                              "type": "string",
                              "enum": [
                                "solid",
                                "dashed"
                              ],
                              "default": "dashed"
                            }
                          },
                          "required": [
                            "value"
                          ],
                          "additionalProperties": false
                        }
                      },
                      "table": {
                        "type": "object",
                        "properties": {
                          "columns": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "field": {
                                  "type": "string"
                                },
                                "label": {
                                  "type": "string"
                                },
                                "format": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "field",
                                "label"
                              ],
                              "additionalProperties": false
                            }
                          }
                        },
                        "required": [
                          "columns"
                        ],
                        "additionalProperties": false
                      },
                      "panelWidth": {
                        "type": "number"
                      },
                      "width": {
                        "type": "number",
                        "default": 700
                      },
                      "height": {
                        "type": "number",
                        "default": 400
                      }
                    },
                    "required": [
                      "type",
                      "data",
                      "metric"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "const": "scatter"
                      },
                      "data": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "label": {
                              "type": "string"
                            },
                            "values": {
                              "type": "object",
                              "additionalProperties": {
                                "type": "number"
                              }
                            }
                          },
                          "required": [
                            "label",
                            "values"
                          ],
                          "additionalProperties": false
                        }
                      },
                      "x": {
                        "type": "object",
                        "properties": {
                          "field": {
                            "type": "string"
                          },
                          "label": {
                            "type": "string"
                          },
                          "scale": {
                            "type": "string",
                            "enum": [
                              "linear",
                              "log"
                            ],
                            "default": "linear"
                          },
                          "format": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "field",
                          "label"
                        ],
                        "additionalProperties": false
                      },
                      "y": {
                        "type": "object",
                        "properties": {
                          "field": {
                            "type": "string"
                          },
                          "label": {
                            "type": "string"
                          },
                          "scale": {
                            "type": "string",
                            "enum": [
                              "linear",
                              "log"
                            ],
                            "default": "linear"
                          },
                          "format": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "field",
                          "label"
                        ],
                        "additionalProperties": false
                      },
                      "size": {
                        "type": "object",
                        "properties": {
                          "field": {
                            "type": "string"
                          },
                          "range": {
                            "type": "array",
                            "items": {
                              "type": "number"
                            },
                            "minItems": 2,
                            "maxItems": 2,
                            "default": [
                              3,
                              20
                            ]
                          }
                        },
                        "required": [
                          "field"
                        ],
                        "additionalProperties": false
                      },
                      "color": {
                        "anyOf": [
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "fixed"
                              }
                            },
                            "required": [
                              "type"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "continuous"
                              },
                              "field": {
                                "type": "string"
                              },
                              "scheme": {
                                "type": "string"
                              },
                              "reverse": {
                                "type": "boolean",
                                "default": false
                              }
                            },
                            "required": [
                              "type",
                              "field",
                              "scheme"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "threshold"
                              },
                              "field": {
                                "type": "string"
                              },
                              "threshold": {
                                "type": "number"
                              },
                              "sentiment": {
                                "type": "string",
                                "enum": [
                                  "above-positive",
                                  "above-negative"
                                ],
                                "default": "above-positive"
                              }
                            },
                            "required": [
                              "type",
                              "field",
                              "threshold"
                            ],
                            "additionalProperties": false
                          }
                        ]
                      },
                      "referenceLines": {
                        "type": "object",
                        "properties": {
                          "medianX": {
                            "type": "boolean",
                            "default": false
                          },
                          "medianY": {
                            "type": "boolean",
                            "default": false
                          },
                          "targets": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "slope": {
                                  "type": "number"
                                },
                                "label": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "slope",
                                "label"
                              ],
                              "additionalProperties": false
                            }
                          },
                          "regression": {
                            "type": "boolean",
                            "default": false
                          }
                        },
                        "additionalProperties": false
                      },
                      "table": {
                        "type": "object",
                        "properties": {
                          "columns": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "field": {
                                  "type": "string"
                                },
                                "label": {
                                  "type": "string"
                                },
                                "format": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "field",
                                "label"
                              ],
                              "additionalProperties": false
                            }
                          }
                        },
                        "required": [
                          "columns"
                        ],
                        "additionalProperties": false
                      },
                      "width": {
                        "type": "number",
                        "default": 700
                      },
                      "height": {
                        "type": "number",
                        "default": 450
                      }
                    },
                    "required": [
                      "type",
                      "data",
                      "x",
                      "y"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "const": "timeseries"
                      },
                      "data": {
                        "type": "object",
                        "properties": {
                          "current": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "date": {
                                  "type": "string"
                                },
                                "values": {
                                  "type": "object",
                                  "additionalProperties": {
                                    "type": "number"
                                  }
                                }
                              },
                              "required": [
                                "date",
                                "values"
                              ],
                              "additionalProperties": false
                            }
                          },
                          "previous": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "date": {
                                  "type": "string"
                                },
                                "values": {
                                  "type": "object",
                                  "additionalProperties": {
                                    "type": "number"
                                  }
                                }
                              },
                              "required": [
                                "date",
                                "values"
                              ],
                              "additionalProperties": false
                            }
                          },
                          "projection": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "date": {
                                  "type": "string"
                                },
                                "values": {
                                  "type": "object",
                                  "additionalProperties": {
                                    "type": "number"
                                  }
                                }
                              },
                              "required": [
                                "date",
                                "values"
                              ],
                              "additionalProperties": false
                            }
                          }
                        },
                        "required": [
                          "current"
                        ],
                        "additionalProperties": false
                      },
                      "primaryAxis": {
                        "type": "object",
                        "properties": {
                          "field": {
                            "type": "string"
                          },
                          "label": {
                            "type": "string"
                          },
                          "mark": {
                            "type": "string",
                            "enum": [
                              "bar",
                              "area",
                              "line"
                            ]
                          },
                          "groupBars": {
                            "type": "boolean"
                          }
                        },
                        "required": [
                          "field",
                          "label",
                          "mark"
                        ],
                        "additionalProperties": false
                      },
                      "secondaryAxis": {
                        "type": "object",
                        "properties": {
                          "field": {
                            "type": "string"
                          },
                          "label": {
                            "type": "string"
                          },
                          "dash": {
                            "type": "string",
                            "enum": [
                              "solid",
                              "dashed"
                            ],
                            "default": "solid"
                          }
                        },
                        "required": [
                          "field",
                          "label"
                        ],
                        "additionalProperties": false
                      },
                      "width": {
                        "type": "number",
                        "default": 700
                      },
                      "height": {
                        "type": "number",
                        "default": 400
                      }
                    },
                    "required": [
                      "type",
                      "data",
                      "primaryAxis"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "const": "funnel"
                      },
                      "data": {
                        "type": "object",
                        "properties": {
                          "stages": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          },
                          "volume": {
                            "type": "array",
                            "items": {
                              "type": "number"
                            }
                          },
                          "costPer": {
                            "type": "array",
                            "items": {
                              "type": "number"
                            }
                          }
                        },
                        "required": [
                          "stages",
                          "volume"
                        ],
                        "additionalProperties": false
                      },
                      "showConversionRates": {
                        "type": "boolean",
                        "default": true
                      },
                      "showCostPer": {
                        "type": "boolean",
                        "default": true
                      },
                      "colorScheme": {
                        "type": "string",
                        "default": "Blues"
                      },
                      "width": {
                        "type": "number",
                        "default": 700
                      },
                      "height": {
                        "type": "number",
                        "default": 350
                      }
                    },
                    "required": [
                      "type",
                      "data"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "const": "waterfall"
                      },
                      "data": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "label": {
                              "type": "string"
                            },
                            "value": {
                              "type": "number"
                            },
                            "colorValue": {
                              "type": "number"
                            }
                          },
                          "required": [
                            "label",
                            "value",
                            "colorValue"
                          ],
                          "additionalProperties": false
                        }
                      },
                      "colorScheme": {
                        "type": "string",
                        "default": "RdYlGn"
                      },
                      "colorLabel": {
                        "type": "string",
                        "default": "CPA ($)"
                      },
                      "valueLabel": {
                        "type": "string",
                        "default": "Cumulative Spend ($)"
                      },
                      "width": {
                        "type": "number",
                        "default": 700
                      },
                      "height": {
                        "type": "number"
                      }
                    },
                    "required": [
                      "type",
                      "data"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "const": "choropleth"
                      },
                      "data": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "state": {
                              "type": "string"
                            },
                            "value": {
                              "type": "number"
                            },
                            "meta": {
                              "type": "object",
                              "additionalProperties": {
                                "type": [
                                  "string",
                                  "number",
                                  "null"
                                ]
                              }
                            }
                          },
                          "required": [
                            "state",
                            "value"
                          ],
                          "additionalProperties": false
                        }
                      },
                      "valueLabel": {
                        "type": "string"
                      },
                      "colorScheme": {
                        "type": "string",
                        "default": "YlOrRd"
                      },
                      "colorType": {
                        "type": "string",
                        "enum": [
                          "quantize",
                          "linear",
                          "threshold"
                        ],
                        "default": "quantize"
                      },
                      "reverse": {
                        "type": "boolean",
                        "default": false
                      },
                      "tip": {
                        "type": "object",
                        "properties": {
                          "fields": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "field": {
                                  "type": "string"
                                },
                                "label": {
                                  "type": "string"
                                },
                                "format": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "field",
                                "label"
                              ],
                              "additionalProperties": false
                            }
                          }
                        },
                        "required": [
                          "fields"
                        ],
                        "additionalProperties": false
                      },
                      "width": {
                        "type": "number",
                        "default": 700
                      },
                      "height": {
                        "type": "number",
                        "default": 450
                      }
                    },
                    "required": [
                      "type",
                      "data",
                      "valueLabel"
                    ],
                    "additionalProperties": false
                  }
                ]
              }
            },
            "required": [
              "reason",
              "chart"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Brief explanation of why you are rendering this chart",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            },
            {
              "name": "chart",
              "type": "object",
              "required": true,
              "description": "Chart configuration. Supported types: bar, scatter, timeseries, funnel, waterfall, choropleth."
            }
          ],
          "examples": [],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "meta_ads_render_chart",
              "relationship": "cross-platform"
            },
            {
              "name": "google_ads_render_chart",
              "relationship": "cross-platform"
            },
            {
              "name": "linkedin_ads_render_chart",
              "relationship": "cross-platform"
            },
            {
              "name": "microsoft_ads_render_chart",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "app",
          "chart_types": [
            "bar",
            "scatter",
            "timeseries",
            "funnel",
            "waterfall",
            "choropleth"
          ]
        },
        {
          "name": "reddit_ads_list_connections",
          "title": "List Reddit Connections",
          "description": "List the Reddit Ads connections available to you — both ones you own and ones shared with you via an organization. Use this to discover connection IDs for set_default / share / rename / revoke.",
          "cli_command": "hopkin reddit connections list",
          "cli_flags": [],
          "category": "connections",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": false
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "List connections",
              "mcp_params": {
                "reason": "User asked which Reddit accounts they have connected"
              },
              "cli_command": "hopkin reddit connections list",
              "natural_language": "List connections"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "meta_ads_list_connections",
              "relationship": "cross-platform"
            },
            {
              "name": "google_ads_list_connections",
              "relationship": "cross-platform"
            },
            {
              "name": "linkedin_ads_list_connections",
              "relationship": "cross-platform"
            },
            {
              "name": "tiktok_ads_list_connections",
              "relationship": "cross-platform"
            },
            {
              "name": "chatgpt_ads_list_connections",
              "relationship": "cross-platform"
            },
            {
              "name": "microsoft_ads_list_connections",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "reddit_ads_set_default_connection",
          "title": "Set Default Reddit Connection",
          "description": "Set the Reddit connection that should be used by default for subsequent Reddit Ads tool calls. The default is scoped to the calling actor (your user account, or the API key being used).",
          "cli_command": "hopkin reddit set-default-connection",
          "cli_flags": [
            {
              "flag": "--connection-id",
              "description": "UUID of the connection to mark as the actor's default Reddit connection.",
              "type": "string",
              "required": true
            }
          ],
          "category": "set-default-connection",
          "annotations": {
            "readOnly": false,
            "destructive": false,
            "idempotent": true,
            "openWorld": false
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "UUID of the connection to mark as the actor's default Reddit connection."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "connection_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "connection_id",
              "type": "string",
              "required": true,
              "description": "UUID of the connection to mark as the actor's default Reddit connection."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "Set default",
              "mcp_params": {
                "connection_id": "00000000-0000-0000-0000-000000000001",
                "reason": "User picked their primary Reddit workspace"
              },
              "cli_command": "hopkin reddit set-default-connection --connection-id 00000000-0000-0000-0000-000000000001",
              "natural_language": "Set default"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "meta_ads_set_default_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "google_ads_set_default_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "linkedin_ads_set_default_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "tiktok_ads_set_default_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "chatgpt_ads_set_default_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "microsoft_ads_set_default_connection",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "reddit_ads_share_connection",
          "title": "Share Reddit Connection With Organization",
          "description": "Share an owned Reddit connection with all members of your organization, so teammates can use it without having to reconnect Reddit themselves. You must be the owner of the connection.",
          "cli_command": "hopkin reddit share-connection",
          "cli_flags": [
            {
              "flag": "--connection-id",
              "description": "UUID of the connection to share with your organization. You must be the owner.",
              "type": "string",
              "required": true
            }
          ],
          "category": "share-connection",
          "annotations": {
            "readOnly": false,
            "destructive": false,
            "idempotent": true,
            "openWorld": false
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "UUID of the connection to share with your organization. You must be the owner."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "connection_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "connection_id",
              "type": "string",
              "required": true,
              "description": "UUID of the connection to share with your organization. You must be the owner."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "Share with org",
              "mcp_params": {
                "connection_id": "00000000-0000-0000-0000-000000000001",
                "reason": "User asked to share this Reddit connection with their teammates"
              },
              "cli_command": "hopkin reddit share-connection --connection-id 00000000-0000-0000-0000-000000000001",
              "natural_language": "Share with org"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "meta_ads_share_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "google_ads_share_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "linkedin_ads_share_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "tiktok_ads_share_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "chatgpt_ads_share_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "microsoft_ads_share_connection",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "reddit_ads_unshare_connection",
          "title": "Unshare Reddit Connection From Organization",
          "description": "Stop sharing an owned Reddit connection with your organization. Teammates lose access immediately. You must be the owner.",
          "cli_command": "hopkin reddit unshare-connection",
          "cli_flags": [
            {
              "flag": "--connection-id",
              "description": "UUID of the connection to stop sharing with your organization. You must be the owner.",
              "type": "string",
              "required": true
            }
          ],
          "category": "unshare-connection",
          "annotations": {
            "readOnly": false,
            "destructive": true,
            "idempotent": true,
            "openWorld": false
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "UUID of the connection to stop sharing with your organization. You must be the owner."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "connection_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "connection_id",
              "type": "string",
              "required": true,
              "description": "UUID of the connection to stop sharing with your organization. You must be the owner."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "Stop sharing",
              "mcp_params": {
                "connection_id": "00000000-0000-0000-0000-000000000001",
                "reason": "User no longer wants the team to access this Reddit connection"
              },
              "cli_command": "hopkin reddit unshare-connection --connection-id 00000000-0000-0000-0000-000000000001",
              "natural_language": "Stop sharing"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "meta_ads_unshare_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "google_ads_unshare_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "linkedin_ads_unshare_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "tiktok_ads_unshare_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "chatgpt_ads_unshare_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "microsoft_ads_unshare_connection",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "reddit_ads_rename_connection",
          "title": "Rename Reddit Connection",
          "description": "Rename the display name of an owned Reddit connection. The OAuth grant and underlying account are unaffected — this only changes the human-readable label. You must be the owner.",
          "cli_command": "hopkin reddit rename-connection",
          "cli_flags": [
            {
              "flag": "--connection-id",
              "description": "UUID of the connection to rename. You must be the owner.",
              "type": "string",
              "required": true
            },
            {
              "flag": "--display-name",
              "description": "New human-readable name for the connection.",
              "type": "string",
              "required": true
            }
          ],
          "category": "rename-connection",
          "annotations": {
            "readOnly": false,
            "destructive": false,
            "idempotent": true,
            "openWorld": false
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "UUID of the connection to rename. You must be the owner."
              },
              "display_name": {
                "type": "string",
                "minLength": 1,
                "maxLength": 120,
                "description": "New human-readable name for the connection."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "connection_id",
              "display_name",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "connection_id",
              "type": "string",
              "required": true,
              "description": "UUID of the connection to rename. You must be the owner."
            },
            {
              "name": "display_name",
              "type": "string",
              "required": true,
              "description": "New human-readable name for the connection.",
              "constraints": {
                "min_length": 1,
                "max_length": 120
              }
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "Rename",
              "mcp_params": {
                "connection_id": "00000000-0000-0000-0000-000000000001",
                "display_name": "Acme — Production",
                "reason": "User wanted a clearer label for this Reddit connection"
              },
              "cli_command": "hopkin reddit rename-connection --connection-id 00000000-0000-0000-0000-000000000001 --display-name Acme — Production",
              "natural_language": "Rename"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "meta_ads_rename_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "google_ads_rename_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "linkedin_ads_rename_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "tiktok_ads_rename_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "chatgpt_ads_rename_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "microsoft_ads_rename_connection",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "reddit_ads_revoke_connection",
          "title": "Revoke Reddit Connection",
          "description": "Revoke (soft-delete) an owned Reddit connection. Any defaults pointing to it are invalidated and shared org members lose access. The OAuth grant at Reddit is NOT revoked by this tool — the user must disconnect via the dashboard if they want to fully revoke at Reddit. You must be the owner.",
          "cli_command": "hopkin reddit revoke-connection",
          "cli_flags": [
            {
              "flag": "--connection-id",
              "description": "UUID of the connection to revoke. You must be the owner.",
              "type": "string",
              "required": true
            }
          ],
          "category": "revoke-connection",
          "annotations": {
            "readOnly": false,
            "destructive": true,
            "idempotent": true,
            "openWorld": false
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "UUID of the connection to revoke. You must be the owner."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "connection_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "connection_id",
              "type": "string",
              "required": true,
              "description": "UUID of the connection to revoke. You must be the owner."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "Revoke",
              "mcp_params": {
                "connection_id": "00000000-0000-0000-0000-000000000001",
                "reason": "User asked to disconnect this Reddit account"
              },
              "cli_command": "hopkin reddit revoke-connection --connection-id 00000000-0000-0000-0000-000000000001",
              "natural_language": "Revoke"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "meta_ads_revoke_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "google_ads_revoke_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "linkedin_ads_revoke_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "tiktok_ads_revoke_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "chatgpt_ads_revoke_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "microsoft_ads_revoke_connection",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "reddit_ads_list_custom_audiences",
          "title": "List Reddit Custom Audiences",
          "description": "List Reddit custom audiences for an ad account. Shows name, type, size, and status.",
          "cli_command": "hopkin reddit custom-audiences list",
          "cli_flags": [
            {
              "flag": "--account",
              "description": "Reddit ad account ID.",
              "type": "string",
              "required": true
            },
            {
              "flag": "--audience-id",
              "description": "Fetch a single custom audience by ID.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--audience-ids",
              "description": "Fetch specific audiences by IDs.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--limit",
              "description": "",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--cursor",
              "description": "Opaque pagination cursor.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--refresh",
              "description": "",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "custom-audiences",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "account_id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 64,
                "description": "Reddit ad account ID."
              },
              "audience_id": {
                "type": "string",
                "maxLength": 64,
                "description": "Fetch a single custom audience by ID."
              },
              "audience_ids": {
                "type": "array",
                "items": {
                  "type": "string",
                  "maxLength": 64
                },
                "minItems": 1,
                "maxItems": 50,
                "description": "Fetch specific audiences by IDs."
              },
              "limit": {
                "type": "integer",
                "minimum": 1,
                "maximum": 100,
                "default": 20
              },
              "cursor": {
                "type": "string",
                "description": "Opaque pagination cursor."
              },
              "refresh": {
                "type": "boolean",
                "default": false
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              }
            },
            "required": [
              "account_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "account_id",
              "type": "string",
              "required": true,
              "description": "Reddit ad account ID.",
              "constraints": {
                "min_length": 1,
                "max_length": 64
              }
            },
            {
              "name": "audience_id",
              "type": "string",
              "required": false,
              "description": "Fetch a single custom audience by ID.",
              "constraints": {
                "max_length": 64
              }
            },
            {
              "name": "audience_ids",
              "type": "array",
              "required": false,
              "description": "Fetch specific audiences by IDs."
            },
            {
              "name": "limit",
              "type": "integer",
              "required": false,
              "description": "",
              "default": 20,
              "constraints": {
                "min": 1,
                "max": 100
              }
            },
            {
              "name": "cursor",
              "type": "string",
              "required": false,
              "description": "Opaque pagination cursor."
            },
            {
              "name": "refresh",
              "type": "boolean",
              "required": false,
              "description": "",
              "default": false
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            }
          ],
          "examples": [],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "chatgpt_ads_list_custom_audiences",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "reddit_ads_developer_feedback",
          "title": "Submit Developer Feedback",
          "description": "Submit feedback about missing tools, improvements, bugs, or workflow gaps in the Reddit Ads MCP toolset. Not for user-facing issues like auth or API errors.",
          "cli_command": "hopkin reddit developer-feedback send",
          "cli_flags": [
            {
              "flag": "--feedback-type",
              "description": "Feedback category: new_tool (request new capability), improvement (enhance existing tool), bug (report issue), workflow_gap (missing workflow)",
              "type": "string",
              "required": true
            },
            {
              "flag": "--title",
              "description": "Concise title summarizing the feedback",
              "type": "string",
              "required": true
            },
            {
              "flag": "--description",
              "description": "What is needed and why",
              "type": "string",
              "required": true
            },
            {
              "flag": "--current-workaround",
              "description": "Current workaround, if any",
              "type": "string",
              "required": false
            },
            {
              "flag": "--priority",
              "description": "Impact level: low (nice-to-have), medium (improves workflow), high (blocking issue)",
              "type": "string",
              "required": false
            },
            {
              "flag": "--interface",
              "description": "Interface the feedback originated from: MCP (default) or CLI",
              "type": "string",
              "required": false
            }
          ],
          "category": "feedback",
          "annotations": {
            "readOnly": false,
            "destructive": false,
            "idempotent": true,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "feedback_type": {
                "type": "string",
                "enum": [
                  "new_tool",
                  "improvement",
                  "bug",
                  "workflow_gap"
                ],
                "description": "Feedback category: new_tool (request new capability), improvement (enhance existing tool), bug (report issue), workflow_gap (missing workflow)"
              },
              "title": {
                "type": "string",
                "minLength": 5,
                "maxLength": 200,
                "description": "Concise title summarizing the feedback"
              },
              "description": {
                "type": "string",
                "minLength": 20,
                "maxLength": 2000,
                "description": "What is needed and why"
              },
              "current_workaround": {
                "type": "string",
                "maxLength": 1000,
                "description": "Current workaround, if any"
              },
              "priority": {
                "type": "string",
                "enum": [
                  "low",
                  "medium",
                  "high"
                ],
                "default": "medium",
                "description": "Impact level: low (nice-to-have), medium (improves workflow), high (blocking issue)"
              },
              "interface": {
                "type": "string",
                "enum": [
                  "MCP",
                  "CLI"
                ],
                "default": "MCP",
                "description": "Interface the feedback originated from: MCP (default) or CLI"
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "feedback_type",
              "title",
              "description",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "feedback_type",
              "type": "string",
              "required": true,
              "description": "Feedback category: new_tool (request new capability), improvement (enhance existing tool), bug (report issue), workflow_gap (missing workflow)",
              "enum_values": [
                "new_tool",
                "improvement",
                "bug",
                "workflow_gap"
              ]
            },
            {
              "name": "title",
              "type": "string",
              "required": true,
              "description": "Concise title summarizing the feedback",
              "constraints": {
                "min_length": 5,
                "max_length": 200
              }
            },
            {
              "name": "description",
              "type": "string",
              "required": true,
              "description": "What is needed and why",
              "constraints": {
                "min_length": 20,
                "max_length": 2000
              }
            },
            {
              "name": "current_workaround",
              "type": "string",
              "required": false,
              "description": "Current workaround, if any",
              "constraints": {
                "max_length": 1000
              }
            },
            {
              "name": "priority",
              "type": "string",
              "required": false,
              "description": "Impact level: low (nice-to-have), medium (improves workflow), high (blocking issue)",
              "enum_values": [
                "low",
                "medium",
                "high"
              ],
              "default": "medium"
            },
            {
              "name": "interface",
              "type": "string",
              "required": false,
              "description": "Interface the feedback originated from: MCP (default) or CLI",
              "enum_values": [
                "MCP",
                "CLI"
              ],
              "default": "MCP"
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "Missing tool",
              "mcp_params": {
                "feedback_type": "new_tool",
                "title": "Bulk ad group status toggle",
                "description": "Need to pause/enable multiple ad groups at once rather than one by one",
                "priority": "high",
                "reason": "User asked to pause 10 ad groups individually"
              },
              "cli_command": "hopkin reddit developer-feedback send --feedback-type new_tool --title Bulk ad group status toggle --description Need to pause/enable multiple ad groups at once rather than one by one --priority high",
              "natural_language": "Missing tool"
            },
            {
              "label": "Workflow gap",
              "mcp_params": {
                "feedback_type": "workflow_gap",
                "title": "Campaign cloning with ad groups",
                "description": "No way to duplicate a campaign including all ad groups and ads",
                "current_workaround": "Read and recreate each level one by one",
                "reason": "User wanted to duplicate campaign structure"
              },
              "cli_command": "hopkin reddit developer-feedback send --feedback-type workflow_gap --title Campaign cloning with ad groups --description No way to duplicate a campaign including all ad groups and ads --current-workaround Read and recreate each level one by one",
              "natural_language": "Workflow gap"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "meta_ads_developer_feedback",
              "relationship": "cross-platform"
            },
            {
              "name": "google_ads_developer_feedback",
              "relationship": "cross-platform"
            },
            {
              "name": "linkedin_ads_developer_feedback",
              "relationship": "cross-platform"
            },
            {
              "name": "tiktok_ads_developer_feedback",
              "relationship": "cross-platform"
            },
            {
              "name": "chatgpt_ads_developer_feedback",
              "relationship": "cross-platform"
            },
            {
              "name": "microsoft_ads_developer_feedback",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "reddit_ads_ping",
          "title": "Ping Reddit Ads MCP Server",
          "description": "Health check for the Reddit Ads MCP server.",
          "cli_command": "hopkin reddit ping",
          "cli_flags": [
            {
              "flag": "--message",
              "description": "Optional message to echo back",
              "type": "string",
              "required": false
            }
          ],
          "category": "auth",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": false
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "message": {
                "type": "string",
                "maxLength": 100,
                "description": "Optional message to echo back"
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "message",
              "type": "string",
              "required": false,
              "description": "Optional message to echo back",
              "constraints": {
                "max_length": 100
              }
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "Health check",
              "mcp_params": {
                "reason": "Verify server is running"
              },
              "cli_command": "hopkin reddit ping",
              "natural_language": "Health check"
            },
            {
              "label": "With message",
              "mcp_params": {
                "message": "hello",
                "reason": "Test connectivity"
              },
              "cli_command": "hopkin reddit ping --message hello",
              "natural_language": "With message"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "meta_ads_ping",
              "relationship": "cross-platform"
            },
            {
              "name": "google_ads_ping",
              "relationship": "cross-platform"
            },
            {
              "name": "linkedin_ads_ping",
              "relationship": "cross-platform"
            },
            {
              "name": "reddit_ads_check_auth_status",
              "relationship": "sibling"
            },
            {
              "name": "tiktok_ads_ping",
              "relationship": "cross-platform"
            },
            {
              "name": "chatgpt_ads_ping",
              "relationship": "cross-platform"
            },
            {
              "name": "microsoft_ads_ping",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "reddit_ads_get_performance_report",
          "title": "Get Reddit Ads Performance Report",
          "description": "Get a performance report for a Reddit ad account over a date range, with optional breakdowns, entity filters, and opt-in conversion metrics such as sign-ups, leads, purchases, CPA, value, and ROAS. Rows are ordered by the breakdown values by default. For \"which drove the most\" or \"top N\" questions pass \\",
          "cli_command": "hopkin reddit performance-report get",
          "cli_flags": [
            {
              "flag": "--account",
              "description": "Reddit ad account ID.",
              "type": "string",
              "required": true
            },
            {
              "flag": "--campaign-ids",
              "description": "Filter to specific campaign IDs.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--ad-group-ids",
              "description": "Filter to specific ad group IDs.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--ad-ids",
              "description": "Filter to specific ad IDs.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--date-start",
              "description": "Start date in YYYY-MM-DD format.",
              "type": "string",
              "required": true
            },
            {
              "flag": "--date-end",
              "description": "End date in YYYY-MM-DD format.",
              "type": "string",
              "required": true
            },
            {
              "flag": "--breakdown",
              "description": "Up to 3 breakdown dimensions. \"community\" shows subreddit-level data.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--metrics",
              "description": "Optional report metrics. Defaults to impressions, clicks, spend, ecpm, ctr, cpc. Conversion examples: signup_total, lead_total, purchase_total, conversion_purchase_roas.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--limit",
              "description": "Maximum report rows to return per page (1-1000, default 100). `count` in the response is the total across all pages — rows are NOT all returned in one call. Row order is set by `order_by` (default: by breakdown values; `spend` puts the top spenders first). When more rows remain, the response includes a top-level `nextCursor`; pass it back as `cursor` to continue.",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--order-by",
              "description": "Row order. 'breakdown' (default): sorted by the breakdown values, a stable order for walking every page. 'spend': highest spend first, so page 1 holds the top spenders — use it for \"which communities/campaigns drove the most\" questions instead of reading every page. A cursor only continues the order it was issued under.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--cursor",
              "description": "Opaque pagination cursor from a previous response's `nextCursor` — pass it back verbatim to continue past that page. Do not construct it yourself.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "reporting",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "account_id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 64,
                "description": "Reddit ad account ID."
              },
              "campaign_ids": {
                "type": "array",
                "items": {
                  "type": "string",
                  "maxLength": 64
                },
                "description": "Filter to specific campaign IDs."
              },
              "ad_group_ids": {
                "type": "array",
                "items": {
                  "type": "string",
                  "maxLength": 64
                },
                "description": "Filter to specific ad group IDs."
              },
              "ad_ids": {
                "type": "array",
                "items": {
                  "type": "string",
                  "maxLength": 64
                },
                "description": "Filter to specific ad IDs."
              },
              "date_start": {
                "type": "string",
                "description": "Start date in YYYY-MM-DD format."
              },
              "date_end": {
                "type": "string",
                "description": "End date in YYYY-MM-DD format."
              },
              "breakdown": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "campaign",
                    "ad_group",
                    "ad",
                    "community",
                    "date",
                    "country",
                    "region",
                    "placement",
                    "device_os"
                  ]
                },
                "maxItems": 3,
                "description": "Up to 3 breakdown dimensions. \"community\" shows subreddit-level data."
              },
              "metrics": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "minItems": 1,
                "maxItems": 40,
                "description": "Optional report metrics. Defaults to impressions, clicks, spend, ecpm, ctr, cpc. Conversion examples: signup_total, lead_total, purchase_total, conversion_purchase_roas."
              },
              "limit": {
                "type": "integer",
                "minimum": 1,
                "maximum": 1000,
                "default": 100,
                "description": "Maximum report rows to return per page (1-1000, default 100). `count` in the response is the total across all pages — rows are NOT all returned in one call. Row order is set by `order_by` (default: by breakdown values; `spend` puts the top spenders first). When more rows remain, the response includes a top-level `nextCursor`; pass it back as `cursor` to continue."
              },
              "order_by": {
                "type": "string",
                "enum": [
                  "breakdown",
                  "spend"
                ],
                "default": "breakdown",
                "description": "Row order. 'breakdown' (default): sorted by the breakdown values, a stable order for walking every page. 'spend': highest spend first, so page 1 holds the top spenders — use it for \"which communities/campaigns drove the most\" questions instead of reading every page. A cursor only continues the order it was issued under."
              },
              "cursor": {
                "type": "string",
                "description": "Opaque pagination cursor from a previous response's `nextCursor` — pass it back verbatim to continue past that page. Do not construct it yourself."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              }
            },
            "required": [
              "account_id",
              "date_start",
              "date_end",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "account_id",
              "type": "string",
              "required": true,
              "description": "Reddit ad account ID.",
              "constraints": {
                "min_length": 1,
                "max_length": 64
              }
            },
            {
              "name": "campaign_ids",
              "type": "array",
              "required": false,
              "description": "Filter to specific campaign IDs."
            },
            {
              "name": "ad_group_ids",
              "type": "array",
              "required": false,
              "description": "Filter to specific ad group IDs."
            },
            {
              "name": "ad_ids",
              "type": "array",
              "required": false,
              "description": "Filter to specific ad IDs."
            },
            {
              "name": "date_start",
              "type": "string",
              "required": true,
              "description": "Start date in YYYY-MM-DD format."
            },
            {
              "name": "date_end",
              "type": "string",
              "required": true,
              "description": "End date in YYYY-MM-DD format."
            },
            {
              "name": "breakdown",
              "type": "array",
              "required": false,
              "description": "Up to 3 breakdown dimensions. \"community\" shows subreddit-level data."
            },
            {
              "name": "metrics",
              "type": "array",
              "required": false,
              "description": "Optional report metrics. Defaults to impressions, clicks, spend, ecpm, ctr, cpc. Conversion examples: signup_total, lead_total, purchase_total, conversion_purchase_roas."
            },
            {
              "name": "limit",
              "type": "integer",
              "required": false,
              "description": "Maximum report rows to return per page (1-1000, default 100). `count` in the response is the total across all pages — rows are NOT all returned in one call. Row order is set by `order_by` (default: by breakdown values; `spend` puts the top spenders first). When more rows remain, the response includes a top-level `nextCursor`; pass it back as `cursor` to continue.",
              "default": 100,
              "constraints": {
                "min": 1,
                "max": 1000
              }
            },
            {
              "name": "order_by",
              "type": "string",
              "required": false,
              "description": "Row order. 'breakdown' (default): sorted by the breakdown values, a stable order for walking every page. 'spend': highest spend first, so page 1 holds the top spenders — use it for \"which communities/campaigns drove the most\" questions instead of reading every page. A cursor only continues the order it was issued under.",
              "enum_values": [
                "breakdown",
                "spend"
              ],
              "default": "breakdown"
            },
            {
              "name": "cursor",
              "type": "string",
              "required": false,
              "description": "Opaque pagination cursor from a previous response's `nextCursor` — pass it back verbatim to continue past that page. Do not construct it yourself."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            }
          ],
          "examples": [],
          "response_format": "json",
          "related_tools": [
            {
              "name": "meta_ads_get_performance_report",
              "relationship": "cross-platform"
            },
            {
              "name": "google_ads_get_performance_report",
              "relationship": "cross-platform"
            },
            {
              "name": "linkedin_ads_get_performance_report",
              "relationship": "cross-platform"
            },
            {
              "name": "tiktok_ads_get_performance_report",
              "relationship": "cross-platform"
            },
            {
              "name": "microsoft_ads_get_performance_report",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        }
      ]
    },
    {
      "id": "tiktok-ads",
      "name": "TikTok Ads",
      "description": "TikTok Marketing API for short-form video advertising",
      "tool_count": 28,
      "mcpUrl": "https://tiktok.mcp.hopkin.ai",
      "tools": [
        {
          "name": "tiktok_ads_get_activities",
          "title": "Get TikTok Ads Change History",
          "description": "What changed in a TikTok advertiser, and when: status toggles, budgets, bids, schedules, targeting, creatives and review outcomes of campaigns, ad groups and ads (Smart+ included), with before/after values and who made each change. ",
          "cli_command": "hopkin tiktok activities get",
          "cli_flags": [
            {
              "flag": "--advertiser-id",
              "description": "TikTok advertiser ID.",
              "type": "string",
              "required": true
            },
            {
              "flag": "--start-date",
              "description": "Start of the window, YYYY-MM-DD (UTC). Defaults to 7 days before end_date.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--end-date",
              "description": "End of the window, YYYY-MM-DD (UTC), inclusive. Defaults to today.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--entity-type",
              "description": "Only changes to this kind of entity.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--entity-ids",
              "description": "Only changes to these campaign / ad group / ad IDs.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--limit",
              "description": "Changes per page (1-200, default 50).",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--cursor",
              "description": "nextCursor from the previous response. Pass it with otherwise identical parameters for the next page.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--refresh",
              "description": "Fetch TikTok's change log now before answering. Normally not needed: it is fetched when the last sync is over 15 minutes old.",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "activities",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "advertiser_id": {
                "type": "string",
                "pattern": "^\\d{1,25}$",
                "description": "TikTok advertiser ID."
              },
              "start_date": {
                "type": "string",
                "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                "description": "Start of the window, YYYY-MM-DD (UTC). Defaults to 7 days before end_date."
              },
              "end_date": {
                "type": "string",
                "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                "description": "End of the window, YYYY-MM-DD (UTC), inclusive. Defaults to today."
              },
              "entity_type": {
                "type": "string",
                "enum": [
                  "ADVERTISER",
                  "CAMPAIGN",
                  "ADGROUP",
                  "AD",
                  "INSTANT_FORM"
                ],
                "description": "Only changes to this kind of entity."
              },
              "entity_ids": {
                "type": "array",
                "items": {
                  "type": "string",
                  "pattern": "^\\d{1,25}$"
                },
                "minItems": 1,
                "maxItems": 100,
                "description": "Only changes to these campaign / ad group / ad IDs."
              },
              "limit": {
                "type": "integer",
                "minimum": 1,
                "maximum": 200,
                "default": 50,
                "description": "Changes per page (1-200, default 50)."
              },
              "cursor": {
                "type": "string",
                "description": "nextCursor from the previous response. Pass it with otherwise identical parameters for the next page."
              },
              "refresh": {
                "type": "boolean",
                "default": false,
                "description": "Fetch TikTok's change log now before answering. Normally not needed: it is fetched when the last sync is over 15 minutes old."
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "advertiser_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "advertiser_id",
              "type": "string",
              "required": true,
              "description": "TikTok advertiser ID.",
              "constraints": {
                "pattern": "^\\d{1,25}$"
              }
            },
            {
              "name": "start_date",
              "type": "string",
              "required": false,
              "description": "Start of the window, YYYY-MM-DD (UTC). Defaults to 7 days before end_date.",
              "constraints": {
                "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
              }
            },
            {
              "name": "end_date",
              "type": "string",
              "required": false,
              "description": "End of the window, YYYY-MM-DD (UTC), inclusive. Defaults to today.",
              "constraints": {
                "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
              }
            },
            {
              "name": "entity_type",
              "type": "string",
              "required": false,
              "description": "Only changes to this kind of entity.",
              "enum_values": [
                "ADVERTISER",
                "CAMPAIGN",
                "ADGROUP",
                "AD",
                "INSTANT_FORM"
              ]
            },
            {
              "name": "entity_ids",
              "type": "array",
              "required": false,
              "description": "Only changes to these campaign / ad group / ad IDs."
            },
            {
              "name": "limit",
              "type": "integer",
              "required": false,
              "description": "Changes per page (1-200, default 50).",
              "default": 50,
              "constraints": {
                "min": 1,
                "max": 200
              }
            },
            {
              "name": "cursor",
              "type": "string",
              "required": false,
              "description": "nextCursor from the previous response. Pass it with otherwise identical parameters for the next page."
            },
            {
              "name": "refresh",
              "type": "boolean",
              "required": false,
              "description": "Fetch TikTok's change log now before answering. Normally not needed: it is fetched when the last sync is over 15 minutes old.",
              "default": false
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "meta_ads_get_activities",
              "relationship": "cross-platform"
            },
            {
              "name": "google_ads_get_activities",
              "relationship": "cross-platform"
            },
            {
              "name": "linkedin_ads_get_activities",
              "relationship": "cross-platform"
            },
            {
              "name": "reddit_ads_get_activities",
              "relationship": "cross-platform"
            },
            {
              "name": "microsoft_ads_get_activities",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "tiktok_ads_list_ad_groups",
          "title": "List TikTok Ad Groups",
          "description": "List TikTok ad groups for an advertiser. Shows name, status, targeting, and budget.",
          "cli_command": "hopkin tiktok ad-groups list",
          "cli_flags": [
            {
              "flag": "--limit",
              "description": "Maximum number of results to return (1–100). Default: 20.",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--cursor",
              "description": "Opaque pagination cursor from a previous response.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--refresh",
              "description": "Force a fresh fetch bypassing the cache.",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--advertiser-id",
              "description": "TikTok advertiser ID.",
              "type": "string",
              "required": true
            },
            {
              "flag": "--adgroup-id",
              "description": "Fetch a single ad group by ID.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--adgroup-ids",
              "description": "Fetch specific ad groups by IDs.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--campaign-ids",
              "description": "Filter by parent campaign IDs.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--status",
              "description": "Filter by primary status. STATUS_ALL means no filter; STATUS_ON/STATUS_OFF (or ENABLE/DISABLE directly) match TikTok's real ad group status. Secondary statuses (budget exceeded, done, deleted) are not filterable: this server only reads TikTok's primary operation status.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--search",
              "description": "Search ad groups by name (case-insensitive).",
              "type": "string",
              "required": false
            },
            {
              "flag": "--include-raw",
              "description": "When true, include the full TikTok raw_data payload on each row. Defaults to false to keep responses small; use tiktok_ads_get_ad_group for full detail.",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "ad-groups",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "limit": {
                "type": "integer",
                "minimum": 1,
                "maximum": 100,
                "default": 20,
                "description": "Maximum number of results to return (1–100). Default: 20."
              },
              "cursor": {
                "type": "string",
                "description": "Opaque pagination cursor from a previous response."
              },
              "refresh": {
                "type": "boolean",
                "default": false,
                "description": "Force a fresh fetch bypassing the cache."
              },
              "advertiser_id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 64,
                "description": "TikTok advertiser ID."
              },
              "adgroup_id": {
                "type": "string",
                "maxLength": 64,
                "description": "Fetch a single ad group by ID."
              },
              "adgroup_ids": {
                "type": "array",
                "items": {
                  "type": "string",
                  "maxLength": 64
                },
                "minItems": 1,
                "maxItems": 50,
                "description": "Fetch specific ad groups by IDs."
              },
              "campaign_ids": {
                "type": "array",
                "items": {
                  "type": "string",
                  "maxLength": 64
                },
                "minItems": 1,
                "maxItems": 50,
                "description": "Filter by parent campaign IDs."
              },
              "status": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "STATUS_ALL",
                    "STATUS_ON",
                    "STATUS_OFF",
                    "ENABLE",
                    "DISABLE"
                  ]
                },
                "description": "Filter by primary status. STATUS_ALL means no filter; STATUS_ON/STATUS_OFF (or ENABLE/DISABLE directly) match TikTok's real ad group status. Secondary statuses (budget exceeded, done, deleted) are not filterable: this server only reads TikTok's primary operation status."
              },
              "search": {
                "type": "string",
                "description": "Search ad groups by name (case-insensitive)."
              },
              "include_raw": {
                "type": "boolean",
                "description": "When true, include the full TikTok raw_data payload on each row. Defaults to false to keep responses small; use tiktok_ads_get_ad_group for full detail."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              }
            },
            "required": [
              "advertiser_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "limit",
              "type": "integer",
              "required": false,
              "description": "Maximum number of results to return (1–100). Default: 20.",
              "default": 20,
              "constraints": {
                "min": 1,
                "max": 100
              }
            },
            {
              "name": "cursor",
              "type": "string",
              "required": false,
              "description": "Opaque pagination cursor from a previous response."
            },
            {
              "name": "refresh",
              "type": "boolean",
              "required": false,
              "description": "Force a fresh fetch bypassing the cache.",
              "default": false
            },
            {
              "name": "advertiser_id",
              "type": "string",
              "required": true,
              "description": "TikTok advertiser ID.",
              "constraints": {
                "min_length": 1,
                "max_length": 64
              }
            },
            {
              "name": "adgroup_id",
              "type": "string",
              "required": false,
              "description": "Fetch a single ad group by ID.",
              "constraints": {
                "max_length": 64
              }
            },
            {
              "name": "adgroup_ids",
              "type": "array",
              "required": false,
              "description": "Fetch specific ad groups by IDs."
            },
            {
              "name": "campaign_ids",
              "type": "array",
              "required": false,
              "description": "Filter by parent campaign IDs."
            },
            {
              "name": "status",
              "type": "array",
              "required": false,
              "description": "Filter by primary status. STATUS_ALL means no filter; STATUS_ON/STATUS_OFF (or ENABLE/DISABLE directly) match TikTok's real ad group status. Secondary statuses (budget exceeded, done, deleted) are not filterable: this server only reads TikTok's primary operation status."
            },
            {
              "name": "search",
              "type": "string",
              "required": false,
              "description": "Search ad groups by name (case-insensitive)."
            },
            {
              "name": "include_raw",
              "type": "boolean",
              "required": false,
              "description": "When true, include the full TikTok raw_data payload on each row. Defaults to false to keep responses small; use tiktok_ads_get_ad_group for full detail."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            }
          ],
          "examples": [],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "google_ads_list_ad_groups",
              "relationship": "cross-platform"
            },
            {
              "name": "reddit_ads_list_ad_groups",
              "relationship": "cross-platform"
            },
            {
              "name": "tiktok_ads_list_ads",
              "relationship": "hierarchy"
            },
            {
              "name": "tiktok_ads_list_campaigns",
              "relationship": "hierarchy"
            },
            {
              "name": "tiktok_ads_preview_ads",
              "relationship": "hierarchy"
            },
            {
              "name": "chatgpt_ads_list_ad_groups",
              "relationship": "cross-platform"
            },
            {
              "name": "microsoft_ads_list_ad_groups",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "tiktok_ads_get_ad_group",
          "title": "Get TikTok Ad Group",
          "description": "Get details for a single TikTok ad group by ID.",
          "cli_command": "hopkin tiktok ad-group get",
          "cli_flags": [
            {
              "flag": "--advertiser-id",
              "description": "TikTok advertiser ID.",
              "type": "string",
              "required": true
            },
            {
              "flag": "--adgroup-id",
              "description": "Ad group ID.",
              "type": "string",
              "required": true
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "ad-group",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "advertiser_id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 64,
                "description": "TikTok advertiser ID."
              },
              "adgroup_id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 64,
                "description": "Ad group ID."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              }
            },
            "required": [
              "advertiser_id",
              "adgroup_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "advertiser_id",
              "type": "string",
              "required": true,
              "description": "TikTok advertiser ID.",
              "constraints": {
                "min_length": 1,
                "max_length": 64
              }
            },
            {
              "name": "adgroup_id",
              "type": "string",
              "required": true,
              "description": "Ad group ID.",
              "constraints": {
                "min_length": 1,
                "max_length": 64
              }
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            }
          ],
          "examples": [],
          "response_format": "markdown",
          "related_tools": [],
          "tool_type": "standard"
        },
        {
          "name": "tiktok_ads_list_ads",
          "title": "List TikTok Ads",
          "description": "List TikTok ads for an advertiser. Shows name, status, creative, and ad group association.",
          "cli_command": "hopkin tiktok ads list",
          "cli_flags": [
            {
              "flag": "--limit",
              "description": "Maximum number of results to return (1–100). Default: 20.",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--cursor",
              "description": "Opaque pagination cursor from a previous response.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--refresh",
              "description": "Force a fresh fetch bypassing the cache.",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--advertiser-id",
              "description": "TikTok advertiser ID.",
              "type": "string",
              "required": true
            },
            {
              "flag": "--ad",
              "description": "Fetch a single ad by ID.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--ad-ids",
              "description": "Fetch specific ads by IDs.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--campaign-ids",
              "description": "Filter by parent campaign IDs.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--adgroup-ids",
              "description": "Filter by parent ad group IDs.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--status",
              "description": "Filter by primary status. STATUS_ALL means no filter; STATUS_ON/STATUS_OFF (or ENABLE/DISABLE directly) match TikTok's real ad status. Secondary statuses (budget exceeded, done, deleted) are not filterable: this server only reads TikTok's primary operation status.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--search",
              "description": "Search ads by name (case-insensitive).",
              "type": "string",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "ads",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "limit": {
                "type": "integer",
                "minimum": 1,
                "maximum": 100,
                "default": 20,
                "description": "Maximum number of results to return (1–100). Default: 20."
              },
              "cursor": {
                "type": "string",
                "description": "Opaque pagination cursor from a previous response."
              },
              "refresh": {
                "type": "boolean",
                "default": false,
                "description": "Force a fresh fetch bypassing the cache."
              },
              "advertiser_id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 64,
                "description": "TikTok advertiser ID."
              },
              "ad_id": {
                "type": "string",
                "maxLength": 64,
                "description": "Fetch a single ad by ID."
              },
              "ad_ids": {
                "type": "array",
                "items": {
                  "type": "string",
                  "maxLength": 64
                },
                "minItems": 1,
                "maxItems": 50,
                "description": "Fetch specific ads by IDs."
              },
              "campaign_ids": {
                "type": "array",
                "items": {
                  "type": "string",
                  "maxLength": 64
                },
                "minItems": 1,
                "maxItems": 50,
                "description": "Filter by parent campaign IDs."
              },
              "adgroup_ids": {
                "type": "array",
                "items": {
                  "type": "string",
                  "maxLength": 64
                },
                "minItems": 1,
                "maxItems": 50,
                "description": "Filter by parent ad group IDs."
              },
              "status": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "STATUS_ALL",
                    "STATUS_ON",
                    "STATUS_OFF",
                    "ENABLE",
                    "DISABLE"
                  ]
                },
                "description": "Filter by primary status. STATUS_ALL means no filter; STATUS_ON/STATUS_OFF (or ENABLE/DISABLE directly) match TikTok's real ad status. Secondary statuses (budget exceeded, done, deleted) are not filterable: this server only reads TikTok's primary operation status."
              },
              "search": {
                "type": "string",
                "description": "Search ads by name (case-insensitive)."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              }
            },
            "required": [
              "advertiser_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "limit",
              "type": "integer",
              "required": false,
              "description": "Maximum number of results to return (1–100). Default: 20.",
              "default": 20,
              "constraints": {
                "min": 1,
                "max": 100
              }
            },
            {
              "name": "cursor",
              "type": "string",
              "required": false,
              "description": "Opaque pagination cursor from a previous response."
            },
            {
              "name": "refresh",
              "type": "boolean",
              "required": false,
              "description": "Force a fresh fetch bypassing the cache.",
              "default": false
            },
            {
              "name": "advertiser_id",
              "type": "string",
              "required": true,
              "description": "TikTok advertiser ID.",
              "constraints": {
                "min_length": 1,
                "max_length": 64
              }
            },
            {
              "name": "ad_id",
              "type": "string",
              "required": false,
              "description": "Fetch a single ad by ID.",
              "constraints": {
                "max_length": 64
              }
            },
            {
              "name": "ad_ids",
              "type": "array",
              "required": false,
              "description": "Fetch specific ads by IDs."
            },
            {
              "name": "campaign_ids",
              "type": "array",
              "required": false,
              "description": "Filter by parent campaign IDs."
            },
            {
              "name": "adgroup_ids",
              "type": "array",
              "required": false,
              "description": "Filter by parent ad group IDs."
            },
            {
              "name": "status",
              "type": "array",
              "required": false,
              "description": "Filter by primary status. STATUS_ALL means no filter; STATUS_ON/STATUS_OFF (or ENABLE/DISABLE directly) match TikTok's real ad status. Secondary statuses (budget exceeded, done, deleted) are not filterable: this server only reads TikTok's primary operation status."
            },
            {
              "name": "search",
              "type": "string",
              "required": false,
              "description": "Search ads by name (case-insensitive)."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            }
          ],
          "examples": [],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "meta_ads_list_ads",
              "relationship": "cross-platform"
            },
            {
              "name": "google_ads_list_ads",
              "relationship": "cross-platform"
            },
            {
              "name": "reddit_ads_list_ads",
              "relationship": "cross-platform"
            },
            {
              "name": "tiktok_ads_list_ad_groups",
              "relationship": "hierarchy"
            },
            {
              "name": "tiktok_ads_preview_ads",
              "relationship": "sibling"
            },
            {
              "name": "chatgpt_ads_list_ads",
              "relationship": "cross-platform"
            },
            {
              "name": "microsoft_ads_list_ads",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "tiktok_ads_get_ad",
          "title": "Get TikTok Ad",
          "description": "Get details for a single TikTok ad by ID.",
          "cli_command": "hopkin tiktok ad get",
          "cli_flags": [
            {
              "flag": "--advertiser-id",
              "description": "TikTok advertiser ID.",
              "type": "string",
              "required": true
            },
            {
              "flag": "--ad",
              "description": "Ad ID.",
              "type": "string",
              "required": true
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "ad",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "advertiser_id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 64,
                "description": "TikTok advertiser ID."
              },
              "ad_id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 64,
                "description": "Ad ID."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              }
            },
            "required": [
              "advertiser_id",
              "ad_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "advertiser_id",
              "type": "string",
              "required": true,
              "description": "TikTok advertiser ID.",
              "constraints": {
                "min_length": 1,
                "max_length": 64
              }
            },
            {
              "name": "ad_id",
              "type": "string",
              "required": true,
              "description": "Ad ID.",
              "constraints": {
                "min_length": 1,
                "max_length": 64
              }
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            }
          ],
          "examples": [],
          "response_format": "markdown",
          "related_tools": [],
          "tool_type": "standard"
        },
        {
          "name": "tiktok_ads_list_advertisers",
          "title": "List TikTok Advertisers",
          "description": "List TikTok advertiser accounts accessible to the authenticated user. Shows name, ID, status, currency, and timezone.",
          "cli_command": "hopkin tiktok advertisers list",
          "cli_flags": [
            {
              "flag": "--limit",
              "description": "Maximum number of results to return (1–100). Default: 20.",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--cursor",
              "description": "Opaque pagination cursor from a previous response.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--refresh",
              "description": "Force a fresh fetch bypassing the cache.",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--advertiser-id",
              "description": "Fetch a single advertiser by ID.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "advertisers",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "limit": {
                "type": "integer",
                "minimum": 1,
                "maximum": 100,
                "default": 20,
                "description": "Maximum number of results to return (1–100). Default: 20."
              },
              "cursor": {
                "type": "string",
                "description": "Opaque pagination cursor from a previous response."
              },
              "refresh": {
                "type": "boolean",
                "default": false,
                "description": "Force a fresh fetch bypassing the cache."
              },
              "advertiser_id": {
                "type": "string",
                "maxLength": 64,
                "description": "Fetch a single advertiser by ID."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              }
            },
            "required": [
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "limit",
              "type": "integer",
              "required": false,
              "description": "Maximum number of results to return (1–100). Default: 20.",
              "default": 20,
              "constraints": {
                "min": 1,
                "max": 100
              }
            },
            {
              "name": "cursor",
              "type": "string",
              "required": false,
              "description": "Opaque pagination cursor from a previous response."
            },
            {
              "name": "refresh",
              "type": "boolean",
              "required": false,
              "description": "Force a fresh fetch bypassing the cache.",
              "default": false
            },
            {
              "name": "advertiser_id",
              "type": "string",
              "required": false,
              "description": "Fetch a single advertiser by ID.",
              "constraints": {
                "max_length": 64
              }
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            }
          ],
          "examples": [],
          "response_format": "markdown",
          "related_tools": [],
          "tool_type": "standard"
        },
        {
          "name": "tiktok_ads_get_advertiser",
          "title": "Get TikTok Advertiser",
          "description": "Get details for a single TikTok advertiser by ID.",
          "cli_command": "hopkin tiktok advertiser get",
          "cli_flags": [
            {
              "flag": "--advertiser-id",
              "description": "TikTok advertiser ID.",
              "type": "string",
              "required": true
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "advertiser",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "advertiser_id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 64,
                "description": "TikTok advertiser ID."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              }
            },
            "required": [
              "advertiser_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "advertiser_id",
              "type": "string",
              "required": true,
              "description": "TikTok advertiser ID.",
              "constraints": {
                "min_length": 1,
                "max_length": 64
              }
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            }
          ],
          "examples": [],
          "response_format": "markdown",
          "related_tools": [],
          "tool_type": "standard"
        },
        {
          "name": "tiktok_ads_list_audiences",
          "title": "List TikTok Audiences",
          "description": "List custom and lookalike audiences for a TikTok advertiser.",
          "cli_command": "hopkin tiktok audiences list",
          "cli_flags": [
            {
              "flag": "--limit",
              "description": "Maximum number of results to return (1–100). Default: 20.",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--cursor",
              "description": "Opaque pagination cursor from a previous response.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--refresh",
              "description": "Force a fresh fetch bypassing the cache.",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--advertiser-id",
              "description": "TikTok advertiser ID.",
              "type": "string",
              "required": true
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "audiences",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "limit": {
                "type": "integer",
                "minimum": 1,
                "maximum": 100,
                "default": 20,
                "description": "Maximum number of results to return (1–100). Default: 20."
              },
              "cursor": {
                "type": "string",
                "description": "Opaque pagination cursor from a previous response."
              },
              "refresh": {
                "type": "boolean",
                "default": false,
                "description": "Force a fresh fetch bypassing the cache."
              },
              "advertiser_id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 64,
                "description": "TikTok advertiser ID."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              }
            },
            "required": [
              "advertiser_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "limit",
              "type": "integer",
              "required": false,
              "description": "Maximum number of results to return (1–100). Default: 20.",
              "default": 20,
              "constraints": {
                "min": 1,
                "max": 100
              }
            },
            {
              "name": "cursor",
              "type": "string",
              "required": false,
              "description": "Opaque pagination cursor from a previous response."
            },
            {
              "name": "refresh",
              "type": "boolean",
              "required": false,
              "description": "Force a fresh fetch bypassing the cache.",
              "default": false
            },
            {
              "name": "advertiser_id",
              "type": "string",
              "required": true,
              "description": "TikTok advertiser ID.",
              "constraints": {
                "min_length": 1,
                "max_length": 64
              }
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            }
          ],
          "examples": [],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "google_ads_list_audiences",
              "relationship": "cross-platform"
            },
            {
              "name": "microsoft_ads_list_audiences",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "tiktok_ads_check_auth_status",
          "title": "Check TikTok Ads Authentication Status",
          "description": "Check whether the user's TikTok Ads account is authenticated. Returns auth method and email. Use ONLY when the user asks about auth status or connectivity — to get advertiser accounts, use tiktok_ads_list_advertisers instead.",
          "cli_command": "hopkin tiktok auth check",
          "cli_flags": [
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "auth",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              }
            },
            "required": [
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            }
          ],
          "examples": [],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "meta_ads_check_auth_status",
              "relationship": "cross-platform"
            },
            {
              "name": "google_ads_check_auth_status",
              "relationship": "cross-platform"
            },
            {
              "name": "linkedin_ads_check_auth_status",
              "relationship": "cross-platform"
            },
            {
              "name": "reddit_ads_check_auth_status",
              "relationship": "cross-platform"
            },
            {
              "name": "tiktok_ads_ping",
              "relationship": "sibling"
            },
            {
              "name": "chatgpt_ads_check_auth_status",
              "relationship": "cross-platform"
            },
            {
              "name": "microsoft_ads_check_auth_status",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "tiktok_ads_get_login_url",
          "title": "Get TikTok Ads Login URL",
          "description": "Get the URL to connect a TikTok Ads account via OAuth.",
          "cli_command": "hopkin tiktok login-url get",
          "cli_flags": [],
          "category": "login-url",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": false
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [],
          "response_format": "markdown",
          "related_tools": [],
          "tool_type": "standard"
        },
        {
          "name": "tiktok_ads_get_user_info",
          "title": "Get TikTok Ads User Info",
          "description": "Get detailed profile information about the authenticated TikTok Ads user (email, display name, role). Use this for user profile details — for checking auth status or listing advertiser IDs, use tiktok_ads_check_auth_status instead.",
          "cli_command": "hopkin tiktok user-info get",
          "cli_flags": [
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "user-info",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              }
            },
            "required": [
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            }
          ],
          "examples": [],
          "response_format": "markdown",
          "related_tools": [],
          "tool_type": "standard"
        },
        {
          "name": "tiktok_ads_get_billing_status",
          "title": "Billing status",
          "description": "Why a call was refused with a billing error (402) and how to get unblocked. Reports whether this organization is entitled, its subscription status, tier, trial end, credits used and left this period, the price table and a link to the billing page. With checkout_tier, the organization owner also gets a Stripe Checkout link for that plan; a member gets the owner's contact and a message to forward. Call it after any 402. While waiting for a human to pay, poll it every 10 seconds for the first minute, every 30 seconds until 5 minutes, then every 60 seconds until 15 minutes, then stop and tell the human. Once it returns entitled: true, retry the blocked call; if the retry still returns 402, wait 15 seconds and retry once. A Checkout link is a payment link: give it to the organization owner only.",
          "cli_command": "hopkin tiktok billing-status get",
          "cli_flags": [
            {
              "flag": "--checkout-tier",
              "description": "Organization owner only: also create a Stripe Checkout link for this plan. A member gets the owner's contact and a message to forward instead.",
              "type": "string",
              "required": false
            }
          ],
          "category": "billing-status",
          "annotations": {
            "readOnly": false,
            "destructive": false,
            "idempotent": true,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "checkout_tier": {
                "type": "string",
                "enum": [
                  "starter",
                  "pro",
                  "enterprise"
                ],
                "description": "Organization owner only: also create a Stripe Checkout link for this plan. A member gets the owner's contact and a message to forward instead."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "checkout_tier",
              "type": "string",
              "required": false,
              "description": "Organization owner only: also create a Stripe Checkout link for this plan. A member gets the owner's contact and a message to forward instead.",
              "enum_values": [
                "starter",
                "pro",
                "enterprise"
              ]
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "meta_ads_get_billing_status",
              "relationship": "cross-platform"
            },
            {
              "name": "google_ads_get_billing_status",
              "relationship": "cross-platform"
            },
            {
              "name": "linkedin_ads_get_billing_status",
              "relationship": "cross-platform"
            },
            {
              "name": "reddit_ads_get_billing_status",
              "relationship": "cross-platform"
            },
            {
              "name": "chatgpt_ads_get_billing_status",
              "relationship": "cross-platform"
            },
            {
              "name": "microsoft_ads_get_billing_status",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "tiktok_ads_list_campaigns",
          "title": "List TikTok Campaigns",
          "description": "List TikTok ad campaigns for an advertiser. Shows name, status, objective, and budget.",
          "cli_command": "hopkin tiktok campaigns list",
          "cli_flags": [
            {
              "flag": "--limit",
              "description": "Maximum number of results to return (1–100). Default: 20.",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--cursor",
              "description": "Opaque pagination cursor from a previous response.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--refresh",
              "description": "Force a fresh fetch bypassing the cache.",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--advertiser-id",
              "description": "TikTok advertiser ID.",
              "type": "string",
              "required": true
            },
            {
              "flag": "--campaign",
              "description": "Fetch a single campaign by ID.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--campaign-ids",
              "description": "Fetch specific campaigns by IDs.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--status",
              "description": "Filter by primary status. STATUS_ALL means no filter; STATUS_ON/STATUS_OFF (or ENABLE/DISABLE directly) match TikTok's real campaign status. Secondary statuses (budget exceeded, done, deleted) are not filterable: this server only reads TikTok's primary operation status.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--search",
              "description": "Search campaigns by name (case-insensitive).",
              "type": "string",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "campaigns",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "limit": {
                "type": "integer",
                "minimum": 1,
                "maximum": 100,
                "default": 20,
                "description": "Maximum number of results to return (1–100). Default: 20."
              },
              "cursor": {
                "type": "string",
                "description": "Opaque pagination cursor from a previous response."
              },
              "refresh": {
                "type": "boolean",
                "default": false,
                "description": "Force a fresh fetch bypassing the cache."
              },
              "advertiser_id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 64,
                "description": "TikTok advertiser ID."
              },
              "campaign_id": {
                "type": "string",
                "maxLength": 64,
                "description": "Fetch a single campaign by ID."
              },
              "campaign_ids": {
                "type": "array",
                "items": {
                  "type": "string",
                  "maxLength": 64
                },
                "minItems": 1,
                "maxItems": 50,
                "description": "Fetch specific campaigns by IDs."
              },
              "status": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "STATUS_ALL",
                    "STATUS_ON",
                    "STATUS_OFF",
                    "ENABLE",
                    "DISABLE"
                  ]
                },
                "description": "Filter by primary status. STATUS_ALL means no filter; STATUS_ON/STATUS_OFF (or ENABLE/DISABLE directly) match TikTok's real campaign status. Secondary statuses (budget exceeded, done, deleted) are not filterable: this server only reads TikTok's primary operation status."
              },
              "search": {
                "type": "string",
                "description": "Search campaigns by name (case-insensitive)."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              }
            },
            "required": [
              "advertiser_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "limit",
              "type": "integer",
              "required": false,
              "description": "Maximum number of results to return (1–100). Default: 20.",
              "default": 20,
              "constraints": {
                "min": 1,
                "max": 100
              }
            },
            {
              "name": "cursor",
              "type": "string",
              "required": false,
              "description": "Opaque pagination cursor from a previous response."
            },
            {
              "name": "refresh",
              "type": "boolean",
              "required": false,
              "description": "Force a fresh fetch bypassing the cache.",
              "default": false
            },
            {
              "name": "advertiser_id",
              "type": "string",
              "required": true,
              "description": "TikTok advertiser ID.",
              "constraints": {
                "min_length": 1,
                "max_length": 64
              }
            },
            {
              "name": "campaign_id",
              "type": "string",
              "required": false,
              "description": "Fetch a single campaign by ID.",
              "constraints": {
                "max_length": 64
              }
            },
            {
              "name": "campaign_ids",
              "type": "array",
              "required": false,
              "description": "Fetch specific campaigns by IDs."
            },
            {
              "name": "status",
              "type": "array",
              "required": false,
              "description": "Filter by primary status. STATUS_ALL means no filter; STATUS_ON/STATUS_OFF (or ENABLE/DISABLE directly) match TikTok's real campaign status. Secondary statuses (budget exceeded, done, deleted) are not filterable: this server only reads TikTok's primary operation status."
            },
            {
              "name": "search",
              "type": "string",
              "required": false,
              "description": "Search campaigns by name (case-insensitive)."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            }
          ],
          "examples": [],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "meta_ads_list_campaigns",
              "relationship": "cross-platform"
            },
            {
              "name": "google_ads_list_campaigns",
              "relationship": "cross-platform"
            },
            {
              "name": "linkedin_ads_list_campaigns",
              "relationship": "cross-platform"
            },
            {
              "name": "reddit_ads_list_campaigns",
              "relationship": "cross-platform"
            },
            {
              "name": "tiktok_ads_list_ad_groups",
              "relationship": "hierarchy"
            },
            {
              "name": "chatgpt_ads_list_campaigns",
              "relationship": "cross-platform"
            },
            {
              "name": "microsoft_ads_list_campaigns",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "tiktok_ads_get_campaign",
          "title": "Get TikTok Campaign",
          "description": "Get details for a single TikTok campaign by ID.",
          "cli_command": "hopkin tiktok campaign get",
          "cli_flags": [
            {
              "flag": "--advertiser-id",
              "description": "TikTok advertiser ID.",
              "type": "string",
              "required": true
            },
            {
              "flag": "--campaign",
              "description": "Campaign ID.",
              "type": "string",
              "required": true
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "campaign",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "advertiser_id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 64,
                "description": "TikTok advertiser ID."
              },
              "campaign_id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 64,
                "description": "Campaign ID."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              }
            },
            "required": [
              "advertiser_id",
              "campaign_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "advertiser_id",
              "type": "string",
              "required": true,
              "description": "TikTok advertiser ID.",
              "constraints": {
                "min_length": 1,
                "max_length": 64
              }
            },
            {
              "name": "campaign_id",
              "type": "string",
              "required": true,
              "description": "Campaign ID.",
              "constraints": {
                "min_length": 1,
                "max_length": 64
              }
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            }
          ],
          "examples": [],
          "response_format": "markdown",
          "related_tools": [],
          "tool_type": "standard"
        },
        {
          "name": "tiktok_ads_list_connections",
          "title": "List TikTok Connections",
          "description": "List the TikTok Ads connections available to you — both ones you own and ones shared with you via an organization. Use this to discover connection IDs for set_default / share / rename / revoke.",
          "cli_command": "hopkin tiktok connections list",
          "cli_flags": [],
          "category": "connections",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": false
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "List connections",
              "mcp_params": {
                "reason": "User asked which TikTok accounts they have connected"
              },
              "cli_command": "hopkin tiktok connections list",
              "natural_language": "List connections"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "meta_ads_list_connections",
              "relationship": "cross-platform"
            },
            {
              "name": "google_ads_list_connections",
              "relationship": "cross-platform"
            },
            {
              "name": "linkedin_ads_list_connections",
              "relationship": "cross-platform"
            },
            {
              "name": "reddit_ads_list_connections",
              "relationship": "cross-platform"
            },
            {
              "name": "chatgpt_ads_list_connections",
              "relationship": "cross-platform"
            },
            {
              "name": "microsoft_ads_list_connections",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "tiktok_ads_set_default_connection",
          "title": "Set Default TikTok Connection",
          "description": "Set the TikTok connection that should be used by default for subsequent TikTok Ads tool calls. The default is scoped to the calling actor (your user account, or the API key being used).",
          "cli_command": "hopkin tiktok set-default-connection",
          "cli_flags": [
            {
              "flag": "--connection-id",
              "description": "UUID of the connection to mark as the actor's default TikTok connection.",
              "type": "string",
              "required": true
            }
          ],
          "category": "set-default-connection",
          "annotations": {
            "readOnly": false,
            "destructive": false,
            "idempotent": true,
            "openWorld": false
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "UUID of the connection to mark as the actor's default TikTok connection."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "connection_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "connection_id",
              "type": "string",
              "required": true,
              "description": "UUID of the connection to mark as the actor's default TikTok connection."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "Set default",
              "mcp_params": {
                "connection_id": "00000000-0000-0000-0000-000000000001",
                "reason": "User picked their primary TikTok workspace"
              },
              "cli_command": "hopkin tiktok set-default-connection --connection-id 00000000-0000-0000-0000-000000000001",
              "natural_language": "Set default"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "meta_ads_set_default_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "google_ads_set_default_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "linkedin_ads_set_default_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "reddit_ads_set_default_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "chatgpt_ads_set_default_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "microsoft_ads_set_default_connection",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "tiktok_ads_share_connection",
          "title": "Share TikTok Connection With Organization",
          "description": "Share an owned TikTok connection with all members of your organization, so teammates can use it without having to reconnect TikTok themselves. You must be the owner of the connection.",
          "cli_command": "hopkin tiktok share-connection",
          "cli_flags": [
            {
              "flag": "--connection-id",
              "description": "UUID of the connection to share with your organization. You must be the owner.",
              "type": "string",
              "required": true
            }
          ],
          "category": "share-connection",
          "annotations": {
            "readOnly": false,
            "destructive": false,
            "idempotent": true,
            "openWorld": false
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "UUID of the connection to share with your organization. You must be the owner."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "connection_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "connection_id",
              "type": "string",
              "required": true,
              "description": "UUID of the connection to share with your organization. You must be the owner."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "Share with org",
              "mcp_params": {
                "connection_id": "00000000-0000-0000-0000-000000000001",
                "reason": "User asked to share this TikTok connection with their teammates"
              },
              "cli_command": "hopkin tiktok share-connection --connection-id 00000000-0000-0000-0000-000000000001",
              "natural_language": "Share with org"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "meta_ads_share_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "google_ads_share_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "linkedin_ads_share_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "reddit_ads_share_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "chatgpt_ads_share_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "microsoft_ads_share_connection",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "tiktok_ads_unshare_connection",
          "title": "Unshare TikTok Connection From Organization",
          "description": "Stop sharing an owned TikTok connection with your organization. Teammates lose access immediately. You must be the owner.",
          "cli_command": "hopkin tiktok unshare-connection",
          "cli_flags": [
            {
              "flag": "--connection-id",
              "description": "UUID of the connection to stop sharing with your organization. You must be the owner.",
              "type": "string",
              "required": true
            }
          ],
          "category": "unshare-connection",
          "annotations": {
            "readOnly": false,
            "destructive": true,
            "idempotent": true,
            "openWorld": false
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "UUID of the connection to stop sharing with your organization. You must be the owner."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "connection_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "connection_id",
              "type": "string",
              "required": true,
              "description": "UUID of the connection to stop sharing with your organization. You must be the owner."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "Stop sharing",
              "mcp_params": {
                "connection_id": "00000000-0000-0000-0000-000000000001",
                "reason": "User no longer wants the team to access this TikTok connection"
              },
              "cli_command": "hopkin tiktok unshare-connection --connection-id 00000000-0000-0000-0000-000000000001",
              "natural_language": "Stop sharing"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "meta_ads_unshare_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "google_ads_unshare_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "linkedin_ads_unshare_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "reddit_ads_unshare_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "chatgpt_ads_unshare_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "microsoft_ads_unshare_connection",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "tiktok_ads_rename_connection",
          "title": "Rename TikTok Connection",
          "description": "Rename the display name of an owned TikTok connection. The OAuth grant and underlying account are unaffected — this only changes the human-readable label. You must be the owner.",
          "cli_command": "hopkin tiktok rename-connection",
          "cli_flags": [
            {
              "flag": "--connection-id",
              "description": "UUID of the connection to rename. You must be the owner.",
              "type": "string",
              "required": true
            },
            {
              "flag": "--display-name",
              "description": "New human-readable name for the connection.",
              "type": "string",
              "required": true
            }
          ],
          "category": "rename-connection",
          "annotations": {
            "readOnly": false,
            "destructive": false,
            "idempotent": true,
            "openWorld": false
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "UUID of the connection to rename. You must be the owner."
              },
              "display_name": {
                "type": "string",
                "minLength": 1,
                "maxLength": 120,
                "description": "New human-readable name for the connection."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "connection_id",
              "display_name",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "connection_id",
              "type": "string",
              "required": true,
              "description": "UUID of the connection to rename. You must be the owner."
            },
            {
              "name": "display_name",
              "type": "string",
              "required": true,
              "description": "New human-readable name for the connection.",
              "constraints": {
                "min_length": 1,
                "max_length": 120
              }
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "Rename",
              "mcp_params": {
                "connection_id": "00000000-0000-0000-0000-000000000001",
                "display_name": "Acme — Production",
                "reason": "User wanted a clearer label for this TikTok connection"
              },
              "cli_command": "hopkin tiktok rename-connection --connection-id 00000000-0000-0000-0000-000000000001 --display-name Acme — Production",
              "natural_language": "Rename"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "meta_ads_rename_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "google_ads_rename_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "linkedin_ads_rename_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "reddit_ads_rename_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "chatgpt_ads_rename_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "microsoft_ads_rename_connection",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "tiktok_ads_revoke_connection",
          "title": "Revoke TikTok Connection",
          "description": "Revoke (soft-delete) an owned TikTok connection. Any defaults pointing to it are invalidated and shared org members lose access. The OAuth grant at TikTok is NOT revoked by this tool — the user must disconnect via the dashboard if they want to fully revoke at TikTok. You must be the owner.",
          "cli_command": "hopkin tiktok revoke-connection",
          "cli_flags": [
            {
              "flag": "--connection-id",
              "description": "UUID of the connection to revoke. You must be the owner.",
              "type": "string",
              "required": true
            }
          ],
          "category": "revoke-connection",
          "annotations": {
            "readOnly": false,
            "destructive": true,
            "idempotent": true,
            "openWorld": false
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "UUID of the connection to revoke. You must be the owner."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "connection_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "connection_id",
              "type": "string",
              "required": true,
              "description": "UUID of the connection to revoke. You must be the owner."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "Revoke",
              "mcp_params": {
                "connection_id": "00000000-0000-0000-0000-000000000001",
                "reason": "User asked to disconnect this TikTok account"
              },
              "cli_command": "hopkin tiktok revoke-connection --connection-id 00000000-0000-0000-0000-000000000001",
              "natural_language": "Revoke"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "meta_ads_revoke_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "google_ads_revoke_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "linkedin_ads_revoke_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "reddit_ads_revoke_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "chatgpt_ads_revoke_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "microsoft_ads_revoke_connection",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "tiktok_ads_preview_ads",
          "title": "Preview TikTok Ads",
          "description": "Preview TikTok ad creatives with visual content (images/videos) and configurable metrics in an interactive UI.",
          "cli_command": "",
          "cli_flags": [],
          "category": "ads",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": false
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "advertiser_id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 64,
                "description": "TikTok advertiser ID"
              },
              "ads": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "ad_id": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 64,
                      "description": "The ad ID to preview"
                    },
                    "metrics": {
                      "type": "object",
                      "additionalProperties": {
                        "type": [
                          "string",
                          "number"
                        ]
                      },
                      "description": "Metric name-value pairs to display"
                    }
                  },
                  "required": [
                    "ad_id"
                  ],
                  "additionalProperties": false
                },
                "minItems": 1,
                "maxItems": 20,
                "description": "Ads to preview (1-20)"
              },
              "metric_labels": {
                "type": "object",
                "additionalProperties": {
                  "type": "string"
                },
                "description": "Display labels for metric keys"
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              }
            },
            "required": [
              "advertiser_id",
              "ads",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "advertiser_id",
              "type": "string",
              "required": true,
              "description": "TikTok advertiser ID",
              "constraints": {
                "min_length": 1,
                "max_length": 64
              }
            },
            {
              "name": "ads",
              "type": "array",
              "required": true,
              "description": "Ads to preview (1-20)"
            },
            {
              "name": "metric_labels",
              "type": "object",
              "required": false,
              "description": "Display labels for metric keys"
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            }
          ],
          "examples": [],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "meta_ads_preview_ads",
              "relationship": "cross-platform"
            },
            {
              "name": "google_ads_preview_ads",
              "relationship": "cross-platform"
            },
            {
              "name": "tiktok_ads_list_ad_groups",
              "relationship": "hierarchy"
            },
            {
              "name": "tiktok_ads_list_ads",
              "relationship": "sibling"
            }
          ],
          "tool_type": "app"
        },
        {
          "name": "tiktok_ads_developer_feedback",
          "title": "Submit Developer Feedback",
          "description": "Submit feedback about missing tools, improvements, bugs, or workflow gaps in the TikTok Ads MCP toolset. Not for user-facing issues like auth or API errors.",
          "cli_command": "hopkin tiktok developer-feedback send",
          "cli_flags": [
            {
              "flag": "--feedback-type",
              "description": "Feedback category: new_tool (request new capability), improvement (enhance existing tool), bug (report issue), workflow_gap (missing workflow)",
              "type": "string",
              "required": true
            },
            {
              "flag": "--title",
              "description": "Concise title summarizing the feedback",
              "type": "string",
              "required": true
            },
            {
              "flag": "--description",
              "description": "What is needed and why",
              "type": "string",
              "required": true
            },
            {
              "flag": "--current-workaround",
              "description": "Current workaround, if any",
              "type": "string",
              "required": false
            },
            {
              "flag": "--priority",
              "description": "Impact level: low (nice-to-have), medium (improves workflow), high (blocking issue)",
              "type": "string",
              "required": false
            },
            {
              "flag": "--interface",
              "description": "Interface the feedback originated from: MCP (default) or CLI",
              "type": "string",
              "required": false
            }
          ],
          "category": "feedback",
          "annotations": {
            "readOnly": false,
            "destructive": false,
            "idempotent": true,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "feedback_type": {
                "type": "string",
                "enum": [
                  "new_tool",
                  "improvement",
                  "bug",
                  "workflow_gap"
                ],
                "description": "Feedback category: new_tool (request new capability), improvement (enhance existing tool), bug (report issue), workflow_gap (missing workflow)"
              },
              "title": {
                "type": "string",
                "minLength": 5,
                "maxLength": 200,
                "description": "Concise title summarizing the feedback"
              },
              "description": {
                "type": "string",
                "minLength": 20,
                "maxLength": 2000,
                "description": "What is needed and why"
              },
              "current_workaround": {
                "type": "string",
                "maxLength": 1000,
                "description": "Current workaround, if any"
              },
              "priority": {
                "type": "string",
                "enum": [
                  "low",
                  "medium",
                  "high"
                ],
                "default": "medium",
                "description": "Impact level: low (nice-to-have), medium (improves workflow), high (blocking issue)"
              },
              "interface": {
                "type": "string",
                "enum": [
                  "MCP",
                  "CLI"
                ],
                "default": "MCP",
                "description": "Interface the feedback originated from: MCP (default) or CLI"
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "feedback_type",
              "title",
              "description",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "feedback_type",
              "type": "string",
              "required": true,
              "description": "Feedback category: new_tool (request new capability), improvement (enhance existing tool), bug (report issue), workflow_gap (missing workflow)",
              "enum_values": [
                "new_tool",
                "improvement",
                "bug",
                "workflow_gap"
              ]
            },
            {
              "name": "title",
              "type": "string",
              "required": true,
              "description": "Concise title summarizing the feedback",
              "constraints": {
                "min_length": 5,
                "max_length": 200
              }
            },
            {
              "name": "description",
              "type": "string",
              "required": true,
              "description": "What is needed and why",
              "constraints": {
                "min_length": 20,
                "max_length": 2000
              }
            },
            {
              "name": "current_workaround",
              "type": "string",
              "required": false,
              "description": "Current workaround, if any",
              "constraints": {
                "max_length": 1000
              }
            },
            {
              "name": "priority",
              "type": "string",
              "required": false,
              "description": "Impact level: low (nice-to-have), medium (improves workflow), high (blocking issue)",
              "enum_values": [
                "low",
                "medium",
                "high"
              ],
              "default": "medium"
            },
            {
              "name": "interface",
              "type": "string",
              "required": false,
              "description": "Interface the feedback originated from: MCP (default) or CLI",
              "enum_values": [
                "MCP",
                "CLI"
              ],
              "default": "MCP"
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "meta_ads_developer_feedback",
              "relationship": "cross-platform"
            },
            {
              "name": "google_ads_developer_feedback",
              "relationship": "cross-platform"
            },
            {
              "name": "linkedin_ads_developer_feedback",
              "relationship": "cross-platform"
            },
            {
              "name": "reddit_ads_developer_feedback",
              "relationship": "cross-platform"
            },
            {
              "name": "chatgpt_ads_developer_feedback",
              "relationship": "cross-platform"
            },
            {
              "name": "microsoft_ads_developer_feedback",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "tiktok_ads_ping",
          "title": "Ping TikTok Ads MCP Server",
          "description": "Health check for the TikTok Ads MCP server.",
          "cli_command": "hopkin tiktok ping",
          "cli_flags": [
            {
              "flag": "--message",
              "description": "Optional message to echo back",
              "type": "string",
              "required": false
            }
          ],
          "category": "auth",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": false
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "message": {
                "type": "string",
                "maxLength": 100,
                "description": "Optional message to echo back"
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "message",
              "type": "string",
              "required": false,
              "description": "Optional message to echo back",
              "constraints": {
                "max_length": 100
              }
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "meta_ads_ping",
              "relationship": "cross-platform"
            },
            {
              "name": "google_ads_ping",
              "relationship": "cross-platform"
            },
            {
              "name": "linkedin_ads_ping",
              "relationship": "cross-platform"
            },
            {
              "name": "reddit_ads_ping",
              "relationship": "cross-platform"
            },
            {
              "name": "tiktok_ads_check_auth_status",
              "relationship": "sibling"
            },
            {
              "name": "chatgpt_ads_ping",
              "relationship": "cross-platform"
            },
            {
              "name": "microsoft_ads_ping",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "tiktok_ads_get_performance_report",
          "title": "Get TikTok Ads Performance Report",
          "description": "Get a performance report for a TikTok advertiser. Returns spend, impressions, clicks, CPC, CPM, CTR, reach, frequency, conversions, cost_per_conversion, conversion_rate, result, and cost_per_result — broken down by day. Supports entity filters: pass campaign_id to get only ads/ad groups within a specific campaign, or adgroup_id to narrow to a specific ad group. This is the primary tool for standard delivery and conversion performance — use get_insights only for audience demographic breakdowns (age, gender, country).\n\nPaging: rows come back in \\",
          "cli_command": "hopkin tiktok performance-report get",
          "cli_flags": [
            {
              "flag": "--advertiser-id",
              "description": "TikTok advertiser ID.",
              "type": "string",
              "required": true
            },
            {
              "flag": "--level",
              "description": "Reporting level — mapped to data_level internally.",
              "type": "string",
              "required": true
            },
            {
              "flag": "--date-preset",
              "description": "Shortcut date range. Overridden by explicit start_date/end_date.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--start-date",
              "description": "Start date in YYYY-MM-DD format.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--end-date",
              "description": "End date in YYYY-MM-DD format.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--campaign",
              "description": "Filter results to a specific campaign by its ID. When the user asks about a specific campaign, always pass this parameter to scope the report.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--adgroup-id",
              "description": "Filter to a specific ad group.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--page",
              "description": "Page number (1-indexed) to jump straight to. Default: 1. Ignored when cursor is given; prefer cursor to walk a report.",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--page-size",
              "description": "Rows per page. Default: 20, maximum: 100 — a request above the maximum is rejected rather than silently truncated. Note that a wide report (ad level, many metrics) runs roughly 700-800 bytes per row, so a page near the maximum can exceed an MCP client's tool-output limit; 20-30 is the safe working size. Check pagination.hasMore and follow pagination.nextCursor for the rest.",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--cursor",
              "description": "Opaque cursor from a previous response's pagination.nextCursor. Pass it back unchanged, with every other parameter identical, to fetch the next page; omit it for the first page. Takes precedence over page. Never construct one by hand.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "reporting",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "advertiser_id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 64,
                "description": "TikTok advertiser ID."
              },
              "level": {
                "type": "string",
                "enum": [
                  "campaign",
                  "adgroup",
                  "ad"
                ],
                "description": "Reporting level — mapped to data_level internally."
              },
              "date_preset": {
                "type": "string",
                "enum": [
                  "last_7d",
                  "last_14d",
                  "last_30d"
                ],
                "description": "Shortcut date range. Overridden by explicit start_date/end_date."
              },
              "start_date": {
                "type": "string",
                "description": "Start date in YYYY-MM-DD format."
              },
              "end_date": {
                "type": "string",
                "description": "End date in YYYY-MM-DD format."
              },
              "campaign_id": {
                "type": "string",
                "maxLength": 64,
                "description": "Filter results to a specific campaign by its ID. When the user asks about a specific campaign, always pass this parameter to scope the report."
              },
              "adgroup_id": {
                "type": "string",
                "maxLength": 64,
                "description": "Filter to a specific ad group."
              },
              "page": {
                "type": "integer",
                "minimum": 1,
                "default": 1,
                "description": "Page number (1-indexed) to jump straight to. Default: 1. Ignored when cursor is given; prefer cursor to walk a report."
              },
              "page_size": {
                "type": "integer",
                "minimum": 1,
                "maximum": 100,
                "default": 20,
                "description": "Rows per page. Default: 20, maximum: 100 — a request above the maximum is rejected rather than silently truncated. Note that a wide report (ad level, many metrics) runs roughly 700-800 bytes per row, so a page near the maximum can exceed an MCP client's tool-output limit; 20-30 is the safe working size. Check pagination.hasMore and follow pagination.nextCursor for the rest."
              },
              "cursor": {
                "type": "string",
                "minLength": 1,
                "maxLength": 512,
                "description": "Opaque cursor from a previous response's pagination.nextCursor. Pass it back unchanged, with every other parameter identical, to fetch the next page; omit it for the first page. Takes precedence over page. Never construct one by hand."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              }
            },
            "required": [
              "advertiser_id",
              "level",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "advertiser_id",
              "type": "string",
              "required": true,
              "description": "TikTok advertiser ID.",
              "constraints": {
                "min_length": 1,
                "max_length": 64
              }
            },
            {
              "name": "level",
              "type": "string",
              "required": true,
              "description": "Reporting level — mapped to data_level internally.",
              "enum_values": [
                "campaign",
                "adgroup",
                "ad"
              ]
            },
            {
              "name": "date_preset",
              "type": "string",
              "required": false,
              "description": "Shortcut date range. Overridden by explicit start_date/end_date.",
              "enum_values": [
                "last_7d",
                "last_14d",
                "last_30d"
              ]
            },
            {
              "name": "start_date",
              "type": "string",
              "required": false,
              "description": "Start date in YYYY-MM-DD format."
            },
            {
              "name": "end_date",
              "type": "string",
              "required": false,
              "description": "End date in YYYY-MM-DD format."
            },
            {
              "name": "campaign_id",
              "type": "string",
              "required": false,
              "description": "Filter results to a specific campaign by its ID. When the user asks about a specific campaign, always pass this parameter to scope the report.",
              "constraints": {
                "max_length": 64
              }
            },
            {
              "name": "adgroup_id",
              "type": "string",
              "required": false,
              "description": "Filter to a specific ad group.",
              "constraints": {
                "max_length": 64
              }
            },
            {
              "name": "page",
              "type": "integer",
              "required": false,
              "description": "Page number (1-indexed) to jump straight to. Default: 1. Ignored when cursor is given; prefer cursor to walk a report.",
              "default": 1,
              "constraints": {
                "min": 1
              }
            },
            {
              "name": "page_size",
              "type": "integer",
              "required": false,
              "description": "Rows per page. Default: 20, maximum: 100 — a request above the maximum is rejected rather than silently truncated. Note that a wide report (ad level, many metrics) runs roughly 700-800 bytes per row, so a page near the maximum can exceed an MCP client's tool-output limit; 20-30 is the safe working size. Check pagination.hasMore and follow pagination.nextCursor for the rest.",
              "default": 20,
              "constraints": {
                "min": 1,
                "max": 100
              }
            },
            {
              "name": "cursor",
              "type": "string",
              "required": false,
              "description": "Opaque cursor from a previous response's pagination.nextCursor. Pass it back unchanged, with every other parameter identical, to fetch the next page; omit it for the first page. Takes precedence over page. Never construct one by hand.",
              "constraints": {
                "min_length": 1,
                "max_length": 512
              }
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            }
          ],
          "examples": [],
          "response_format": "json",
          "related_tools": [
            {
              "name": "meta_ads_get_performance_report",
              "relationship": "cross-platform"
            },
            {
              "name": "google_ads_get_performance_report",
              "relationship": "cross-platform"
            },
            {
              "name": "linkedin_ads_get_performance_report",
              "relationship": "cross-platform"
            },
            {
              "name": "reddit_ads_get_performance_report",
              "relationship": "cross-platform"
            },
            {
              "name": "microsoft_ads_get_performance_report",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "tiktok_ads_get_insights",
          "title": "Get TikTok Ads Insights",
          "description": "Get audience demographic breakdowns and custom dimension analysis for TikTok ads (age, gender, country, placement). Use this only when you need demographic or placement-level segmentation. For standard performance metrics (spend, clicks, conversions, CPC, CPM, CTR, cost_per_conversion, conversion_rate), use tiktok_ads_get_performance_report instead — it already includes all conversion metrics. For video/creative metrics, use tiktok_ads_get_creative_report.\n\nPaging: rows come back in \\",
          "cli_command": "hopkin tiktok insights get",
          "cli_flags": [
            {
              "flag": "--advertiser-id",
              "description": "TikTok advertiser ID.",
              "type": "string",
              "required": true
            },
            {
              "flag": "--report-type",
              "description": "Type of report. AUDIENCE for demographic breakdowns (age, gender, country). Default: BASIC.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--data-level",
              "description": "Granularity level for the report.",
              "type": "string",
              "required": true
            },
            {
              "flag": "--dimensions",
              "description": "Grouping dimensions, e.g. [\"campaign_id\", \"stat_time_day\"].",
              "type": "array",
              "required": true
            },
            {
              "flag": "--metrics",
              "description": "Metrics to retrieve. Defaults to standard funnel metrics if omitted.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--start-date",
              "description": "Start date in YYYY-MM-DD format.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--end-date",
              "description": "End date in YYYY-MM-DD format.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--lifetime",
              "description": "If true, return lifetime metrics instead of date-ranged.",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--page",
              "description": "Page number (1-indexed) to jump straight to. Default: 1. Ignored when cursor is given; prefer cursor to walk a report.",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--page-size",
              "description": "Rows per page. Default: 20, maximum: 100 — a request above the maximum is rejected rather than silently truncated. Note that a wide report (ad level, many metrics) runs roughly 700-800 bytes per row, so a page near the maximum can exceed an MCP client's tool-output limit; 20-30 is the safe working size. Check pagination.hasMore and follow pagination.nextCursor for the rest.",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--cursor",
              "description": "Opaque cursor from a previous response's pagination.nextCursor. Pass it back unchanged, with every other parameter identical, to fetch the next page; omit it for the first page. Takes precedence over page. Never construct one by hand.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "insights",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "advertiser_id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 64,
                "description": "TikTok advertiser ID."
              },
              "report_type": {
                "type": "string",
                "enum": [
                  "BASIC",
                  "AUDIENCE"
                ],
                "default": "BASIC",
                "description": "Type of report. AUDIENCE for demographic breakdowns (age, gender, country). Default: BASIC."
              },
              "data_level": {
                "type": "string",
                "enum": [
                  "AUCTION_ADVERTISER",
                  "AUCTION_CAMPAIGN",
                  "AUCTION_ADGROUP",
                  "AUCTION_AD"
                ],
                "description": "Granularity level for the report."
              },
              "dimensions": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "minItems": 1,
                "description": "Grouping dimensions, e.g. [\"campaign_id\", \"stat_time_day\"]."
              },
              "metrics": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Metrics to retrieve. Defaults to standard funnel metrics if omitted."
              },
              "start_date": {
                "type": "string",
                "description": "Start date in YYYY-MM-DD format."
              },
              "end_date": {
                "type": "string",
                "description": "End date in YYYY-MM-DD format."
              },
              "lifetime": {
                "type": "boolean",
                "description": "If true, return lifetime metrics instead of date-ranged."
              },
              "page": {
                "type": "integer",
                "minimum": 1,
                "default": 1,
                "description": "Page number (1-indexed) to jump straight to. Default: 1. Ignored when cursor is given; prefer cursor to walk a report."
              },
              "page_size": {
                "type": "integer",
                "minimum": 1,
                "maximum": 100,
                "default": 20,
                "description": "Rows per page. Default: 20, maximum: 100 — a request above the maximum is rejected rather than silently truncated. Note that a wide report (ad level, many metrics) runs roughly 700-800 bytes per row, so a page near the maximum can exceed an MCP client's tool-output limit; 20-30 is the safe working size. Check pagination.hasMore and follow pagination.nextCursor for the rest."
              },
              "cursor": {
                "type": "string",
                "minLength": 1,
                "maxLength": 512,
                "description": "Opaque cursor from a previous response's pagination.nextCursor. Pass it back unchanged, with every other parameter identical, to fetch the next page; omit it for the first page. Takes precedence over page. Never construct one by hand."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              }
            },
            "required": [
              "advertiser_id",
              "data_level",
              "dimensions",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "advertiser_id",
              "type": "string",
              "required": true,
              "description": "TikTok advertiser ID.",
              "constraints": {
                "min_length": 1,
                "max_length": 64
              }
            },
            {
              "name": "report_type",
              "type": "string",
              "required": false,
              "description": "Type of report. AUDIENCE for demographic breakdowns (age, gender, country). Default: BASIC.",
              "enum_values": [
                "BASIC",
                "AUDIENCE"
              ],
              "default": "BASIC"
            },
            {
              "name": "data_level",
              "type": "string",
              "required": true,
              "description": "Granularity level for the report.",
              "enum_values": [
                "AUCTION_ADVERTISER",
                "AUCTION_CAMPAIGN",
                "AUCTION_ADGROUP",
                "AUCTION_AD"
              ]
            },
            {
              "name": "dimensions",
              "type": "array",
              "required": true,
              "description": "Grouping dimensions, e.g. [\"campaign_id\", \"stat_time_day\"]."
            },
            {
              "name": "metrics",
              "type": "array",
              "required": false,
              "description": "Metrics to retrieve. Defaults to standard funnel metrics if omitted."
            },
            {
              "name": "start_date",
              "type": "string",
              "required": false,
              "description": "Start date in YYYY-MM-DD format."
            },
            {
              "name": "end_date",
              "type": "string",
              "required": false,
              "description": "End date in YYYY-MM-DD format."
            },
            {
              "name": "lifetime",
              "type": "boolean",
              "required": false,
              "description": "If true, return lifetime metrics instead of date-ranged."
            },
            {
              "name": "page",
              "type": "integer",
              "required": false,
              "description": "Page number (1-indexed) to jump straight to. Default: 1. Ignored when cursor is given; prefer cursor to walk a report.",
              "default": 1,
              "constraints": {
                "min": 1
              }
            },
            {
              "name": "page_size",
              "type": "integer",
              "required": false,
              "description": "Rows per page. Default: 20, maximum: 100 — a request above the maximum is rejected rather than silently truncated. Note that a wide report (ad level, many metrics) runs roughly 700-800 bytes per row, so a page near the maximum can exceed an MCP client's tool-output limit; 20-30 is the safe working size. Check pagination.hasMore and follow pagination.nextCursor for the rest.",
              "default": 20,
              "constraints": {
                "min": 1,
                "max": 100
              }
            },
            {
              "name": "cursor",
              "type": "string",
              "required": false,
              "description": "Opaque cursor from a previous response's pagination.nextCursor. Pass it back unchanged, with every other parameter identical, to fetch the next page; omit it for the first page. Takes precedence over page. Never construct one by hand.",
              "constraints": {
                "min_length": 1,
                "max_length": 512
              }
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            }
          ],
          "examples": [],
          "response_format": "json",
          "related_tools": [
            {
              "name": "meta_ads_get_insights",
              "relationship": "cross-platform"
            },
            {
              "name": "google_ads_get_insights",
              "relationship": "cross-platform"
            },
            {
              "name": "linkedin_ads_get_insights",
              "relationship": "cross-platform"
            },
            {
              "name": "chatgpt_ads_get_insights",
              "relationship": "cross-platform"
            },
            {
              "name": "microsoft_ads_get_insights",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "tiktok_ads_get_creative_report",
          "title": "Get TikTok Ads Creative Report",
          "description": "Get video creative performance metrics for TikTok ads — video views, watch time, completion rates (p25/p50/p75/p100), engagement, and per-creative breakdowns. Supports filtering by campaign_id or adgroup_id to narrow results. Use this tool for video-specific metrics and creative-level analysis.\n\nPaging: rows come back in \\",
          "cli_command": "hopkin tiktok creative-report get",
          "cli_flags": [
            {
              "flag": "--advertiser-id",
              "description": "TikTok advertiser ID.",
              "type": "string",
              "required": true
            },
            {
              "flag": "--campaign",
              "description": "Filter to a specific campaign.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--adgroup-id",
              "description": "Filter to a specific ad group.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--start-date",
              "description": "Start date in YYYY-MM-DD format.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--end-date",
              "description": "End date in YYYY-MM-DD format.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--page",
              "description": "Page number (1-indexed) to jump straight to. Default: 1. Ignored when cursor is given; prefer cursor to walk a report.",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--page-size",
              "description": "Rows per page. Default: 20, maximum: 50 — a request above the maximum is rejected rather than silently truncated. Note that a wide report (ad level, many metrics) runs roughly 700-800 bytes per row, so a page near the maximum can exceed an MCP client's tool-output limit; 20-30 is the safe working size. Check pagination.hasMore and follow pagination.nextCursor for the rest.",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--cursor",
              "description": "Opaque cursor from a previous response's pagination.nextCursor. Pass it back unchanged, with every other parameter identical, to fetch the next page; omit it for the first page. Takes precedence over page. Never construct one by hand.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "creative-report",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "advertiser_id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 64,
                "description": "TikTok advertiser ID."
              },
              "campaign_id": {
                "type": "string",
                "maxLength": 64,
                "description": "Filter to a specific campaign."
              },
              "adgroup_id": {
                "type": "string",
                "maxLength": 64,
                "description": "Filter to a specific ad group."
              },
              "start_date": {
                "type": "string",
                "description": "Start date in YYYY-MM-DD format."
              },
              "end_date": {
                "type": "string",
                "description": "End date in YYYY-MM-DD format."
              },
              "page": {
                "type": "integer",
                "minimum": 1,
                "default": 1,
                "description": "Page number (1-indexed) to jump straight to. Default: 1. Ignored when cursor is given; prefer cursor to walk a report."
              },
              "page_size": {
                "type": "integer",
                "minimum": 1,
                "maximum": 50,
                "default": 20,
                "description": "Rows per page. Default: 20, maximum: 50 — a request above the maximum is rejected rather than silently truncated. Note that a wide report (ad level, many metrics) runs roughly 700-800 bytes per row, so a page near the maximum can exceed an MCP client's tool-output limit; 20-30 is the safe working size. Check pagination.hasMore and follow pagination.nextCursor for the rest."
              },
              "cursor": {
                "type": "string",
                "minLength": 1,
                "maxLength": 512,
                "description": "Opaque cursor from a previous response's pagination.nextCursor. Pass it back unchanged, with every other parameter identical, to fetch the next page; omit it for the first page. Takes precedence over page. Never construct one by hand."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              }
            },
            "required": [
              "advertiser_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "advertiser_id",
              "type": "string",
              "required": true,
              "description": "TikTok advertiser ID.",
              "constraints": {
                "min_length": 1,
                "max_length": 64
              }
            },
            {
              "name": "campaign_id",
              "type": "string",
              "required": false,
              "description": "Filter to a specific campaign.",
              "constraints": {
                "max_length": 64
              }
            },
            {
              "name": "adgroup_id",
              "type": "string",
              "required": false,
              "description": "Filter to a specific ad group.",
              "constraints": {
                "max_length": 64
              }
            },
            {
              "name": "start_date",
              "type": "string",
              "required": false,
              "description": "Start date in YYYY-MM-DD format."
            },
            {
              "name": "end_date",
              "type": "string",
              "required": false,
              "description": "End date in YYYY-MM-DD format."
            },
            {
              "name": "page",
              "type": "integer",
              "required": false,
              "description": "Page number (1-indexed) to jump straight to. Default: 1. Ignored when cursor is given; prefer cursor to walk a report.",
              "default": 1,
              "constraints": {
                "min": 1
              }
            },
            {
              "name": "page_size",
              "type": "integer",
              "required": false,
              "description": "Rows per page. Default: 20, maximum: 50 — a request above the maximum is rejected rather than silently truncated. Note that a wide report (ad level, many metrics) runs roughly 700-800 bytes per row, so a page near the maximum can exceed an MCP client's tool-output limit; 20-30 is the safe working size. Check pagination.hasMore and follow pagination.nextCursor for the rest.",
              "default": 20,
              "constraints": {
                "min": 1,
                "max": 50
              }
            },
            {
              "name": "cursor",
              "type": "string",
              "required": false,
              "description": "Opaque cursor from a previous response's pagination.nextCursor. Pass it back unchanged, with every other parameter identical, to fetch the next page; omit it for the first page. Takes precedence over page. Never construct one by hand.",
              "constraints": {
                "min_length": 1,
                "max_length": 512
              }
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            }
          ],
          "examples": [],
          "response_format": "markdown",
          "related_tools": [],
          "tool_type": "standard"
        },
        {
          "name": "tiktok_ads_get_smart_plus_report",
          "title": "Get TikTok Smart+ Creative Material Report",
          "description": "Get Smart+ creative material performance breakdown. Use this when analyzing Smart+ campaign creative variants — breaks down performance by creative material (video/image), text, and enhancement (CTA) combinations. Required for accurate Smart+ reporting, as the standard reporting tools only show parent ad-level data.\n\nPaging: rows come back in \\",
          "cli_command": "hopkin tiktok smart-plus-report get",
          "cli_flags": [
            {
              "flag": "--advertiser-id",
              "description": "TikTok advertiser account ID.",
              "type": "string",
              "required": true
            },
            {
              "flag": "--dimensions",
              "description": "Creative dimensions to break down by. Examples: material/creative type, text, enhancement/CTA.",
              "type": "array",
              "required": true
            },
            {
              "flag": "--start-date",
              "description": "Start date in YYYY-MM-DD format.",
              "type": "string",
              "required": true
            },
            {
              "flag": "--end-date",
              "description": "End date in YYYY-MM-DD format.",
              "type": "string",
              "required": true
            },
            {
              "flag": "--metrics",
              "description": "Metrics to retrieve. Defaults to spend, impressions, clicks, conversions, and cost metrics.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--campaign-ids",
              "description": "Filter by campaign IDs.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--adgroup-ids",
              "description": "Filter by ad group IDs.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--smart-plus-ad-ids",
              "description": "Filter by Smart+ ad IDs.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--main-material-ids",
              "description": "Filter by material (video/image) IDs.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--main-material-types",
              "description": "Filter by material types.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--sort-field",
              "description": "Sort by field. Default: spend.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--sort-type",
              "description": "Sort direction. Default: DESC.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--page",
              "description": "Page number (1-indexed) to jump straight to. Default: 1. Ignored when cursor is given; prefer cursor to walk a report.",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--page-size",
              "description": "Rows per page. Default: 20, maximum: 1000. Check pagination.hasMore and follow pagination.nextCursor for the rest.",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--cursor",
              "description": "Opaque cursor from a previous response's pagination.nextCursor. Pass it back unchanged, with every other parameter identical, to fetch the next page; omit it for the first page. Takes precedence over page. Never construct one by hand.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "smart-plus-report",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "advertiser_id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 64,
                "description": "TikTok advertiser account ID."
              },
              "dimensions": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "minItems": 1,
                "description": "Creative dimensions to break down by. Examples: material/creative type, text, enhancement/CTA."
              },
              "start_date": {
                "type": "string",
                "description": "Start date in YYYY-MM-DD format."
              },
              "end_date": {
                "type": "string",
                "description": "End date in YYYY-MM-DD format."
              },
              "metrics": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Metrics to retrieve. Defaults to spend, impressions, clicks, conversions, and cost metrics."
              },
              "campaign_ids": {
                "type": "array",
                "items": {
                  "type": "string",
                  "maxLength": 64
                },
                "description": "Filter by campaign IDs."
              },
              "adgroup_ids": {
                "type": "array",
                "items": {
                  "type": "string",
                  "maxLength": 64
                },
                "description": "Filter by ad group IDs."
              },
              "smart_plus_ad_ids": {
                "type": "array",
                "items": {
                  "type": "string",
                  "maxLength": 64
                },
                "description": "Filter by Smart+ ad IDs."
              },
              "main_material_ids": {
                "type": "array",
                "items": {
                  "type": "string",
                  "maxLength": 64
                },
                "description": "Filter by material (video/image) IDs."
              },
              "main_material_types": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Filter by material types."
              },
              "sort_field": {
                "type": "string",
                "default": "spend",
                "description": "Sort by field. Default: spend."
              },
              "sort_type": {
                "type": "string",
                "enum": [
                  "ASC",
                  "DESC"
                ],
                "default": "DESC",
                "description": "Sort direction. Default: DESC."
              },
              "page": {
                "type": "integer",
                "minimum": 1,
                "default": 1,
                "description": "Page number (1-indexed) to jump straight to. Default: 1. Ignored when cursor is given; prefer cursor to walk a report."
              },
              "page_size": {
                "type": "integer",
                "minimum": 1,
                "maximum": 1000,
                "default": 20,
                "description": "Rows per page. Default: 20, maximum: 1000. Check pagination.hasMore and follow pagination.nextCursor for the rest."
              },
              "cursor": {
                "type": "string",
                "minLength": 1,
                "maxLength": 512,
                "description": "Opaque cursor from a previous response's pagination.nextCursor. Pass it back unchanged, with every other parameter identical, to fetch the next page; omit it for the first page. Takes precedence over page. Never construct one by hand."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              }
            },
            "required": [
              "advertiser_id",
              "dimensions",
              "start_date",
              "end_date",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "advertiser_id",
              "type": "string",
              "required": true,
              "description": "TikTok advertiser account ID.",
              "constraints": {
                "min_length": 1,
                "max_length": 64
              }
            },
            {
              "name": "dimensions",
              "type": "array",
              "required": true,
              "description": "Creative dimensions to break down by. Examples: material/creative type, text, enhancement/CTA."
            },
            {
              "name": "start_date",
              "type": "string",
              "required": true,
              "description": "Start date in YYYY-MM-DD format."
            },
            {
              "name": "end_date",
              "type": "string",
              "required": true,
              "description": "End date in YYYY-MM-DD format."
            },
            {
              "name": "metrics",
              "type": "array",
              "required": false,
              "description": "Metrics to retrieve. Defaults to spend, impressions, clicks, conversions, and cost metrics."
            },
            {
              "name": "campaign_ids",
              "type": "array",
              "required": false,
              "description": "Filter by campaign IDs."
            },
            {
              "name": "adgroup_ids",
              "type": "array",
              "required": false,
              "description": "Filter by ad group IDs."
            },
            {
              "name": "smart_plus_ad_ids",
              "type": "array",
              "required": false,
              "description": "Filter by Smart+ ad IDs."
            },
            {
              "name": "main_material_ids",
              "type": "array",
              "required": false,
              "description": "Filter by material (video/image) IDs."
            },
            {
              "name": "main_material_types",
              "type": "array",
              "required": false,
              "description": "Filter by material types."
            },
            {
              "name": "sort_field",
              "type": "string",
              "required": false,
              "description": "Sort by field. Default: spend.",
              "default": "spend"
            },
            {
              "name": "sort_type",
              "type": "string",
              "required": false,
              "description": "Sort direction. Default: DESC.",
              "enum_values": [
                "ASC",
                "DESC"
              ],
              "default": "DESC"
            },
            {
              "name": "page",
              "type": "integer",
              "required": false,
              "description": "Page number (1-indexed) to jump straight to. Default: 1. Ignored when cursor is given; prefer cursor to walk a report.",
              "default": 1,
              "constraints": {
                "min": 1
              }
            },
            {
              "name": "page_size",
              "type": "integer",
              "required": false,
              "description": "Rows per page. Default: 20, maximum: 1000. Check pagination.hasMore and follow pagination.nextCursor for the rest.",
              "default": 20,
              "constraints": {
                "min": 1,
                "max": 1000
              }
            },
            {
              "name": "cursor",
              "type": "string",
              "required": false,
              "description": "Opaque cursor from a previous response's pagination.nextCursor. Pass it back unchanged, with every other parameter identical, to fetch the next page; omit it for the first page. Takes precedence over page. Never construct one by hand.",
              "constraints": {
                "min_length": 1,
                "max_length": 512
              }
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            }
          ],
          "examples": [],
          "response_format": "markdown",
          "related_tools": [],
          "tool_type": "standard"
        },
        {
          "name": "tiktok_ads_get_smart_plus_overview",
          "title": "Get TikTok Smart+ Creative Material Overview",
          "description": "Get Smart+ creative material overview. Returns aggregate performance summaries for Smart+ creative materials with optional lifetime queries. Use alongside tiktok_ads_get_smart_plus_report for full Smart+ creative analysis.\n\nPaging: rows come back in \\",
          "cli_command": "hopkin tiktok smart-plus-overview get",
          "cli_flags": [
            {
              "flag": "--advertiser-id",
              "description": "TikTok advertiser account ID.",
              "type": "string",
              "required": true
            },
            {
              "flag": "--dimensions",
              "description": "Creative dimensions to group by.",
              "type": "array",
              "required": true
            },
            {
              "flag": "--start-date",
              "description": "Start date in YYYY-MM-DD format.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--end-date",
              "description": "End date in YYYY-MM-DD format.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--query-lifetime",
              "description": "If true, return lifetime metrics instead of date-ranged.",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--metrics",
              "description": "Metrics to retrieve.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--campaign-ids",
              "description": "Filter by campaign IDs.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--adgroup-ids",
              "description": "Filter by ad group IDs.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--smart-plus-ad-ids",
              "description": "Filter by Smart+ ad IDs.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--sort-field",
              "description": "Sort by field. Default: spend.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--sort-type",
              "description": "Sort direction. Default: DESC.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--page",
              "description": "Page number (1-indexed) to jump straight to. Default: 1. Ignored when cursor is given; prefer cursor to walk a report.",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--page-size",
              "description": "Rows per page. Default: 20, maximum: 1000. Check pagination.hasMore and follow pagination.nextCursor for the rest.",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--cursor",
              "description": "Opaque cursor from a previous response's pagination.nextCursor. Pass it back unchanged, with every other parameter identical, to fetch the next page; omit it for the first page. Takes precedence over page. Never construct one by hand.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "smart-plus-overview",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "advertiser_id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 64,
                "description": "TikTok advertiser account ID."
              },
              "dimensions": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "minItems": 1,
                "description": "Creative dimensions to group by."
              },
              "start_date": {
                "type": "string",
                "description": "Start date in YYYY-MM-DD format."
              },
              "end_date": {
                "type": "string",
                "description": "End date in YYYY-MM-DD format."
              },
              "query_lifetime": {
                "type": "boolean",
                "description": "If true, return lifetime metrics instead of date-ranged."
              },
              "metrics": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Metrics to retrieve."
              },
              "campaign_ids": {
                "type": "array",
                "items": {
                  "type": "string",
                  "maxLength": 64
                },
                "description": "Filter by campaign IDs."
              },
              "adgroup_ids": {
                "type": "array",
                "items": {
                  "type": "string",
                  "maxLength": 64
                },
                "description": "Filter by ad group IDs."
              },
              "smart_plus_ad_ids": {
                "type": "array",
                "items": {
                  "type": "string",
                  "maxLength": 64
                },
                "description": "Filter by Smart+ ad IDs."
              },
              "sort_field": {
                "type": "string",
                "default": "spend",
                "description": "Sort by field. Default: spend."
              },
              "sort_type": {
                "type": "string",
                "enum": [
                  "ASC",
                  "DESC"
                ],
                "default": "DESC",
                "description": "Sort direction. Default: DESC."
              },
              "page": {
                "type": "integer",
                "minimum": 1,
                "default": 1,
                "description": "Page number (1-indexed) to jump straight to. Default: 1. Ignored when cursor is given; prefer cursor to walk a report."
              },
              "page_size": {
                "type": "integer",
                "minimum": 1,
                "maximum": 1000,
                "default": 20,
                "description": "Rows per page. Default: 20, maximum: 1000. Check pagination.hasMore and follow pagination.nextCursor for the rest."
              },
              "cursor": {
                "type": "string",
                "minLength": 1,
                "maxLength": 512,
                "description": "Opaque cursor from a previous response's pagination.nextCursor. Pass it back unchanged, with every other parameter identical, to fetch the next page; omit it for the first page. Takes precedence over page. Never construct one by hand."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              }
            },
            "required": [
              "advertiser_id",
              "dimensions",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "advertiser_id",
              "type": "string",
              "required": true,
              "description": "TikTok advertiser account ID.",
              "constraints": {
                "min_length": 1,
                "max_length": 64
              }
            },
            {
              "name": "dimensions",
              "type": "array",
              "required": true,
              "description": "Creative dimensions to group by."
            },
            {
              "name": "start_date",
              "type": "string",
              "required": false,
              "description": "Start date in YYYY-MM-DD format."
            },
            {
              "name": "end_date",
              "type": "string",
              "required": false,
              "description": "End date in YYYY-MM-DD format."
            },
            {
              "name": "query_lifetime",
              "type": "boolean",
              "required": false,
              "description": "If true, return lifetime metrics instead of date-ranged."
            },
            {
              "name": "metrics",
              "type": "array",
              "required": false,
              "description": "Metrics to retrieve."
            },
            {
              "name": "campaign_ids",
              "type": "array",
              "required": false,
              "description": "Filter by campaign IDs."
            },
            {
              "name": "adgroup_ids",
              "type": "array",
              "required": false,
              "description": "Filter by ad group IDs."
            },
            {
              "name": "smart_plus_ad_ids",
              "type": "array",
              "required": false,
              "description": "Filter by Smart+ ad IDs."
            },
            {
              "name": "sort_field",
              "type": "string",
              "required": false,
              "description": "Sort by field. Default: spend.",
              "default": "spend"
            },
            {
              "name": "sort_type",
              "type": "string",
              "required": false,
              "description": "Sort direction. Default: DESC.",
              "enum_values": [
                "ASC",
                "DESC"
              ],
              "default": "DESC"
            },
            {
              "name": "page",
              "type": "integer",
              "required": false,
              "description": "Page number (1-indexed) to jump straight to. Default: 1. Ignored when cursor is given; prefer cursor to walk a report.",
              "default": 1,
              "constraints": {
                "min": 1
              }
            },
            {
              "name": "page_size",
              "type": "integer",
              "required": false,
              "description": "Rows per page. Default: 20, maximum: 1000. Check pagination.hasMore and follow pagination.nextCursor for the rest.",
              "default": 20,
              "constraints": {
                "min": 1,
                "max": 1000
              }
            },
            {
              "name": "cursor",
              "type": "string",
              "required": false,
              "description": "Opaque cursor from a previous response's pagination.nextCursor. Pass it back unchanged, with every other parameter identical, to fetch the next page; omit it for the first page. Takes precedence over page. Never construct one by hand.",
              "constraints": {
                "min_length": 1,
                "max_length": 512
              }
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            }
          ],
          "examples": [],
          "response_format": "markdown",
          "related_tools": [],
          "tool_type": "standard"
        }
      ]
    },
    {
      "id": "mailchimp",
      "name": "Mailchimp",
      "description": "Mailchimp Marketing API v3.0 for audience and campaign data",
      "tool_count": 26,
      "mcpUrl": "https://mailchimp.mcp.hopkin.ai",
      "tools": [
        {
          "name": "mailchimp_list_accounts",
          "title": "List Connected Mailchimp Accounts",
          "description": "List all Mailchimp accounts connected for the authenticated user. Returns account IDs, names, data centers, and login emails.",
          "cli_command": "hopkin mailchimp -accounts",
          "cli_flags": [
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "-accounts",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "List accounts",
              "mcp_params": {
                "reason": "User asked which Mailchimp accounts are connected"
              },
              "cli_command": "hopkin mailchimp -accounts",
              "natural_language": "List accounts"
            }
          ],
          "response_format": "markdown",
          "related_tools": [],
          "tool_type": "standard"
        },
        {
          "name": "mailchimp_list_audiences",
          "title": "List Mailchimp Audiences",
          "description": "List all audiences (lists) in the Mailchimp account with name search and pagination. Returns member count, open rate, click rate, and list rating for each audience.",
          "cli_command": "hopkin mailchimp -audiences",
          "cli_flags": [
            {
              "flag": "--limit",
              "description": "Maximum number of results to return (1–100). Default: 20.",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--cursor",
              "description": "Opaque pagination cursor from a previous response.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--refresh",
              "description": "Force a fresh fetch bypassing the cache.",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--account",
              "description": "Mailchimp account ID. Required when multiple accounts are connected. Use mailchimp_list_accounts to see available accounts.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--search",
              "description": "Filter audiences by name (case-insensitive substring match).",
              "type": "string",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "-audiences",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "limit": {
                "type": "integer",
                "minimum": 1,
                "maximum": 100,
                "default": 20,
                "description": "Maximum number of results to return (1–100). Default: 20."
              },
              "cursor": {
                "type": "string",
                "description": "Opaque pagination cursor from a previous response."
              },
              "refresh": {
                "type": "boolean",
                "default": false,
                "description": "Force a fresh fetch bypassing the cache."
              },
              "account_id": {
                "type": "string",
                "description": "Mailchimp account ID. Required when multiple accounts are connected. Use mailchimp_list_accounts to see available accounts."
              },
              "search": {
                "type": "string",
                "description": "Filter audiences by name (case-insensitive substring match)."
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "limit",
              "type": "integer",
              "required": false,
              "description": "Maximum number of results to return (1–100). Default: 20.",
              "default": 20,
              "constraints": {
                "min": 1,
                "max": 100
              }
            },
            {
              "name": "cursor",
              "type": "string",
              "required": false,
              "description": "Opaque pagination cursor from a previous response."
            },
            {
              "name": "refresh",
              "type": "boolean",
              "required": false,
              "description": "Force a fresh fetch bypassing the cache.",
              "default": false
            },
            {
              "name": "account_id",
              "type": "string",
              "required": false,
              "description": "Mailchimp account ID. Required when multiple accounts are connected. Use mailchimp_list_accounts to see available accounts."
            },
            {
              "name": "search",
              "type": "string",
              "required": false,
              "description": "Filter audiences by name (case-insensitive substring match)."
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "List all",
              "mcp_params": {
                "reason": "List all audiences"
              },
              "cli_command": "hopkin mailchimp -audiences",
              "natural_language": "List all"
            },
            {
              "label": "Search",
              "mcp_params": {
                "search": "Newsletter",
                "reason": "Find newsletter audiences"
              },
              "cli_command": "hopkin mailchimp -audiences --search Newsletter",
              "natural_language": "Search"
            },
            {
              "label": "Force refresh",
              "mcp_params": {
                "refresh": true,
                "reason": "Get fresh audience data"
              },
              "cli_command": "hopkin mailchimp -audiences --refresh true",
              "natural_language": "Force refresh"
            }
          ],
          "response_format": "markdown",
          "related_tools": [],
          "tool_type": "standard"
        },
        {
          "name": "mailchimp_get_audience",
          "title": "Get Mailchimp Audience Details",
          "description": "Get detailed information about a specific Mailchimp audience (list), including stats, settings, and campaign defaults.",
          "cli_command": "hopkin mailchimp audience",
          "cli_flags": [
            {
              "flag": "--account",
              "description": "Mailchimp account ID. Required when multiple accounts are connected. Use mailchimp_list_accounts to see available accounts.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--audience-id",
              "description": "The Mailchimp audience (list) ID.",
              "type": "string",
              "required": true
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "audience",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "account_id": {
                "type": "string",
                "description": "Mailchimp account ID. Required when multiple accounts are connected. Use mailchimp_list_accounts to see available accounts."
              },
              "audience_id": {
                "type": "string",
                "description": "The Mailchimp audience (list) ID."
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "audience_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "account_id",
              "type": "string",
              "required": false,
              "description": "Mailchimp account ID. Required when multiple accounts are connected. Use mailchimp_list_accounts to see available accounts."
            },
            {
              "name": "audience_id",
              "type": "string",
              "required": true,
              "description": "The Mailchimp audience (list) ID."
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "Get by ID",
              "mcp_params": {
                "audience_id": "abc123def",
                "reason": "Get audience details"
              },
              "cli_command": "hopkin mailchimp audience --audience-id abc123def",
              "natural_language": "Get by ID"
            }
          ],
          "response_format": "markdown",
          "related_tools": [],
          "tool_type": "standard"
        },
        {
          "name": "mailchimp_check_auth_status",
          "title": "Check Mailchimp Authentication Status",
          "description": "Troubleshoot authentication issues and get user profile info. Only use when another tool fails with a permission or authentication error — do NOT call proactively.",
          "cli_command": "hopkin mailchimp k-auth-status",
          "cli_flags": [
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "k-auth-status",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "Check auth",
              "mcp_params": {
                "reason": "Another tool returned an auth error, checking Mailchimp account connection status"
              },
              "cli_command": "hopkin mailchimp k-auth-status",
              "natural_language": "Check auth"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "ga4_check_auth_status",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "mailchimp_list_automations",
          "title": "List Mailchimp Automations",
          "description": "List automations (classic automations / customer journeys) in the Mailchimp account with status filtering, title search, and pagination.",
          "cli_command": "hopkin mailchimp -automations",
          "cli_flags": [
            {
              "flag": "--limit",
              "description": "Maximum number of results to return (1–100). Default: 20.",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--cursor",
              "description": "Opaque pagination cursor from a previous response.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--refresh",
              "description": "Force a fresh fetch bypassing the cache.",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--account",
              "description": "Mailchimp account ID. Required when multiple accounts are connected. Use mailchimp_list_accounts to see available accounts.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--status",
              "description": "Filter automations by status. E.g. [\"sending\", \"paused\"].",
              "type": "array",
              "required": false
            },
            {
              "flag": "--search",
              "description": "Filter automations by title (case-insensitive substring match).",
              "type": "string",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "-automations",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "limit": {
                "type": "integer",
                "minimum": 1,
                "maximum": 100,
                "default": 20,
                "description": "Maximum number of results to return (1–100). Default: 20."
              },
              "cursor": {
                "type": "string",
                "description": "Opaque pagination cursor from a previous response."
              },
              "refresh": {
                "type": "boolean",
                "default": false,
                "description": "Force a fresh fetch bypassing the cache."
              },
              "account_id": {
                "type": "string",
                "description": "Mailchimp account ID. Required when multiple accounts are connected. Use mailchimp_list_accounts to see available accounts."
              },
              "status": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "save",
                    "paused",
                    "sending"
                  ]
                },
                "description": "Filter automations by status. E.g. [\"sending\", \"paused\"]."
              },
              "search": {
                "type": "string",
                "description": "Filter automations by title (case-insensitive substring match)."
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "limit",
              "type": "integer",
              "required": false,
              "description": "Maximum number of results to return (1–100). Default: 20.",
              "default": 20,
              "constraints": {
                "min": 1,
                "max": 100
              }
            },
            {
              "name": "cursor",
              "type": "string",
              "required": false,
              "description": "Opaque pagination cursor from a previous response."
            },
            {
              "name": "refresh",
              "type": "boolean",
              "required": false,
              "description": "Force a fresh fetch bypassing the cache.",
              "default": false
            },
            {
              "name": "account_id",
              "type": "string",
              "required": false,
              "description": "Mailchimp account ID. Required when multiple accounts are connected. Use mailchimp_list_accounts to see available accounts."
            },
            {
              "name": "status",
              "type": "array",
              "required": false,
              "description": "Filter automations by status. E.g. [\"sending\", \"paused\"]."
            },
            {
              "name": "search",
              "type": "string",
              "required": false,
              "description": "Filter automations by title (case-insensitive substring match)."
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "List all",
              "mcp_params": {
                "reason": "List all automations"
              },
              "cli_command": "hopkin mailchimp -automations",
              "natural_language": "List all"
            },
            {
              "label": "Filter by status",
              "mcp_params": {
                "status": [
                  "sending"
                ],
                "reason": "List active automations"
              },
              "cli_command": "hopkin mailchimp -automations --status sending",
              "natural_language": "Filter by status"
            },
            {
              "label": "Search",
              "mcp_params": {
                "search": "Welcome",
                "reason": "Find welcome automations"
              },
              "cli_command": "hopkin mailchimp -automations --search Welcome",
              "natural_language": "Search"
            }
          ],
          "response_format": "markdown",
          "related_tools": [],
          "tool_type": "standard"
        },
        {
          "name": "mailchimp_get_automation",
          "title": "Get Mailchimp Automation Details",
          "description": "Get detailed information about a specific Mailchimp automation including all associated emails with their delivery stats.",
          "cli_command": "hopkin mailchimp automation",
          "cli_flags": [
            {
              "flag": "--account",
              "description": "Mailchimp account ID. Required when multiple accounts are connected. Use mailchimp_list_accounts to see available accounts.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--automation-id",
              "description": "The Mailchimp automation (classic automation / customer journey) ID.",
              "type": "string",
              "required": true
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "automation",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "account_id": {
                "type": "string",
                "description": "Mailchimp account ID. Required when multiple accounts are connected. Use mailchimp_list_accounts to see available accounts."
              },
              "automation_id": {
                "type": "string",
                "description": "The Mailchimp automation (classic automation / customer journey) ID."
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "automation_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "account_id",
              "type": "string",
              "required": false,
              "description": "Mailchimp account ID. Required when multiple accounts are connected. Use mailchimp_list_accounts to see available accounts."
            },
            {
              "name": "automation_id",
              "type": "string",
              "required": true,
              "description": "The Mailchimp automation (classic automation / customer journey) ID."
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "Get by ID",
              "mcp_params": {
                "automation_id": "abc123",
                "reason": "Get automation details with emails"
              },
              "cli_command": "hopkin mailchimp automation --automation-id abc123",
              "natural_language": "Get by ID"
            }
          ],
          "response_format": "markdown",
          "related_tools": [],
          "tool_type": "standard"
        },
        {
          "name": "mailchimp_get_billing_status",
          "title": "Billing status",
          "description": "Why a call was refused with a billing error (402) and how to get unblocked. Reports whether this organization is entitled, its subscription status, tier, trial end, credits used and left this period, the price table and a link to the billing page. With checkout_tier, the organization owner also gets a Stripe Checkout link for that plan; a member gets the owner's contact and a message to forward. Call it after any 402. While waiting for a human to pay, poll it every 10 seconds for the first minute, every 30 seconds until 5 minutes, then every 60 seconds until 15 minutes, then stop and tell the human. Once it returns entitled: true, retry the blocked call; if the retry still returns 402, wait 15 seconds and retry once. A Checkout link is a payment link: give it to the organization owner only.",
          "cli_command": "hopkin mailchimp billing-status",
          "cli_flags": [
            {
              "flag": "--checkout-tier",
              "description": "Organization owner only: also create a Stripe Checkout link for this plan. A member gets the owner's contact and a message to forward instead.",
              "type": "string",
              "required": false
            }
          ],
          "category": "billing-status",
          "annotations": {
            "readOnly": false,
            "destructive": false,
            "idempotent": true,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "checkout_tier": {
                "type": "string",
                "enum": [
                  "starter",
                  "pro",
                  "enterprise"
                ],
                "description": "Organization owner only: also create a Stripe Checkout link for this plan. A member gets the owner's contact and a message to forward instead."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "checkout_tier",
              "type": "string",
              "required": false,
              "description": "Organization owner only: also create a Stripe Checkout link for this plan. A member gets the owner's contact and a message to forward instead.",
              "enum_values": [
                "starter",
                "pro",
                "enterprise"
              ]
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "After a billing error",
              "mcp_params": {
                "reason": "A tool call was refused with a billing error (402)"
              },
              "cli_command": "hopkin mailchimp billing-status",
              "natural_language": "After a billing error"
            },
            {
              "label": "Owner: Checkout link",
              "mcp_params": {
                "checkout_tier": "pro",
                "reason": "The organization owner wants to pay for Pro now"
              },
              "cli_command": "hopkin mailchimp billing-status --checkout-tier pro",
              "natural_language": "Owner: Checkout link"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "ga4_get_billing_status",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "mailchimp_list_campaigns",
          "title": "List Mailchimp Campaigns",
          "description": "List campaigns in the Mailchimp account with status filtering, server-side title search, sorting, date range filtering, and pagination. Results include web_id, audience name, and send_time for easy identification. Use since_send_time/before_send_time to filter by send date window.\n\nSearch: passing search routes every page to Mailchimp's /search-campaigns endpoint for accurate server-side matching — ideal for disambiguating campaigns by title. Search results come back most recently sent first, with unsent drafts last; sort_field and sort_dir apply to the unsearched listing, while status, type and the send-date window are applied to search results here. That endpoint returns one batch and accepts no pagination, so a broad search can be capped: when it is, the response carries search_total_matches — Mailchimp's own count of everything that matched, before any filter of yours — and narrowing the search is the only way to reach the rest. Do not subtract count from it: count is what is left after your filters, so the difference is not the number of unreachable campaigns.\n\nPaging: repeat the exact same call with cursor set to the previous response's nextCursor — a cursor only continues the call that issued it, and changing any filter (including adding or removing search) invalidates it.",
          "cli_command": "hopkin mailchimp -campaigns",
          "cli_flags": [
            {
              "flag": "--limit",
              "description": "Maximum number of results to return (1–100). Default: 20.",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--cursor",
              "description": "Opaque pagination cursor from a previous response.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--refresh",
              "description": "Force a fresh fetch bypassing the cache.",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--account",
              "description": "Mailchimp account ID. Required when multiple accounts are connected. Use mailchimp_list_accounts to see available accounts.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--status",
              "description": "Filter campaigns by status. E.g. [\"sent\", \"sending\"].",
              "type": "array",
              "required": false
            },
            {
              "flag": "--type",
              "description": "Filter campaigns by type. E.g. [\"absplit\", \"variate\"] to find A/B and multivariate campaigns.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--search",
              "description": "Full-text search across campaigns via Mailchimp /search-campaigns, so a match need not contain this string literally. Returns one capped batch, most recently sent first — see the tool description for how paging and capping work.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--sort-field",
              "description": "Sort campaigns by this field. Defaults to create_time (Mailchimp default). Use send_time to get most recently sent campaigns first.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--sort-dir",
              "description": "Sort direction. ASC for oldest first, DESC for newest first. Defaults to DESC.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--since-send-time",
              "description": "Only return campaigns sent after this time. ISO 8601 format: 2025-01-01T00:00:00Z",
              "type": "string",
              "required": false
            },
            {
              "flag": "--before-send-time",
              "description": "Only return campaigns sent before this time. ISO 8601 format: 2025-12-31T23:59:59Z",
              "type": "string",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "-campaigns",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "limit": {
                "type": "integer",
                "minimum": 1,
                "maximum": 100,
                "default": 20,
                "description": "Maximum number of results to return (1–100). Default: 20."
              },
              "cursor": {
                "type": "string",
                "description": "Opaque pagination cursor from a previous response."
              },
              "refresh": {
                "type": "boolean",
                "default": false,
                "description": "Force a fresh fetch bypassing the cache."
              },
              "account_id": {
                "type": "string",
                "description": "Mailchimp account ID. Required when multiple accounts are connected. Use mailchimp_list_accounts to see available accounts."
              },
              "status": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "save",
                    "paused",
                    "schedule",
                    "sending",
                    "sent",
                    "canceled",
                    "canceling",
                    "archived"
                  ]
                },
                "description": "Filter campaigns by status. E.g. [\"sent\", \"sending\"]."
              },
              "type": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "regular",
                    "plaintext",
                    "absplit",
                    "rss",
                    "variate",
                    "automation"
                  ]
                },
                "description": "Filter campaigns by type. E.g. [\"absplit\", \"variate\"] to find A/B and multivariate campaigns."
              },
              "search": {
                "type": "string",
                "description": "Full-text search across campaigns via Mailchimp /search-campaigns, so a match need not contain this string literally. Returns one capped batch, most recently sent first — see the tool description for how paging and capping work."
              },
              "sort_field": {
                "type": "string",
                "enum": [
                  "send_time",
                  "create_time"
                ],
                "description": "Sort campaigns by this field. Defaults to create_time (Mailchimp default). Use send_time to get most recently sent campaigns first."
              },
              "sort_dir": {
                "type": "string",
                "enum": [
                  "ASC",
                  "DESC"
                ],
                "description": "Sort direction. ASC for oldest first, DESC for newest first. Defaults to DESC."
              },
              "since_send_time": {
                "type": "string",
                "description": "Only return campaigns sent after this time. ISO 8601 format: 2025-01-01T00:00:00Z"
              },
              "before_send_time": {
                "type": "string",
                "description": "Only return campaigns sent before this time. ISO 8601 format: 2025-12-31T23:59:59Z"
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "limit",
              "type": "integer",
              "required": false,
              "description": "Maximum number of results to return (1–100). Default: 20.",
              "default": 20,
              "constraints": {
                "min": 1,
                "max": 100
              }
            },
            {
              "name": "cursor",
              "type": "string",
              "required": false,
              "description": "Opaque pagination cursor from a previous response."
            },
            {
              "name": "refresh",
              "type": "boolean",
              "required": false,
              "description": "Force a fresh fetch bypassing the cache.",
              "default": false
            },
            {
              "name": "account_id",
              "type": "string",
              "required": false,
              "description": "Mailchimp account ID. Required when multiple accounts are connected. Use mailchimp_list_accounts to see available accounts."
            },
            {
              "name": "status",
              "type": "array",
              "required": false,
              "description": "Filter campaigns by status. E.g. [\"sent\", \"sending\"]."
            },
            {
              "name": "type",
              "type": "array",
              "required": false,
              "description": "Filter campaigns by type. E.g. [\"absplit\", \"variate\"] to find A/B and multivariate campaigns."
            },
            {
              "name": "search",
              "type": "string",
              "required": false,
              "description": "Full-text search across campaigns via Mailchimp /search-campaigns, so a match need not contain this string literally. Returns one capped batch, most recently sent first — see the tool description for how paging and capping work."
            },
            {
              "name": "sort_field",
              "type": "string",
              "required": false,
              "description": "Sort campaigns by this field. Defaults to create_time (Mailchimp default). Use send_time to get most recently sent campaigns first.",
              "enum_values": [
                "send_time",
                "create_time"
              ]
            },
            {
              "name": "sort_dir",
              "type": "string",
              "required": false,
              "description": "Sort direction. ASC for oldest first, DESC for newest first. Defaults to DESC.",
              "enum_values": [
                "ASC",
                "DESC"
              ]
            },
            {
              "name": "since_send_time",
              "type": "string",
              "required": false,
              "description": "Only return campaigns sent after this time. ISO 8601 format: 2025-01-01T00:00:00Z"
            },
            {
              "name": "before_send_time",
              "type": "string",
              "required": false,
              "description": "Only return campaigns sent before this time. ISO 8601 format: 2025-12-31T23:59:59Z"
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "List all",
              "mcp_params": {
                "reason": "List all campaigns"
              },
              "cli_command": "hopkin mailchimp -campaigns",
              "natural_language": "List all"
            },
            {
              "label": "Filter by status",
              "mcp_params": {
                "status": [
                  "sent",
                  "sending"
                ],
                "reason": "List sent campaigns"
              },
              "cli_command": "hopkin mailchimp -campaigns --status sent,sending",
              "natural_language": "Filter by status"
            },
            {
              "label": "Search",
              "mcp_params": {
                "search": "Welcome",
                "reason": "Find welcome campaigns"
              },
              "cli_command": "hopkin mailchimp -campaigns --search Welcome",
              "natural_language": "Search"
            },
            {
              "label": "Latest sent",
              "mcp_params": {
                "status": [
                  "sent"
                ],
                "sort_field": "send_time",
                "sort_dir": "DESC",
                "limit": 10,
                "reason": "Get 10 most recently sent campaigns"
              },
              "cli_command": "hopkin mailchimp -campaigns --status sent --sort-field send_time --sort-dir DESC --limit 10",
              "natural_language": "Latest sent"
            },
            {
              "label": "Recent window",
              "mcp_params": {
                "status": [
                  "sent"
                ],
                "sort_field": "send_time",
                "sort_dir": "DESC",
                "since_send_time": "2025-04-01T00:00:00Z",
                "reason": "Campaigns sent since April 2025"
              },
              "cli_command": "hopkin mailchimp -campaigns --status sent --sort-field send_time --sort-dir DESC --since-send-time 2025-04-01T00:00:00Z",
              "natural_language": "Recent window"
            }
          ],
          "response_format": "markdown",
          "related_tools": [],
          "tool_type": "standard"
        },
        {
          "name": "mailchimp_get_campaign",
          "title": "Get Mailchimp Campaign Details",
          "description": "Get detailed information about a specific Mailchimp campaign. Optionally includes content preview (text/HTML, truncated) and send checklist.",
          "cli_command": "hopkin mailchimp campaign",
          "cli_flags": [
            {
              "flag": "--account",
              "description": "Mailchimp account ID. Required when multiple accounts are connected. Use mailchimp_list_accounts to see available accounts.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--campaign",
              "description": "The Mailchimp campaign ID. Required unless web_id is provided.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--web-id",
              "description": "Alternative to campaign_id: the numeric web_id from Mailchimp UI URLs. If both are provided, campaign_id takes precedence.",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--include-content",
              "description": "Include a preview of the campaign HTML/text content (truncated to 5000 chars).",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--include-send-checklist",
              "description": "Include the send checklist for the campaign.",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "campaign",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "account_id": {
                "type": "string",
                "description": "Mailchimp account ID. Required when multiple accounts are connected. Use mailchimp_list_accounts to see available accounts."
              },
              "campaign_id": {
                "type": "string",
                "description": "The Mailchimp campaign ID. Required unless web_id is provided."
              },
              "web_id": {
                "type": "integer",
                "description": "Alternative to campaign_id: the numeric web_id from Mailchimp UI URLs. If both are provided, campaign_id takes precedence."
              },
              "include_content": {
                "type": "boolean",
                "default": false,
                "description": "Include a preview of the campaign HTML/text content (truncated to 5000 chars)."
              },
              "include_send_checklist": {
                "type": "boolean",
                "default": false,
                "description": "Include the send checklist for the campaign."
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "account_id",
              "type": "string",
              "required": false,
              "description": "Mailchimp account ID. Required when multiple accounts are connected. Use mailchimp_list_accounts to see available accounts."
            },
            {
              "name": "campaign_id",
              "type": "string",
              "required": false,
              "description": "The Mailchimp campaign ID. Required unless web_id is provided."
            },
            {
              "name": "web_id",
              "type": "integer",
              "required": false,
              "description": "Alternative to campaign_id: the numeric web_id from Mailchimp UI URLs. If both are provided, campaign_id takes precedence."
            },
            {
              "name": "include_content",
              "type": "boolean",
              "required": false,
              "description": "Include a preview of the campaign HTML/text content (truncated to 5000 chars).",
              "default": false
            },
            {
              "name": "include_send_checklist",
              "type": "boolean",
              "required": false,
              "description": "Include the send checklist for the campaign.",
              "default": false
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "Get by ID",
              "mcp_params": {
                "campaign_id": "abc123",
                "reason": "Get campaign details"
              },
              "cli_command": "hopkin mailchimp campaign --campaign abc123",
              "natural_language": "Get by ID"
            },
            {
              "label": "With content",
              "mcp_params": {
                "campaign_id": "abc123",
                "include_content": true,
                "reason": "Get campaign with content preview"
              },
              "cli_command": "hopkin mailchimp campaign --campaign abc123 --include-content true",
              "natural_language": "With content"
            },
            {
              "label": "With checklist",
              "mcp_params": {
                "campaign_id": "abc123",
                "include_send_checklist": true,
                "reason": "Check campaign readiness"
              },
              "cli_command": "hopkin mailchimp campaign --campaign abc123 --include-send-checklist true",
              "natural_language": "With checklist"
            }
          ],
          "response_format": "markdown",
          "related_tools": [],
          "tool_type": "standard"
        },
        {
          "name": "mailchimp_list_connections",
          "title": "List Mailchimp Connections",
          "description": "List the Mailchimp connections available to you — both ones you own and ones shared with you via an organization. Use this to discover connection IDs for set_default / share / rename / revoke.",
          "cli_command": "hopkin mailchimp -connections",
          "cli_flags": [],
          "category": "-connections",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": false
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "List connections",
              "mcp_params": {
                "reason": "User asked which Mailchimp accounts they have connected"
              },
              "cli_command": "hopkin mailchimp -connections",
              "natural_language": "List connections"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "ga4_list_connections",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "mailchimp_set_default_connection",
          "title": "Set Default Mailchimp Connection",
          "description": "Set the Mailchimp connection that should be used by default for subsequent Mailchimp tool calls. The default is scoped to the calling actor (your user account, or the API key being used).",
          "cli_command": "hopkin mailchimp default-connection",
          "cli_flags": [
            {
              "flag": "--connection-id",
              "description": "UUID of the connection to mark as the actor's default Mailchimp connection.",
              "type": "string",
              "required": true
            }
          ],
          "category": "default-connection",
          "annotations": {
            "readOnly": false,
            "destructive": false,
            "idempotent": true,
            "openWorld": false
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "UUID of the connection to mark as the actor's default Mailchimp connection."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "connection_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "connection_id",
              "type": "string",
              "required": true,
              "description": "UUID of the connection to mark as the actor's default Mailchimp connection."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "Set default",
              "mcp_params": {
                "connection_id": "00000000-0000-0000-0000-000000000001",
                "reason": "User picked their primary Mailchimp workspace"
              },
              "cli_command": "hopkin mailchimp default-connection --connection-id 00000000-0000-0000-0000-000000000001",
              "natural_language": "Set default"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "ga4_set_default_connection",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "mailchimp_share_connection",
          "title": "Share Mailchimp Connection With Organization",
          "description": "Share an owned Mailchimp connection with all members of your organization, so teammates can use it without having to reconnect Mailchimp themselves. You must be the owner of the connection.",
          "cli_command": "hopkin mailchimp e-connection",
          "cli_flags": [
            {
              "flag": "--connection-id",
              "description": "UUID of the connection to share with your organization. You must be the owner.",
              "type": "string",
              "required": true
            }
          ],
          "category": "e-connection",
          "annotations": {
            "readOnly": false,
            "destructive": false,
            "idempotent": true,
            "openWorld": false
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "UUID of the connection to share with your organization. You must be the owner."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "connection_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "connection_id",
              "type": "string",
              "required": true,
              "description": "UUID of the connection to share with your organization. You must be the owner."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "Share with org",
              "mcp_params": {
                "connection_id": "00000000-0000-0000-0000-000000000001",
                "reason": "User asked to share this Mailchimp connection with their teammates"
              },
              "cli_command": "hopkin mailchimp e-connection --connection-id 00000000-0000-0000-0000-000000000001",
              "natural_language": "Share with org"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "ga4_share_connection",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "mailchimp_unshare_connection",
          "title": "Unshare Mailchimp Connection From Organization",
          "description": "Stop sharing an owned Mailchimp connection with your organization. Teammates lose access immediately. You must be the owner.",
          "cli_command": "hopkin mailchimp are-connection",
          "cli_flags": [
            {
              "flag": "--connection-id",
              "description": "UUID of the connection to stop sharing with your organization. You must be the owner.",
              "type": "string",
              "required": true
            }
          ],
          "category": "are-connection",
          "annotations": {
            "readOnly": false,
            "destructive": true,
            "idempotent": true,
            "openWorld": false
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "UUID of the connection to stop sharing with your organization. You must be the owner."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "connection_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "connection_id",
              "type": "string",
              "required": true,
              "description": "UUID of the connection to stop sharing with your organization. You must be the owner."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "Stop sharing",
              "mcp_params": {
                "connection_id": "00000000-0000-0000-0000-000000000001",
                "reason": "User no longer wants the team to access this Mailchimp connection"
              },
              "cli_command": "hopkin mailchimp are-connection --connection-id 00000000-0000-0000-0000-000000000001",
              "natural_language": "Stop sharing"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "ga4_unshare_connection",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "mailchimp_rename_connection",
          "title": "Rename Mailchimp Connection",
          "description": "Rename the display name of an owned Mailchimp connection. The OAuth grant and underlying account are unaffected — this only changes the human-readable label. You must be the owner.",
          "cli_command": "hopkin mailchimp me-connection",
          "cli_flags": [
            {
              "flag": "--connection-id",
              "description": "UUID of the connection to rename. You must be the owner.",
              "type": "string",
              "required": true
            },
            {
              "flag": "--display-name",
              "description": "New human-readable name for the connection.",
              "type": "string",
              "required": true
            }
          ],
          "category": "me-connection",
          "annotations": {
            "readOnly": false,
            "destructive": false,
            "idempotent": true,
            "openWorld": false
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "UUID of the connection to rename. You must be the owner."
              },
              "display_name": {
                "type": "string",
                "minLength": 1,
                "maxLength": 120,
                "description": "New human-readable name for the connection."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "connection_id",
              "display_name",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "connection_id",
              "type": "string",
              "required": true,
              "description": "UUID of the connection to rename. You must be the owner."
            },
            {
              "name": "display_name",
              "type": "string",
              "required": true,
              "description": "New human-readable name for the connection.",
              "constraints": {
                "min_length": 1,
                "max_length": 120
              }
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "Rename",
              "mcp_params": {
                "connection_id": "00000000-0000-0000-0000-000000000001",
                "display_name": "Acme — Production",
                "reason": "User wanted a clearer label for this Mailchimp connection"
              },
              "cli_command": "hopkin mailchimp me-connection --connection-id 00000000-0000-0000-0000-000000000001 --display-name Acme — Production",
              "natural_language": "Rename"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "ga4_rename_connection",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "mailchimp_revoke_connection",
          "title": "Revoke Mailchimp Connection",
          "description": "Revoke (soft-delete) an owned Mailchimp connection. Any defaults pointing to it are invalidated and shared org members lose access. The OAuth grant at Mailchimp is NOT revoked by this tool — the user must disconnect via the dashboard if they want to fully revoke at Mailchimp. You must be the owner.",
          "cli_command": "hopkin mailchimp ke-connection",
          "cli_flags": [
            {
              "flag": "--connection-id",
              "description": "UUID of the connection to revoke. You must be the owner.",
              "type": "string",
              "required": true
            }
          ],
          "category": "ke-connection",
          "annotations": {
            "readOnly": false,
            "destructive": true,
            "idempotent": true,
            "openWorld": false
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "UUID of the connection to revoke. You must be the owner."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "connection_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "connection_id",
              "type": "string",
              "required": true,
              "description": "UUID of the connection to revoke. You must be the owner."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "Revoke",
              "mcp_params": {
                "connection_id": "00000000-0000-0000-0000-000000000001",
                "reason": "User asked to disconnect this Mailchimp account"
              },
              "cli_command": "hopkin mailchimp ke-connection --connection-id 00000000-0000-0000-0000-000000000001",
              "natural_language": "Revoke"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "ga4_revoke_connection",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "mailchimp_developer_feedback",
          "title": "Submit Developer Feedback",
          "description": "Submit feedback about missing tools, improvements, or workflow gaps in the Mailchimp MCP toolset. Not for user-facing issues like auth or API errors.",
          "cli_command": "hopkin mailchimp loper-feedback",
          "cli_flags": [
            {
              "flag": "--feedback-type",
              "description": "Feedback category: new_tool (request new capability), improvement (enhance existing tool), bug (report issue), workflow_gap (missing workflow)",
              "type": "string",
              "required": true
            },
            {
              "flag": "--title",
              "description": "Concise title summarizing the feedback",
              "type": "string",
              "required": true
            },
            {
              "flag": "--description",
              "description": "What is needed and why",
              "type": "string",
              "required": true
            },
            {
              "flag": "--current-workaround",
              "description": "Current workaround, if any",
              "type": "string",
              "required": false
            },
            {
              "flag": "--priority",
              "description": "Impact level: low (nice-to-have), medium (improves workflow), high (blocking issue)",
              "type": "string",
              "required": false
            },
            {
              "flag": "--interface",
              "description": "Interface the feedback originated from: MCP (default) or CLI",
              "type": "string",
              "required": false
            }
          ],
          "category": "loper-feedback",
          "annotations": {
            "readOnly": false,
            "destructive": false,
            "idempotent": true,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "feedback_type": {
                "type": "string",
                "enum": [
                  "new_tool",
                  "improvement",
                  "bug",
                  "workflow_gap"
                ],
                "description": "Feedback category: new_tool (request new capability), improvement (enhance existing tool), bug (report issue), workflow_gap (missing workflow)"
              },
              "title": {
                "type": "string",
                "minLength": 5,
                "maxLength": 200,
                "description": "Concise title summarizing the feedback"
              },
              "description": {
                "type": "string",
                "minLength": 20,
                "maxLength": 2000,
                "description": "What is needed and why"
              },
              "current_workaround": {
                "type": "string",
                "maxLength": 1000,
                "description": "Current workaround, if any"
              },
              "priority": {
                "type": "string",
                "enum": [
                  "low",
                  "medium",
                  "high"
                ],
                "default": "medium",
                "description": "Impact level: low (nice-to-have), medium (improves workflow), high (blocking issue)"
              },
              "interface": {
                "type": "string",
                "enum": [
                  "MCP",
                  "CLI"
                ],
                "default": "MCP",
                "description": "Interface the feedback originated from: MCP (default) or CLI"
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "feedback_type",
              "title",
              "description",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "feedback_type",
              "type": "string",
              "required": true,
              "description": "Feedback category: new_tool (request new capability), improvement (enhance existing tool), bug (report issue), workflow_gap (missing workflow)",
              "enum_values": [
                "new_tool",
                "improvement",
                "bug",
                "workflow_gap"
              ]
            },
            {
              "name": "title",
              "type": "string",
              "required": true,
              "description": "Concise title summarizing the feedback",
              "constraints": {
                "min_length": 5,
                "max_length": 200
              }
            },
            {
              "name": "description",
              "type": "string",
              "required": true,
              "description": "What is needed and why",
              "constraints": {
                "min_length": 20,
                "max_length": 2000
              }
            },
            {
              "name": "current_workaround",
              "type": "string",
              "required": false,
              "description": "Current workaround, if any",
              "constraints": {
                "max_length": 1000
              }
            },
            {
              "name": "priority",
              "type": "string",
              "required": false,
              "description": "Impact level: low (nice-to-have), medium (improves workflow), high (blocking issue)",
              "enum_values": [
                "low",
                "medium",
                "high"
              ],
              "default": "medium"
            },
            {
              "name": "interface",
              "type": "string",
              "required": false,
              "description": "Interface the feedback originated from: MCP (default) or CLI",
              "enum_values": [
                "MCP",
                "CLI"
              ],
              "default": "MCP"
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "Missing tool",
              "mcp_params": {
                "feedback_type": "new_tool",
                "title": "Bulk tag management",
                "description": "Need to add/remove tags from multiple subscribers at once rather than one by one",
                "priority": "high",
                "reason": "User asked to tag 50 subscribers individually"
              },
              "cli_command": "hopkin mailchimp loper-feedback --feedback-type new_tool --title Bulk tag management --description Need to add/remove tags from multiple subscribers at once rather than one by one --priority high",
              "natural_language": "Missing tool"
            },
            {
              "label": "Workflow gap",
              "mcp_params": {
                "feedback_type": "workflow_gap",
                "title": "Campaign A/B test comparison",
                "description": "No way to compare A/B test variants side by side in a single report",
                "current_workaround": "Fetch each variant report separately and compare manually",
                "reason": "User wanted to compare campaign variants"
              },
              "cli_command": "hopkin mailchimp loper-feedback --feedback-type workflow_gap --title Campaign A/B test comparison --description No way to compare A/B test variants side by side in a single report --current-workaround Fetch each variant report separately and compare manually",
              "natural_language": "Workflow gap"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "ga4_developer_feedback",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "mailchimp_ping",
          "title": "Ping Mailchimp MCP Server",
          "description": "Health check for the Mailchimp MCP server. Does not call the Mailchimp API.",
          "cli_command": "hopkin mailchimp ",
          "cli_flags": [
            {
              "flag": "--message",
              "description": "Optional message to echo back",
              "type": "string",
              "required": false
            }
          ],
          "category": "",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": false
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "message": {
                "type": "string",
                "maxLength": 100,
                "description": "Optional message to echo back"
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "message",
              "type": "string",
              "required": false,
              "description": "Optional message to echo back",
              "constraints": {
                "max_length": 100
              }
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "Health check",
              "mcp_params": {
                "reason": "Verify server is running"
              },
              "cli_command": "hopkin mailchimp ",
              "natural_language": "Health check"
            },
            {
              "label": "With message",
              "mcp_params": {
                "message": "hello",
                "reason": "Test connectivity"
              },
              "cli_command": "hopkin mailchimp  --message hello",
              "natural_language": "With message"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "ga4_ping",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "mailchimp_get_campaign_report",
          "title": "Get Mailchimp Campaign Report",
          "description": "Get a detailed performance report for a sent Mailchimp campaign, including opens, clicks, bounces, forwards, ecommerce, delivery status, and industry comparison stats.",
          "cli_command": "hopkin mailchimp campaign-report",
          "cli_flags": [
            {
              "flag": "--account",
              "description": "Mailchimp account ID. Required when multiple accounts are connected. Use mailchimp_list_accounts to see available accounts.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--campaign",
              "description": "The Mailchimp campaign ID. Campaign must be in \"sent\" status.",
              "type": "string",
              "required": true
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "campaign-report",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "account_id": {
                "type": "string",
                "description": "Mailchimp account ID. Required when multiple accounts are connected. Use mailchimp_list_accounts to see available accounts."
              },
              "campaign_id": {
                "type": "string",
                "minLength": 1,
                "description": "The Mailchimp campaign ID. Campaign must be in \"sent\" status."
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "campaign_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "account_id",
              "type": "string",
              "required": false,
              "description": "Mailchimp account ID. Required when multiple accounts are connected. Use mailchimp_list_accounts to see available accounts."
            },
            {
              "name": "campaign_id",
              "type": "string",
              "required": true,
              "description": "The Mailchimp campaign ID. Campaign must be in \"sent\" status.",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "Get report",
              "mcp_params": {
                "campaign_id": "abc123",
                "reason": "Get campaign performance report"
              },
              "cli_command": "hopkin mailchimp campaign-report --campaign abc123",
              "natural_language": "Get report"
            }
          ],
          "response_format": "markdown",
          "related_tools": [],
          "tool_type": "standard"
        },
        {
          "name": "mailchimp_get_audience_insights",
          "title": "Get Mailchimp Audience Insights",
          "description": "Get insights for a Mailchimp audience including growth history, activity, email clients, and geographic locations. Each data source is fetched in parallel and degrades gracefully on failure.",
          "cli_command": "hopkin mailchimp audience-insights",
          "cli_flags": [
            {
              "flag": "--account",
              "description": "Mailchimp account ID. Required when multiple accounts are connected. Use mailchimp_list_accounts to see available accounts.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--audience-id",
              "description": "The Mailchimp audience/list ID.",
              "type": "string",
              "required": true
            },
            {
              "flag": "--include-growth-history",
              "description": "",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--include-activity",
              "description": "",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--include-clients",
              "description": "",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--include-locations",
              "description": "",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "audience-insights",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "account_id": {
                "type": "string",
                "description": "Mailchimp account ID. Required when multiple accounts are connected. Use mailchimp_list_accounts to see available accounts."
              },
              "audience_id": {
                "type": "string",
                "minLength": 1,
                "description": "The Mailchimp audience/list ID."
              },
              "include_growth_history": {
                "type": "boolean",
                "default": true
              },
              "include_activity": {
                "type": "boolean",
                "default": true
              },
              "include_clients": {
                "type": "boolean",
                "default": true
              },
              "include_locations": {
                "type": "boolean",
                "default": true
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "audience_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "account_id",
              "type": "string",
              "required": false,
              "description": "Mailchimp account ID. Required when multiple accounts are connected. Use mailchimp_list_accounts to see available accounts."
            },
            {
              "name": "audience_id",
              "type": "string",
              "required": true,
              "description": "The Mailchimp audience/list ID.",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "include_growth_history",
              "type": "boolean",
              "required": false,
              "description": "",
              "default": true
            },
            {
              "name": "include_activity",
              "type": "boolean",
              "required": false,
              "description": "",
              "default": true
            },
            {
              "name": "include_clients",
              "type": "boolean",
              "required": false,
              "description": "",
              "default": true
            },
            {
              "name": "include_locations",
              "type": "boolean",
              "required": false,
              "description": "",
              "default": true
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "Full insights",
              "mcp_params": {
                "audience_id": "abc123",
                "reason": "Get audience insights"
              },
              "cli_command": "hopkin mailchimp audience-insights --audience-id abc123",
              "natural_language": "Full insights"
            },
            {
              "label": "Growth only",
              "mcp_params": {
                "audience_id": "abc123",
                "include_activity": false,
                "include_clients": false,
                "include_locations": false,
                "reason": "Get growth history only"
              },
              "cli_command": "hopkin mailchimp audience-insights --audience-id abc123 --include-activity false --include-clients false --include-locations false",
              "natural_language": "Growth only"
            }
          ],
          "response_format": "markdown",
          "related_tools": [],
          "tool_type": "standard"
        },
        {
          "name": "mailchimp_get_email_activity",
          "title": "Get Mailchimp Email Activity",
          "description": "Get email activity (opens, clicks, bounces) for individual recipients of a sent Mailchimp campaign. Supports pagination.",
          "cli_command": "hopkin mailchimp email-activity",
          "cli_flags": [
            {
              "flag": "--account",
              "description": "Mailchimp account ID. Required when multiple accounts are connected. Use mailchimp_list_accounts to see available accounts.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--campaign",
              "description": "The Mailchimp campaign ID.",
              "type": "string",
              "required": true
            },
            {
              "flag": "--limit",
              "description": "",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--cursor",
              "description": "",
              "type": "string",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "email-activity",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "account_id": {
                "type": "string",
                "description": "Mailchimp account ID. Required when multiple accounts are connected. Use mailchimp_list_accounts to see available accounts."
              },
              "campaign_id": {
                "type": "string",
                "minLength": 1,
                "description": "The Mailchimp campaign ID."
              },
              "limit": {
                "type": "integer",
                "minimum": 1,
                "maximum": 100,
                "default": 20
              },
              "cursor": {
                "type": "string"
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "campaign_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "account_id",
              "type": "string",
              "required": false,
              "description": "Mailchimp account ID. Required when multiple accounts are connected. Use mailchimp_list_accounts to see available accounts."
            },
            {
              "name": "campaign_id",
              "type": "string",
              "required": true,
              "description": "The Mailchimp campaign ID.",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "limit",
              "type": "integer",
              "required": false,
              "description": "",
              "default": 20,
              "constraints": {
                "min": 1,
                "max": 100
              }
            },
            {
              "name": "cursor",
              "type": "string",
              "required": false,
              "description": ""
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "Get activity",
              "mcp_params": {
                "campaign_id": "abc123",
                "reason": "Get email activity for campaign"
              },
              "cli_command": "hopkin mailchimp email-activity --campaign abc123",
              "natural_language": "Get activity"
            }
          ],
          "response_format": "markdown",
          "related_tools": [],
          "tool_type": "standard"
        },
        {
          "name": "mailchimp_get_ab_test_report",
          "title": "Get Mailchimp A/B Test or Multivariate Report",
          "description": "Get per-variant performance data for an A/B split or multivariate campaign test. Returns variant-level metrics including opens, clicks, bounces, ecommerce, and winner status. Each variant includes a test_type field (subject_line, from_name, content, send_time, multivariate, unknown) and a changed_dimensions object with structured variant definition data (subject_line, from_name, reply_to, content_label, send_time_variant). Ecommerce data includes currency and an ecommerce_data_complete flag indicating whether all variants have data. Works for both A/B split (2 variants) and multivariate (multiple combinations) campaigns. Use mailchimp_list_campaigns with type filter [\"absplit\", \"variate\"] to find testable campaigns.",
          "cli_command": "hopkin mailchimp ab-test-report",
          "cli_flags": [
            {
              "flag": "--account",
              "description": "Mailchimp account ID. Required when multiple accounts are connected. Use mailchimp_list_accounts to see available accounts.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--campaign",
              "description": "The Mailchimp campaign ID. Must be an A/B split or multivariate campaign.",
              "type": "string",
              "required": true
            },
            {
              "flag": "--include-ecommerce",
              "description": "Include per-variant ecommerce data (orders, revenue). Only available if ecommerce tracking is enabled.",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "ab-test-report",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "account_id": {
                "type": "string",
                "description": "Mailchimp account ID. Required when multiple accounts are connected. Use mailchimp_list_accounts to see available accounts."
              },
              "campaign_id": {
                "type": "string",
                "minLength": 1,
                "description": "The Mailchimp campaign ID. Must be an A/B split or multivariate campaign."
              },
              "include_ecommerce": {
                "type": "boolean",
                "default": true,
                "description": "Include per-variant ecommerce data (orders, revenue). Only available if ecommerce tracking is enabled."
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "campaign_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "account_id",
              "type": "string",
              "required": false,
              "description": "Mailchimp account ID. Required when multiple accounts are connected. Use mailchimp_list_accounts to see available accounts."
            },
            {
              "name": "campaign_id",
              "type": "string",
              "required": true,
              "description": "The Mailchimp campaign ID. Must be an A/B split or multivariate campaign.",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "include_ecommerce",
              "type": "boolean",
              "required": false,
              "description": "Include per-variant ecommerce data (orders, revenue). Only available if ecommerce tracking is enabled.",
              "default": true
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "Get A/B test report",
              "mcp_params": {
                "campaign_id": "abc123",
                "reason": "Get variant-level A/B test results"
              },
              "cli_command": "hopkin mailchimp ab-test-report --campaign abc123",
              "natural_language": "Get A/B test report"
            },
            {
              "label": "Without ecommerce",
              "mcp_params": {
                "campaign_id": "abc123",
                "include_ecommerce": false,
                "reason": "Get A/B test results without ecommerce data"
              },
              "cli_command": "hopkin mailchimp ab-test-report --campaign abc123 --include-ecommerce false",
              "natural_language": "Without ecommerce"
            }
          ],
          "response_format": "markdown",
          "related_tools": [],
          "tool_type": "standard"
        },
        {
          "name": "mailchimp_list_segments",
          "title": "List Mailchimp Segments",
          "description": "List segments for a Mailchimp audience with optional type filtering and pagination. Segment types include saved, static, and fuzzy.",
          "cli_command": "hopkin mailchimp -segments",
          "cli_flags": [
            {
              "flag": "--audience-id",
              "description": "The Mailchimp audience/list ID.",
              "type": "string",
              "required": true
            },
            {
              "flag": "--type",
              "description": "Filter by segment type.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--limit",
              "description": "",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--cursor",
              "description": "",
              "type": "string",
              "required": false
            },
            {
              "flag": "--account",
              "description": "Mailchimp account ID. Required when multiple accounts are connected. Use mailchimp_list_accounts to see available accounts.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "-segments",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "audience_id": {
                "type": "string",
                "minLength": 1,
                "description": "The Mailchimp audience/list ID."
              },
              "type": {
                "type": "string",
                "enum": [
                  "saved",
                  "static",
                  "fuzzy"
                ],
                "description": "Filter by segment type."
              },
              "limit": {
                "type": "integer",
                "minimum": 1,
                "maximum": 100,
                "default": 20
              },
              "cursor": {
                "type": "string"
              },
              "account_id": {
                "type": "string",
                "description": "Mailchimp account ID. Required when multiple accounts are connected. Use mailchimp_list_accounts to see available accounts."
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "audience_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "audience_id",
              "type": "string",
              "required": true,
              "description": "The Mailchimp audience/list ID.",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "type",
              "type": "string",
              "required": false,
              "description": "Filter by segment type.",
              "enum_values": [
                "saved",
                "static",
                "fuzzy"
              ]
            },
            {
              "name": "limit",
              "type": "integer",
              "required": false,
              "description": "",
              "default": 20,
              "constraints": {
                "min": 1,
                "max": 100
              }
            },
            {
              "name": "cursor",
              "type": "string",
              "required": false,
              "description": ""
            },
            {
              "name": "account_id",
              "type": "string",
              "required": false,
              "description": "Mailchimp account ID. Required when multiple accounts are connected. Use mailchimp_list_accounts to see available accounts."
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "List all",
              "mcp_params": {
                "audience_id": "abc123",
                "reason": "List audience segments"
              },
              "cli_command": "hopkin mailchimp -segments --audience-id abc123",
              "natural_language": "List all"
            },
            {
              "label": "Filter by type",
              "mcp_params": {
                "audience_id": "abc123",
                "type": "saved",
                "reason": "List saved segments"
              },
              "cli_command": "hopkin mailchimp -segments --audience-id abc123 --type saved",
              "natural_language": "Filter by type"
            }
          ],
          "response_format": "markdown",
          "related_tools": [],
          "tool_type": "standard"
        },
        {
          "name": "mailchimp_list_subscribers",
          "title": "List Mailchimp Subscribers",
          "description": "List subscribers (members) of a Mailchimp audience with status filtering, email search, and pagination. Requires an audience_id. Use search to find specific subscribers by email or name. status accepts up to 5 values and merges them into one list ordered by email; when that merge reaches its per-status fetch cap the response carries truncated: true — narrow to one status or use search to see the rest.\n\nPaging: repeat the exact same call with cursor set to the previous response's nextCursor — a cursor only continues the call that issued it, and changing any filter (search, status, audience_id) invalidates it.\n\nSearch caveat: Mailchimp's search endpoint returns one batch and accepts no pagination, so a broad search can be capped. When that happens the response carries search_total_matches — Mailchimp's own count of everything that matched, before the status filter is applied — and narrowing the search is the only way to reach the rest. Do not subtract count from it: count is what is left after filtering. Without search, the listing pages through the whole audience normally.",
          "cli_command": "hopkin mailchimp -subscribers",
          "cli_flags": [
            {
              "flag": "--account",
              "description": "Mailchimp account ID. Required when multiple accounts are connected. Use mailchimp_list_accounts to see available accounts.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--audience-id",
              "description": "The Mailchimp audience (list) ID to list subscribers from.",
              "type": "string",
              "required": true
            },
            {
              "flag": "--status",
              "description": "Filter by subscription status. E.g. [\"subscribed\", \"unsubscribed\"].",
              "type": "array",
              "required": false
            },
            {
              "flag": "--search",
              "description": "Search subscribers by email address or name. Uses the Mailchimp search-members endpoint.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--limit",
              "description": "Maximum number of results to return (1-100). Default: 20.",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--cursor",
              "description": "Opaque pagination cursor from a previous response.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "-subscribers",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "account_id": {
                "type": "string",
                "description": "Mailchimp account ID. Required when multiple accounts are connected. Use mailchimp_list_accounts to see available accounts."
              },
              "audience_id": {
                "type": "string",
                "description": "The Mailchimp audience (list) ID to list subscribers from."
              },
              "status": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "subscribed",
                    "unsubscribed",
                    "cleaned",
                    "pending",
                    "transactional"
                  ]
                },
                "maxItems": 5,
                "description": "Filter by subscription status. E.g. [\"subscribed\", \"unsubscribed\"]."
              },
              "search": {
                "type": "string",
                "description": "Search subscribers by email address or name. Uses the Mailchimp search-members endpoint."
              },
              "limit": {
                "type": "integer",
                "minimum": 1,
                "maximum": 100,
                "default": 20,
                "description": "Maximum number of results to return (1-100). Default: 20."
              },
              "cursor": {
                "type": "string",
                "description": "Opaque pagination cursor from a previous response."
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "audience_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "account_id",
              "type": "string",
              "required": false,
              "description": "Mailchimp account ID. Required when multiple accounts are connected. Use mailchimp_list_accounts to see available accounts."
            },
            {
              "name": "audience_id",
              "type": "string",
              "required": true,
              "description": "The Mailchimp audience (list) ID to list subscribers from."
            },
            {
              "name": "status",
              "type": "array",
              "required": false,
              "description": "Filter by subscription status. E.g. [\"subscribed\", \"unsubscribed\"]."
            },
            {
              "name": "search",
              "type": "string",
              "required": false,
              "description": "Search subscribers by email address or name. Uses the Mailchimp search-members endpoint."
            },
            {
              "name": "limit",
              "type": "integer",
              "required": false,
              "description": "Maximum number of results to return (1-100). Default: 20.",
              "default": 20,
              "constraints": {
                "min": 1,
                "max": 100
              }
            },
            {
              "name": "cursor",
              "type": "string",
              "required": false,
              "description": "Opaque pagination cursor from a previous response."
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "List all",
              "mcp_params": {
                "audience_id": "abc123",
                "reason": "List subscribers"
              },
              "cli_command": "hopkin mailchimp -subscribers --audience-id abc123",
              "natural_language": "List all"
            },
            {
              "label": "Filter by status",
              "mcp_params": {
                "audience_id": "abc123",
                "status": [
                  "subscribed"
                ],
                "reason": "List active subscribers"
              },
              "cli_command": "hopkin mailchimp -subscribers --audience-id abc123 --status subscribed",
              "natural_language": "Filter by status"
            },
            {
              "label": "Search",
              "mcp_params": {
                "audience_id": "abc123",
                "search": "john@example.com",
                "reason": "Find a subscriber"
              },
              "cli_command": "hopkin mailchimp -subscribers --audience-id abc123 --search john@example.com",
              "natural_language": "Search"
            }
          ],
          "response_format": "markdown",
          "related_tools": [],
          "tool_type": "standard"
        },
        {
          "name": "mailchimp_get_subscriber",
          "title": "Get Mailchimp Subscriber Details",
          "description": "Get detailed information about a specific subscriber by email address or MD5 hash. Optionally includes recent activity feed.",
          "cli_command": "hopkin mailchimp subscriber",
          "cli_flags": [
            {
              "flag": "--account",
              "description": "Mailchimp account ID. Required when multiple accounts are connected. Use mailchimp_list_accounts to see available accounts.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--audience-id",
              "description": "The Mailchimp audience (list) ID.",
              "type": "string",
              "required": true
            },
            {
              "flag": "--email-or-hash",
              "description": "Email address or MD5 subscriber hash.",
              "type": "string",
              "required": true
            },
            {
              "flag": "--include-activity",
              "description": "Include recent activity feed for this subscriber.",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "subscriber",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "account_id": {
                "type": "string",
                "description": "Mailchimp account ID. Required when multiple accounts are connected. Use mailchimp_list_accounts to see available accounts."
              },
              "audience_id": {
                "type": "string",
                "description": "The Mailchimp audience (list) ID."
              },
              "email_or_hash": {
                "type": "string",
                "description": "Email address or MD5 subscriber hash."
              },
              "include_activity": {
                "type": "boolean",
                "default": false,
                "description": "Include recent activity feed for this subscriber."
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "audience_id",
              "email_or_hash",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "account_id",
              "type": "string",
              "required": false,
              "description": "Mailchimp account ID. Required when multiple accounts are connected. Use mailchimp_list_accounts to see available accounts."
            },
            {
              "name": "audience_id",
              "type": "string",
              "required": true,
              "description": "The Mailchimp audience (list) ID."
            },
            {
              "name": "email_or_hash",
              "type": "string",
              "required": true,
              "description": "Email address or MD5 subscriber hash."
            },
            {
              "name": "include_activity",
              "type": "boolean",
              "required": false,
              "description": "Include recent activity feed for this subscriber.",
              "default": false
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "Get by email",
              "mcp_params": {
                "audience_id": "abc123",
                "email_or_hash": "john@example.com",
                "reason": "Get subscriber details"
              },
              "cli_command": "hopkin mailchimp subscriber --audience-id abc123 --email-or-hash john@example.com",
              "natural_language": "Get by email"
            },
            {
              "label": "With activity",
              "mcp_params": {
                "audience_id": "abc123",
                "email_or_hash": "john@example.com",
                "include_activity": true,
                "reason": "Get subscriber with activity"
              },
              "cli_command": "hopkin mailchimp subscriber --audience-id abc123 --email-or-hash john@example.com --include-activity true",
              "natural_language": "With activity"
            }
          ],
          "response_format": "markdown",
          "related_tools": [],
          "tool_type": "standard"
        },
        {
          "name": "mailchimp_list_tags",
          "title": "List Mailchimp Tags",
          "description": "List tags for a Mailchimp audience with pagination. Tags are user-defined labels applied to subscribers for organization and segmentation.",
          "cli_command": "hopkin mailchimp -tags",
          "cli_flags": [
            {
              "flag": "--audience-id",
              "description": "The Mailchimp audience/list ID.",
              "type": "string",
              "required": true
            },
            {
              "flag": "--limit",
              "description": "",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--cursor",
              "description": "",
              "type": "string",
              "required": false
            },
            {
              "flag": "--account",
              "description": "Mailchimp account ID. Required when multiple accounts are connected. Use mailchimp_list_accounts to see available accounts.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "-tags",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "audience_id": {
                "type": "string",
                "minLength": 1,
                "description": "The Mailchimp audience/list ID."
              },
              "limit": {
                "type": "integer",
                "minimum": 1,
                "maximum": 100,
                "default": 20
              },
              "cursor": {
                "type": "string"
              },
              "account_id": {
                "type": "string",
                "description": "Mailchimp account ID. Required when multiple accounts are connected. Use mailchimp_list_accounts to see available accounts."
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "audience_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "audience_id",
              "type": "string",
              "required": true,
              "description": "The Mailchimp audience/list ID.",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "limit",
              "type": "integer",
              "required": false,
              "description": "",
              "default": 20,
              "constraints": {
                "min": 1,
                "max": 100
              }
            },
            {
              "name": "cursor",
              "type": "string",
              "required": false,
              "description": ""
            },
            {
              "name": "account_id",
              "type": "string",
              "required": false,
              "description": "Mailchimp account ID. Required when multiple accounts are connected. Use mailchimp_list_accounts to see available accounts."
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "List all",
              "mcp_params": {
                "audience_id": "abc123",
                "reason": "List audience tags"
              },
              "cli_command": "hopkin mailchimp -tags --audience-id abc123",
              "natural_language": "List all"
            }
          ],
          "response_format": "markdown",
          "related_tools": [],
          "tool_type": "standard"
        },
        {
          "name": "mailchimp_list_templates",
          "title": "List Mailchimp Templates",
          "description": "List email templates in the Mailchimp account with type filtering, name search, and pagination. Filter by type (user, base, gallery) to narrow results.",
          "cli_command": "hopkin mailchimp -templates",
          "cli_flags": [
            {
              "flag": "--limit",
              "description": "Maximum number of results to return (1–100). Default: 20.",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--cursor",
              "description": "Opaque pagination cursor from a previous response.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--refresh",
              "description": "Force a fresh fetch bypassing the cache.",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--account",
              "description": "Mailchimp account ID. Required when multiple accounts are connected. Use mailchimp_list_accounts to see available accounts.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--search",
              "description": "Filter templates by name (case-insensitive substring match).",
              "type": "string",
              "required": false
            },
            {
              "flag": "--type",
              "description": "Filter templates by type.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "-templates",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "limit": {
                "type": "integer",
                "minimum": 1,
                "maximum": 100,
                "default": 20,
                "description": "Maximum number of results to return (1–100). Default: 20."
              },
              "cursor": {
                "type": "string",
                "description": "Opaque pagination cursor from a previous response."
              },
              "refresh": {
                "type": "boolean",
                "default": false,
                "description": "Force a fresh fetch bypassing the cache."
              },
              "account_id": {
                "type": "string",
                "description": "Mailchimp account ID. Required when multiple accounts are connected. Use mailchimp_list_accounts to see available accounts."
              },
              "search": {
                "type": "string",
                "description": "Filter templates by name (case-insensitive substring match)."
              },
              "type": {
                "type": "string",
                "enum": [
                  "user",
                  "base",
                  "gallery"
                ],
                "description": "Filter templates by type."
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "limit",
              "type": "integer",
              "required": false,
              "description": "Maximum number of results to return (1–100). Default: 20.",
              "default": 20,
              "constraints": {
                "min": 1,
                "max": 100
              }
            },
            {
              "name": "cursor",
              "type": "string",
              "required": false,
              "description": "Opaque pagination cursor from a previous response."
            },
            {
              "name": "refresh",
              "type": "boolean",
              "required": false,
              "description": "Force a fresh fetch bypassing the cache.",
              "default": false
            },
            {
              "name": "account_id",
              "type": "string",
              "required": false,
              "description": "Mailchimp account ID. Required when multiple accounts are connected. Use mailchimp_list_accounts to see available accounts."
            },
            {
              "name": "search",
              "type": "string",
              "required": false,
              "description": "Filter templates by name (case-insensitive substring match)."
            },
            {
              "name": "type",
              "type": "string",
              "required": false,
              "description": "Filter templates by type.",
              "enum_values": [
                "user",
                "base",
                "gallery"
              ]
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "List all",
              "mcp_params": {
                "reason": "List all templates"
              },
              "cli_command": "hopkin mailchimp -templates",
              "natural_language": "List all"
            },
            {
              "label": "Filter by type",
              "mcp_params": {
                "type": "user",
                "reason": "List user-created templates"
              },
              "cli_command": "hopkin mailchimp -templates --type user",
              "natural_language": "Filter by type"
            },
            {
              "label": "Search",
              "mcp_params": {
                "search": "Newsletter",
                "reason": "Find newsletter templates"
              },
              "cli_command": "hopkin mailchimp -templates --search Newsletter",
              "natural_language": "Search"
            }
          ],
          "response_format": "markdown",
          "related_tools": [],
          "tool_type": "standard"
        }
      ]
    },
    {
      "id": "google-search-console",
      "name": "Google Search Console",
      "description": "Google Search Console for SEO reporting: sites, sitemaps, search analytics, and URL inspection",
      "tool_count": 17,
      "mcpUrl": "https://gsc.mcp.hopkin.ai",
      "tools": [
        {
          "name": "google_search_console_get_search_analytics",
          "title": "Get Search Analytics Data",
          "description": "Query Google Search Console search analytics data. Returns clicks, impressions, CTR, and position.\n\nArgs:\n  site_url (string, required): The Search Console property URL.\n  start_date (string, required): Start date in YYYY-MM-DD format.\n  end_date (string, required): End date in YYYY-MM-DD format (must be >= start_date).\n  dimensions (array, optional): Group by dimensions. Valid: query, page, device, country, date, searchAppearance.\n    Note: searchAppearance cannot be combined with query, page, device, or country — only with date.\n  search_type (string, optional): web (default), image, video, news, discover, googleNews.\n  dimension_filter_groups (array, optional): Filter by dimension values.\n    Note: Cannot combine aggregate_by=byPage with a page dimension filter.\n  aggregate_by (string, optional): auto (default), byPage, byProperty, byNewsShowcasePanel.\n  row_limit (int, optional): Rows per page. Range: [1, 25000]. Default: 25.\n  cursor (string, optional): Opaque cursor from a previous response's pagination.nextCursor. Omit for the first page; never construct one by hand.\n\nReturns:\n  data: array of { keys, clicks, impressions, ctr, position }\n  rowCount: rows in this page (Search Console reports no grand total)\n  pagination: { hasMore, nextCursor? } — nextCursor is absent on the last page\n  responseAggregationType, firstIncompleteDate (if data is incomplete)\n\nPagination: when pagination.hasMore is true, call again with the same parameters plus cursor set to pagination.nextCursor. A cursor only continues the exact call that returned it — changing the dates, dimensions or filters invalidates it, and the call is rejected rather than silently returning rows from a different query.\n\nIMPORTANT — when you need a complete, consistent result set, raise row_limit and take it in ONE call rather than crawling. Search Console sorts rows by clicks descending and orders ties \"in an arbitrary way\", and that tie order is not stable between calls. Since most rows on a typical property have 0 clicks, they are nearly all tied, so a multi-page crawl can repeat some rows and miss others. A single call has no such problem: one call, one ordering. row_limit goes up to 25000. Use the cursor for browsing, or when the result genuinely exceeds one page, and treat a crawled set as approximate rather than exact.\n\nNote: Data freshness lag — recent dates (last 3+ days) may be incomplete. Check firstIncompleteDate in response.",
          "cli_command": "hopkin google ch-console-get-search-analytics",
          "cli_flags": [
            {
              "flag": "--site-url",
              "description": "The Search Console property URL (e.g. sc-domain:example.com or just example.com).",
              "type": "string",
              "required": true
            },
            {
              "flag": "--start-date",
              "description": "Start date in YYYY-MM-DD format.",
              "type": "string",
              "required": true
            },
            {
              "flag": "--end-date",
              "description": "End date in YYYY-MM-DD format. Must be >= start_date.",
              "type": "string",
              "required": true
            },
            {
              "flag": "--dimensions",
              "description": "Group results by these dimensions. searchAppearance can only be combined with date.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--search-type",
              "description": "Filter by search type. Default: web.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--dimension-filter-groups",
              "description": "Filter rows by dimension values.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--aggregate-by",
              "description": "Aggregation level. byPage cannot be combined with page dimension filters.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--row-limit",
              "description": "Rows per page. Range: 1-25000. Default: 25. When pagination.hasMore is true, follow pagination.nextCursor rather than raising this — a large page can exceed the MCP client's response limit.",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--cursor",
              "description": "Opaque cursor from a previous response's pagination.nextCursor. Pass it back with the same other parameters to fetch the next page; do not construct or edit it. Omit it for the first page.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "ch-console-get-search-analytics",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": false,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "site_url": {
                "type": "string",
                "minLength": 1,
                "description": "The Search Console property URL (e.g. sc-domain:example.com or just example.com)."
              },
              "start_date": {
                "type": "string",
                "maxLength": 32,
                "description": "Start date in YYYY-MM-DD format."
              },
              "end_date": {
                "type": "string",
                "maxLength": 32,
                "description": "End date in YYYY-MM-DD format. Must be >= start_date."
              },
              "dimensions": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "query",
                    "page",
                    "device",
                    "country",
                    "date",
                    "searchAppearance"
                  ]
                },
                "description": "Group results by these dimensions. searchAppearance can only be combined with date."
              },
              "search_type": {
                "type": "string",
                "enum": [
                  "web",
                  "image",
                  "video",
                  "news",
                  "discover",
                  "googleNews"
                ],
                "default": "web",
                "description": "Filter by search type. Default: web."
              },
              "dimension_filter_groups": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "filters": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "dimension": {
                            "type": "string",
                            "enum": [
                              "query",
                              "page",
                              "device",
                              "country",
                              "searchAppearance"
                            ]
                          },
                          "operator": {
                            "type": "string",
                            "enum": [
                              "equals",
                              "notEquals",
                              "contains",
                              "notContains",
                              "includingRegex",
                              "excludingRegex"
                            ],
                            "default": "equals"
                          },
                          "expression": {
                            "type": "string",
                            "minLength": 1
                          }
                        },
                        "required": [
                          "dimension",
                          "expression"
                        ],
                        "additionalProperties": false
                      },
                      "minItems": 1
                    }
                  },
                  "required": [
                    "filters"
                  ],
                  "additionalProperties": false
                },
                "description": "Filter rows by dimension values."
              },
              "aggregate_by": {
                "type": "string",
                "enum": [
                  "auto",
                  "byPage",
                  "byProperty",
                  "byNewsShowcasePanel"
                ],
                "description": "Aggregation level. byPage cannot be combined with page dimension filters."
              },
              "row_limit": {
                "type": "integer",
                "minimum": 1,
                "maximum": 25000,
                "default": 25,
                "description": "Rows per page. Range: 1-25000. Default: 25. When pagination.hasMore is true, follow pagination.nextCursor rather than raising this — a large page can exceed the MCP client's response limit."
              },
              "cursor": {
                "type": "string",
                "minLength": 1,
                "maxLength": 512,
                "description": "Opaque cursor from a previous response's pagination.nextCursor. Pass it back with the same other parameters to fetch the next page; do not construct or edit it. Omit it for the first page."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              }
            },
            "required": [
              "site_url",
              "start_date",
              "end_date",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "site_url",
              "type": "string",
              "required": true,
              "description": "The Search Console property URL (e.g. sc-domain:example.com or just example.com).",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "start_date",
              "type": "string",
              "required": true,
              "description": "Start date in YYYY-MM-DD format.",
              "constraints": {
                "max_length": 32
              }
            },
            {
              "name": "end_date",
              "type": "string",
              "required": true,
              "description": "End date in YYYY-MM-DD format. Must be >= start_date.",
              "constraints": {
                "max_length": 32
              }
            },
            {
              "name": "dimensions",
              "type": "array",
              "required": false,
              "description": "Group results by these dimensions. searchAppearance can only be combined with date."
            },
            {
              "name": "search_type",
              "type": "string",
              "required": false,
              "description": "Filter by search type. Default: web.",
              "enum_values": [
                "web",
                "image",
                "video",
                "news",
                "discover",
                "googleNews"
              ],
              "default": "web"
            },
            {
              "name": "dimension_filter_groups",
              "type": "array",
              "required": false,
              "description": "Filter rows by dimension values."
            },
            {
              "name": "aggregate_by",
              "type": "string",
              "required": false,
              "description": "Aggregation level. byPage cannot be combined with page dimension filters.",
              "enum_values": [
                "auto",
                "byPage",
                "byProperty",
                "byNewsShowcasePanel"
              ]
            },
            {
              "name": "row_limit",
              "type": "integer",
              "required": false,
              "description": "Rows per page. Range: 1-25000. Default: 25. When pagination.hasMore is true, follow pagination.nextCursor rather than raising this — a large page can exceed the MCP client's response limit.",
              "default": 25,
              "constraints": {
                "min": 1,
                "max": 25000
              }
            },
            {
              "name": "cursor",
              "type": "string",
              "required": false,
              "description": "Opaque cursor from a previous response's pagination.nextCursor. Pass it back with the same other parameters to fetch the next page; do not construct or edit it. Omit it for the first page.",
              "constraints": {
                "min_length": 1,
                "max_length": 512
              }
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            }
          ],
          "examples": [
            {
              "label": "Basic query",
              "mcp_params": {
                "site_url": "https://example.com/",
                "start_date": "2024-01-01",
                "end_date": "2024-01-31",
                "reason": "Get overall search performance"
              },
              "cli_command": "hopkin google ch-console-get-search-analytics --site-url https://example.com/ --start-date 2024-01-01 --end-date 2024-01-31",
              "natural_language": "Basic query"
            },
            {
              "label": "By query",
              "mcp_params": {
                "site_url": "https://example.com/",
                "start_date": "2024-01-01",
                "end_date": "2024-01-31",
                "dimensions": [
                  "query"
                ],
                "reason": "Get top queries"
              },
              "cli_command": "hopkin google ch-console-get-search-analytics --site-url https://example.com/ --start-date 2024-01-01 --end-date 2024-01-31 --dimensions query",
              "natural_language": "By query"
            },
            {
              "label": "By page",
              "mcp_params": {
                "site_url": "https://example.com/",
                "start_date": "2024-01-01",
                "end_date": "2024-01-31",
                "dimensions": [
                  "page"
                ],
                "reason": "Get top pages"
              },
              "cli_command": "hopkin google ch-console-get-search-analytics --site-url https://example.com/ --start-date 2024-01-01 --end-date 2024-01-31 --dimensions page",
              "natural_language": "By page"
            },
            {
              "label": "Next page",
              "mcp_params": {
                "site_url": "https://example.com/",
                "start_date": "2024-01-01",
                "end_date": "2024-01-31",
                "dimensions": [
                  "query"
                ],
                "cursor": "<pagination.nextCursor from the previous response>",
                "reason": "Continue a crawl past the first page"
              },
              "cli_command": "hopkin google ch-console-get-search-analytics --site-url https://example.com/ --start-date 2024-01-01 --end-date 2024-01-31 --dimensions query --cursor <pagination.nextCursor from the previous response>",
              "natural_language": "Next page"
            }
          ],
          "response_format": "markdown",
          "related_tools": [],
          "tool_type": "standard"
        },
        {
          "name": "google_search_console_get_top_queries",
          "title": "Get Top Search Queries",
          "description": "Get top queries with clicks, impressions, CTR, and position. Automatically identifies high-opportunity queries (position 4-20, impressions >100, CTR <5%).\n\nArgs:\n  site_url (string, required): The Search Console property URL.\n  days (int, optional): Number of days to look back. Range: [1, 90]. Default: 28.\n  start_date / end_date (string, optional): Explicit date range (overrides days).\n  page_filter (string, optional): Filter to queries for a specific URL (exact match).\n  device (string, optional): Filter by device type. Valid: desktop, mobile, tablet.\n  search_type (string, optional): web (default), image, video, news.\n  row_limit (int, optional): Queries per page. Default: 25.\n  cursor (string, optional): Opaque cursor from a previous response's pagination.nextCursor. Omit for the first page; never construct one by hand.\n\nReturns:\n  data: top query rows for this page\n  highOpportunityQueries: queries with ranking potential (position 4-20, impressions >100, CTR <5%), derived from this page only — not from the whole result set\n  rowCount: rows in this page\n  pagination: { hasMore, nextCursor? } — nextCursor is absent on the last page\n  site_url, dateRange\n\nPagination: when pagination.hasMore is true, call again with the same parameters plus cursor set to pagination.nextCursor. A cursor only continues the exact call that returned it, including the date window it resolved to — so a crawl that spans midnight on a relative range (days) is rejected rather than paging a window that has since shifted. Start again from the first page if that happens.\n\nIMPORTANT — when you need a complete, consistent result set, raise row_limit and take it in ONE call rather than crawling. Search Console sorts by clicks descending and orders ties \"in an arbitrary way\", and that tie order is not stable between calls; on a typical property most queries have 0 clicks and are therefore all tied, so a multi-page crawl can repeat some and miss others. Use the cursor for browsing, and treat a crawled set as approximate rather than exact.",
          "cli_command": "hopkin google ch-console-get-top-queries",
          "cli_flags": [
            {
              "flag": "--site-url",
              "description": "The Search Console property URL (e.g. sc-domain:example.com or just example.com).",
              "type": "string",
              "required": true
            },
            {
              "flag": "--days",
              "description": "Number of days to look back. Default: 28. Range: 1-90.",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--start-date",
              "description": "Override start date (YYYY-MM-DD). Takes precedence over days if both provided.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--end-date",
              "description": "Override end date (YYYY-MM-DD). Takes precedence over days if both provided.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--page-filter",
              "description": "Filter to queries driving traffic to this page (absolute URL or relative path, e.g. \"/blog\").",
              "type": "string",
              "required": false
            },
            {
              "flag": "--device",
              "description": "Filter by device type.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--search-type",
              "description": "Filter by search type. Default: web.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--row-limit",
              "description": "Queries per page. Range: 1-25000. Default: 25. When pagination.hasMore is true, follow pagination.nextCursor rather than raising this.",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--cursor",
              "description": "Opaque cursor from a previous response's pagination.nextCursor. Pass it back with the same other parameters to fetch the next page; do not construct or edit it. Omit it for the first page.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "ch-console-get-top-queries",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": false,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "site_url": {
                "type": "string",
                "minLength": 1,
                "description": "The Search Console property URL (e.g. sc-domain:example.com or just example.com)."
              },
              "days": {
                "type": "integer",
                "minimum": 1,
                "maximum": 90,
                "default": 28,
                "description": "Number of days to look back. Default: 28. Range: 1-90."
              },
              "start_date": {
                "type": "string",
                "maxLength": 32,
                "description": "Override start date (YYYY-MM-DD). Takes precedence over days if both provided."
              },
              "end_date": {
                "type": "string",
                "maxLength": 32,
                "description": "Override end date (YYYY-MM-DD). Takes precedence over days if both provided."
              },
              "page_filter": {
                "type": "string",
                "minLength": 1,
                "description": "Filter to queries driving traffic to this page (absolute URL or relative path, e.g. \"/blog\")."
              },
              "device": {
                "type": "string",
                "enum": [
                  "desktop",
                  "mobile",
                  "tablet"
                ],
                "description": "Filter by device type."
              },
              "search_type": {
                "type": "string",
                "enum": [
                  "web",
                  "image",
                  "video",
                  "news",
                  "discover",
                  "googleNews"
                ],
                "default": "web",
                "description": "Filter by search type. Default: web."
              },
              "row_limit": {
                "type": "integer",
                "minimum": 1,
                "maximum": 25000,
                "default": 25,
                "description": "Queries per page. Range: 1-25000. Default: 25. When pagination.hasMore is true, follow pagination.nextCursor rather than raising this."
              },
              "cursor": {
                "type": "string",
                "minLength": 1,
                "maxLength": 512,
                "description": "Opaque cursor from a previous response's pagination.nextCursor. Pass it back with the same other parameters to fetch the next page; do not construct or edit it. Omit it for the first page."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              }
            },
            "required": [
              "site_url",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "site_url",
              "type": "string",
              "required": true,
              "description": "The Search Console property URL (e.g. sc-domain:example.com or just example.com).",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "days",
              "type": "integer",
              "required": false,
              "description": "Number of days to look back. Default: 28. Range: 1-90.",
              "default": 28,
              "constraints": {
                "min": 1,
                "max": 90
              }
            },
            {
              "name": "start_date",
              "type": "string",
              "required": false,
              "description": "Override start date (YYYY-MM-DD). Takes precedence over days if both provided.",
              "constraints": {
                "max_length": 32
              }
            },
            {
              "name": "end_date",
              "type": "string",
              "required": false,
              "description": "Override end date (YYYY-MM-DD). Takes precedence over days if both provided.",
              "constraints": {
                "max_length": 32
              }
            },
            {
              "name": "page_filter",
              "type": "string",
              "required": false,
              "description": "Filter to queries driving traffic to this page (absolute URL or relative path, e.g. \"/blog\").",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "device",
              "type": "string",
              "required": false,
              "description": "Filter by device type.",
              "enum_values": [
                "desktop",
                "mobile",
                "tablet"
              ]
            },
            {
              "name": "search_type",
              "type": "string",
              "required": false,
              "description": "Filter by search type. Default: web.",
              "enum_values": [
                "web",
                "image",
                "video",
                "news",
                "discover",
                "googleNews"
              ],
              "default": "web"
            },
            {
              "name": "row_limit",
              "type": "integer",
              "required": false,
              "description": "Queries per page. Range: 1-25000. Default: 25. When pagination.hasMore is true, follow pagination.nextCursor rather than raising this.",
              "default": 25,
              "constraints": {
                "min": 1,
                "max": 25000
              }
            },
            {
              "name": "cursor",
              "type": "string",
              "required": false,
              "description": "Opaque cursor from a previous response's pagination.nextCursor. Pass it back with the same other parameters to fetch the next page; do not construct or edit it. Omit it for the first page.",
              "constraints": {
                "min_length": 1,
                "max_length": 512
              }
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            }
          ],
          "examples": [
            {
              "label": "Last 28 days",
              "mcp_params": {
                "site_url": "https://example.com/",
                "days": 28,
                "reason": "Get top queries for last 28 days"
              },
              "cli_command": "hopkin google ch-console-get-top-queries --site-url https://example.com/ --days 28",
              "natural_language": "Last 28 days"
            },
            {
              "label": "Filter by page",
              "mcp_params": {
                "site_url": "https://example.com/",
                "days": 28,
                "page_filter": "https://example.com/blog",
                "reason": "Queries for blog section"
              },
              "cli_command": "hopkin google ch-console-get-top-queries --site-url https://example.com/ --days 28 --page-filter https://example.com/blog",
              "natural_language": "Filter by page"
            },
            {
              "label": "Next page",
              "mcp_params": {
                "site_url": "https://example.com/",
                "days": 28,
                "cursor": "<pagination.nextCursor from the previous response>",
                "reason": "Continue past the first 25 queries"
              },
              "cli_command": "hopkin google ch-console-get-top-queries --site-url https://example.com/ --days 28 --cursor <pagination.nextCursor from the previous response>",
              "natural_language": "Next page"
            }
          ],
          "response_format": "markdown",
          "related_tools": [],
          "tool_type": "standard"
        },
        {
          "name": "google_search_console_compare_performance",
          "title": "Compare Search Performance (Period Over Period)",
          "description": "Compare current vs previous period performance in a single call. Makes 4 parallel API calls internally and returns deltas for clicks, impressions, CTR, and position.\n\nArgs:\n  site_url (string, required): The Search Console property URL.\n  days (int, optional): Length of each period in days. Range: [1, 90]. Default: 28.\n  current_end_date (string, optional): Override the end date of the current period (YYYY-MM-DD). Default: today minus 3 days.\n  search_type (string, optional): web (default), image, video, news.\n\nReturns:\n  currentPeriod, previousPeriod: { startDate, endDate, clicks, impressions, ctr, position }\n  delta: { clicks, clicksPct, impressions, impressionsPct, ctr, position }\n  trend: \"improving\" (clicks up >10%), \"declining\" (clicks down >10%), or \"stable\"\n  topQueries, previousTopQueries: top 50 queries for each period (may be null if sub-query failed)\n  errors: list of sub-query failures (if any) — overall metrics are always present\n\nPeriods are adjacent and non-overlapping: previousEnd + 1 day = currentStart.",
          "cli_command": "hopkin google ch-console-compare-performance",
          "cli_flags": [
            {
              "flag": "--site-url",
              "description": "The Search Console property URL (e.g. sc-domain:example.com or just example.com).",
              "type": "string",
              "required": true
            },
            {
              "flag": "--days",
              "description": "Window size in days for each period. Default: 28.",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--current-end-date",
              "description": "End date of the current period (YYYY-MM-DD). Default: today - 3 days (data freshness lag).",
              "type": "string",
              "required": false
            },
            {
              "flag": "--search-type",
              "description": "Filter by search type. Default: web.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "ch-console-compare-performance",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": false,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "site_url": {
                "type": "string",
                "minLength": 1,
                "description": "The Search Console property URL (e.g. sc-domain:example.com or just example.com)."
              },
              "days": {
                "type": "integer",
                "minimum": 1,
                "maximum": 90,
                "default": 28,
                "description": "Window size in days for each period. Default: 28."
              },
              "current_end_date": {
                "type": "string",
                "maxLength": 32,
                "description": "End date of the current period (YYYY-MM-DD). Default: today - 3 days (data freshness lag)."
              },
              "search_type": {
                "type": "string",
                "enum": [
                  "web",
                  "image",
                  "video",
                  "news",
                  "discover",
                  "googleNews"
                ],
                "default": "web",
                "description": "Filter by search type. Default: web."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              }
            },
            "required": [
              "site_url",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "site_url",
              "type": "string",
              "required": true,
              "description": "The Search Console property URL (e.g. sc-domain:example.com or just example.com).",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "days",
              "type": "integer",
              "required": false,
              "description": "Window size in days for each period. Default: 28.",
              "default": 28,
              "constraints": {
                "min": 1,
                "max": 90
              }
            },
            {
              "name": "current_end_date",
              "type": "string",
              "required": false,
              "description": "End date of the current period (YYYY-MM-DD). Default: today - 3 days (data freshness lag).",
              "constraints": {
                "max_length": 32
              }
            },
            {
              "name": "search_type",
              "type": "string",
              "required": false,
              "description": "Filter by search type. Default: web.",
              "enum_values": [
                "web",
                "image",
                "video",
                "news",
                "discover",
                "googleNews"
              ],
              "default": "web"
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            }
          ],
          "examples": [
            {
              "label": "Compare 28 days",
              "mcp_params": {
                "site_url": "https://example.com/",
                "days": 28,
                "reason": "Compare this period vs previous"
              },
              "cli_command": "hopkin google ch-console-compare-performance --site-url https://example.com/ --days 28",
              "natural_language": "Compare 28 days"
            }
          ],
          "response_format": "markdown",
          "related_tools": [],
          "tool_type": "standard"
        },
        {
          "name": "google_search_console_get_performance_overview",
          "title": "Get Search Performance Overview",
          "description": "Get a complete overview of search performance in a single call: overall metrics, top queries, top pages, and daily trend. Makes 4 parallel API calls internally.\n\nArgs:\n  site_url (string, required): The Search Console property URL.\n  days (int, optional): Number of days to look back. Range: [1, 90]. Default: 28.\n  search_type (string, optional): web (default), image, video, news.\n\nReturns:\n  overall: aggregate metrics { startDate, endDate, clicks, impressions, ctr, position }\n  topQueries: top 10 queries by clicks\n  topPages: top 10 pages by clicks\n  byDate: daily breakdown\n  dateRange: { startDate, endDate }\n  errors: list of sub-query failures (if any) — partial results are returned when sub-queries fail",
          "cli_command": "hopkin google ch-console-get-performance-overview",
          "cli_flags": [
            {
              "flag": "--site-url",
              "description": "The Search Console property URL (e.g. sc-domain:example.com or just example.com).",
              "type": "string",
              "required": true
            },
            {
              "flag": "--days",
              "description": "Number of days to look back. Default: 28.",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--search-type",
              "description": "Filter by search type. Default: web.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "ch-console-get-performance-overview",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": false,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "site_url": {
                "type": "string",
                "minLength": 1,
                "description": "The Search Console property URL (e.g. sc-domain:example.com or just example.com)."
              },
              "days": {
                "type": "integer",
                "minimum": 1,
                "maximum": 90,
                "default": 28,
                "description": "Number of days to look back. Default: 28."
              },
              "search_type": {
                "type": "string",
                "enum": [
                  "web",
                  "image",
                  "video",
                  "news",
                  "discover",
                  "googleNews"
                ],
                "default": "web",
                "description": "Filter by search type. Default: web."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              }
            },
            "required": [
              "site_url",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "site_url",
              "type": "string",
              "required": true,
              "description": "The Search Console property URL (e.g. sc-domain:example.com or just example.com).",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "days",
              "type": "integer",
              "required": false,
              "description": "Number of days to look back. Default: 28.",
              "default": 28,
              "constraints": {
                "min": 1,
                "max": 90
              }
            },
            {
              "name": "search_type",
              "type": "string",
              "required": false,
              "description": "Filter by search type. Default: web.",
              "enum_values": [
                "web",
                "image",
                "video",
                "news",
                "discover",
                "googleNews"
              ],
              "default": "web"
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            }
          ],
          "examples": [
            {
              "label": "Overview",
              "mcp_params": {
                "site_url": "https://example.com/",
                "days": 28,
                "reason": "Full performance overview"
              },
              "cli_command": "hopkin google ch-console-get-performance-overview --site-url https://example.com/ --days 28",
              "natural_language": "Overview"
            }
          ],
          "response_format": "markdown",
          "related_tools": [],
          "tool_type": "standard"
        },
        {
          "name": "google_search_console_check_auth_status",
          "title": "Check Google Search Console Auth Status",
          "description": "Troubleshoot authentication issues. Only use this when another tool fails with a permission or auth error — do NOT call proactively.\n\nReturns: authenticated status, user_id, email, and a human-readable message.",
          "cli_command": "hopkin google ch-console-check-auth-status",
          "cli_flags": [
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "ch-console-check-auth-status",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": false
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              }
            },
            "required": [
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            }
          ],
          "examples": [
            {
              "label": "Check auth",
              "mcp_params": {
                "reason": "Another tool returned an auth error, checking connection status"
              },
              "cli_command": "hopkin google ch-console-check-auth-status",
              "natural_language": "Check auth"
            }
          ],
          "response_format": "markdown",
          "related_tools": [],
          "tool_type": "standard"
        },
        {
          "name": "google_search_console_get_billing_status",
          "title": "Billing status",
          "description": "Why a call was refused with a billing error (402) and how to get unblocked. Reports whether this organization is entitled, its subscription status, tier, trial end, credits used and left this period, the price table and a link to the billing page. With checkout_tier, the organization owner also gets a Stripe Checkout link for that plan; a member gets the owner's contact and a message to forward. Call it after any 402. While waiting for a human to pay, poll it every 10 seconds for the first minute, every 30 seconds until 5 minutes, then every 60 seconds until 15 minutes, then stop and tell the human. Once it returns entitled: true, retry the blocked call; if the retry still returns 402, wait 15 seconds and retry once. A Checkout link is a payment link: give it to the organization owner only.",
          "cli_command": "hopkin google ch-console-get-billing-status",
          "cli_flags": [
            {
              "flag": "--checkout-tier",
              "description": "Organization owner only: also create a Stripe Checkout link for this plan. A member gets the owner's contact and a message to forward instead.",
              "type": "string",
              "required": false
            }
          ],
          "category": "ch-console-get-billing-status",
          "annotations": {
            "readOnly": false,
            "destructive": false,
            "idempotent": true,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "checkout_tier": {
                "type": "string",
                "enum": [
                  "starter",
                  "pro",
                  "enterprise"
                ],
                "description": "Organization owner only: also create a Stripe Checkout link for this plan. A member gets the owner's contact and a message to forward instead."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "checkout_tier",
              "type": "string",
              "required": false,
              "description": "Organization owner only: also create a Stripe Checkout link for this plan. A member gets the owner's contact and a message to forward instead.",
              "enum_values": [
                "starter",
                "pro",
                "enterprise"
              ]
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "After a billing error",
              "mcp_params": {
                "reason": "A tool call was refused with a billing error (402)"
              },
              "cli_command": "hopkin google ch-console-get-billing-status",
              "natural_language": "After a billing error"
            },
            {
              "label": "Owner: Checkout link",
              "mcp_params": {
                "checkout_tier": "pro",
                "reason": "The organization owner wants to pay for Pro now"
              },
              "cli_command": "hopkin google ch-console-get-billing-status --checkout-tier pro",
              "natural_language": "Owner: Checkout link"
            }
          ],
          "response_format": "markdown",
          "related_tools": [],
          "tool_type": "standard"
        },
        {
          "name": "google_search_console_list_connections",
          "title": "List Google Search Console Connections",
          "description": "List the Google Search Console connections available to you — both ones you own and ones shared with you via an organization. Only Google connections with Search Console (webmasters.readonly) scope are returned. Use this to discover connection IDs for set_default / share / rename / revoke.",
          "cli_command": "hopkin google ch-console-list-connections",
          "cli_flags": [],
          "category": "ch-console-list-connections",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": false
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "List connections",
              "mcp_params": {
                "reason": "User asked which Google Search Console accounts they have connected"
              },
              "cli_command": "hopkin google ch-console-list-connections",
              "natural_language": "List connections"
            }
          ],
          "response_format": "markdown",
          "related_tools": [],
          "tool_type": "standard"
        },
        {
          "name": "google_search_console_set_default_connection",
          "title": "Set Default Google Search Console Connection",
          "description": "Set the Google Search Console connection that should be used by default for subsequent Google Search Console tool calls. The default is scoped to the calling actor (your user account, or the API key being used).",
          "cli_command": "hopkin google ch-console-set-default-connection",
          "cli_flags": [
            {
              "flag": "--connection-id",
              "description": "UUID of the connection to mark as the actor's default Google Search Console connection.",
              "type": "string",
              "required": true
            }
          ],
          "category": "ch-console-set-default-connection",
          "annotations": {
            "readOnly": false,
            "destructive": false,
            "idempotent": true,
            "openWorld": false
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "UUID of the connection to mark as the actor's default Google Search Console connection."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "connection_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "connection_id",
              "type": "string",
              "required": true,
              "description": "UUID of the connection to mark as the actor's default Google Search Console connection."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "Set default",
              "mcp_params": {
                "connection_id": "00000000-0000-0000-0000-000000000001",
                "reason": "User picked their primary Google Search Console workspace"
              },
              "cli_command": "hopkin google ch-console-set-default-connection --connection-id 00000000-0000-0000-0000-000000000001",
              "natural_language": "Set default"
            }
          ],
          "response_format": "markdown",
          "related_tools": [],
          "tool_type": "standard"
        },
        {
          "name": "google_search_console_share_connection",
          "title": "Share Google Search Console Connection With Organization",
          "description": "Share an owned Google Search Console connection with all members of your organization, so teammates can use it without having to reconnect Google themselves. You must be the owner of the connection.",
          "cli_command": "hopkin google ch-console-share-connection",
          "cli_flags": [
            {
              "flag": "--connection-id",
              "description": "UUID of the connection to share with your organization. You must be the owner.",
              "type": "string",
              "required": true
            }
          ],
          "category": "ch-console-share-connection",
          "annotations": {
            "readOnly": false,
            "destructive": false,
            "idempotent": true,
            "openWorld": false
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "UUID of the connection to share with your organization. You must be the owner."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "connection_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "connection_id",
              "type": "string",
              "required": true,
              "description": "UUID of the connection to share with your organization. You must be the owner."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "Share with org",
              "mcp_params": {
                "connection_id": "00000000-0000-0000-0000-000000000001",
                "reason": "User asked to share this Google Search Console connection with their teammates"
              },
              "cli_command": "hopkin google ch-console-share-connection --connection-id 00000000-0000-0000-0000-000000000001",
              "natural_language": "Share with org"
            }
          ],
          "response_format": "markdown",
          "related_tools": [],
          "tool_type": "standard"
        },
        {
          "name": "google_search_console_unshare_connection",
          "title": "Unshare Google Search Console Connection From Organization",
          "description": "Stop sharing an owned Google Search Console connection with your organization. Teammates lose access immediately. You must be the owner.",
          "cli_command": "hopkin google ch-console-unshare-connection",
          "cli_flags": [
            {
              "flag": "--connection-id",
              "description": "UUID of the connection to stop sharing with your organization. You must be the owner.",
              "type": "string",
              "required": true
            }
          ],
          "category": "ch-console-unshare-connection",
          "annotations": {
            "readOnly": false,
            "destructive": true,
            "idempotent": true,
            "openWorld": false
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "UUID of the connection to stop sharing with your organization. You must be the owner."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "connection_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "connection_id",
              "type": "string",
              "required": true,
              "description": "UUID of the connection to stop sharing with your organization. You must be the owner."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "Stop sharing",
              "mcp_params": {
                "connection_id": "00000000-0000-0000-0000-000000000001",
                "reason": "User no longer wants the team to access this Google Search Console connection"
              },
              "cli_command": "hopkin google ch-console-unshare-connection --connection-id 00000000-0000-0000-0000-000000000001",
              "natural_language": "Stop sharing"
            }
          ],
          "response_format": "markdown",
          "related_tools": [],
          "tool_type": "standard"
        },
        {
          "name": "google_search_console_rename_connection",
          "title": "Rename Google Search Console Connection",
          "description": "Rename the display name of an owned Google Search Console connection. The OAuth grant and underlying account are unaffected — this only changes the human-readable label. You must be the owner.",
          "cli_command": "hopkin google ch-console-rename-connection",
          "cli_flags": [
            {
              "flag": "--connection-id",
              "description": "UUID of the connection to rename. You must be the owner.",
              "type": "string",
              "required": true
            },
            {
              "flag": "--display-name",
              "description": "New human-readable name for the connection.",
              "type": "string",
              "required": true
            }
          ],
          "category": "ch-console-rename-connection",
          "annotations": {
            "readOnly": false,
            "destructive": false,
            "idempotent": true,
            "openWorld": false
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "UUID of the connection to rename. You must be the owner."
              },
              "display_name": {
                "type": "string",
                "minLength": 1,
                "maxLength": 120,
                "description": "New human-readable name for the connection."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "connection_id",
              "display_name",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "connection_id",
              "type": "string",
              "required": true,
              "description": "UUID of the connection to rename. You must be the owner."
            },
            {
              "name": "display_name",
              "type": "string",
              "required": true,
              "description": "New human-readable name for the connection.",
              "constraints": {
                "min_length": 1,
                "max_length": 120
              }
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "Rename",
              "mcp_params": {
                "connection_id": "00000000-0000-0000-0000-000000000001",
                "display_name": "Acme — Production",
                "reason": "User wanted a clearer label for this Google Search Console connection"
              },
              "cli_command": "hopkin google ch-console-rename-connection --connection-id 00000000-0000-0000-0000-000000000001 --display-name Acme — Production",
              "natural_language": "Rename"
            }
          ],
          "response_format": "markdown",
          "related_tools": [],
          "tool_type": "standard"
        },
        {
          "name": "google_search_console_revoke_connection",
          "title": "Revoke Google Search Console Connection",
          "description": "Revoke (soft-delete) an owned Google Search Console connection. Any defaults pointing to it are invalidated and shared org members lose access. The OAuth grant at Google is NOT revoked by this tool — the user must disconnect via the dashboard if they want to fully revoke at Google. You must be the owner.",
          "cli_command": "hopkin google ch-console-revoke-connection",
          "cli_flags": [
            {
              "flag": "--connection-id",
              "description": "UUID of the connection to revoke. You must be the owner.",
              "type": "string",
              "required": true
            }
          ],
          "category": "ch-console-revoke-connection",
          "annotations": {
            "readOnly": false,
            "destructive": true,
            "idempotent": true,
            "openWorld": false
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "UUID of the connection to revoke. You must be the owner."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "connection_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "connection_id",
              "type": "string",
              "required": true,
              "description": "UUID of the connection to revoke. You must be the owner."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "Revoke",
              "mcp_params": {
                "connection_id": "00000000-0000-0000-0000-000000000001",
                "reason": "User asked to disconnect this Google Search Console account"
              },
              "cli_command": "hopkin google ch-console-revoke-connection --connection-id 00000000-0000-0000-0000-000000000001",
              "natural_language": "Revoke"
            }
          ],
          "response_format": "markdown",
          "related_tools": [],
          "tool_type": "standard"
        },
        {
          "name": "google_search_console_developer_feedback",
          "title": "Submit Developer Feedback",
          "description": "Submit feedback about missing tools, improvements, bugs, or workflow gaps in the Search Console MCP toolset. Not for user-facing issues (auth errors, API errors).\n\nArgs:\n  feedback_type: new_tool, improvement, bug, workflow_gap\n  title: Short description (5-200 chars)\n  description: What is needed and why (20-2000 chars)\n  current_workaround (optional): How you're working around the gap\n  priority (optional): low, medium (default), high\n\nReturns: confirmation that feedback was recorded.",
          "cli_command": "hopkin google ch-console-developer-feedback",
          "cli_flags": [
            {
              "flag": "--feedback-type",
              "description": "Feedback category: new_tool (request new capability), improvement (enhance existing tool), bug (report issue), workflow_gap (missing workflow)",
              "type": "string",
              "required": true
            },
            {
              "flag": "--title",
              "description": "Concise title summarizing the feedback",
              "type": "string",
              "required": true
            },
            {
              "flag": "--description",
              "description": "What is needed and why",
              "type": "string",
              "required": true
            },
            {
              "flag": "--current-workaround",
              "description": "Current workaround, if any",
              "type": "string",
              "required": false
            },
            {
              "flag": "--priority",
              "description": "Impact level: low (nice-to-have), medium (improves workflow), high (blocking issue)",
              "type": "string",
              "required": false
            },
            {
              "flag": "--interface",
              "description": "Interface the feedback originated from: MCP (default) or CLI",
              "type": "string",
              "required": false
            }
          ],
          "category": "ch-console-developer-feedback",
          "annotations": {
            "readOnly": false,
            "destructive": false,
            "idempotent": true,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "feedback_type": {
                "type": "string",
                "enum": [
                  "new_tool",
                  "improvement",
                  "bug",
                  "workflow_gap"
                ],
                "description": "Feedback category: new_tool (request new capability), improvement (enhance existing tool), bug (report issue), workflow_gap (missing workflow)"
              },
              "title": {
                "type": "string",
                "minLength": 5,
                "maxLength": 200,
                "description": "Concise title summarizing the feedback"
              },
              "description": {
                "type": "string",
                "minLength": 20,
                "maxLength": 2000,
                "description": "What is needed and why"
              },
              "current_workaround": {
                "type": "string",
                "maxLength": 1000,
                "description": "Current workaround, if any"
              },
              "priority": {
                "type": "string",
                "enum": [
                  "low",
                  "medium",
                  "high"
                ],
                "default": "medium",
                "description": "Impact level: low (nice-to-have), medium (improves workflow), high (blocking issue)"
              },
              "interface": {
                "type": "string",
                "enum": [
                  "MCP",
                  "CLI"
                ],
                "default": "MCP",
                "description": "Interface the feedback originated from: MCP (default) or CLI"
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "feedback_type",
              "title",
              "description",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "feedback_type",
              "type": "string",
              "required": true,
              "description": "Feedback category: new_tool (request new capability), improvement (enhance existing tool), bug (report issue), workflow_gap (missing workflow)",
              "enum_values": [
                "new_tool",
                "improvement",
                "bug",
                "workflow_gap"
              ]
            },
            {
              "name": "title",
              "type": "string",
              "required": true,
              "description": "Concise title summarizing the feedback",
              "constraints": {
                "min_length": 5,
                "max_length": 200
              }
            },
            {
              "name": "description",
              "type": "string",
              "required": true,
              "description": "What is needed and why",
              "constraints": {
                "min_length": 20,
                "max_length": 2000
              }
            },
            {
              "name": "current_workaround",
              "type": "string",
              "required": false,
              "description": "Current workaround, if any",
              "constraints": {
                "max_length": 1000
              }
            },
            {
              "name": "priority",
              "type": "string",
              "required": false,
              "description": "Impact level: low (nice-to-have), medium (improves workflow), high (blocking issue)",
              "enum_values": [
                "low",
                "medium",
                "high"
              ],
              "default": "medium"
            },
            {
              "name": "interface",
              "type": "string",
              "required": false,
              "description": "Interface the feedback originated from: MCP (default) or CLI",
              "enum_values": [
                "MCP",
                "CLI"
              ],
              "default": "MCP"
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "Missing tool",
              "mcp_params": {
                "feedback_type": "new_tool",
                "title": "Submit sitemap",
                "description": "Need ability to submit/resubmit sitemaps",
                "priority": "medium",
                "reason": "User asked to submit a new sitemap"
              },
              "cli_command": "hopkin google ch-console-developer-feedback --feedback-type new_tool --title Submit sitemap --description Need ability to submit/resubmit sitemaps --priority medium",
              "natural_language": "Missing tool"
            },
            {
              "label": "Workflow gap",
              "mcp_params": {
                "feedback_type": "workflow_gap",
                "title": "Bulk URL inspection",
                "description": "Cannot inspect multiple URLs at once",
                "current_workaround": "Call inspect_url one URL at a time",
                "reason": "User had 10 URLs to check"
              },
              "cli_command": "hopkin google ch-console-developer-feedback --feedback-type workflow_gap --title Bulk URL inspection --description Cannot inspect multiple URLs at once --current-workaround Call inspect_url one URL at a time",
              "natural_language": "Workflow gap"
            }
          ],
          "response_format": "markdown",
          "related_tools": [],
          "tool_type": "standard"
        },
        {
          "name": "google_search_console_ping",
          "title": "Ping Google Search Console MCP Server",
          "description": "Health check. Returns server status, version, and timestamp.",
          "cli_command": "hopkin google ch-console ping",
          "cli_flags": [
            {
              "flag": "--message",
              "description": "Optional message to echo back",
              "type": "string",
              "required": false
            }
          ],
          "category": "ch-console-ping",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": false
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "message": {
                "type": "string",
                "maxLength": 100,
                "description": "Optional message to echo back"
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "message",
              "type": "string",
              "required": false,
              "description": "Optional message to echo back",
              "constraints": {
                "max_length": 100
              }
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "Health check",
              "mcp_params": {
                "reason": "Verify server is running"
              },
              "cli_command": "hopkin google ch-console ping",
              "natural_language": "Health check"
            },
            {
              "label": "With message",
              "mcp_params": {
                "message": "hello",
                "reason": "Test connectivity"
              },
              "cli_command": "hopkin google ch-console ping --message hello",
              "natural_language": "With message"
            }
          ],
          "response_format": "markdown",
          "related_tools": [],
          "tool_type": "standard"
        },
        {
          "name": "google_search_console_list_sites",
          "title": "List Search Console Properties",
          "description": "List all Google Search Console properties (sites) the user has access to.\n\nUse this tool first to discover which properties are available before calling other tools.\nResults are cached for 15 minutes; pass refresh=true only when you need the latest list.\n\nArgs:\n  refresh (bool, optional): Force a fresh fetch from the API, bypassing cache. Default: false.\n\nReturns:\n  data: every site property, with siteUrl and permissionLevel (siteOwner, siteFullUser, siteRestrictedUser, siteUnverifiedUser).\n  cached, synced_at\n\nNot paginated: the Search Console sites endpoint takes no page size or page token and returns the whole list at once, so this single call is already the complete set — there is no cursor to follow.",
          "cli_command": "hopkin google ch-console-list-sites",
          "cli_flags": [
            {
              "flag": "--refresh",
              "description": "Force a fresh fetch from the API, bypassing cache",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "ch-console-list-sites",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": false,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "refresh": {
                "type": "boolean",
                "description": "Force a fresh fetch from the API, bypassing cache"
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              }
            },
            "required": [
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "refresh",
              "type": "boolean",
              "required": false,
              "description": "Force a fresh fetch from the API, bypassing cache"
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            }
          ],
          "examples": [
            {
              "label": "List sites",
              "mcp_params": {
                "reason": "Get all Search Console properties"
              },
              "cli_command": "hopkin google ch-console-list-sites",
              "natural_language": "List sites"
            },
            {
              "label": "Force refresh",
              "mcp_params": {
                "refresh": true,
                "reason": "Need latest site list"
              },
              "cli_command": "hopkin google ch-console-list-sites --refresh true",
              "natural_language": "Force refresh"
            }
          ],
          "response_format": "markdown",
          "related_tools": [],
          "tool_type": "standard"
        },
        {
          "name": "google_search_console_list_sitemaps",
          "title": "List Search Console Sitemaps",
          "description": "List sitemaps submitted to Google Search Console for a property.\n\nArgs:\n  site_url (string, required): The Search Console property URL (e.g. https://example.com/ or sc-domain:example.com).\n  refresh (bool, optional): Force a fresh fetch from the API, bypassing cache. Default: false.\n\nReturns:\n  data: every submitted sitemap, with path, last submission date, pending/error status, and error/warning counts.\n  site_url, cached, synced_at\n\nNot paginated: the Search Console sitemaps endpoint takes no page size or page token and returns the whole list at once, so this single call is already the complete set — there is no cursor to follow.",
          "cli_command": "hopkin google ch-console-list-sitemaps",
          "cli_flags": [
            {
              "flag": "--site-url",
              "description": "The Search Console property URL (e.g. sc-domain:example.com or just example.com).",
              "type": "string",
              "required": true
            },
            {
              "flag": "--refresh",
              "description": "Force a fresh fetch from the API, bypassing cache",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "ch-console-list-sitemaps",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": false,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "site_url": {
                "type": "string",
                "minLength": 1,
                "description": "The Search Console property URL (e.g. sc-domain:example.com or just example.com)."
              },
              "refresh": {
                "type": "boolean",
                "description": "Force a fresh fetch from the API, bypassing cache"
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              }
            },
            "required": [
              "site_url",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "site_url",
              "type": "string",
              "required": true,
              "description": "The Search Console property URL (e.g. sc-domain:example.com or just example.com).",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "refresh",
              "type": "boolean",
              "required": false,
              "description": "Force a fresh fetch from the API, bypassing cache"
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            }
          ],
          "examples": [
            {
              "label": "List sitemaps",
              "mcp_params": {
                "site_url": "https://example.com/",
                "reason": "Check sitemap submission status"
              },
              "cli_command": "hopkin google ch-console-list-sitemaps --site-url https://example.com/",
              "natural_language": "List sitemaps"
            },
            {
              "label": "Domain property",
              "mcp_params": {
                "site_url": "sc-domain:example.com",
                "reason": "Check sitemaps for domain property"
              },
              "cli_command": "hopkin google ch-console-list-sitemaps --site-url sc-domain:example.com",
              "natural_language": "Domain property"
            }
          ],
          "response_format": "markdown",
          "related_tools": [],
          "tool_type": "standard"
        },
        {
          "name": "google_search_console_inspect_url",
          "title": "Inspect URL (Google Search Console)",
          "description": "Get detailed indexing and crawl status for a specific URL using the Google Search Console URL Inspection API.\n\nArgs:\n  inspection_url (string, required): Fully-qualified URL to inspect. Must be under the site_url property.\n  site_url (string, required): The Search Console property that contains the URL (e.g. https://example.com/ or sc-domain:example.com).\n  language_code (string, optional): IETF BCP-47 language code for translated issue messages (e.g. en-US).\n\nReturns:\n  verdict (PASS/FAIL/NEUTRAL), coverage state, robots.txt state, indexing state, page fetch state,\n  last crawl time, crawled as (mobile/desktop), Google canonical URL, user canonical URL, sitemap references.\n\nNote: Use google_search_console_list_sites first to discover valid site_url values.",
          "cli_command": "hopkin google ch-console-inspect-url",
          "cli_flags": [
            {
              "flag": "--inspection-url",
              "description": "Fully-qualified URL to inspect. Must be under the site_url property.",
              "type": "string",
              "required": true
            },
            {
              "flag": "--site-url",
              "description": "The Search Console property URL that contains the inspection_url (e.g. sc-domain:example.com or just example.com).",
              "type": "string",
              "required": true
            },
            {
              "flag": "--language-code",
              "description": "IETF BCP-47 language code for translated issue messages (e.g. en-US).",
              "type": "string",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "ch-console-inspect-url",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": false,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "inspection_url": {
                "type": "string",
                "minLength": 1,
                "description": "Fully-qualified URL to inspect. Must be under the site_url property."
              },
              "site_url": {
                "type": "string",
                "minLength": 1,
                "description": "The Search Console property URL that contains the inspection_url (e.g. sc-domain:example.com or just example.com)."
              },
              "language_code": {
                "type": "string",
                "description": "IETF BCP-47 language code for translated issue messages (e.g. en-US)."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              }
            },
            "required": [
              "inspection_url",
              "site_url",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "inspection_url",
              "type": "string",
              "required": true,
              "description": "Fully-qualified URL to inspect. Must be under the site_url property.",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "site_url",
              "type": "string",
              "required": true,
              "description": "The Search Console property URL that contains the inspection_url (e.g. sc-domain:example.com or just example.com).",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "language_code",
              "type": "string",
              "required": false,
              "description": "IETF BCP-47 language code for translated issue messages (e.g. en-US)."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            }
          ],
          "examples": [
            {
              "label": "Inspect URL",
              "mcp_params": {
                "inspection_url": "https://example.com/page",
                "site_url": "https://example.com/",
                "reason": "Check if page is indexed"
              },
              "cli_command": "hopkin google ch-console-inspect-url --inspection-url https://example.com/page --site-url https://example.com/",
              "natural_language": "Inspect URL"
            },
            {
              "label": "With language",
              "mcp_params": {
                "inspection_url": "https://example.com/page",
                "site_url": "https://example.com/",
                "language_code": "en-US",
                "reason": "Check indexing with English messages"
              },
              "cli_command": "hopkin google ch-console-inspect-url --inspection-url https://example.com/page --site-url https://example.com/ --language-code en-US",
              "natural_language": "With language"
            }
          ],
          "response_format": "markdown",
          "related_tools": [],
          "tool_type": "standard"
        }
      ]
    },
    {
      "id": "ga4",
      "name": "Google Analytics",
      "description": "Google Analytics 4 Admin and Data API for property configuration and reporting",
      "tool_count": 16,
      "mcpUrl": "https://ga4.mcp.hopkin.ai",
      "tools": [
        {
          "name": "ga4_list_account_summaries",
          "title": "List GA4 Accounts & Properties",
          "description": "List every GA4 account and property visible to the connected Google account (Admin API accountSummaries).\n\nUse this tool first to discover which properties are available before calling other GA4 tools.\nResults are cached; pass refresh=true only when you need the latest list.\n\nArgs:\n  limit (number, optional): Max accounts per page (default 20, max 200).\n  cursor (string, optional): Opaque pagination cursor from a previous response's top-level nextCursor.\n  refresh (bool, optional): Force a fresh fetch from the API, bypassing cache. Default: false.\n\nReturns:\n  data: accounts (each with account resource name, display_name, and properties[] of { property_id, display_name, property_type, parent }).\n  data (the accounts), count (total accounts), property_count (total properties), cached, synced_at, and nextCursor — present only when another page exists.",
          "cli_command": "hopkin ga4 -account-summaries",
          "cli_flags": [
            {
              "flag": "--limit",
              "description": "Max accounts per page (default 20).",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--cursor",
              "description": "Opaque pagination cursor from a previous response's nextCursor. Do not construct by hand.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--refresh",
              "description": "Force a fresh fetch from the Admin API, bypassing the cache. Default: false.",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "-account-summaries",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": false,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "limit": {
                "type": "integer",
                "minimum": 1,
                "maximum": 200,
                "description": "Max accounts per page (default 20)."
              },
              "cursor": {
                "type": "string",
                "description": "Opaque pagination cursor from a previous response's nextCursor. Do not construct by hand."
              },
              "refresh": {
                "type": "boolean",
                "description": "Force a fresh fetch from the Admin API, bypassing the cache. Default: false."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              }
            },
            "required": [
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "limit",
              "type": "integer",
              "required": false,
              "description": "Max accounts per page (default 20).",
              "constraints": {
                "min": 1,
                "max": 200
              }
            },
            {
              "name": "cursor",
              "type": "string",
              "required": false,
              "description": "Opaque pagination cursor from a previous response's nextCursor. Do not construct by hand."
            },
            {
              "name": "refresh",
              "type": "boolean",
              "required": false,
              "description": "Force a fresh fetch from the Admin API, bypassing the cache. Default: false."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            }
          ],
          "examples": [
            {
              "label": "List accounts & properties",
              "mcp_params": {
                "reason": "Discover which GA4 properties are available"
              },
              "cli_command": "hopkin ga4 -account-summaries",
              "natural_language": "List accounts & properties"
            },
            {
              "label": "Next page",
              "mcp_params": {
                "limit": 20,
                "cursor": "eyJvZmZzZXQiOjIwfQ==",
                "reason": "Fetch the next page of accounts"
              },
              "cli_command": "hopkin ga4 -account-summaries --limit 20 --cursor eyJvZmZzZXQiOjIwfQ==",
              "natural_language": "Next page"
            },
            {
              "label": "Force refresh",
              "mcp_params": {
                "refresh": true,
                "reason": "Need the latest account/property list"
              },
              "cli_command": "hopkin ga4 -account-summaries --refresh true",
              "natural_language": "Force refresh"
            }
          ],
          "response_format": "markdown",
          "related_tools": [],
          "tool_type": "standard"
        },
        {
          "name": "ga4_check_auth_status",
          "title": "Check GA4 Auth Status",
          "description": "Troubleshoot authentication issues. Only use this when another tool fails with a permission or auth error — do NOT call proactively.\n\nReturns: authenticated status, user_id, email, and a human-readable message.",
          "cli_command": "hopkin ga4 k-auth-status",
          "cli_flags": [
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "k-auth-status",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": false
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              }
            },
            "required": [
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            }
          ],
          "examples": [
            {
              "label": "Check auth",
              "mcp_params": {
                "reason": "Another tool returned an auth error, checking connection status"
              },
              "cli_command": "hopkin ga4 k-auth-status",
              "natural_language": "Check auth"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "mailchimp_check_auth_status",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "ga4_get_billing_status",
          "title": "Billing status",
          "description": "Why a call was refused with a billing error (402) and how to get unblocked. Reports whether this organization is entitled, its subscription status, tier, trial end, credits used and left this period, the price table and a link to the billing page. With checkout_tier, the organization owner also gets a Stripe Checkout link for that plan; a member gets the owner's contact and a message to forward. Call it after any 402. While waiting for a human to pay, poll it every 10 seconds for the first minute, every 30 seconds until 5 minutes, then every 60 seconds until 15 minutes, then stop and tell the human. Once it returns entitled: true, retry the blocked call; if the retry still returns 402, wait 15 seconds and retry once. A Checkout link is a payment link: give it to the organization owner only.",
          "cli_command": "hopkin ga4 billing-status",
          "cli_flags": [
            {
              "flag": "--checkout-tier",
              "description": "Organization owner only: also create a Stripe Checkout link for this plan. A member gets the owner's contact and a message to forward instead.",
              "type": "string",
              "required": false
            }
          ],
          "category": "billing-status",
          "annotations": {
            "readOnly": false,
            "destructive": false,
            "idempotent": true,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "checkout_tier": {
                "type": "string",
                "enum": [
                  "starter",
                  "pro",
                  "enterprise"
                ],
                "description": "Organization owner only: also create a Stripe Checkout link for this plan. A member gets the owner's contact and a message to forward instead."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "checkout_tier",
              "type": "string",
              "required": false,
              "description": "Organization owner only: also create a Stripe Checkout link for this plan. A member gets the owner's contact and a message to forward instead.",
              "enum_values": [
                "starter",
                "pro",
                "enterprise"
              ]
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "After a billing error",
              "mcp_params": {
                "reason": "A tool call was refused with a billing error (402)"
              },
              "cli_command": "hopkin ga4 billing-status",
              "natural_language": "After a billing error"
            },
            {
              "label": "Owner: Checkout link",
              "mcp_params": {
                "checkout_tier": "pro",
                "reason": "The organization owner wants to pay for Pro now"
              },
              "cli_command": "hopkin ga4 billing-status --checkout-tier pro",
              "natural_language": "Owner: Checkout link"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "mailchimp_get_billing_status",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "ga4_list_connections",
          "title": "List Google Analytics Connections",
          "description": "List the Google Analytics connections available to you — both ones you own and ones shared with you via an organization. Only Google connections with Google Analytics (analytics.readonly) scope are returned. Use this to discover connection IDs for set_default / share / rename / revoke.",
          "cli_command": "hopkin ga4 -connections",
          "cli_flags": [],
          "category": "-connections",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": false
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "List connections",
              "mcp_params": {
                "reason": "User asked which Google Analytics accounts they have connected"
              },
              "cli_command": "hopkin ga4 -connections",
              "natural_language": "List connections"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "mailchimp_list_connections",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "ga4_set_default_connection",
          "title": "Set Default Google Analytics Connection",
          "description": "Set the Google Analytics connection that should be used by default for subsequent GA4 tool calls. The default is scoped to the calling actor (your user account, or the API key being used).",
          "cli_command": "hopkin ga4 default-connection",
          "cli_flags": [
            {
              "flag": "--connection-id",
              "description": "UUID of the connection to mark as the actor's default Google Analytics connection.",
              "type": "string",
              "required": true
            }
          ],
          "category": "default-connection",
          "annotations": {
            "readOnly": false,
            "destructive": false,
            "idempotent": true,
            "openWorld": false
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "UUID of the connection to mark as the actor's default Google Analytics connection."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "connection_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "connection_id",
              "type": "string",
              "required": true,
              "description": "UUID of the connection to mark as the actor's default Google Analytics connection."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "Set default",
              "mcp_params": {
                "connection_id": "00000000-0000-0000-0000-000000000001",
                "reason": "User picked their primary Google Analytics workspace"
              },
              "cli_command": "hopkin ga4 default-connection --connection-id 00000000-0000-0000-0000-000000000001",
              "natural_language": "Set default"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "mailchimp_set_default_connection",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "ga4_share_connection",
          "title": "Share Google Analytics Connection With Organization",
          "description": "Share an owned Google Analytics connection with all members of your organization, so teammates can use it without having to reconnect Google themselves. You must be the owner of the connection.",
          "cli_command": "hopkin ga4 e-connection",
          "cli_flags": [
            {
              "flag": "--connection-id",
              "description": "UUID of the connection to share with your organization. You must be the owner.",
              "type": "string",
              "required": true
            }
          ],
          "category": "e-connection",
          "annotations": {
            "readOnly": false,
            "destructive": false,
            "idempotent": true,
            "openWorld": false
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "UUID of the connection to share with your organization. You must be the owner."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "connection_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "connection_id",
              "type": "string",
              "required": true,
              "description": "UUID of the connection to share with your organization. You must be the owner."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "Share with org",
              "mcp_params": {
                "connection_id": "00000000-0000-0000-0000-000000000001",
                "reason": "User asked to share this Google Analytics connection with their teammates"
              },
              "cli_command": "hopkin ga4 e-connection --connection-id 00000000-0000-0000-0000-000000000001",
              "natural_language": "Share with org"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "mailchimp_share_connection",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "ga4_unshare_connection",
          "title": "Unshare Google Analytics Connection From Organization",
          "description": "Stop sharing an owned Google Analytics connection with your organization. Teammates lose access immediately. You must be the owner.",
          "cli_command": "hopkin ga4 are-connection",
          "cli_flags": [
            {
              "flag": "--connection-id",
              "description": "UUID of the connection to stop sharing with your organization. You must be the owner.",
              "type": "string",
              "required": true
            }
          ],
          "category": "are-connection",
          "annotations": {
            "readOnly": false,
            "destructive": true,
            "idempotent": true,
            "openWorld": false
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "UUID of the connection to stop sharing with your organization. You must be the owner."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "connection_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "connection_id",
              "type": "string",
              "required": true,
              "description": "UUID of the connection to stop sharing with your organization. You must be the owner."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "Stop sharing",
              "mcp_params": {
                "connection_id": "00000000-0000-0000-0000-000000000001",
                "reason": "User no longer wants the team to access this Google Analytics connection"
              },
              "cli_command": "hopkin ga4 are-connection --connection-id 00000000-0000-0000-0000-000000000001",
              "natural_language": "Stop sharing"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "mailchimp_unshare_connection",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "ga4_rename_connection",
          "title": "Rename Google Analytics Connection",
          "description": "Rename the display name of an owned Google Analytics connection. The OAuth grant and underlying account are unaffected — this only changes the human-readable label. You must be the owner.",
          "cli_command": "hopkin ga4 me-connection",
          "cli_flags": [
            {
              "flag": "--connection-id",
              "description": "UUID of the connection to rename. You must be the owner.",
              "type": "string",
              "required": true
            },
            {
              "flag": "--display-name",
              "description": "New human-readable name for the connection.",
              "type": "string",
              "required": true
            }
          ],
          "category": "me-connection",
          "annotations": {
            "readOnly": false,
            "destructive": false,
            "idempotent": true,
            "openWorld": false
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "UUID of the connection to rename. You must be the owner."
              },
              "display_name": {
                "type": "string",
                "minLength": 1,
                "maxLength": 120,
                "description": "New human-readable name for the connection."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "connection_id",
              "display_name",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "connection_id",
              "type": "string",
              "required": true,
              "description": "UUID of the connection to rename. You must be the owner."
            },
            {
              "name": "display_name",
              "type": "string",
              "required": true,
              "description": "New human-readable name for the connection.",
              "constraints": {
                "min_length": 1,
                "max_length": 120
              }
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "Rename",
              "mcp_params": {
                "connection_id": "00000000-0000-0000-0000-000000000001",
                "display_name": "Acme — Production",
                "reason": "User wanted a clearer label for this Google Analytics connection"
              },
              "cli_command": "hopkin ga4 me-connection --connection-id 00000000-0000-0000-0000-000000000001 --display-name Acme — Production",
              "natural_language": "Rename"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "mailchimp_rename_connection",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "ga4_revoke_connection",
          "title": "Revoke Google Analytics Connection",
          "description": "Revoke (soft-delete) an owned Google Analytics connection. Any defaults pointing to it are invalidated and shared org members lose access. The OAuth grant at Google is NOT revoked by this tool — the user must disconnect via the dashboard if they want to fully revoke at Google. You must be the owner.",
          "cli_command": "hopkin ga4 ke-connection",
          "cli_flags": [
            {
              "flag": "--connection-id",
              "description": "UUID of the connection to revoke. You must be the owner.",
              "type": "string",
              "required": true
            }
          ],
          "category": "ke-connection",
          "annotations": {
            "readOnly": false,
            "destructive": true,
            "idempotent": true,
            "openWorld": false
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "UUID of the connection to revoke. You must be the owner."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "connection_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "connection_id",
              "type": "string",
              "required": true,
              "description": "UUID of the connection to revoke. You must be the owner."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "Revoke",
              "mcp_params": {
                "connection_id": "00000000-0000-0000-0000-000000000001",
                "reason": "User asked to disconnect this Google Analytics account"
              },
              "cli_command": "hopkin ga4 ke-connection --connection-id 00000000-0000-0000-0000-000000000001",
              "natural_language": "Revoke"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "mailchimp_revoke_connection",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "ga4_developer_feedback",
          "title": "Submit Developer Feedback",
          "description": "Submit feedback about missing tools, improvements, bugs, or workflow gaps in the GA4 MCP toolset. Not for user-facing issues (auth errors, API errors).\n\nArgs:\n  feedback_type: new_tool, improvement, bug, workflow_gap\n  title: Short description (5-200 chars)\n  description: What is needed and why (20-2000 chars)\n  current_workaround (optional): How you're working around the gap\n  priority (optional): low, medium (default), high\n\nReturns: confirmation that feedback was recorded.",
          "cli_command": "hopkin ga4 loper-feedback",
          "cli_flags": [
            {
              "flag": "--feedback-type",
              "description": "Feedback category: new_tool (request new capability), improvement (enhance existing tool), bug (report issue), workflow_gap (missing workflow)",
              "type": "string",
              "required": true
            },
            {
              "flag": "--title",
              "description": "Concise title summarizing the feedback",
              "type": "string",
              "required": true
            },
            {
              "flag": "--description",
              "description": "What is needed and why",
              "type": "string",
              "required": true
            },
            {
              "flag": "--current-workaround",
              "description": "Current workaround, if any",
              "type": "string",
              "required": false
            },
            {
              "flag": "--priority",
              "description": "Impact level: low (nice-to-have), medium (improves workflow), high (blocking issue)",
              "type": "string",
              "required": false
            },
            {
              "flag": "--interface",
              "description": "Interface the feedback originated from: MCP (default) or CLI",
              "type": "string",
              "required": false
            }
          ],
          "category": "loper-feedback",
          "annotations": {
            "readOnly": false,
            "destructive": false,
            "idempotent": true,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "feedback_type": {
                "type": "string",
                "enum": [
                  "new_tool",
                  "improvement",
                  "bug",
                  "workflow_gap"
                ],
                "description": "Feedback category: new_tool (request new capability), improvement (enhance existing tool), bug (report issue), workflow_gap (missing workflow)"
              },
              "title": {
                "type": "string",
                "minLength": 5,
                "maxLength": 200,
                "description": "Concise title summarizing the feedback"
              },
              "description": {
                "type": "string",
                "minLength": 20,
                "maxLength": 2000,
                "description": "What is needed and why"
              },
              "current_workaround": {
                "type": "string",
                "maxLength": 1000,
                "description": "Current workaround, if any"
              },
              "priority": {
                "type": "string",
                "enum": [
                  "low",
                  "medium",
                  "high"
                ],
                "default": "medium",
                "description": "Impact level: low (nice-to-have), medium (improves workflow), high (blocking issue)"
              },
              "interface": {
                "type": "string",
                "enum": [
                  "MCP",
                  "CLI"
                ],
                "default": "MCP",
                "description": "Interface the feedback originated from: MCP (default) or CLI"
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "feedback_type",
              "title",
              "description",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "feedback_type",
              "type": "string",
              "required": true,
              "description": "Feedback category: new_tool (request new capability), improvement (enhance existing tool), bug (report issue), workflow_gap (missing workflow)",
              "enum_values": [
                "new_tool",
                "improvement",
                "bug",
                "workflow_gap"
              ]
            },
            {
              "name": "title",
              "type": "string",
              "required": true,
              "description": "Concise title summarizing the feedback",
              "constraints": {
                "min_length": 5,
                "max_length": 200
              }
            },
            {
              "name": "description",
              "type": "string",
              "required": true,
              "description": "What is needed and why",
              "constraints": {
                "min_length": 20,
                "max_length": 2000
              }
            },
            {
              "name": "current_workaround",
              "type": "string",
              "required": false,
              "description": "Current workaround, if any",
              "constraints": {
                "max_length": 1000
              }
            },
            {
              "name": "priority",
              "type": "string",
              "required": false,
              "description": "Impact level: low (nice-to-have), medium (improves workflow), high (blocking issue)",
              "enum_values": [
                "low",
                "medium",
                "high"
              ],
              "default": "medium"
            },
            {
              "name": "interface",
              "type": "string",
              "required": false,
              "description": "Interface the feedback originated from: MCP (default) or CLI",
              "enum_values": [
                "MCP",
                "CLI"
              ],
              "default": "MCP"
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "Missing tool",
              "mcp_params": {
                "feedback_type": "new_tool",
                "title": "Audience export",
                "description": "Need ability to list GA4 audiences and their definitions",
                "priority": "medium",
                "reason": "User asked to audit audience setup"
              },
              "cli_command": "hopkin ga4 loper-feedback --feedback-type new_tool --title Audience export --description Need ability to list GA4 audiences and their definitions --priority medium",
              "natural_language": "Missing tool"
            },
            {
              "label": "Workflow gap",
              "mcp_params": {
                "feedback_type": "workflow_gap",
                "title": "Multi-property reports",
                "description": "Cannot run one report across several GA4 properties at once",
                "current_workaround": "Call ga4_run_report per property and merge results",
                "reason": "User manages 12 properties"
              },
              "cli_command": "hopkin ga4 loper-feedback --feedback-type workflow_gap --title Multi-property reports --description Cannot run one report across several GA4 properties at once --current-workaround Call ga4_run_report per property and merge results",
              "natural_language": "Workflow gap"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "mailchimp_developer_feedback",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "ga4_run_funnel_report",
          "title": "Run GA4 Funnel Report",
          "description": "Run an ordered, multi-step funnel (Data API v1alpha runFunnelReport) — the only way to measure step sequence, \"no intervening events\", and time-bounded steps. For non-sequential dimension x metric reporting use ga4_run_report instead.\n\nEach step matches either an event or a dimension value, or a depth-1 and_group/or_group of both — e.g. \"a page_view AND hostName = app.example.com\". Cross-domain journeys are expressed by filtering hostName per step.\n\nArgs:\n  property_id (string, required): GA4 property ID (numeric) or full resource name.\n  date_ranges (array, required): 1-4 ranges of { start_date, end_date, name? }. Use several to compare periods (e.g. week over week) in ONE call — this is the cheapest way to do it.\n  steps (array, required): 2-10 ordered steps. Each is { name?, filter_expression, is_directly_followed_by?, within_duration_seconds? }.\n    filter_expression is exactly one of:\n      { funnel_event_filter: { event_name } }\n      { funnel_field_filter: { field_name, string_filter | in_list_filter | numeric_filter | between_filter } }\n      { and_group: { expressions: [...] } } | { or_group: { expressions: [...] } }\n      { not_expression: <single condition> }\n    is_directly_followed_by: true means NO intervening events at all, not merely ordering.\n    within_duration_seconds: complete this step within N seconds of the previous one.\n  is_open_funnel (bool, optional): false (default) = users must enter at step 1; true = users may enter at any step. This changes the numbers a lot — the value actually used is echoed back as is_open_funnel.\n  visualization_type (string, optional): STANDARD_FUNNEL (default) or TRENDED_FUNNEL. TRENDED_FUNNEL adds a date dimension to funnel_visualization, which carries activeUsers ONLY — completion and abandonment rates live in funnel_table.\n  funnel_breakdown (object, optional): { breakdown_dimension, limit? } splits each step by a dimension. limit caps at 15. Adds a RESERVED_TOTAL row per step which is the across-all-values total, NOT a data row.\n  funnel_next_action (object, optional): { next_action_dimension, limit? } — what users did next; appears in funnel_visualization. limit caps at 5.\n  limit (number, optional): caps rows returned. There is no pagination and no total row count, so if you get back exactly that many rows the result may be silently truncated — raise the limit or narrow the funnel rather than assuming that is all the data. Defaults to 250; GA4 itself would return up to 10,000. Row count multiplies across steps x breakdown values x date ranges.\n  return_property_quota (bool, optional).\n\nField names: funnel steps validate against GA4's exploration schema, which is NOT the same list ga4_get_metadata returns. Common valid dimensions include hostName, pagePath, sessionSource, sessionMedium, deviceCategory, country.\n\nReturns:\n  property_id and date_ranges — echoed back, so multi-range rows (which GA4 labels date_range_0, date_range_1, ...) can be mapped to the windows you asked for.\n  is_open_funnel — which semantics produced these numbers.\n  funnel_table — { returned_rows, data } with funnelStepName, any breakdown dimension, activeUsers, funnelStepCompletionRate, funnelStepAbandonments, funnelStepAbandonmentRate.\n  funnel_visualization — { returned_rows, data } with activeUsers only. Always present; for a STANDARD_FUNNEL with no next-action it is a subset of funnel_table, so read funnel_table for rates, plus date under TRENDED_FUNNEL.\n  warnings — present when the funnel spans hostnames (GA4 stitches identity across domains only if cross-domain measurement was configured at collection time; it cannot be fixed at query time).\n\nNotes: steps no user reached are omitted entirely, so rows may be fewer than steps. There is no pagination — runFunnelReport has no offset.",
          "cli_command": "hopkin ga4 funnel-report",
          "cli_flags": [
            {
              "flag": "--property-id",
              "description": "GA4 property ID (numeric) or full resource name.",
              "type": "string",
              "required": true
            },
            {
              "flag": "--date-ranges",
              "description": "One to 4 date ranges. Use several to compare periods (e.g. week over week) in a single call.",
              "type": "array",
              "required": true
            },
            {
              "flag": "--steps",
              "description": "Ordered funnel steps (2-10).",
              "type": "array",
              "required": true
            },
            {
              "flag": "--is-open-funnel",
              "description": "Open funnel: users may enter at any step. Closed (default): users must enter at step 1. This changes the numbers substantially; the resolved value is echoed in the response.",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--visualization-type",
              "description": "TRENDED_FUNNEL adds a date dimension to funnel_visualization (activeUsers only).",
              "type": "string",
              "required": false
            },
            {
              "flag": "--funnel-breakdown",
              "description": "",
              "type": "object",
              "required": false
            },
            {
              "flag": "--funnel-next-action",
              "description": "",
              "type": "object",
              "required": false
            },
            {
              "flag": "--limit",
              "description": "Max rows returned.",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--return-property-quota",
              "description": "Include the property quota state in the response.",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "funnel-report",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": false,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "property_id": {
                "type": "string",
                "minLength": 1,
                "description": "GA4 property ID (numeric) or full resource name."
              },
              "date_ranges": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "start_date": {
                      "type": "string",
                      "minLength": 1,
                      "description": "YYYY-MM-DD or relative (e.g. 30daysAgo, yesterday)."
                    },
                    "end_date": {
                      "type": "string",
                      "minLength": 1,
                      "description": "YYYY-MM-DD or relative (e.g. today, yesterday)."
                    },
                    "name": {
                      "type": "string",
                      "minLength": 1,
                      "description": "Optional label; appears as a dimension value when multiple ranges are used."
                    }
                  },
                  "required": [
                    "start_date",
                    "end_date"
                  ],
                  "additionalProperties": false
                },
                "minItems": 1,
                "maxItems": 4,
                "description": "One to 4 date ranges. Use several to compare periods (e.g. week over week) in a single call."
              },
              "steps": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "type": "string",
                      "minLength": 1,
                      "description": "Step label. Defaults to a 1-based index name."
                    },
                    "is_directly_followed_by": {
                      "type": "boolean",
                      "description": "If true, this step must follow the previous one with NO intervening events at all (not merely in order). Default false."
                    },
                    "within_duration_seconds": {
                      "type": "number",
                      "exclusiveMinimum": 0,
                      "description": "Complete this step within N seconds of the prior step. Pass a number of seconds, not a duration string."
                    },
                    "filter_expression": {
                      "type": "object",
                      "properties": {
                        "and_group": {
                          "type": "object",
                          "properties": {
                            "expressions": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "funnel_event_filter": {
                                    "type": "object",
                                    "properties": {
                                      "event_name": {
                                        "type": "string",
                                        "minLength": 1,
                                        "description": "Event name, e.g. page_view, session_start, purchase."
                                      }
                                    },
                                    "required": [
                                      "event_name"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "funnel_field_filter": {
                                    "type": "object",
                                    "properties": {
                                      "field_name": {
                                        "type": "string",
                                        "minLength": 1,
                                        "description": "GA4 dimension API name, verbatim — e.g. hostName, pagePath, sessionSource. Funnel steps validate against the exploration schema, which is NOT the same list ga4_get_metadata returns."
                                      },
                                      "string_filter": {
                                        "type": "object",
                                        "properties": {
                                          "value": {
                                            "type": "string",
                                            "minLength": 1,
                                            "description": "Value to match."
                                          },
                                          "match_type": {
                                            "type": "string",
                                            "enum": [
                                              "EXACT",
                                              "BEGINS_WITH",
                                              "ENDS_WITH",
                                              "CONTAINS",
                                              "FULL_REGEXP",
                                              "PARTIAL_REGEXP"
                                            ],
                                            "description": "Match type (default EXACT)."
                                          },
                                          "case_sensitive": {
                                            "type": "boolean",
                                            "description": "Case-sensitive matching (GA4 default is false)."
                                          }
                                        },
                                        "required": [
                                          "value"
                                        ],
                                        "additionalProperties": false
                                      },
                                      "in_list_filter": {
                                        "type": "object",
                                        "properties": {
                                          "values": {
                                            "type": "array",
                                            "items": {
                                              "type": "string",
                                              "minLength": 1
                                            },
                                            "minItems": 1,
                                            "description": "Match any of these values."
                                          },
                                          "case_sensitive": {
                                            "type": "boolean"
                                          }
                                        },
                                        "required": [
                                          "values"
                                        ],
                                        "additionalProperties": false
                                      },
                                      "numeric_filter": {
                                        "type": "object",
                                        "properties": {
                                          "operation": {
                                            "type": "string",
                                            "enum": [
                                              "EQUAL",
                                              "LESS_THAN",
                                              "LESS_THAN_OR_EQUAL",
                                              "GREATER_THAN",
                                              "GREATER_THAN_OR_EQUAL"
                                            ]
                                          },
                                          "value": {
                                            "type": "number",
                                            "description": "Numeric value to compare against."
                                          }
                                        },
                                        "required": [
                                          "operation",
                                          "value"
                                        ],
                                        "additionalProperties": false
                                      },
                                      "between_filter": {
                                        "type": "object",
                                        "properties": {
                                          "from_value": {
                                            "type": "number"
                                          },
                                          "to_value": {
                                            "type": "number"
                                          }
                                        },
                                        "required": [
                                          "from_value",
                                          "to_value"
                                        ],
                                        "additionalProperties": false
                                      }
                                    },
                                    "required": [
                                      "field_name"
                                    ],
                                    "additionalProperties": false
                                  }
                                },
                                "additionalProperties": false
                              },
                              "minItems": 1,
                              "maxItems": 10
                            }
                          },
                          "required": [
                            "expressions"
                          ],
                          "additionalProperties": false,
                          "description": "All of these conditions must hold."
                        },
                        "or_group": {
                          "type": "object",
                          "properties": {
                            "expressions": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "funnel_event_filter": {
                                    "type": "object",
                                    "properties": {
                                      "event_name": {
                                        "type": "string",
                                        "minLength": 1,
                                        "description": "Event name, e.g. page_view, session_start, purchase."
                                      }
                                    },
                                    "required": [
                                      "event_name"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "funnel_field_filter": {
                                    "type": "object",
                                    "properties": {
                                      "field_name": {
                                        "type": "string",
                                        "minLength": 1,
                                        "description": "GA4 dimension API name, verbatim — e.g. hostName, pagePath, sessionSource. Funnel steps validate against the exploration schema, which is NOT the same list ga4_get_metadata returns."
                                      },
                                      "string_filter": {
                                        "type": "object",
                                        "properties": {
                                          "value": {
                                            "type": "string",
                                            "minLength": 1,
                                            "description": "Value to match."
                                          },
                                          "match_type": {
                                            "type": "string",
                                            "enum": [
                                              "EXACT",
                                              "BEGINS_WITH",
                                              "ENDS_WITH",
                                              "CONTAINS",
                                              "FULL_REGEXP",
                                              "PARTIAL_REGEXP"
                                            ],
                                            "description": "Match type (default EXACT)."
                                          },
                                          "case_sensitive": {
                                            "type": "boolean",
                                            "description": "Case-sensitive matching (GA4 default is false)."
                                          }
                                        },
                                        "required": [
                                          "value"
                                        ],
                                        "additionalProperties": false
                                      },
                                      "in_list_filter": {
                                        "type": "object",
                                        "properties": {
                                          "values": {
                                            "type": "array",
                                            "items": {
                                              "type": "string",
                                              "minLength": 1
                                            },
                                            "minItems": 1,
                                            "description": "Match any of these values."
                                          },
                                          "case_sensitive": {
                                            "type": "boolean"
                                          }
                                        },
                                        "required": [
                                          "values"
                                        ],
                                        "additionalProperties": false
                                      },
                                      "numeric_filter": {
                                        "type": "object",
                                        "properties": {
                                          "operation": {
                                            "type": "string",
                                            "enum": [
                                              "EQUAL",
                                              "LESS_THAN",
                                              "LESS_THAN_OR_EQUAL",
                                              "GREATER_THAN",
                                              "GREATER_THAN_OR_EQUAL"
                                            ]
                                          },
                                          "value": {
                                            "type": "number",
                                            "description": "Numeric value to compare against."
                                          }
                                        },
                                        "required": [
                                          "operation",
                                          "value"
                                        ],
                                        "additionalProperties": false
                                      },
                                      "between_filter": {
                                        "type": "object",
                                        "properties": {
                                          "from_value": {
                                            "type": "number"
                                          },
                                          "to_value": {
                                            "type": "number"
                                          }
                                        },
                                        "required": [
                                          "from_value",
                                          "to_value"
                                        ],
                                        "additionalProperties": false
                                      }
                                    },
                                    "required": [
                                      "field_name"
                                    ],
                                    "additionalProperties": false
                                  }
                                },
                                "additionalProperties": false
                              },
                              "minItems": 1,
                              "maxItems": 10
                            }
                          },
                          "required": [
                            "expressions"
                          ],
                          "additionalProperties": false,
                          "description": "Any of these conditions must hold."
                        },
                        "funnel_event_filter": {
                          "type": "object",
                          "properties": {
                            "event_name": {
                              "type": "string",
                              "minLength": 1,
                              "description": "Event name, e.g. page_view, session_start, purchase."
                            }
                          },
                          "required": [
                            "event_name"
                          ],
                          "additionalProperties": false
                        },
                        "funnel_field_filter": {
                          "type": "object",
                          "properties": {
                            "field_name": {
                              "type": "string",
                              "minLength": 1,
                              "description": "GA4 dimension API name, verbatim — e.g. hostName, pagePath, sessionSource. Funnel steps validate against the exploration schema, which is NOT the same list ga4_get_metadata returns."
                            },
                            "string_filter": {
                              "type": "object",
                              "properties": {
                                "value": {
                                  "type": "string",
                                  "minLength": 1,
                                  "description": "Value to match."
                                },
                                "match_type": {
                                  "type": "string",
                                  "enum": [
                                    "EXACT",
                                    "BEGINS_WITH",
                                    "ENDS_WITH",
                                    "CONTAINS",
                                    "FULL_REGEXP",
                                    "PARTIAL_REGEXP"
                                  ],
                                  "description": "Match type (default EXACT)."
                                },
                                "case_sensitive": {
                                  "type": "boolean",
                                  "description": "Case-sensitive matching (GA4 default is false)."
                                }
                              },
                              "required": [
                                "value"
                              ],
                              "additionalProperties": false
                            },
                            "in_list_filter": {
                              "type": "object",
                              "properties": {
                                "values": {
                                  "type": "array",
                                  "items": {
                                    "type": "string",
                                    "minLength": 1
                                  },
                                  "minItems": 1,
                                  "description": "Match any of these values."
                                },
                                "case_sensitive": {
                                  "type": "boolean"
                                }
                              },
                              "required": [
                                "values"
                              ],
                              "additionalProperties": false
                            },
                            "numeric_filter": {
                              "type": "object",
                              "properties": {
                                "operation": {
                                  "type": "string",
                                  "enum": [
                                    "EQUAL",
                                    "LESS_THAN",
                                    "LESS_THAN_OR_EQUAL",
                                    "GREATER_THAN",
                                    "GREATER_THAN_OR_EQUAL"
                                  ]
                                },
                                "value": {
                                  "type": "number",
                                  "description": "Numeric value to compare against."
                                }
                              },
                              "required": [
                                "operation",
                                "value"
                              ],
                              "additionalProperties": false
                            },
                            "between_filter": {
                              "type": "object",
                              "properties": {
                                "from_value": {
                                  "type": "number"
                                },
                                "to_value": {
                                  "type": "number"
                                }
                              },
                              "required": [
                                "from_value",
                                "to_value"
                              ],
                              "additionalProperties": false
                            }
                          },
                          "required": [
                            "field_name"
                          ],
                          "additionalProperties": false
                        },
                        "not_expression": {
                          "type": "object",
                          "properties": {
                            "funnel_event_filter": {
                              "type": "object",
                              "properties": {
                                "event_name": {
                                  "type": "string",
                                  "minLength": 1,
                                  "description": "Event name, e.g. page_view, session_start, purchase."
                                }
                              },
                              "required": [
                                "event_name"
                              ],
                              "additionalProperties": false
                            },
                            "funnel_field_filter": {
                              "type": "object",
                              "properties": {
                                "field_name": {
                                  "type": "string",
                                  "minLength": 1,
                                  "description": "GA4 dimension API name, verbatim — e.g. hostName, pagePath, sessionSource. Funnel steps validate against the exploration schema, which is NOT the same list ga4_get_metadata returns."
                                },
                                "string_filter": {
                                  "type": "object",
                                  "properties": {
                                    "value": {
                                      "type": "string",
                                      "minLength": 1,
                                      "description": "Value to match."
                                    },
                                    "match_type": {
                                      "type": "string",
                                      "enum": [
                                        "EXACT",
                                        "BEGINS_WITH",
                                        "ENDS_WITH",
                                        "CONTAINS",
                                        "FULL_REGEXP",
                                        "PARTIAL_REGEXP"
                                      ],
                                      "description": "Match type (default EXACT)."
                                    },
                                    "case_sensitive": {
                                      "type": "boolean",
                                      "description": "Case-sensitive matching (GA4 default is false)."
                                    }
                                  },
                                  "required": [
                                    "value"
                                  ],
                                  "additionalProperties": false
                                },
                                "in_list_filter": {
                                  "type": "object",
                                  "properties": {
                                    "values": {
                                      "type": "array",
                                      "items": {
                                        "type": "string",
                                        "minLength": 1
                                      },
                                      "minItems": 1,
                                      "description": "Match any of these values."
                                    },
                                    "case_sensitive": {
                                      "type": "boolean"
                                    }
                                  },
                                  "required": [
                                    "values"
                                  ],
                                  "additionalProperties": false
                                },
                                "numeric_filter": {
                                  "type": "object",
                                  "properties": {
                                    "operation": {
                                      "type": "string",
                                      "enum": [
                                        "EQUAL",
                                        "LESS_THAN",
                                        "LESS_THAN_OR_EQUAL",
                                        "GREATER_THAN",
                                        "GREATER_THAN_OR_EQUAL"
                                      ]
                                    },
                                    "value": {
                                      "type": "number",
                                      "description": "Numeric value to compare against."
                                    }
                                  },
                                  "required": [
                                    "operation",
                                    "value"
                                  ],
                                  "additionalProperties": false
                                },
                                "between_filter": {
                                  "type": "object",
                                  "properties": {
                                    "from_value": {
                                      "type": "number"
                                    },
                                    "to_value": {
                                      "type": "number"
                                    }
                                  },
                                  "required": [
                                    "from_value",
                                    "to_value"
                                  ],
                                  "additionalProperties": false
                                }
                              },
                              "required": [
                                "field_name"
                              ],
                              "additionalProperties": false
                            }
                          },
                          "additionalProperties": false,
                          "description": "Negate a single condition."
                        }
                      },
                      "additionalProperties": false,
                      "description": "What must match for a user to reach this step."
                    }
                  },
                  "required": [
                    "filter_expression"
                  ],
                  "additionalProperties": false
                },
                "minItems": 2,
                "maxItems": 10,
                "description": "Ordered funnel steps (2-10)."
              },
              "is_open_funnel": {
                "type": "boolean",
                "description": "Open funnel: users may enter at any step. Closed (default): users must enter at step 1. This changes the numbers substantially; the resolved value is echoed in the response."
              },
              "visualization_type": {
                "type": "string",
                "enum": [
                  "STANDARD_FUNNEL",
                  "TRENDED_FUNNEL"
                ],
                "description": "TRENDED_FUNNEL adds a date dimension to funnel_visualization (activeUsers only)."
              },
              "funnel_breakdown": {
                "type": "object",
                "properties": {
                  "breakdown_dimension": {
                    "type": "string",
                    "minLength": 1,
                    "description": "Dimension to split each step by, verbatim — e.g. hostName, deviceCategory."
                  },
                  "limit": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 15,
                    "description": "Max distinct values (GA4 default 5, hard cap 15)."
                  }
                },
                "required": [
                  "breakdown_dimension"
                ],
                "additionalProperties": false
              },
              "funnel_next_action": {
                "type": "object",
                "properties": {
                  "next_action_dimension": {
                    "type": "string",
                    "minLength": 1,
                    "description": "Dimension value the user attained after completing a step."
                  },
                  "limit": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 5,
                    "description": "Max distinct next-action values (GA4 hard cap 5)."
                  }
                },
                "required": [
                  "next_action_dimension"
                ],
                "additionalProperties": false
              },
              "limit": {
                "type": "integer",
                "minimum": 1,
                "maximum": 10000,
                "description": "Max rows returned."
              },
              "return_property_quota": {
                "type": "boolean",
                "description": "Include the property quota state in the response."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              }
            },
            "required": [
              "property_id",
              "date_ranges",
              "steps",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "property_id",
              "type": "string",
              "required": true,
              "description": "GA4 property ID (numeric) or full resource name.",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "date_ranges",
              "type": "array",
              "required": true,
              "description": "One to 4 date ranges. Use several to compare periods (e.g. week over week) in a single call."
            },
            {
              "name": "steps",
              "type": "array",
              "required": true,
              "description": "Ordered funnel steps (2-10)."
            },
            {
              "name": "is_open_funnel",
              "type": "boolean",
              "required": false,
              "description": "Open funnel: users may enter at any step. Closed (default): users must enter at step 1. This changes the numbers substantially; the resolved value is echoed in the response."
            },
            {
              "name": "visualization_type",
              "type": "string",
              "required": false,
              "description": "TRENDED_FUNNEL adds a date dimension to funnel_visualization (activeUsers only).",
              "enum_values": [
                "STANDARD_FUNNEL",
                "TRENDED_FUNNEL"
              ]
            },
            {
              "name": "funnel_breakdown",
              "type": "object",
              "required": false,
              "description": ""
            },
            {
              "name": "funnel_next_action",
              "type": "object",
              "required": false,
              "description": ""
            },
            {
              "name": "limit",
              "type": "integer",
              "required": false,
              "description": "Max rows returned.",
              "constraints": {
                "min": 1,
                "max": 10000
              }
            },
            {
              "name": "return_property_quota",
              "type": "boolean",
              "required": false,
              "description": "Include the property quota state in the response."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            }
          ],
          "examples": [
            {
              "label": "Three-step signup funnel",
              "mcp_params": {
                "property_id": "123456789",
                "date_ranges": [
                  {
                    "start_date": "28daysAgo",
                    "end_date": "yesterday"
                  }
                ],
                "steps": [
                  {
                    "name": "Visited site",
                    "filter_expression": {
                      "funnel_event_filter": {
                        "event_name": "page_view"
                      }
                    }
                  },
                  {
                    "name": "Started signup",
                    "filter_expression": {
                      "funnel_event_filter": {
                        "event_name": "sign_up_start"
                      }
                    }
                  },
                  {
                    "name": "Completed signup",
                    "filter_expression": {
                      "funnel_event_filter": {
                        "event_name": "sign_up"
                      }
                    }
                  }
                ],
                "reason": "Find which signup step loses the most users"
              },
              "cli_command": "hopkin ga4 funnel-report --property-id 123456789 --date-ranges [object Object] --steps [object Object],[object Object],[object Object]",
              "natural_language": "Three-step signup funnel"
            },
            {
              "label": "Cross-domain funnel with per-step hostnames",
              "mcp_params": {
                "property_id": "123456789",
                "date_ranges": [
                  {
                    "start_date": "28daysAgo",
                    "end_date": "yesterday"
                  }
                ],
                "steps": [
                  {
                    "name": "Marketing site",
                    "filter_expression": {
                      "and_group": {
                        "expressions": [
                          {
                            "funnel_event_filter": {
                              "event_name": "page_view"
                            }
                          },
                          {
                            "funnel_field_filter": {
                              "field_name": "hostName",
                              "string_filter": {
                                "value": "example.com"
                              }
                            }
                          }
                        ]
                      }
                    }
                  },
                  {
                    "name": "App subdomain",
                    "filter_expression": {
                      "and_group": {
                        "expressions": [
                          {
                            "funnel_event_filter": {
                              "event_name": "page_view"
                            }
                          },
                          {
                            "funnel_field_filter": {
                              "field_name": "hostName",
                              "string_filter": {
                                "value": "app.example.com"
                              }
                            }
                          }
                        ]
                      }
                    }
                  }
                ],
                "funnel_breakdown": {
                  "breakdown_dimension": "hostName",
                  "limit": 5
                },
                "reason": "Measure the marketing-site to app hand-off"
              },
              "cli_command": "hopkin ga4 funnel-report --property-id 123456789 --date-ranges [object Object] --steps [object Object],[object Object] --funnel-breakdown [object Object]",
              "natural_language": "Cross-domain funnel with per-step hostnames"
            },
            {
              "label": "Week-over-week comparison in one call",
              "mcp_params": {
                "property_id": "123456789",
                "date_ranges": [
                  {
                    "start_date": "14daysAgo",
                    "end_date": "8daysAgo",
                    "name": "prior_week"
                  },
                  {
                    "start_date": "7daysAgo",
                    "end_date": "yesterday",
                    "name": "last_week"
                  }
                ],
                "steps": [
                  {
                    "name": "Session",
                    "filter_expression": {
                      "funnel_event_filter": {
                        "event_name": "session_start"
                      }
                    }
                  },
                  {
                    "name": "Purchase",
                    "filter_expression": {
                      "funnel_event_filter": {
                        "event_name": "purchase"
                      }
                    }
                  }
                ],
                "reason": "Compare purchase funnel across the last two weeks"
              },
              "cli_command": "hopkin ga4 funnel-report --property-id 123456789 --date-ranges [object Object],[object Object] --steps [object Object],[object Object]",
              "natural_language": "Week-over-week comparison in one call"
            }
          ],
          "response_format": "markdown",
          "related_tools": [],
          "tool_type": "standard"
        },
        {
          "name": "ga4_get_metadata",
          "title": "Get GA4 Dimensions & Metrics",
          "description": "List the dimensions and metrics available on a GA4 property (including custom definitions), so ga4_run_report calls use valid API names instead of guessing. A property can expose hundreds of dimensions and metrics combined, so results are paginated — use the search parameter to narrow down first.\n\nArgs:\n  property_id (string, required): GA4 property ID (numeric) or full resource name.\n  search (string, optional): Case-insensitive substring filter on API name / UI name (e.g. 'channel', 'revenue'). Omit to list everything.\n  limit (number, optional): Max dimensions+metrics per page (default 100, max 500).\n  cursor (string, optional): Opaque pagination cursor from a previous response's top-level nextCursor. Do not construct by hand.\n\nReturns:\n  data — dimensions and metrics combined, each tagged kind: 'dimension'|'metric', with api_name, ui_name, category, metric_type (metrics only), and custom flag.\n  count (total matches before pagination) and nextCursor (present only when another page exists).",
          "cli_command": "hopkin ga4 metadata",
          "cli_flags": [
            {
              "flag": "--property-id",
              "description": "GA4 property ID (numeric) or full resource name.",
              "type": "string",
              "required": true
            },
            {
              "flag": "--search",
              "description": "Case-insensitive substring filter on API name / UI name (e.g. 'channel', 'revenue'). Omit to list everything.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--limit",
              "description": "Max dimensions+metrics per page (default 100, max 500).",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--cursor",
              "description": "Opaque pagination cursor from a previous response's top-level nextCursor. Do not construct by hand.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "metadata",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": false,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "property_id": {
                "type": "string",
                "minLength": 1,
                "description": "GA4 property ID (numeric) or full resource name."
              },
              "search": {
                "type": "string",
                "description": "Case-insensitive substring filter on API name / UI name (e.g. 'channel', 'revenue'). Omit to list everything."
              },
              "limit": {
                "type": "integer",
                "minimum": 1,
                "maximum": 500,
                "description": "Max dimensions+metrics per page (default 100, max 500)."
              },
              "cursor": {
                "type": "string",
                "description": "Opaque pagination cursor from a previous response's top-level nextCursor. Do not construct by hand."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              }
            },
            "required": [
              "property_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "property_id",
              "type": "string",
              "required": true,
              "description": "GA4 property ID (numeric) or full resource name.",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "search",
              "type": "string",
              "required": false,
              "description": "Case-insensitive substring filter on API name / UI name (e.g. 'channel', 'revenue'). Omit to list everything."
            },
            {
              "name": "limit",
              "type": "integer",
              "required": false,
              "description": "Max dimensions+metrics per page (default 100, max 500).",
              "constraints": {
                "min": 1,
                "max": 500
              }
            },
            {
              "name": "cursor",
              "type": "string",
              "required": false,
              "description": "Opaque pagination cursor from a previous response's top-level nextCursor. Do not construct by hand."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            }
          ],
          "examples": [
            {
              "label": "Search revenue metrics",
              "mcp_params": {
                "property_id": "123456789",
                "search": "revenue",
                "reason": "Find valid revenue metric API names"
              },
              "cli_command": "hopkin ga4 metadata --property-id 123456789 --search revenue",
              "natural_language": "Search revenue metrics"
            },
            {
              "label": "List everything",
              "mcp_params": {
                "property_id": "123456789",
                "reason": "Full dimension/metric inventory including custom definitions"
              },
              "cli_command": "hopkin ga4 metadata --property-id 123456789",
              "natural_language": "List everything"
            }
          ],
          "response_format": "markdown",
          "related_tools": [],
          "tool_type": "standard"
        },
        {
          "name": "ga4_ping",
          "title": "Ping GA4 MCP Server",
          "description": "Health check. Returns server status, version, and timestamp.",
          "cli_command": "hopkin ga4 ",
          "cli_flags": [
            {
              "flag": "--message",
              "description": "Optional message to echo back",
              "type": "string",
              "required": false
            }
          ],
          "category": "",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": false
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "message": {
                "type": "string",
                "maxLength": 100,
                "description": "Optional message to echo back"
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "message",
              "type": "string",
              "required": false,
              "description": "Optional message to echo back",
              "constraints": {
                "max_length": 100
              }
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "Health check",
              "mcp_params": {
                "reason": "Verify server is running"
              },
              "cli_command": "hopkin ga4 ",
              "natural_language": "Health check"
            },
            {
              "label": "With message",
              "mcp_params": {
                "message": "hello",
                "reason": "Test connectivity"
              },
              "cli_command": "hopkin ga4  --message hello",
              "natural_language": "With message"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "mailchimp_ping",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "ga4_get_property_details",
          "title": "Get GA4 Property Details",
          "description": "Setup-health snapshot for one GA4 property: property info, data streams (with enhanced measurement settings for web streams), key events, Google Ads links, attribution settings, and data retention settings.\n\nSections that fail to load are returned with an error string instead of failing the whole call.\n\nArgs:\n  property_id (string, required): GA4 property ID (numeric, e.g. '123456789') or full resource name ('properties/123456789').\n\nReturns:\n  property, data_streams, key_events, google_ads_links, attribution_settings, data_retention_settings — each either the API payload or { error }.",
          "cli_command": "hopkin ga4 property-details",
          "cli_flags": [
            {
              "flag": "--property-id",
              "description": "GA4 property ID (numeric, e.g. '123456789') or full resource name ('properties/123456789').",
              "type": "string",
              "required": true
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "property-details",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": false,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "property_id": {
                "type": "string",
                "minLength": 1,
                "description": "GA4 property ID (numeric, e.g. '123456789') or full resource name ('properties/123456789')."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              }
            },
            "required": [
              "property_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "property_id",
              "type": "string",
              "required": true,
              "description": "GA4 property ID (numeric, e.g. '123456789') or full resource name ('properties/123456789').",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            }
          ],
          "examples": [
            {
              "label": "Audit property setup",
              "mcp_params": {
                "property_id": "123456789",
                "reason": "Check tracking and attribution configuration"
              },
              "cli_command": "hopkin ga4 property-details --property-id 123456789",
              "natural_language": "Audit property setup"
            },
            {
              "label": "Full resource name",
              "mcp_params": {
                "property_id": "properties/123456789",
                "reason": "Verify key events on the property"
              },
              "cli_command": "hopkin ga4 property-details --property-id properties/123456789",
              "natural_language": "Full resource name"
            }
          ],
          "response_format": "markdown",
          "related_tools": [],
          "tool_type": "standard"
        },
        {
          "name": "ga4_run_report",
          "title": "Run GA4 Report",
          "description": "Run a GA4 report (Data API runReport): arbitrary dimensions × metrics over one or more date ranges, with filtering, ordering and acquisition cohorts.\n\nUse ga4_get_metadata first to look up valid dimension/metric API names. For ORDERED, step-by-step funnels use ga4_run_funnel_report instead — runReport cannot express sequence.\n\nArgs:\n  property_id (string, required): GA4 property ID (numeric) or full resource name.\n  dimensions (string[], optional): Up to 9 dimension API names (e.g. sessionDefaultChannelGroup, date).\n  metrics (string[], required): 1-10 metric API names (e.g. sessions, totalUsers, keyEvents, purchaseRevenue).\n  date_ranges (array, required unless cohort_spec is used): 1-4 ranges of { start_date, end_date, name? }. Dates are YYYY-MM-DD or relative (30daysAgo, yesterday, today).\n  dimension_filter (object, optional): A filter expression — exactly one of:\n      { filter: { field_name, string_filter | in_list_filter | numeric_filter | between_filter } }\n      { and_group: { expressions: [ <leaf>, ... ] } }   // all must hold\n      { or_group:  { expressions: [ <leaf>, ... ] } }   // any must hold\n      { not_expression: <leaf> }\n    where <leaf> is { filter: {...} } or { not_expression: { filter: {...} } }.\n    string_filter: { value, match_type?: EXACT|BEGINS_WITH|ENDS_WITH|CONTAINS|FULL_REGEXP|PARTIAL_REGEXP, case_sensitive? }\n    Groups do not nest — one level of and/or over leaves.\n  metric_filter (object, optional): Same shape, applied to metric values after aggregation (use numeric_filter / between_filter).\n  cohort_spec (object, optional): Acquisition cohorts.\n      { cohorts: [{ name?, date_range: { start_date, end_date } }], cohorts_range: { granularity: DAILY|WEEKLY|MONTHLY, start_offset?, end_offset } }\n    Cohort reports REQUIRE the \"cohort\" dimension and must OMIT date_ranges — the cohort's own date_range defines the window. Pair with cohortNthDay/cohortNthWeek/cohortNthMonth and a metric such as cohortActiveUsers.\n  order_by (object, optional): { type: 'metric'|'dimension', name, desc? }.\n  limit (number, optional): Max rows, default 100, max 10000.\n  cursor (string, optional): Opaque pagination cursor from a previous response's pagination.nextCursor. Paging is cursor-only — there is no raw offset input. A cursor is bound to every other argument; reuse it with a changed property_id/dimensions/metrics/date_ranges/filter/cohort_spec and the call fails instead of silently returning the wrong page.\n\nReturns:\n  data — the rows, flattened as { dimension: value, metric: value } objects. Plus row_count (total rows before pagination) and returned_rows.\n  pagination: { hasMore, nextCursor? } — nextCursor is present only when hasMore is true; call again with that cursor for the next page.\n  For a single date range: metric_totals ({ metric: total }). For multiple date ranges: metric_totals_by_range ({ \"date_range_0\": { metric: total }, ... }) keyed by the dateRange dimension value (or the range's name).",
          "cli_command": "hopkin ga4 report",
          "cli_flags": [
            {
              "flag": "--property-id",
              "description": "GA4 property ID (numeric) or full resource name.",
              "type": "string",
              "required": true
            },
            {
              "flag": "--dimensions",
              "description": "GA4 dimension API names, e.g. sessionDefaultChannelGroup, landingPagePlusQueryString, date. Use ga4_get_metadata for valid names. Cohort reports must include \"cohort\".",
              "type": "array",
              "required": false
            },
            {
              "flag": "--metrics",
              "description": "GA4 metric API names, e.g. sessions, totalUsers, keyEvents, purchaseRevenue.",
              "type": "array",
              "required": true
            },
            {
              "flag": "--date-ranges",
              "description": "One to 4 date ranges. Omit only for cohort reports, where cohort_spec defines the window.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--dimension-filter",
              "description": "Filter on dimension values. One of and_group / or_group / filter / not_expression.",
              "type": "object",
              "required": false
            },
            {
              "flag": "--metric-filter",
              "description": "Filter on metric values (applied after aggregation). Same shape as dimension_filter; use numeric_filter or between_filter.",
              "type": "object",
              "required": false
            },
            {
              "flag": "--cohort-spec",
              "description": "Acquisition-cohort report. Requires the \"cohort\" dimension; pair with cohortActiveUsers or cohortTotalUsers, and cohortNthDay/Week/Month to see periods.",
              "type": "object",
              "required": false
            },
            {
              "flag": "--order-by",
              "description": "",
              "type": "object",
              "required": false
            },
            {
              "flag": "--limit",
              "description": "Max rows (default 100). Range: 1-10000.",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--cursor",
              "description": "Opaque pagination cursor from a previous response's pagination.nextCursor. Do not construct by hand.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "report",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": false,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "property_id": {
                "type": "string",
                "minLength": 1,
                "description": "GA4 property ID (numeric) or full resource name."
              },
              "dimensions": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "maxItems": 9,
                "description": "GA4 dimension API names, e.g. sessionDefaultChannelGroup, landingPagePlusQueryString, date. Use ga4_get_metadata for valid names. Cohort reports must include \"cohort\"."
              },
              "metrics": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "minItems": 1,
                "maxItems": 10,
                "description": "GA4 metric API names, e.g. sessions, totalUsers, keyEvents, purchaseRevenue."
              },
              "date_ranges": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "start_date": {
                      "type": "string",
                      "minLength": 1,
                      "description": "YYYY-MM-DD or relative (e.g. 30daysAgo, yesterday)."
                    },
                    "end_date": {
                      "type": "string",
                      "minLength": 1,
                      "description": "YYYY-MM-DD or relative (e.g. today, yesterday)."
                    },
                    "name": {
                      "type": "string",
                      "description": "Optional label; appears as dateRange dimension when multiple ranges are used."
                    }
                  },
                  "required": [
                    "start_date",
                    "end_date"
                  ],
                  "additionalProperties": false
                },
                "minItems": 1,
                "maxItems": 4,
                "description": "One to 4 date ranges. Omit only for cohort reports, where cohort_spec defines the window."
              },
              "dimension_filter": {
                "type": "object",
                "properties": {
                  "and_group": {
                    "type": "object",
                    "properties": {
                      "expressions": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "filter": {
                              "type": "object",
                              "properties": {
                                "field_name": {
                                  "type": "string",
                                  "minLength": 1,
                                  "description": "Dimension or metric API name, verbatim (e.g. hostName, pagePath, sessions)."
                                },
                                "string_filter": {
                                  "type": "object",
                                  "properties": {
                                    "value": {
                                      "type": "string",
                                      "minLength": 1,
                                      "description": "Value to match."
                                    },
                                    "match_type": {
                                      "type": "string",
                                      "enum": [
                                        "EXACT",
                                        "BEGINS_WITH",
                                        "ENDS_WITH",
                                        "CONTAINS",
                                        "FULL_REGEXP",
                                        "PARTIAL_REGEXP"
                                      ],
                                      "description": "Match type (default EXACT)."
                                    },
                                    "case_sensitive": {
                                      "type": "boolean",
                                      "description": "Case-sensitive matching (GA4 default is false)."
                                    }
                                  },
                                  "required": [
                                    "value"
                                  ],
                                  "additionalProperties": false
                                },
                                "in_list_filter": {
                                  "type": "object",
                                  "properties": {
                                    "values": {
                                      "type": "array",
                                      "items": {
                                        "type": "string",
                                        "minLength": 1
                                      },
                                      "minItems": 1,
                                      "description": "Match any of these values."
                                    },
                                    "case_sensitive": {
                                      "type": "boolean"
                                    }
                                  },
                                  "required": [
                                    "values"
                                  ],
                                  "additionalProperties": false
                                },
                                "numeric_filter": {
                                  "type": "object",
                                  "properties": {
                                    "operation": {
                                      "type": "string",
                                      "enum": [
                                        "EQUAL",
                                        "LESS_THAN",
                                        "LESS_THAN_OR_EQUAL",
                                        "GREATER_THAN",
                                        "GREATER_THAN_OR_EQUAL"
                                      ]
                                    },
                                    "value": {
                                      "type": "number",
                                      "description": "Numeric value to compare against."
                                    }
                                  },
                                  "required": [
                                    "operation",
                                    "value"
                                  ],
                                  "additionalProperties": false
                                },
                                "between_filter": {
                                  "type": "object",
                                  "properties": {
                                    "from_value": {
                                      "type": "number"
                                    },
                                    "to_value": {
                                      "type": "number"
                                    }
                                  },
                                  "required": [
                                    "from_value",
                                    "to_value"
                                  ],
                                  "additionalProperties": false
                                }
                              },
                              "required": [
                                "field_name"
                              ],
                              "additionalProperties": false
                            },
                            "not_expression": {
                              "type": "object",
                              "properties": {
                                "filter": {
                                  "type": "object",
                                  "properties": {
                                    "field_name": {
                                      "type": "string",
                                      "minLength": 1,
                                      "description": "Dimension or metric API name, verbatim (e.g. hostName, pagePath, sessions)."
                                    },
                                    "string_filter": {
                                      "type": "object",
                                      "properties": {
                                        "value": {
                                          "type": "string",
                                          "minLength": 1,
                                          "description": "Value to match."
                                        },
                                        "match_type": {
                                          "type": "string",
                                          "enum": [
                                            "EXACT",
                                            "BEGINS_WITH",
                                            "ENDS_WITH",
                                            "CONTAINS",
                                            "FULL_REGEXP",
                                            "PARTIAL_REGEXP"
                                          ],
                                          "description": "Match type (default EXACT)."
                                        },
                                        "case_sensitive": {
                                          "type": "boolean",
                                          "description": "Case-sensitive matching (GA4 default is false)."
                                        }
                                      },
                                      "required": [
                                        "value"
                                      ],
                                      "additionalProperties": false
                                    },
                                    "in_list_filter": {
                                      "type": "object",
                                      "properties": {
                                        "values": {
                                          "type": "array",
                                          "items": {
                                            "type": "string",
                                            "minLength": 1
                                          },
                                          "minItems": 1,
                                          "description": "Match any of these values."
                                        },
                                        "case_sensitive": {
                                          "type": "boolean"
                                        }
                                      },
                                      "required": [
                                        "values"
                                      ],
                                      "additionalProperties": false
                                    },
                                    "numeric_filter": {
                                      "type": "object",
                                      "properties": {
                                        "operation": {
                                          "type": "string",
                                          "enum": [
                                            "EQUAL",
                                            "LESS_THAN",
                                            "LESS_THAN_OR_EQUAL",
                                            "GREATER_THAN",
                                            "GREATER_THAN_OR_EQUAL"
                                          ]
                                        },
                                        "value": {
                                          "type": "number",
                                          "description": "Numeric value to compare against."
                                        }
                                      },
                                      "required": [
                                        "operation",
                                        "value"
                                      ],
                                      "additionalProperties": false
                                    },
                                    "between_filter": {
                                      "type": "object",
                                      "properties": {
                                        "from_value": {
                                          "type": "number"
                                        },
                                        "to_value": {
                                          "type": "number"
                                        }
                                      },
                                      "required": [
                                        "from_value",
                                        "to_value"
                                      ],
                                      "additionalProperties": false
                                    }
                                  },
                                  "required": [
                                    "field_name"
                                  ],
                                  "additionalProperties": false
                                }
                              },
                              "required": [
                                "filter"
                              ],
                              "additionalProperties": false
                            }
                          },
                          "additionalProperties": false
                        },
                        "minItems": 1,
                        "maxItems": 10
                      }
                    },
                    "required": [
                      "expressions"
                    ],
                    "additionalProperties": false,
                    "description": "All of these conditions must hold."
                  },
                  "or_group": {
                    "type": "object",
                    "properties": {
                      "expressions": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "filter": {
                              "type": "object",
                              "properties": {
                                "field_name": {
                                  "type": "string",
                                  "minLength": 1,
                                  "description": "Dimension or metric API name, verbatim (e.g. hostName, pagePath, sessions)."
                                },
                                "string_filter": {
                                  "type": "object",
                                  "properties": {
                                    "value": {
                                      "type": "string",
                                      "minLength": 1,
                                      "description": "Value to match."
                                    },
                                    "match_type": {
                                      "type": "string",
                                      "enum": [
                                        "EXACT",
                                        "BEGINS_WITH",
                                        "ENDS_WITH",
                                        "CONTAINS",
                                        "FULL_REGEXP",
                                        "PARTIAL_REGEXP"
                                      ],
                                      "description": "Match type (default EXACT)."
                                    },
                                    "case_sensitive": {
                                      "type": "boolean",
                                      "description": "Case-sensitive matching (GA4 default is false)."
                                    }
                                  },
                                  "required": [
                                    "value"
                                  ],
                                  "additionalProperties": false
                                },
                                "in_list_filter": {
                                  "type": "object",
                                  "properties": {
                                    "values": {
                                      "type": "array",
                                      "items": {
                                        "type": "string",
                                        "minLength": 1
                                      },
                                      "minItems": 1,
                                      "description": "Match any of these values."
                                    },
                                    "case_sensitive": {
                                      "type": "boolean"
                                    }
                                  },
                                  "required": [
                                    "values"
                                  ],
                                  "additionalProperties": false
                                },
                                "numeric_filter": {
                                  "type": "object",
                                  "properties": {
                                    "operation": {
                                      "type": "string",
                                      "enum": [
                                        "EQUAL",
                                        "LESS_THAN",
                                        "LESS_THAN_OR_EQUAL",
                                        "GREATER_THAN",
                                        "GREATER_THAN_OR_EQUAL"
                                      ]
                                    },
                                    "value": {
                                      "type": "number",
                                      "description": "Numeric value to compare against."
                                    }
                                  },
                                  "required": [
                                    "operation",
                                    "value"
                                  ],
                                  "additionalProperties": false
                                },
                                "between_filter": {
                                  "type": "object",
                                  "properties": {
                                    "from_value": {
                                      "type": "number"
                                    },
                                    "to_value": {
                                      "type": "number"
                                    }
                                  },
                                  "required": [
                                    "from_value",
                                    "to_value"
                                  ],
                                  "additionalProperties": false
                                }
                              },
                              "required": [
                                "field_name"
                              ],
                              "additionalProperties": false
                            },
                            "not_expression": {
                              "type": "object",
                              "properties": {
                                "filter": {
                                  "type": "object",
                                  "properties": {
                                    "field_name": {
                                      "type": "string",
                                      "minLength": 1,
                                      "description": "Dimension or metric API name, verbatim (e.g. hostName, pagePath, sessions)."
                                    },
                                    "string_filter": {
                                      "type": "object",
                                      "properties": {
                                        "value": {
                                          "type": "string",
                                          "minLength": 1,
                                          "description": "Value to match."
                                        },
                                        "match_type": {
                                          "type": "string",
                                          "enum": [
                                            "EXACT",
                                            "BEGINS_WITH",
                                            "ENDS_WITH",
                                            "CONTAINS",
                                            "FULL_REGEXP",
                                            "PARTIAL_REGEXP"
                                          ],
                                          "description": "Match type (default EXACT)."
                                        },
                                        "case_sensitive": {
                                          "type": "boolean",
                                          "description": "Case-sensitive matching (GA4 default is false)."
                                        }
                                      },
                                      "required": [
                                        "value"
                                      ],
                                      "additionalProperties": false
                                    },
                                    "in_list_filter": {
                                      "type": "object",
                                      "properties": {
                                        "values": {
                                          "type": "array",
                                          "items": {
                                            "type": "string",
                                            "minLength": 1
                                          },
                                          "minItems": 1,
                                          "description": "Match any of these values."
                                        },
                                        "case_sensitive": {
                                          "type": "boolean"
                                        }
                                      },
                                      "required": [
                                        "values"
                                      ],
                                      "additionalProperties": false
                                    },
                                    "numeric_filter": {
                                      "type": "object",
                                      "properties": {
                                        "operation": {
                                          "type": "string",
                                          "enum": [
                                            "EQUAL",
                                            "LESS_THAN",
                                            "LESS_THAN_OR_EQUAL",
                                            "GREATER_THAN",
                                            "GREATER_THAN_OR_EQUAL"
                                          ]
                                        },
                                        "value": {
                                          "type": "number",
                                          "description": "Numeric value to compare against."
                                        }
                                      },
                                      "required": [
                                        "operation",
                                        "value"
                                      ],
                                      "additionalProperties": false
                                    },
                                    "between_filter": {
                                      "type": "object",
                                      "properties": {
                                        "from_value": {
                                          "type": "number"
                                        },
                                        "to_value": {
                                          "type": "number"
                                        }
                                      },
                                      "required": [
                                        "from_value",
                                        "to_value"
                                      ],
                                      "additionalProperties": false
                                    }
                                  },
                                  "required": [
                                    "field_name"
                                  ],
                                  "additionalProperties": false
                                }
                              },
                              "required": [
                                "filter"
                              ],
                              "additionalProperties": false
                            }
                          },
                          "additionalProperties": false
                        },
                        "minItems": 1,
                        "maxItems": 10
                      }
                    },
                    "required": [
                      "expressions"
                    ],
                    "additionalProperties": false,
                    "description": "Any of these conditions must hold."
                  },
                  "filter": {
                    "type": "object",
                    "properties": {
                      "field_name": {
                        "type": "string",
                        "minLength": 1,
                        "description": "Dimension or metric API name, verbatim (e.g. hostName, pagePath, sessions)."
                      },
                      "string_filter": {
                        "type": "object",
                        "properties": {
                          "value": {
                            "type": "string",
                            "minLength": 1,
                            "description": "Value to match."
                          },
                          "match_type": {
                            "type": "string",
                            "enum": [
                              "EXACT",
                              "BEGINS_WITH",
                              "ENDS_WITH",
                              "CONTAINS",
                              "FULL_REGEXP",
                              "PARTIAL_REGEXP"
                            ],
                            "description": "Match type (default EXACT)."
                          },
                          "case_sensitive": {
                            "type": "boolean",
                            "description": "Case-sensitive matching (GA4 default is false)."
                          }
                        },
                        "required": [
                          "value"
                        ],
                        "additionalProperties": false
                      },
                      "in_list_filter": {
                        "type": "object",
                        "properties": {
                          "values": {
                            "type": "array",
                            "items": {
                              "type": "string",
                              "minLength": 1
                            },
                            "minItems": 1,
                            "description": "Match any of these values."
                          },
                          "case_sensitive": {
                            "type": "boolean"
                          }
                        },
                        "required": [
                          "values"
                        ],
                        "additionalProperties": false
                      },
                      "numeric_filter": {
                        "type": "object",
                        "properties": {
                          "operation": {
                            "type": "string",
                            "enum": [
                              "EQUAL",
                              "LESS_THAN",
                              "LESS_THAN_OR_EQUAL",
                              "GREATER_THAN",
                              "GREATER_THAN_OR_EQUAL"
                            ]
                          },
                          "value": {
                            "type": "number",
                            "description": "Numeric value to compare against."
                          }
                        },
                        "required": [
                          "operation",
                          "value"
                        ],
                        "additionalProperties": false
                      },
                      "between_filter": {
                        "type": "object",
                        "properties": {
                          "from_value": {
                            "type": "number"
                          },
                          "to_value": {
                            "type": "number"
                          }
                        },
                        "required": [
                          "from_value",
                          "to_value"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "required": [
                      "field_name"
                    ],
                    "additionalProperties": false,
                    "description": "A single condition."
                  },
                  "not_expression": {
                    "type": "object",
                    "properties": {
                      "filter": {
                        "type": "object",
                        "properties": {
                          "field_name": {
                            "type": "string",
                            "minLength": 1,
                            "description": "Dimension or metric API name, verbatim (e.g. hostName, pagePath, sessions)."
                          },
                          "string_filter": {
                            "type": "object",
                            "properties": {
                              "value": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Value to match."
                              },
                              "match_type": {
                                "type": "string",
                                "enum": [
                                  "EXACT",
                                  "BEGINS_WITH",
                                  "ENDS_WITH",
                                  "CONTAINS",
                                  "FULL_REGEXP",
                                  "PARTIAL_REGEXP"
                                ],
                                "description": "Match type (default EXACT)."
                              },
                              "case_sensitive": {
                                "type": "boolean",
                                "description": "Case-sensitive matching (GA4 default is false)."
                              }
                            },
                            "required": [
                              "value"
                            ],
                            "additionalProperties": false
                          },
                          "in_list_filter": {
                            "type": "object",
                            "properties": {
                              "values": {
                                "type": "array",
                                "items": {
                                  "type": "string",
                                  "minLength": 1
                                },
                                "minItems": 1,
                                "description": "Match any of these values."
                              },
                              "case_sensitive": {
                                "type": "boolean"
                              }
                            },
                            "required": [
                              "values"
                            ],
                            "additionalProperties": false
                          },
                          "numeric_filter": {
                            "type": "object",
                            "properties": {
                              "operation": {
                                "type": "string",
                                "enum": [
                                  "EQUAL",
                                  "LESS_THAN",
                                  "LESS_THAN_OR_EQUAL",
                                  "GREATER_THAN",
                                  "GREATER_THAN_OR_EQUAL"
                                ]
                              },
                              "value": {
                                "type": "number",
                                "description": "Numeric value to compare against."
                              }
                            },
                            "required": [
                              "operation",
                              "value"
                            ],
                            "additionalProperties": false
                          },
                          "between_filter": {
                            "type": "object",
                            "properties": {
                              "from_value": {
                                "type": "number"
                              },
                              "to_value": {
                                "type": "number"
                              }
                            },
                            "required": [
                              "from_value",
                              "to_value"
                            ],
                            "additionalProperties": false
                          }
                        },
                        "required": [
                          "field_name"
                        ],
                        "additionalProperties": false
                      },
                      "not_expression": {
                        "type": "object",
                        "properties": {
                          "filter": {
                            "type": "object",
                            "properties": {
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Dimension or metric API name, verbatim (e.g. hostName, pagePath, sessions)."
                              },
                              "string_filter": {
                                "type": "object",
                                "properties": {
                                  "value": {
                                    "type": "string",
                                    "minLength": 1,
                                    "description": "Value to match."
                                  },
                                  "match_type": {
                                    "type": "string",
                                    "enum": [
                                      "EXACT",
                                      "BEGINS_WITH",
                                      "ENDS_WITH",
                                      "CONTAINS",
                                      "FULL_REGEXP",
                                      "PARTIAL_REGEXP"
                                    ],
                                    "description": "Match type (default EXACT)."
                                  },
                                  "case_sensitive": {
                                    "type": "boolean",
                                    "description": "Case-sensitive matching (GA4 default is false)."
                                  }
                                },
                                "required": [
                                  "value"
                                ],
                                "additionalProperties": false
                              },
                              "in_list_filter": {
                                "type": "object",
                                "properties": {
                                  "values": {
                                    "type": "array",
                                    "items": {
                                      "type": "string",
                                      "minLength": 1
                                    },
                                    "minItems": 1,
                                    "description": "Match any of these values."
                                  },
                                  "case_sensitive": {
                                    "type": "boolean"
                                  }
                                },
                                "required": [
                                  "values"
                                ],
                                "additionalProperties": false
                              },
                              "numeric_filter": {
                                "type": "object",
                                "properties": {
                                  "operation": {
                                    "type": "string",
                                    "enum": [
                                      "EQUAL",
                                      "LESS_THAN",
                                      "LESS_THAN_OR_EQUAL",
                                      "GREATER_THAN",
                                      "GREATER_THAN_OR_EQUAL"
                                    ]
                                  },
                                  "value": {
                                    "type": "number",
                                    "description": "Numeric value to compare against."
                                  }
                                },
                                "required": [
                                  "operation",
                                  "value"
                                ],
                                "additionalProperties": false
                              },
                              "between_filter": {
                                "type": "object",
                                "properties": {
                                  "from_value": {
                                    "type": "number"
                                  },
                                  "to_value": {
                                    "type": "number"
                                  }
                                },
                                "required": [
                                  "from_value",
                                  "to_value"
                                ],
                                "additionalProperties": false
                              }
                            },
                            "required": [
                              "field_name"
                            ],
                            "additionalProperties": false
                          }
                        },
                        "required": [
                          "filter"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "additionalProperties": false,
                    "description": "Negate a single condition."
                  }
                },
                "additionalProperties": false,
                "description": "Filter on dimension values. One of and_group / or_group / filter / not_expression."
              },
              "metric_filter": {
                "type": "object",
                "properties": {
                  "and_group": {
                    "type": "object",
                    "properties": {
                      "expressions": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "filter": {
                              "type": "object",
                              "properties": {
                                "field_name": {
                                  "type": "string",
                                  "minLength": 1,
                                  "description": "Dimension or metric API name, verbatim (e.g. hostName, pagePath, sessions)."
                                },
                                "string_filter": {
                                  "type": "object",
                                  "properties": {
                                    "value": {
                                      "type": "string",
                                      "minLength": 1,
                                      "description": "Value to match."
                                    },
                                    "match_type": {
                                      "type": "string",
                                      "enum": [
                                        "EXACT",
                                        "BEGINS_WITH",
                                        "ENDS_WITH",
                                        "CONTAINS",
                                        "FULL_REGEXP",
                                        "PARTIAL_REGEXP"
                                      ],
                                      "description": "Match type (default EXACT)."
                                    },
                                    "case_sensitive": {
                                      "type": "boolean",
                                      "description": "Case-sensitive matching (GA4 default is false)."
                                    }
                                  },
                                  "required": [
                                    "value"
                                  ],
                                  "additionalProperties": false
                                },
                                "in_list_filter": {
                                  "type": "object",
                                  "properties": {
                                    "values": {
                                      "type": "array",
                                      "items": {
                                        "type": "string",
                                        "minLength": 1
                                      },
                                      "minItems": 1,
                                      "description": "Match any of these values."
                                    },
                                    "case_sensitive": {
                                      "type": "boolean"
                                    }
                                  },
                                  "required": [
                                    "values"
                                  ],
                                  "additionalProperties": false
                                },
                                "numeric_filter": {
                                  "type": "object",
                                  "properties": {
                                    "operation": {
                                      "type": "string",
                                      "enum": [
                                        "EQUAL",
                                        "LESS_THAN",
                                        "LESS_THAN_OR_EQUAL",
                                        "GREATER_THAN",
                                        "GREATER_THAN_OR_EQUAL"
                                      ]
                                    },
                                    "value": {
                                      "type": "number",
                                      "description": "Numeric value to compare against."
                                    }
                                  },
                                  "required": [
                                    "operation",
                                    "value"
                                  ],
                                  "additionalProperties": false
                                },
                                "between_filter": {
                                  "type": "object",
                                  "properties": {
                                    "from_value": {
                                      "type": "number"
                                    },
                                    "to_value": {
                                      "type": "number"
                                    }
                                  },
                                  "required": [
                                    "from_value",
                                    "to_value"
                                  ],
                                  "additionalProperties": false
                                }
                              },
                              "required": [
                                "field_name"
                              ],
                              "additionalProperties": false
                            },
                            "not_expression": {
                              "type": "object",
                              "properties": {
                                "filter": {
                                  "type": "object",
                                  "properties": {
                                    "field_name": {
                                      "type": "string",
                                      "minLength": 1,
                                      "description": "Dimension or metric API name, verbatim (e.g. hostName, pagePath, sessions)."
                                    },
                                    "string_filter": {
                                      "type": "object",
                                      "properties": {
                                        "value": {
                                          "type": "string",
                                          "minLength": 1,
                                          "description": "Value to match."
                                        },
                                        "match_type": {
                                          "type": "string",
                                          "enum": [
                                            "EXACT",
                                            "BEGINS_WITH",
                                            "ENDS_WITH",
                                            "CONTAINS",
                                            "FULL_REGEXP",
                                            "PARTIAL_REGEXP"
                                          ],
                                          "description": "Match type (default EXACT)."
                                        },
                                        "case_sensitive": {
                                          "type": "boolean",
                                          "description": "Case-sensitive matching (GA4 default is false)."
                                        }
                                      },
                                      "required": [
                                        "value"
                                      ],
                                      "additionalProperties": false
                                    },
                                    "in_list_filter": {
                                      "type": "object",
                                      "properties": {
                                        "values": {
                                          "type": "array",
                                          "items": {
                                            "type": "string",
                                            "minLength": 1
                                          },
                                          "minItems": 1,
                                          "description": "Match any of these values."
                                        },
                                        "case_sensitive": {
                                          "type": "boolean"
                                        }
                                      },
                                      "required": [
                                        "values"
                                      ],
                                      "additionalProperties": false
                                    },
                                    "numeric_filter": {
                                      "type": "object",
                                      "properties": {
                                        "operation": {
                                          "type": "string",
                                          "enum": [
                                            "EQUAL",
                                            "LESS_THAN",
                                            "LESS_THAN_OR_EQUAL",
                                            "GREATER_THAN",
                                            "GREATER_THAN_OR_EQUAL"
                                          ]
                                        },
                                        "value": {
                                          "type": "number",
                                          "description": "Numeric value to compare against."
                                        }
                                      },
                                      "required": [
                                        "operation",
                                        "value"
                                      ],
                                      "additionalProperties": false
                                    },
                                    "between_filter": {
                                      "type": "object",
                                      "properties": {
                                        "from_value": {
                                          "type": "number"
                                        },
                                        "to_value": {
                                          "type": "number"
                                        }
                                      },
                                      "required": [
                                        "from_value",
                                        "to_value"
                                      ],
                                      "additionalProperties": false
                                    }
                                  },
                                  "required": [
                                    "field_name"
                                  ],
                                  "additionalProperties": false
                                }
                              },
                              "required": [
                                "filter"
                              ],
                              "additionalProperties": false
                            }
                          },
                          "additionalProperties": false
                        },
                        "minItems": 1,
                        "maxItems": 10
                      }
                    },
                    "required": [
                      "expressions"
                    ],
                    "additionalProperties": false,
                    "description": "All of these conditions must hold."
                  },
                  "or_group": {
                    "type": "object",
                    "properties": {
                      "expressions": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "filter": {
                              "type": "object",
                              "properties": {
                                "field_name": {
                                  "type": "string",
                                  "minLength": 1,
                                  "description": "Dimension or metric API name, verbatim (e.g. hostName, pagePath, sessions)."
                                },
                                "string_filter": {
                                  "type": "object",
                                  "properties": {
                                    "value": {
                                      "type": "string",
                                      "minLength": 1,
                                      "description": "Value to match."
                                    },
                                    "match_type": {
                                      "type": "string",
                                      "enum": [
                                        "EXACT",
                                        "BEGINS_WITH",
                                        "ENDS_WITH",
                                        "CONTAINS",
                                        "FULL_REGEXP",
                                        "PARTIAL_REGEXP"
                                      ],
                                      "description": "Match type (default EXACT)."
                                    },
                                    "case_sensitive": {
                                      "type": "boolean",
                                      "description": "Case-sensitive matching (GA4 default is false)."
                                    }
                                  },
                                  "required": [
                                    "value"
                                  ],
                                  "additionalProperties": false
                                },
                                "in_list_filter": {
                                  "type": "object",
                                  "properties": {
                                    "values": {
                                      "type": "array",
                                      "items": {
                                        "type": "string",
                                        "minLength": 1
                                      },
                                      "minItems": 1,
                                      "description": "Match any of these values."
                                    },
                                    "case_sensitive": {
                                      "type": "boolean"
                                    }
                                  },
                                  "required": [
                                    "values"
                                  ],
                                  "additionalProperties": false
                                },
                                "numeric_filter": {
                                  "type": "object",
                                  "properties": {
                                    "operation": {
                                      "type": "string",
                                      "enum": [
                                        "EQUAL",
                                        "LESS_THAN",
                                        "LESS_THAN_OR_EQUAL",
                                        "GREATER_THAN",
                                        "GREATER_THAN_OR_EQUAL"
                                      ]
                                    },
                                    "value": {
                                      "type": "number",
                                      "description": "Numeric value to compare against."
                                    }
                                  },
                                  "required": [
                                    "operation",
                                    "value"
                                  ],
                                  "additionalProperties": false
                                },
                                "between_filter": {
                                  "type": "object",
                                  "properties": {
                                    "from_value": {
                                      "type": "number"
                                    },
                                    "to_value": {
                                      "type": "number"
                                    }
                                  },
                                  "required": [
                                    "from_value",
                                    "to_value"
                                  ],
                                  "additionalProperties": false
                                }
                              },
                              "required": [
                                "field_name"
                              ],
                              "additionalProperties": false
                            },
                            "not_expression": {
                              "type": "object",
                              "properties": {
                                "filter": {
                                  "type": "object",
                                  "properties": {
                                    "field_name": {
                                      "type": "string",
                                      "minLength": 1,
                                      "description": "Dimension or metric API name, verbatim (e.g. hostName, pagePath, sessions)."
                                    },
                                    "string_filter": {
                                      "type": "object",
                                      "properties": {
                                        "value": {
                                          "type": "string",
                                          "minLength": 1,
                                          "description": "Value to match."
                                        },
                                        "match_type": {
                                          "type": "string",
                                          "enum": [
                                            "EXACT",
                                            "BEGINS_WITH",
                                            "ENDS_WITH",
                                            "CONTAINS",
                                            "FULL_REGEXP",
                                            "PARTIAL_REGEXP"
                                          ],
                                          "description": "Match type (default EXACT)."
                                        },
                                        "case_sensitive": {
                                          "type": "boolean",
                                          "description": "Case-sensitive matching (GA4 default is false)."
                                        }
                                      },
                                      "required": [
                                        "value"
                                      ],
                                      "additionalProperties": false
                                    },
                                    "in_list_filter": {
                                      "type": "object",
                                      "properties": {
                                        "values": {
                                          "type": "array",
                                          "items": {
                                            "type": "string",
                                            "minLength": 1
                                          },
                                          "minItems": 1,
                                          "description": "Match any of these values."
                                        },
                                        "case_sensitive": {
                                          "type": "boolean"
                                        }
                                      },
                                      "required": [
                                        "values"
                                      ],
                                      "additionalProperties": false
                                    },
                                    "numeric_filter": {
                                      "type": "object",
                                      "properties": {
                                        "operation": {
                                          "type": "string",
                                          "enum": [
                                            "EQUAL",
                                            "LESS_THAN",
                                            "LESS_THAN_OR_EQUAL",
                                            "GREATER_THAN",
                                            "GREATER_THAN_OR_EQUAL"
                                          ]
                                        },
                                        "value": {
                                          "type": "number",
                                          "description": "Numeric value to compare against."
                                        }
                                      },
                                      "required": [
                                        "operation",
                                        "value"
                                      ],
                                      "additionalProperties": false
                                    },
                                    "between_filter": {
                                      "type": "object",
                                      "properties": {
                                        "from_value": {
                                          "type": "number"
                                        },
                                        "to_value": {
                                          "type": "number"
                                        }
                                      },
                                      "required": [
                                        "from_value",
                                        "to_value"
                                      ],
                                      "additionalProperties": false
                                    }
                                  },
                                  "required": [
                                    "field_name"
                                  ],
                                  "additionalProperties": false
                                }
                              },
                              "required": [
                                "filter"
                              ],
                              "additionalProperties": false
                            }
                          },
                          "additionalProperties": false
                        },
                        "minItems": 1,
                        "maxItems": 10
                      }
                    },
                    "required": [
                      "expressions"
                    ],
                    "additionalProperties": false,
                    "description": "Any of these conditions must hold."
                  },
                  "filter": {
                    "type": "object",
                    "properties": {
                      "field_name": {
                        "type": "string",
                        "minLength": 1,
                        "description": "Dimension or metric API name, verbatim (e.g. hostName, pagePath, sessions)."
                      },
                      "string_filter": {
                        "type": "object",
                        "properties": {
                          "value": {
                            "type": "string",
                            "minLength": 1,
                            "description": "Value to match."
                          },
                          "match_type": {
                            "type": "string",
                            "enum": [
                              "EXACT",
                              "BEGINS_WITH",
                              "ENDS_WITH",
                              "CONTAINS",
                              "FULL_REGEXP",
                              "PARTIAL_REGEXP"
                            ],
                            "description": "Match type (default EXACT)."
                          },
                          "case_sensitive": {
                            "type": "boolean",
                            "description": "Case-sensitive matching (GA4 default is false)."
                          }
                        },
                        "required": [
                          "value"
                        ],
                        "additionalProperties": false
                      },
                      "in_list_filter": {
                        "type": "object",
                        "properties": {
                          "values": {
                            "type": "array",
                            "items": {
                              "type": "string",
                              "minLength": 1
                            },
                            "minItems": 1,
                            "description": "Match any of these values."
                          },
                          "case_sensitive": {
                            "type": "boolean"
                          }
                        },
                        "required": [
                          "values"
                        ],
                        "additionalProperties": false
                      },
                      "numeric_filter": {
                        "type": "object",
                        "properties": {
                          "operation": {
                            "type": "string",
                            "enum": [
                              "EQUAL",
                              "LESS_THAN",
                              "LESS_THAN_OR_EQUAL",
                              "GREATER_THAN",
                              "GREATER_THAN_OR_EQUAL"
                            ]
                          },
                          "value": {
                            "type": "number",
                            "description": "Numeric value to compare against."
                          }
                        },
                        "required": [
                          "operation",
                          "value"
                        ],
                        "additionalProperties": false
                      },
                      "between_filter": {
                        "type": "object",
                        "properties": {
                          "from_value": {
                            "type": "number"
                          },
                          "to_value": {
                            "type": "number"
                          }
                        },
                        "required": [
                          "from_value",
                          "to_value"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "required": [
                      "field_name"
                    ],
                    "additionalProperties": false,
                    "description": "A single condition."
                  },
                  "not_expression": {
                    "type": "object",
                    "properties": {
                      "filter": {
                        "type": "object",
                        "properties": {
                          "field_name": {
                            "type": "string",
                            "minLength": 1,
                            "description": "Dimension or metric API name, verbatim (e.g. hostName, pagePath, sessions)."
                          },
                          "string_filter": {
                            "type": "object",
                            "properties": {
                              "value": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Value to match."
                              },
                              "match_type": {
                                "type": "string",
                                "enum": [
                                  "EXACT",
                                  "BEGINS_WITH",
                                  "ENDS_WITH",
                                  "CONTAINS",
                                  "FULL_REGEXP",
                                  "PARTIAL_REGEXP"
                                ],
                                "description": "Match type (default EXACT)."
                              },
                              "case_sensitive": {
                                "type": "boolean",
                                "description": "Case-sensitive matching (GA4 default is false)."
                              }
                            },
                            "required": [
                              "value"
                            ],
                            "additionalProperties": false
                          },
                          "in_list_filter": {
                            "type": "object",
                            "properties": {
                              "values": {
                                "type": "array",
                                "items": {
                                  "type": "string",
                                  "minLength": 1
                                },
                                "minItems": 1,
                                "description": "Match any of these values."
                              },
                              "case_sensitive": {
                                "type": "boolean"
                              }
                            },
                            "required": [
                              "values"
                            ],
                            "additionalProperties": false
                          },
                          "numeric_filter": {
                            "type": "object",
                            "properties": {
                              "operation": {
                                "type": "string",
                                "enum": [
                                  "EQUAL",
                                  "LESS_THAN",
                                  "LESS_THAN_OR_EQUAL",
                                  "GREATER_THAN",
                                  "GREATER_THAN_OR_EQUAL"
                                ]
                              },
                              "value": {
                                "type": "number",
                                "description": "Numeric value to compare against."
                              }
                            },
                            "required": [
                              "operation",
                              "value"
                            ],
                            "additionalProperties": false
                          },
                          "between_filter": {
                            "type": "object",
                            "properties": {
                              "from_value": {
                                "type": "number"
                              },
                              "to_value": {
                                "type": "number"
                              }
                            },
                            "required": [
                              "from_value",
                              "to_value"
                            ],
                            "additionalProperties": false
                          }
                        },
                        "required": [
                          "field_name"
                        ],
                        "additionalProperties": false
                      },
                      "not_expression": {
                        "type": "object",
                        "properties": {
                          "filter": {
                            "type": "object",
                            "properties": {
                              "field_name": {
                                "type": "string",
                                "minLength": 1,
                                "description": "Dimension or metric API name, verbatim (e.g. hostName, pagePath, sessions)."
                              },
                              "string_filter": {
                                "type": "object",
                                "properties": {
                                  "value": {
                                    "type": "string",
                                    "minLength": 1,
                                    "description": "Value to match."
                                  },
                                  "match_type": {
                                    "type": "string",
                                    "enum": [
                                      "EXACT",
                                      "BEGINS_WITH",
                                      "ENDS_WITH",
                                      "CONTAINS",
                                      "FULL_REGEXP",
                                      "PARTIAL_REGEXP"
                                    ],
                                    "description": "Match type (default EXACT)."
                                  },
                                  "case_sensitive": {
                                    "type": "boolean",
                                    "description": "Case-sensitive matching (GA4 default is false)."
                                  }
                                },
                                "required": [
                                  "value"
                                ],
                                "additionalProperties": false
                              },
                              "in_list_filter": {
                                "type": "object",
                                "properties": {
                                  "values": {
                                    "type": "array",
                                    "items": {
                                      "type": "string",
                                      "minLength": 1
                                    },
                                    "minItems": 1,
                                    "description": "Match any of these values."
                                  },
                                  "case_sensitive": {
                                    "type": "boolean"
                                  }
                                },
                                "required": [
                                  "values"
                                ],
                                "additionalProperties": false
                              },
                              "numeric_filter": {
                                "type": "object",
                                "properties": {
                                  "operation": {
                                    "type": "string",
                                    "enum": [
                                      "EQUAL",
                                      "LESS_THAN",
                                      "LESS_THAN_OR_EQUAL",
                                      "GREATER_THAN",
                                      "GREATER_THAN_OR_EQUAL"
                                    ]
                                  },
                                  "value": {
                                    "type": "number",
                                    "description": "Numeric value to compare against."
                                  }
                                },
                                "required": [
                                  "operation",
                                  "value"
                                ],
                                "additionalProperties": false
                              },
                              "between_filter": {
                                "type": "object",
                                "properties": {
                                  "from_value": {
                                    "type": "number"
                                  },
                                  "to_value": {
                                    "type": "number"
                                  }
                                },
                                "required": [
                                  "from_value",
                                  "to_value"
                                ],
                                "additionalProperties": false
                              }
                            },
                            "required": [
                              "field_name"
                            ],
                            "additionalProperties": false
                          }
                        },
                        "required": [
                          "filter"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "additionalProperties": false,
                    "description": "Negate a single condition."
                  }
                },
                "additionalProperties": false,
                "description": "Filter on metric values (applied after aggregation). Same shape as dimension_filter; use numeric_filter or between_filter."
              },
              "cohort_spec": {
                "type": "object",
                "properties": {
                  "cohorts": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "name": {
                          "type": "string",
                          "minLength": 1,
                          "description": "Cohort label, returned as the `cohort` dimension value."
                        },
                        "dimension": {
                          "type": "string",
                          "const": "firstSessionDate",
                          "default": "firstSessionDate",
                          "description": "Only firstSessionDate is supported by GA4."
                        },
                        "date_range": {
                          "type": "object",
                          "properties": {
                            "start_date": {
                              "type": "string",
                              "minLength": 1
                            },
                            "end_date": {
                              "type": "string",
                              "minLength": 1
                            }
                          },
                          "required": [
                            "start_date",
                            "end_date"
                          ],
                          "additionalProperties": false,
                          "description": "The acquisition window that defines this cohort."
                        }
                      },
                      "required": [
                        "date_range"
                      ],
                      "additionalProperties": false
                    },
                    "minItems": 1,
                    "maxItems": 4
                  },
                  "cohorts_range": {
                    "type": "object",
                    "properties": {
                      "granularity": {
                        "type": "string",
                        "enum": [
                          "DAILY",
                          "WEEKLY",
                          "MONTHLY"
                        ]
                      },
                      "start_offset": {
                        "type": "integer",
                        "description": "First period to report, relative to the cohort (default 0)."
                      },
                      "end_offset": {
                        "type": "integer",
                        "description": "Last period to report, relative to the cohort."
                      }
                    },
                    "required": [
                      "granularity",
                      "end_offset"
                    ],
                    "additionalProperties": false,
                    "description": "How far forward to follow each cohort."
                  }
                },
                "required": [
                  "cohorts",
                  "cohorts_range"
                ],
                "additionalProperties": false,
                "description": "Acquisition-cohort report. Requires the \"cohort\" dimension; pair with cohortActiveUsers or cohortTotalUsers, and cohortNthDay/Week/Month to see periods."
              },
              "order_by": {
                "type": "object",
                "properties": {
                  "type": {
                    "type": "string",
                    "enum": [
                      "metric",
                      "dimension"
                    ]
                  },
                  "name": {
                    "type": "string",
                    "minLength": 1,
                    "description": "Metric or dimension API name to order by."
                  },
                  "desc": {
                    "type": "boolean",
                    "description": "Descending (default true for metrics, false for dimensions)."
                  }
                },
                "required": [
                  "type",
                  "name"
                ],
                "additionalProperties": false
              },
              "limit": {
                "type": "integer",
                "minimum": 1,
                "maximum": 10000,
                "description": "Max rows (default 100). Range: 1-10000."
              },
              "cursor": {
                "type": "string",
                "description": "Opaque pagination cursor from a previous response's pagination.nextCursor. Do not construct by hand."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              }
            },
            "required": [
              "property_id",
              "metrics",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "property_id",
              "type": "string",
              "required": true,
              "description": "GA4 property ID (numeric) or full resource name.",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "dimensions",
              "type": "array",
              "required": false,
              "description": "GA4 dimension API names, e.g. sessionDefaultChannelGroup, landingPagePlusQueryString, date. Use ga4_get_metadata for valid names. Cohort reports must include \"cohort\"."
            },
            {
              "name": "metrics",
              "type": "array",
              "required": true,
              "description": "GA4 metric API names, e.g. sessions, totalUsers, keyEvents, purchaseRevenue."
            },
            {
              "name": "date_ranges",
              "type": "array",
              "required": false,
              "description": "One to 4 date ranges. Omit only for cohort reports, where cohort_spec defines the window."
            },
            {
              "name": "dimension_filter",
              "type": "object",
              "required": false,
              "description": "Filter on dimension values. One of and_group / or_group / filter / not_expression."
            },
            {
              "name": "metric_filter",
              "type": "object",
              "required": false,
              "description": "Filter on metric values (applied after aggregation). Same shape as dimension_filter; use numeric_filter or between_filter."
            },
            {
              "name": "cohort_spec",
              "type": "object",
              "required": false,
              "description": "Acquisition-cohort report. Requires the \"cohort\" dimension; pair with cohortActiveUsers or cohortTotalUsers, and cohortNthDay/Week/Month to see periods."
            },
            {
              "name": "order_by",
              "type": "object",
              "required": false,
              "description": ""
            },
            {
              "name": "limit",
              "type": "integer",
              "required": false,
              "description": "Max rows (default 100). Range: 1-10000.",
              "constraints": {
                "min": 1,
                "max": 10000
              }
            },
            {
              "name": "cursor",
              "type": "string",
              "required": false,
              "description": "Opaque pagination cursor from a previous response's pagination.nextCursor. Do not construct by hand."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            }
          ],
          "examples": [
            {
              "label": "Sessions by channel (30 days)",
              "mcp_params": {
                "property_id": "123456789",
                "dimensions": [
                  "sessionDefaultChannelGroup"
                ],
                "metrics": [
                  "sessions",
                  "totalUsers",
                  "keyEvents"
                ],
                "date_ranges": [
                  {
                    "start_date": "30daysAgo",
                    "end_date": "yesterday"
                  }
                ],
                "reason": "Channel mix overview for the last 30 days"
              },
              "cli_command": "hopkin ga4 report --property-id 123456789 --dimensions sessionDefaultChannelGroup --metrics sessions,totalUsers,keyEvents --date-ranges [object Object]",
              "natural_language": "Sessions by channel (30 days)"
            },
            {
              "label": "Landing page revenue, filtered",
              "mcp_params": {
                "property_id": "123456789",
                "dimensions": [
                  "landingPagePlusQueryString"
                ],
                "metrics": [
                  "sessions",
                  "purchaseRevenue"
                ],
                "date_ranges": [
                  {
                    "start_date": "2024-01-01",
                    "end_date": "2024-01-31"
                  }
                ],
                "dimension_filter": {
                  "filter": {
                    "field_name": "sessionDefaultChannelGroup",
                    "string_filter": {
                      "value": "Paid Search"
                    }
                  }
                },
                "order_by": {
                  "type": "metric",
                  "name": "purchaseRevenue"
                },
                "limit": 25,
                "reason": "Top paid-search landing pages by revenue"
              },
              "cli_command": "hopkin ga4 report --property-id 123456789 --dimensions landingPagePlusQueryString --metrics sessions,purchaseRevenue --date-ranges [object Object] --dimension-filter [object Object] --order-by [object Object] --limit 25",
              "natural_language": "Landing page revenue, filtered"
            },
            {
              "label": "Weekly acquisition cohorts",
              "mcp_params": {
                "property_id": "123456789",
                "dimensions": [
                  "cohort",
                  "cohortNthWeek"
                ],
                "metrics": [
                  "cohortActiveUsers"
                ],
                "cohort_spec": {
                  "cohorts": [
                    {
                      "name": "week_of_jul_6",
                      "date_range": {
                        "start_date": "2026-07-06",
                        "end_date": "2026-07-12"
                      }
                    }
                  ],
                  "cohorts_range": {
                    "granularity": "WEEKLY",
                    "start_offset": 0,
                    "end_offset": 3
                  }
                },
                "reason": "Retention of the users acquired in the week of Jul 6"
              },
              "cli_command": "hopkin ga4 report --property-id 123456789 --dimensions cohort,cohortNthWeek --metrics cohortActiveUsers --cohort-spec [object Object]",
              "natural_language": "Weekly acquisition cohorts"
            }
          ],
          "response_format": "markdown",
          "related_tools": [],
          "tool_type": "standard"
        },
        {
          "name": "ga4_run_realtime_report",
          "title": "Run GA4 Realtime Report",
          "description": "Run a GA4 realtime report (last 30 minutes of events). Primary use: verifying tags and key events fire after a tracking change, without waiting for standard processing lag.\n\nArgs:\n  property_id (string, required): GA4 property ID (numeric) or full resource name.\n  dimensions (string[], optional): Up to 9 realtime dimension API names (e.g. eventName, unifiedScreenName, country, deviceCategory).\n  metrics (string[], required): 1-10 realtime metric API names (e.g. activeUsers, eventCount, keyEvents).\n  limit (number, optional): Max rows, default 50.\n\nReturns:\n  data — the rows, flattened as { dimension: value, metric: value } objects — plus row_count.",
          "cli_command": "hopkin ga4 realtime-report",
          "cli_flags": [
            {
              "flag": "--property-id",
              "description": "GA4 property ID (numeric) or full resource name.",
              "type": "string",
              "required": true
            },
            {
              "flag": "--dimensions",
              "description": "Realtime dimension API names, e.g. eventName, unifiedScreenName, country, deviceCategory.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--metrics",
              "description": "Realtime metric API names, e.g. activeUsers, eventCount, keyEvents.",
              "type": "array",
              "required": true
            },
            {
              "flag": "--limit",
              "description": "Max rows (default 50).",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "realtime-report",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": false,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "property_id": {
                "type": "string",
                "minLength": 1,
                "description": "GA4 property ID (numeric) or full resource name."
              },
              "dimensions": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "maxItems": 9,
                "description": "Realtime dimension API names, e.g. eventName, unifiedScreenName, country, deviceCategory."
              },
              "metrics": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "minItems": 1,
                "maxItems": 10,
                "description": "Realtime metric API names, e.g. activeUsers, eventCount, keyEvents."
              },
              "limit": {
                "type": "integer",
                "minimum": 1,
                "maximum": 10000,
                "description": "Max rows (default 50)."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              }
            },
            "required": [
              "property_id",
              "metrics",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "property_id",
              "type": "string",
              "required": true,
              "description": "GA4 property ID (numeric) or full resource name.",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "dimensions",
              "type": "array",
              "required": false,
              "description": "Realtime dimension API names, e.g. eventName, unifiedScreenName, country, deviceCategory."
            },
            {
              "name": "metrics",
              "type": "array",
              "required": true,
              "description": "Realtime metric API names, e.g. activeUsers, eventCount, keyEvents."
            },
            {
              "name": "limit",
              "type": "integer",
              "required": false,
              "description": "Max rows (default 50).",
              "constraints": {
                "min": 1,
                "max": 10000
              }
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            }
          ],
          "examples": [
            {
              "label": "Verify events firing",
              "mcp_params": {
                "property_id": "123456789",
                "dimensions": [
                  "eventName"
                ],
                "metrics": [
                  "eventCount"
                ],
                "reason": "Confirm tags fire after a tracking change"
              },
              "cli_command": "hopkin ga4 realtime-report --property-id 123456789 --dimensions eventName --metrics eventCount",
              "natural_language": "Verify events firing"
            }
          ],
          "response_format": "markdown",
          "related_tools": [],
          "tool_type": "standard"
        }
      ]
    },
    {
      "id": "chatgpt-ads",
      "name": "ChatGPT Ads",
      "description": "ChatGPT Ads (OpenAI Ads) API for campaign structure and delivery reporting — read-only",
      "tool_count": 18,
      "mcpUrl": "https://chatgpt.mcp.hopkin.ai",
      "tools": [
        {
          "name": "chatgpt_ads_get_ad_account",
          "title": "Get ChatGPT Ads Account",
          "description": "Get details of the ChatGPT Ads account: name, status, currency, timezone, website, and review status.\n\nEach ChatGPT Ads API key is scoped to exactly one ad account, so this returns the account behind the resolved connection. Use chatgpt_ads_list_ad_accounts to see every account you can reach, and pass connection_id to pick one.\n\nWorth calling before reporting: every spend figure is in this account's currency, and every insights date bucket is a day in this account's timezone.",
          "cli_command": "hopkin chatgpt ad-account get",
          "cli_flags": [
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "ad-account",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "Account details",
              "mcp_params": {
                "reason": "Check account currency and timezone before reporting"
              },
              "cli_command": "hopkin chatgpt ad-account get",
              "natural_language": "Account details"
            },
            {
              "label": "Specific connection",
              "mcp_params": {
                "connection_id": "00000000-0000-0000-0000-000000000000",
                "reason": "Inspect a particular connected account"
              },
              "cli_command": "hopkin chatgpt ad-account get --connection-id 00000000-0000-0000-0000-000000000000",
              "natural_language": "Specific connection"
            }
          ],
          "response_format": "markdown",
          "related_tools": [],
          "tool_type": "standard"
        },
        {
          "name": "chatgpt_ads_check_auth_status",
          "title": "Check ChatGPT Ads Auth Status",
          "description": "Check whether a ChatGPT Ads API key is connected and still accepted by the platform.\n\nDo NOT call this proactively — call the tool you actually need. Use this only after another tool fails with a permission or authentication error.",
          "cli_command": "hopkin chatgpt auth check",
          "cli_flags": [
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "auth",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "Verify connection",
              "mcp_params": {
                "reason": "A tool call failed with a permission error"
              },
              "cli_command": "hopkin chatgpt auth check",
              "natural_language": "Verify connection"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "meta_ads_check_auth_status",
              "relationship": "cross-platform"
            },
            {
              "name": "google_ads_check_auth_status",
              "relationship": "cross-platform"
            },
            {
              "name": "linkedin_ads_check_auth_status",
              "relationship": "cross-platform"
            },
            {
              "name": "reddit_ads_check_auth_status",
              "relationship": "cross-platform"
            },
            {
              "name": "tiktok_ads_check_auth_status",
              "relationship": "cross-platform"
            },
            {
              "name": "chatgpt_ads_ping",
              "relationship": "sibling"
            },
            {
              "name": "microsoft_ads_check_auth_status",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "chatgpt_ads_get_billing_status",
          "title": "Billing status",
          "description": "Why a call was refused with a billing error (402) and how to get unblocked. Reports whether this organization is entitled, its subscription status, tier, trial end, credits used and left this period, the price table and a link to the billing page. With checkout_tier, the organization owner also gets a Stripe Checkout link for that plan; a member gets the owner's contact and a message to forward. Call it after any 402. While waiting for a human to pay, poll it every 10 seconds for the first minute, every 30 seconds until 5 minutes, then every 60 seconds until 15 minutes, then stop and tell the human. Once it returns entitled: true, retry the blocked call; if the retry still returns 402, wait 15 seconds and retry once. A Checkout link is a payment link: give it to the organization owner only.",
          "cli_command": "hopkin chatgpt billing-status get",
          "cli_flags": [
            {
              "flag": "--checkout-tier",
              "description": "Organization owner only: also create a Stripe Checkout link for this plan. A member gets the owner's contact and a message to forward instead.",
              "type": "string",
              "required": false
            }
          ],
          "category": "billing-status",
          "annotations": {
            "readOnly": false,
            "destructive": false,
            "idempotent": true,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "checkout_tier": {
                "type": "string",
                "enum": [
                  "starter",
                  "pro",
                  "enterprise"
                ],
                "description": "Organization owner only: also create a Stripe Checkout link for this plan. A member gets the owner's contact and a message to forward instead."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "checkout_tier",
              "type": "string",
              "required": false,
              "description": "Organization owner only: also create a Stripe Checkout link for this plan. A member gets the owner's contact and a message to forward instead.",
              "enum_values": [
                "starter",
                "pro",
                "enterprise"
              ]
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "After a billing error",
              "mcp_params": {
                "reason": "A tool call was refused with a billing error (402)"
              },
              "cli_command": "hopkin chatgpt billing-status get",
              "natural_language": "After a billing error"
            },
            {
              "label": "Owner: Checkout link",
              "mcp_params": {
                "checkout_tier": "pro",
                "reason": "The organization owner wants to pay for Pro now"
              },
              "cli_command": "hopkin chatgpt billing-status get --checkout-tier pro",
              "natural_language": "Owner: Checkout link"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "meta_ads_get_billing_status",
              "relationship": "cross-platform"
            },
            {
              "name": "google_ads_get_billing_status",
              "relationship": "cross-platform"
            },
            {
              "name": "linkedin_ads_get_billing_status",
              "relationship": "cross-platform"
            },
            {
              "name": "reddit_ads_get_billing_status",
              "relationship": "cross-platform"
            },
            {
              "name": "tiktok_ads_get_billing_status",
              "relationship": "cross-platform"
            },
            {
              "name": "microsoft_ads_get_billing_status",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "chatgpt_ads_list_ad_accounts",
          "title": "List ChatGPT Ads Accounts",
          "description": "List the ChatGPT Ads accounts you can reach.\n\nEach ChatGPT Ads API key is scoped to exactly one ad account, and the platform has no account-listing endpoint — so this lists your connected accounts, one per API key you have added. Use the returned connection_id to target a specific account in other tools, and chatgpt_ads_get_ad_account for live details (currency, timezone, review status).",
          "cli_command": "hopkin chatgpt ad-accounts list",
          "cli_flags": [],
          "category": "ad-accounts",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "meta_ads_list_ad_accounts",
              "relationship": "cross-platform"
            },
            {
              "name": "linkedin_ads_list_ad_accounts",
              "relationship": "cross-platform"
            },
            {
              "name": "reddit_ads_list_ad_accounts",
              "relationship": "cross-platform"
            },
            {
              "name": "chatgpt_ads_list_campaigns",
              "relationship": "hierarchy"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "chatgpt_ads_list_connections",
          "title": "List ChatGPT Ads Connections",
          "description": "List the ChatGPT Ads connections available to you — both those you own and those shared with you by your organization. Shows each connection's display name, id, and whether it is your default.",
          "cli_command": "hopkin chatgpt connections list",
          "cli_flags": [],
          "category": "connections",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": false
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "meta_ads_list_connections",
              "relationship": "cross-platform"
            },
            {
              "name": "google_ads_list_connections",
              "relationship": "cross-platform"
            },
            {
              "name": "linkedin_ads_list_connections",
              "relationship": "cross-platform"
            },
            {
              "name": "reddit_ads_list_connections",
              "relationship": "cross-platform"
            },
            {
              "name": "tiktok_ads_list_connections",
              "relationship": "cross-platform"
            },
            {
              "name": "microsoft_ads_list_connections",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "chatgpt_ads_set_default_connection",
          "title": "Set Default ChatGPT Ads Connection",
          "description": "Set which ChatGPT Ads connection other tools use when no connection_id is passed. Call chatgpt_ads_list_connections first to get a valid connection_id — do not guess one.",
          "cli_command": "hopkin chatgpt set-default-connection",
          "cli_flags": [
            {
              "flag": "--connection-id",
              "description": "UUID of the connection to mark as the actor's default ChatGPT Ads connection.",
              "type": "string",
              "required": true
            }
          ],
          "category": "set-default-connection",
          "annotations": {
            "readOnly": false,
            "destructive": false,
            "idempotent": true,
            "openWorld": false
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "UUID of the connection to mark as the actor's default ChatGPT Ads connection."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "connection_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "connection_id",
              "type": "string",
              "required": true,
              "description": "UUID of the connection to mark as the actor's default ChatGPT Ads connection."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "meta_ads_set_default_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "google_ads_set_default_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "linkedin_ads_set_default_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "reddit_ads_set_default_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "tiktok_ads_set_default_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "microsoft_ads_set_default_connection",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "chatgpt_ads_rename_connection",
          "title": "Rename ChatGPT Ads Connection",
          "description": "Change a connection's display name. Owner-only.",
          "cli_command": "hopkin chatgpt rename-connection",
          "cli_flags": [
            {
              "flag": "--connection-id",
              "description": "UUID of the connection to rename. You must be the owner.",
              "type": "string",
              "required": true
            },
            {
              "flag": "--display-name",
              "description": "New human-readable name for the connection.",
              "type": "string",
              "required": true
            }
          ],
          "category": "rename-connection",
          "annotations": {
            "readOnly": false,
            "destructive": false,
            "idempotent": true,
            "openWorld": false
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "UUID of the connection to rename. You must be the owner."
              },
              "display_name": {
                "type": "string",
                "minLength": 1,
                "maxLength": 120,
                "description": "New human-readable name for the connection."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "connection_id",
              "display_name",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "connection_id",
              "type": "string",
              "required": true,
              "description": "UUID of the connection to rename. You must be the owner."
            },
            {
              "name": "display_name",
              "type": "string",
              "required": true,
              "description": "New human-readable name for the connection.",
              "constraints": {
                "min_length": 1,
                "max_length": 120
              }
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "meta_ads_rename_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "google_ads_rename_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "linkedin_ads_rename_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "reddit_ads_rename_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "tiktok_ads_rename_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "microsoft_ads_rename_connection",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "chatgpt_ads_share_connection",
          "title": "Share ChatGPT Ads Connection",
          "description": "Share an owned connection with your organization so teammates can report on that ad account. Owner-only. Note the ChatGPT Ads API has no reduced-scope keys, so sharing grants full read access to the whole ad account.",
          "cli_command": "hopkin chatgpt share-connection",
          "cli_flags": [
            {
              "flag": "--connection-id",
              "description": "UUID of the connection to share with your organization. You must be the owner.",
              "type": "string",
              "required": true
            }
          ],
          "category": "share-connection",
          "annotations": {
            "readOnly": false,
            "destructive": false,
            "idempotent": true,
            "openWorld": false
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "UUID of the connection to share with your organization. You must be the owner."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "connection_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "connection_id",
              "type": "string",
              "required": true,
              "description": "UUID of the connection to share with your organization. You must be the owner."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "meta_ads_share_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "google_ads_share_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "linkedin_ads_share_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "reddit_ads_share_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "tiktok_ads_share_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "microsoft_ads_share_connection",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "chatgpt_ads_unshare_connection",
          "title": "Unshare ChatGPT Ads Connection",
          "description": "Stop sharing an owned connection with your organization. Owner-only.",
          "cli_command": "hopkin chatgpt unshare-connection",
          "cli_flags": [
            {
              "flag": "--connection-id",
              "description": "UUID of the connection to stop sharing with your organization. You must be the owner.",
              "type": "string",
              "required": true
            }
          ],
          "category": "unshare-connection",
          "annotations": {
            "readOnly": false,
            "destructive": true,
            "idempotent": true,
            "openWorld": false
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "UUID of the connection to stop sharing with your organization. You must be the owner."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "connection_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "connection_id",
              "type": "string",
              "required": true,
              "description": "UUID of the connection to stop sharing with your organization. You must be the owner."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "meta_ads_unshare_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "google_ads_unshare_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "linkedin_ads_unshare_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "reddit_ads_unshare_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "tiktok_ads_unshare_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "microsoft_ads_unshare_connection",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "chatgpt_ads_revoke_connection",
          "title": "Revoke ChatGPT Ads Connection",
          "description": "Remove a stored ChatGPT Ads connection. Owner-only.\n\nThis deletes Hopkin's stored copy of the API key only. The key stays valid on the ChatGPT Ads platform — the API has no revocation endpoint — so tell the user to delete it in ChatGPT Ads Manager → Settings if they want it to stop working everywhere.",
          "cli_command": "hopkin chatgpt revoke-connection",
          "cli_flags": [
            {
              "flag": "--connection-id",
              "description": "UUID of the connection to revoke. You must be the owner.",
              "type": "string",
              "required": true
            }
          ],
          "category": "revoke-connection",
          "annotations": {
            "readOnly": false,
            "destructive": true,
            "idempotent": true,
            "openWorld": false
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "UUID of the connection to revoke. You must be the owner."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "connection_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "connection_id",
              "type": "string",
              "required": true,
              "description": "UUID of the connection to revoke. You must be the owner."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "meta_ads_revoke_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "google_ads_revoke_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "linkedin_ads_revoke_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "reddit_ads_revoke_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "tiktok_ads_revoke_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "microsoft_ads_revoke_connection",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "chatgpt_ads_developer_feedback",
          "title": "Submit Developer Feedback",
          "description": "Submit feedback about missing tools, improvements, bugs, or workflow gaps in the ChatGPT Ads MCP toolset. Not for user-facing issues (auth errors, API errors).\n\nArgs:\n  feedback_type: new_tool, improvement, bug, workflow_gap\n  title: Short description (5-200 chars)\n  description: What is needed and why (20-2000 chars)\n  current_workaround (optional): How you're working around the gap\n  priority (optional): low, medium (default), high\n\nReturns: confirmation that feedback was recorded.",
          "cli_command": "hopkin chatgpt developer-feedback send",
          "cli_flags": [
            {
              "flag": "--feedback-type",
              "description": "Feedback category: new_tool (request new capability), improvement (enhance existing tool), bug (report issue), workflow_gap (missing workflow)",
              "type": "string",
              "required": true
            },
            {
              "flag": "--title",
              "description": "Concise title summarizing the feedback",
              "type": "string",
              "required": true
            },
            {
              "flag": "--description",
              "description": "What is needed and why",
              "type": "string",
              "required": true
            },
            {
              "flag": "--current-workaround",
              "description": "Current workaround, if any",
              "type": "string",
              "required": false
            },
            {
              "flag": "--priority",
              "description": "Impact level: low (nice-to-have), medium (improves workflow), high (blocking issue)",
              "type": "string",
              "required": false
            },
            {
              "flag": "--interface",
              "description": "Interface the feedback originated from: MCP (default) or CLI",
              "type": "string",
              "required": false
            }
          ],
          "category": "feedback",
          "annotations": {
            "readOnly": false,
            "destructive": false,
            "idempotent": true,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "feedback_type": {
                "type": "string",
                "enum": [
                  "new_tool",
                  "improvement",
                  "bug",
                  "workflow_gap"
                ],
                "description": "Feedback category: new_tool (request new capability), improvement (enhance existing tool), bug (report issue), workflow_gap (missing workflow)"
              },
              "title": {
                "type": "string",
                "minLength": 5,
                "maxLength": 200,
                "description": "Concise title summarizing the feedback"
              },
              "description": {
                "type": "string",
                "minLength": 20,
                "maxLength": 2000,
                "description": "What is needed and why"
              },
              "current_workaround": {
                "type": "string",
                "maxLength": 1000,
                "description": "Current workaround, if any"
              },
              "priority": {
                "type": "string",
                "enum": [
                  "low",
                  "medium",
                  "high"
                ],
                "default": "medium",
                "description": "Impact level: low (nice-to-have), medium (improves workflow), high (blocking issue)"
              },
              "interface": {
                "type": "string",
                "enum": [
                  "MCP",
                  "CLI"
                ],
                "default": "MCP",
                "description": "Interface the feedback originated from: MCP (default) or CLI"
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "feedback_type",
              "title",
              "description",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "feedback_type",
              "type": "string",
              "required": true,
              "description": "Feedback category: new_tool (request new capability), improvement (enhance existing tool), bug (report issue), workflow_gap (missing workflow)",
              "enum_values": [
                "new_tool",
                "improvement",
                "bug",
                "workflow_gap"
              ]
            },
            {
              "name": "title",
              "type": "string",
              "required": true,
              "description": "Concise title summarizing the feedback",
              "constraints": {
                "min_length": 5,
                "max_length": 200
              }
            },
            {
              "name": "description",
              "type": "string",
              "required": true,
              "description": "What is needed and why",
              "constraints": {
                "min_length": 20,
                "max_length": 2000
              }
            },
            {
              "name": "current_workaround",
              "type": "string",
              "required": false,
              "description": "Current workaround, if any",
              "constraints": {
                "max_length": 1000
              }
            },
            {
              "name": "priority",
              "type": "string",
              "required": false,
              "description": "Impact level: low (nice-to-have), medium (improves workflow), high (blocking issue)",
              "enum_values": [
                "low",
                "medium",
                "high"
              ],
              "default": "medium"
            },
            {
              "name": "interface",
              "type": "string",
              "required": false,
              "description": "Interface the feedback originated from: MCP (default) or CLI",
              "enum_values": [
                "MCP",
                "CLI"
              ],
              "default": "MCP"
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "Missing tool",
              "mcp_params": {
                "feedback_type": "new_tool",
                "title": "Custom audience listing",
                "description": "Need a tool to list ChatGPT Ads custom audiences and their match rates",
                "priority": "medium",
                "reason": "User asked to audit audience targeting"
              },
              "cli_command": "hopkin chatgpt developer-feedback send --feedback-type new_tool --title Custom audience listing --description Need a tool to list ChatGPT Ads custom audiences and their match rates --priority medium",
              "natural_language": "Missing tool"
            },
            {
              "label": "Workflow gap",
              "mcp_params": {
                "feedback_type": "workflow_gap",
                "title": "Account-wide ad listing",
                "description": "Listing every ad in an account requires walking campaigns then ad groups then ads",
                "current_workaround": "Traverse the hierarchy tool by tool",
                "reason": "User asked for all ads at once"
              },
              "cli_command": "hopkin chatgpt developer-feedback send --feedback-type workflow_gap --title Account-wide ad listing --description Listing every ad in an account requires walking campaigns then ad groups then ads --current-workaround Traverse the hierarchy tool by tool",
              "natural_language": "Workflow gap"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "meta_ads_developer_feedback",
              "relationship": "cross-platform"
            },
            {
              "name": "google_ads_developer_feedback",
              "relationship": "cross-platform"
            },
            {
              "name": "linkedin_ads_developer_feedback",
              "relationship": "cross-platform"
            },
            {
              "name": "reddit_ads_developer_feedback",
              "relationship": "cross-platform"
            },
            {
              "name": "tiktok_ads_developer_feedback",
              "relationship": "cross-platform"
            },
            {
              "name": "microsoft_ads_developer_feedback",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "chatgpt_ads_list_campaigns",
          "title": "List ChatGPT Ads Campaigns",
          "description": "List campaigns in the ChatGPT Ads account, with optional status and name filtering.\n\nBudget and bid amounts are integer micros (1,000,000 micros = 1 unit of the account currency — see chatgpt_ads_get_ad_account).\n\nPass campaign_ids to resolve specific campaigns by ID instead of listing.\n\nCache-first: pass refresh: true to force a live fetch.",
          "cli_command": "hopkin chatgpt campaigns list",
          "cli_flags": [
            {
              "flag": "--limit",
              "description": "Maximum number of results to return (1–100). Default: 20.",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--cursor",
              "description": "Opaque pagination cursor from a previous response.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--refresh",
              "description": "Force a fresh fetch bypassing the cache.",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--campaign-ids",
              "description": "Fetch specific campaigns by ID instead of listing, e.g. [\"cmpn_abc123\"]. Other filters are ignored when set.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--status",
              "description": "Filter by status: active, paused or archived. Case-insensitive. Applied client-side — the API has no status filter.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--search",
              "description": "Filter by name (case-insensitive substring match).",
              "type": "string",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "campaigns",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "limit": {
                "type": "integer",
                "minimum": 1,
                "maximum": 100,
                "default": 20,
                "description": "Maximum number of results to return (1–100). Default: 20."
              },
              "cursor": {
                "type": "string",
                "description": "Opaque pagination cursor from a previous response."
              },
              "refresh": {
                "type": "boolean",
                "default": false,
                "description": "Force a fresh fetch bypassing the cache."
              },
              "campaign_ids": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 64,
                  "pattern": "^[A-Za-z0-9_-]+$"
                },
                "minItems": 1,
                "maxItems": 50,
                "description": "Fetch specific campaigns by ID instead of listing, e.g. [\"cmpn_abc123\"]. Other filters are ignored when set."
              },
              "status": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 64
                },
                "minItems": 1,
                "maxItems": 20,
                "description": "Filter by status: active, paused or archived. Case-insensitive. Applied client-side — the API has no status filter."
              },
              "search": {
                "type": "string",
                "minLength": 1,
                "maxLength": 200,
                "description": "Filter by name (case-insensitive substring match)."
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "limit",
              "type": "integer",
              "required": false,
              "description": "Maximum number of results to return (1–100). Default: 20.",
              "default": 20,
              "constraints": {
                "min": 1,
                "max": 100
              }
            },
            {
              "name": "cursor",
              "type": "string",
              "required": false,
              "description": "Opaque pagination cursor from a previous response."
            },
            {
              "name": "refresh",
              "type": "boolean",
              "required": false,
              "description": "Force a fresh fetch bypassing the cache.",
              "default": false
            },
            {
              "name": "campaign_ids",
              "type": "array",
              "required": false,
              "description": "Fetch specific campaigns by ID instead of listing, e.g. [\"cmpn_abc123\"]. Other filters are ignored when set."
            },
            {
              "name": "status",
              "type": "array",
              "required": false,
              "description": "Filter by status: active, paused or archived. Case-insensitive. Applied client-side — the API has no status filter."
            },
            {
              "name": "search",
              "type": "string",
              "required": false,
              "description": "Filter by name (case-insensitive substring match).",
              "constraints": {
                "min_length": 1,
                "max_length": 200
              }
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "All campaigns",
              "mcp_params": {
                "reason": "Show the account structure"
              },
              "cli_command": "hopkin chatgpt campaigns list",
              "natural_language": "All campaigns"
            },
            {
              "label": "Active only",
              "mcp_params": {
                "status": [
                  "active"
                ],
                "reason": "Review what is currently delivering"
              },
              "cli_command": "hopkin chatgpt campaigns list --status active",
              "natural_language": "Active only"
            },
            {
              "label": "By ID",
              "mcp_params": {
                "campaign_ids": [
                  "cmpn_abc123"
                ],
                "reason": "Resolve a campaign id from an insights row"
              },
              "cli_command": "hopkin chatgpt campaigns list --campaign-ids cmpn_abc123",
              "natural_language": "By ID"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "meta_ads_list_campaigns",
              "relationship": "cross-platform"
            },
            {
              "name": "google_ads_list_campaigns",
              "relationship": "cross-platform"
            },
            {
              "name": "linkedin_ads_list_campaigns",
              "relationship": "cross-platform"
            },
            {
              "name": "reddit_ads_list_campaigns",
              "relationship": "cross-platform"
            },
            {
              "name": "tiktok_ads_list_campaigns",
              "relationship": "cross-platform"
            },
            {
              "name": "chatgpt_ads_list_ad_accounts",
              "relationship": "hierarchy"
            },
            {
              "name": "chatgpt_ads_list_ad_groups",
              "relationship": "hierarchy"
            },
            {
              "name": "microsoft_ads_list_campaigns",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "chatgpt_ads_list_ad_groups",
          "title": "List ChatGPT Ads Ad Groups",
          "description": "List ad groups in a campaign. campaign_id is required — the ChatGPT Ads API has no account-wide ad group listing, so start from chatgpt_ads_list_campaigns and drill down.\n\nPass ad_group_ids to resolve specific ad groups by ID instead of listing.\n\nEach returned ad group carries the campaign_id you requested; the API itself does not return it on the ad group object.",
          "cli_command": "hopkin chatgpt ad-groups list",
          "cli_flags": [
            {
              "flag": "--limit",
              "description": "Maximum number of results to return (1–100). Default: 20.",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--cursor",
              "description": "Opaque pagination cursor from a previous response.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--refresh",
              "description": "Force a fresh fetch bypassing the cache.",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--campaign",
              "description": "Campaign to list ad groups for (e.g. \"cmpn_abc123\"). Required — the API has no account-wide ad group listing. Get one from chatgpt_ads_list_campaigns.",
              "type": "string",
              "required": true
            },
            {
              "flag": "--ad-group-ids",
              "description": "Fetch specific ad groups by ID instead of listing, e.g. [\"adgrp_abc123\"]. Other filters are ignored when set.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--status",
              "description": "Filter by status: active, paused or archived. Case-insensitive. Applied client-side — the API has no status filter.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--search",
              "description": "Filter by name (case-insensitive substring match).",
              "type": "string",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "ad-groups",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "limit": {
                "type": "integer",
                "minimum": 1,
                "maximum": 100,
                "default": 20,
                "description": "Maximum number of results to return (1–100). Default: 20."
              },
              "cursor": {
                "type": "string",
                "description": "Opaque pagination cursor from a previous response."
              },
              "refresh": {
                "type": "boolean",
                "default": false,
                "description": "Force a fresh fetch bypassing the cache."
              },
              "campaign_id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 64,
                "pattern": "^[A-Za-z0-9_-]+$",
                "description": "Campaign to list ad groups for (e.g. \"cmpn_abc123\"). Required — the API has no account-wide ad group listing. Get one from chatgpt_ads_list_campaigns."
              },
              "ad_group_ids": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 64,
                  "pattern": "^[A-Za-z0-9_-]+$"
                },
                "minItems": 1,
                "maxItems": 50,
                "description": "Fetch specific ad groups by ID instead of listing, e.g. [\"adgrp_abc123\"]. Other filters are ignored when set."
              },
              "status": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 64
                },
                "minItems": 1,
                "maxItems": 20,
                "description": "Filter by status: active, paused or archived. Case-insensitive. Applied client-side — the API has no status filter."
              },
              "search": {
                "type": "string",
                "minLength": 1,
                "maxLength": 200,
                "description": "Filter by name (case-insensitive substring match)."
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "campaign_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "limit",
              "type": "integer",
              "required": false,
              "description": "Maximum number of results to return (1–100). Default: 20.",
              "default": 20,
              "constraints": {
                "min": 1,
                "max": 100
              }
            },
            {
              "name": "cursor",
              "type": "string",
              "required": false,
              "description": "Opaque pagination cursor from a previous response."
            },
            {
              "name": "refresh",
              "type": "boolean",
              "required": false,
              "description": "Force a fresh fetch bypassing the cache.",
              "default": false
            },
            {
              "name": "campaign_id",
              "type": "string",
              "required": true,
              "description": "Campaign to list ad groups for (e.g. \"cmpn_abc123\"). Required — the API has no account-wide ad group listing. Get one from chatgpt_ads_list_campaigns.",
              "constraints": {
                "min_length": 1,
                "max_length": 64,
                "pattern": "^[A-Za-z0-9_-]+$"
              }
            },
            {
              "name": "ad_group_ids",
              "type": "array",
              "required": false,
              "description": "Fetch specific ad groups by ID instead of listing, e.g. [\"adgrp_abc123\"]. Other filters are ignored when set."
            },
            {
              "name": "status",
              "type": "array",
              "required": false,
              "description": "Filter by status: active, paused or archived. Case-insensitive. Applied client-side — the API has no status filter."
            },
            {
              "name": "search",
              "type": "string",
              "required": false,
              "description": "Filter by name (case-insensitive substring match).",
              "constraints": {
                "min_length": 1,
                "max_length": 200
              }
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "For a campaign",
              "mcp_params": {
                "campaign_id": "cmpn_abc123",
                "reason": "Drill into a campaign"
              },
              "cli_command": "hopkin chatgpt ad-groups list --campaign cmpn_abc123",
              "natural_language": "For a campaign"
            },
            {
              "label": "By ID",
              "mcp_params": {
                "campaign_id": "cmpn_abc123",
                "ad_group_ids": [
                  "adgrp_abc123"
                ],
                "reason": "Resolve a specific ad group"
              },
              "cli_command": "hopkin chatgpt ad-groups list --campaign cmpn_abc123 --ad-group-ids adgrp_abc123",
              "natural_language": "By ID"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "google_ads_list_ad_groups",
              "relationship": "cross-platform"
            },
            {
              "name": "reddit_ads_list_ad_groups",
              "relationship": "cross-platform"
            },
            {
              "name": "tiktok_ads_list_ad_groups",
              "relationship": "cross-platform"
            },
            {
              "name": "chatgpt_ads_list_campaigns",
              "relationship": "hierarchy"
            },
            {
              "name": "chatgpt_ads_list_ads",
              "relationship": "hierarchy"
            },
            {
              "name": "microsoft_ads_list_ad_groups",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "chatgpt_ads_list_ads",
          "title": "List ChatGPT Ads Ads",
          "description": "List ads in an ad group, including creative and review status. Either ad_group_id or ad_ids is required — the API has no account-wide or campaign-wide ad listing, so drill down via chatgpt_ads_list_ad_groups.\n\nAn ad only delivers when it is approved AND its ad group and campaign are both active, so check review_status when an ad is not spending — filter on it with review_status: [\"rejected\"].\n\nPass ad_ids to resolve specific ads by ID without knowing their ad group. That is the way back from an insights row, which carries ad_id but no other context.\n\nEach returned ad carries the ad_group_id you requested; the API does not return it on the ad object.",
          "cli_command": "hopkin chatgpt ads list",
          "cli_flags": [
            {
              "flag": "--limit",
              "description": "Maximum number of results to return (1–100). Default: 20.",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--cursor",
              "description": "Opaque pagination cursor from a previous response.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--refresh",
              "description": "Force a fresh fetch bypassing the cache.",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--ad-group-id",
              "description": "Ad group to list ads for (e.g. \"adgrp_abc123\"). Required unless ad_ids is given — the API has no account-wide or campaign-wide ad listing. Get one from chatgpt_ads_list_ad_groups.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--ad-ids",
              "description": "Fetch specific ads by ID instead of listing, e.g. [\"ad_abc123\"]. Works without ad_group_id, and other filters are ignored when set.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--status",
              "description": "Filter by status: active, paused or archived. Case-insensitive. Applied client-side — the API has no status filter.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--review-status",
              "description": "Filter by review status: approved, in_review or rejected. Case-insensitive. An ad only delivers once approved. Applied client-side.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--search",
              "description": "Filter by name (case-insensitive substring match).",
              "type": "string",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "ads",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "limit": {
                "type": "integer",
                "minimum": 1,
                "maximum": 100,
                "default": 20,
                "description": "Maximum number of results to return (1–100). Default: 20."
              },
              "cursor": {
                "type": "string",
                "description": "Opaque pagination cursor from a previous response."
              },
              "refresh": {
                "type": "boolean",
                "default": false,
                "description": "Force a fresh fetch bypassing the cache."
              },
              "ad_group_id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 64,
                "pattern": "^[A-Za-z0-9_-]+$",
                "description": "Ad group to list ads for (e.g. \"adgrp_abc123\"). Required unless ad_ids is given — the API has no account-wide or campaign-wide ad listing. Get one from chatgpt_ads_list_ad_groups."
              },
              "ad_ids": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 64,
                  "pattern": "^[A-Za-z0-9_-]+$"
                },
                "minItems": 1,
                "maxItems": 50,
                "description": "Fetch specific ads by ID instead of listing, e.g. [\"ad_abc123\"]. Works without ad_group_id, and other filters are ignored when set."
              },
              "status": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 64
                },
                "minItems": 1,
                "maxItems": 20,
                "description": "Filter by status: active, paused or archived. Case-insensitive. Applied client-side — the API has no status filter."
              },
              "review_status": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 64
                },
                "minItems": 1,
                "maxItems": 10,
                "description": "Filter by review status: approved, in_review or rejected. Case-insensitive. An ad only delivers once approved. Applied client-side."
              },
              "search": {
                "type": "string",
                "minLength": 1,
                "maxLength": 200,
                "description": "Filter by name (case-insensitive substring match)."
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "limit",
              "type": "integer",
              "required": false,
              "description": "Maximum number of results to return (1–100). Default: 20.",
              "default": 20,
              "constraints": {
                "min": 1,
                "max": 100
              }
            },
            {
              "name": "cursor",
              "type": "string",
              "required": false,
              "description": "Opaque pagination cursor from a previous response."
            },
            {
              "name": "refresh",
              "type": "boolean",
              "required": false,
              "description": "Force a fresh fetch bypassing the cache.",
              "default": false
            },
            {
              "name": "ad_group_id",
              "type": "string",
              "required": false,
              "description": "Ad group to list ads for (e.g. \"adgrp_abc123\"). Required unless ad_ids is given — the API has no account-wide or campaign-wide ad listing. Get one from chatgpt_ads_list_ad_groups.",
              "constraints": {
                "min_length": 1,
                "max_length": 64,
                "pattern": "^[A-Za-z0-9_-]+$"
              }
            },
            {
              "name": "ad_ids",
              "type": "array",
              "required": false,
              "description": "Fetch specific ads by ID instead of listing, e.g. [\"ad_abc123\"]. Works without ad_group_id, and other filters are ignored when set."
            },
            {
              "name": "status",
              "type": "array",
              "required": false,
              "description": "Filter by status: active, paused or archived. Case-insensitive. Applied client-side — the API has no status filter."
            },
            {
              "name": "review_status",
              "type": "array",
              "required": false,
              "description": "Filter by review status: approved, in_review or rejected. Case-insensitive. An ad only delivers once approved. Applied client-side."
            },
            {
              "name": "search",
              "type": "string",
              "required": false,
              "description": "Filter by name (case-insensitive substring match).",
              "constraints": {
                "min_length": 1,
                "max_length": 200
              }
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "For an ad group",
              "mcp_params": {
                "ad_group_id": "adgrp_abc123",
                "reason": "Review creatives and review status"
              },
              "cli_command": "hopkin chatgpt ads list --ad-group-id adgrp_abc123",
              "natural_language": "For an ad group"
            },
            {
              "label": "By ID",
              "mcp_params": {
                "ad_ids": [
                  "ad_abc123"
                ],
                "reason": "Resolve an ad id from an insights row"
              },
              "cli_command": "hopkin chatgpt ads list --ad-ids ad_abc123",
              "natural_language": "By ID"
            },
            {
              "label": "Not approved",
              "mcp_params": {
                "ad_group_id": "adgrp_abc123",
                "review_status": [
                  "rejected",
                  "in_review"
                ],
                "reason": "Find ads blocked from delivering"
              },
              "cli_command": "hopkin chatgpt ads list --ad-group-id adgrp_abc123 --review-status rejected,in_review",
              "natural_language": "Not approved"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "meta_ads_list_ads",
              "relationship": "cross-platform"
            },
            {
              "name": "google_ads_list_ads",
              "relationship": "cross-platform"
            },
            {
              "name": "reddit_ads_list_ads",
              "relationship": "cross-platform"
            },
            {
              "name": "tiktok_ads_list_ads",
              "relationship": "cross-platform"
            },
            {
              "name": "chatgpt_ads_list_ad_groups",
              "relationship": "hierarchy"
            },
            {
              "name": "microsoft_ads_list_ads",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "chatgpt_ads_get_insights",
          "title": "Get ChatGPT Ads Insights",
          "description": "Delivery reporting for the ChatGPT Ads account: impressions, clicks, spend, ctr, cpc, cpm. These six are the only metrics the API exposes.\n\nThis is the performance report for ChatGPT Ads — there is no separate report tool on this server.\n\nScope vs rows: \\",
          "cli_command": "hopkin chatgpt insights get",
          "cli_flags": [
            {
              "flag": "--level",
              "description": "Scope of the report. \"ad_account\" covers the whole account; the others need entity_id.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--entity-id",
              "description": "Campaign, ad group, or ad ID to scope to. Required unless level is \"ad_account\".",
              "type": "string",
              "required": false
            },
            {
              "flag": "--aggregation-level",
              "description": "What each row represents. Must be at or below level. Defaults to level.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--time-granularity",
              "description": "Time bucket per row. \"none\" returns one row per entity for the whole window. Segmented requests do not support \"hourly\".",
              "type": "string",
              "required": false
            },
            {
              "flag": "--date-since",
              "description": "Start date (YYYY-MM-DD) in the ad account timezone. Defaults to 30 days before date_until.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--date-until",
              "description": "End date (YYYY-MM-DD) in the ad account timezone. Defaults to today.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--fields",
              "description": "Canonical dotted field names, e.g. [\"campaign.name\",\"campaign.spend\"]. Defaults to ids, name, and all six metrics for the aggregation level — or, with a segment, the segment identity and all six segment metrics (e.g. \"device.type\", \"device.spend\"). The row-entity id is added when include_conversions is set.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--filters",
              "description": "Filters, ANDed together. E.g. [{\"field\":\"campaign.id\",\"operator\":\"IN\",\"value\":[\"cmpn_1\"]}].",
              "type": "array",
              "required": false
            },
            {
              "flag": "--sort",
              "description": "Sort order, applied before pagination. E.g. [{\"field\":\"campaign.spend\",\"direction\":\"desc\"}].",
              "type": "array",
              "required": false
            },
            {
              "flag": "--segment",
              "description": "Extra breakdown dimension. Only available on enabled ad accounts; segmented requests cannot use hourly granularity or include_conversions. Per-segment metrics come back unprefixed (spend); an entity metric such as campaign.spend comes back as campaign_spend holding the entity total.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--include-zero-impressions",
              "description": "Include entities with no impressions in the window.",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--include-conversions",
              "description": "Also fetch attributed conversions per entity: per day for a daily report (rolled up to months for monthly, window totals for none/hourly), each row with per-event counts and values. Per entity, not per segment, so it cannot be combined with segment. Account-gated: if unavailable the delivery data is still returned.",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--attribution-time-basis",
              "description": "Date conversions are counted on. \"ad_event_time\" (default) = the click/impression day; \"conversion_time\" = the day the conversion happened, but only the goal event is reliably reported under it. Implies include_conversions.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--attribution-window-days",
              "description": "Click-through attribution window in days: 7, 14 or 30 (default 30). Implies include_conversions.",
              "type": "number",
              "required": false
            },
            {
              "flag": "--view-through-attribution-window-days",
              "description": "View-through attribution window in days: 0 (exclude view-through) or 1 (default). Implies include_conversions.",
              "type": "number",
              "required": false
            },
            {
              "flag": "--event-names",
              "description": "Limit the per-event breakdown to these events, e.g. [\"order_created\",\"lead_created\"]. Omit for all events. Implies include_conversions.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--limit",
              "description": "Maximum rows to return (1–2000). Default: 100.",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--cursor",
              "description": "Opaque pagination cursor from a previous response.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "insights",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "level": {
                "type": "string",
                "enum": [
                  "ad_account",
                  "campaign",
                  "ad_group",
                  "ad"
                ],
                "default": "ad_account",
                "description": "Scope of the report. \"ad_account\" covers the whole account; the others need entity_id."
              },
              "entity_id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 64,
                "pattern": "^[A-Za-z0-9_-]+$",
                "description": "Campaign, ad group, or ad ID to scope to. Required unless level is \"ad_account\"."
              },
              "aggregation_level": {
                "type": "string",
                "enum": [
                  "ad_account",
                  "campaign",
                  "ad_group",
                  "ad"
                ],
                "description": "What each row represents. Must be at or below level. Defaults to level."
              },
              "time_granularity": {
                "type": "string",
                "enum": [
                  "hourly",
                  "daily",
                  "monthly",
                  "none"
                ],
                "description": "Time bucket per row. \"none\" returns one row per entity for the whole window. Segmented requests do not support \"hourly\"."
              },
              "date_since": {
                "type": "string",
                "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                "description": "Start date (YYYY-MM-DD) in the ad account timezone. Defaults to 30 days before date_until."
              },
              "date_until": {
                "type": "string",
                "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                "description": "End date (YYYY-MM-DD) in the ad account timezone. Defaults to today."
              },
              "fields": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 120
                },
                "minItems": 1,
                "maxItems": 50,
                "description": "Canonical dotted field names, e.g. [\"campaign.name\",\"campaign.spend\"]. Defaults to ids, name, and all six metrics for the aggregation level — or, with a segment, the segment identity and all six segment metrics (e.g. \"device.type\", \"device.spend\"). The row-entity id is added when include_conversions is set."
              },
              "filters": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "field": {
                      "type": "string"
                    },
                    "operator": {
                      "type": "string",
                      "enum": [
                        "IN",
                        "GREATER_THAN",
                        "LESS_THAN"
                      ]
                    },
                    "value": {
                      "anyOf": [
                        {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        },
                        {
                          "type": "number"
                        }
                      ]
                    }
                  },
                  "required": [
                    "field",
                    "operator",
                    "value"
                  ],
                  "additionalProperties": false
                },
                "minItems": 1,
                "maxItems": 20,
                "description": "Filters, ANDed together. E.g. [{\"field\":\"campaign.id\",\"operator\":\"IN\",\"value\":[\"cmpn_1\"]}]."
              },
              "sort": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "field": {
                      "type": "string"
                    },
                    "direction": {
                      "type": "string",
                      "enum": [
                        "asc",
                        "desc"
                      ]
                    }
                  },
                  "required": [
                    "field",
                    "direction"
                  ],
                  "additionalProperties": false
                },
                "minItems": 1,
                "maxItems": 5,
                "description": "Sort order, applied before pagination. E.g. [{\"field\":\"campaign.spend\",\"direction\":\"desc\"}]."
              },
              "segment": {
                "type": "string",
                "enum": [
                  "product",
                  "country",
                  "device"
                ],
                "description": "Extra breakdown dimension. Only available on enabled ad accounts; segmented requests cannot use hourly granularity or include_conversions. Per-segment metrics come back unprefixed (spend); an entity metric such as campaign.spend comes back as campaign_spend holding the entity total."
              },
              "include_zero_impressions": {
                "type": "boolean",
                "default": false,
                "description": "Include entities with no impressions in the window."
              },
              "include_conversions": {
                "type": "boolean",
                "default": false,
                "description": "Also fetch attributed conversions per entity: per day for a daily report (rolled up to months for monthly, window totals for none/hourly), each row with per-event counts and values. Per entity, not per segment, so it cannot be combined with segment. Account-gated: if unavailable the delivery data is still returned."
              },
              "attribution_time_basis": {
                "type": "string",
                "enum": [
                  "ad_event_time",
                  "conversion_time"
                ],
                "description": "Date conversions are counted on. \"ad_event_time\" (default) = the click/impression day; \"conversion_time\" = the day the conversion happened, but only the goal event is reliably reported under it. Implies include_conversions."
              },
              "attribution_window_days": {
                "type": "number",
                "enum": [
                  7,
                  14,
                  30
                ],
                "description": "Click-through attribution window in days: 7, 14 or 30 (default 30). Implies include_conversions."
              },
              "view_through_attribution_window_days": {
                "type": "number",
                "enum": [
                  0,
                  1
                ],
                "description": "View-through attribution window in days: 0 (exclude view-through) or 1 (default). Implies include_conversions."
              },
              "event_names": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                },
                "minItems": 1,
                "maxItems": 50,
                "description": "Limit the per-event breakdown to these events, e.g. [\"order_created\",\"lead_created\"]. Omit for all events. Implies include_conversions."
              },
              "limit": {
                "type": "integer",
                "minimum": 1,
                "maximum": 2000,
                "default": 100,
                "description": "Maximum rows to return (1–2000). Default: 100."
              },
              "cursor": {
                "type": "string",
                "description": "Opaque pagination cursor from a previous response."
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "level",
              "type": "string",
              "required": false,
              "description": "Scope of the report. \"ad_account\" covers the whole account; the others need entity_id.",
              "enum_values": [
                "ad_account",
                "campaign",
                "ad_group",
                "ad"
              ],
              "default": "ad_account"
            },
            {
              "name": "entity_id",
              "type": "string",
              "required": false,
              "description": "Campaign, ad group, or ad ID to scope to. Required unless level is \"ad_account\".",
              "constraints": {
                "min_length": 1,
                "max_length": 64,
                "pattern": "^[A-Za-z0-9_-]+$"
              }
            },
            {
              "name": "aggregation_level",
              "type": "string",
              "required": false,
              "description": "What each row represents. Must be at or below level. Defaults to level.",
              "enum_values": [
                "ad_account",
                "campaign",
                "ad_group",
                "ad"
              ]
            },
            {
              "name": "time_granularity",
              "type": "string",
              "required": false,
              "description": "Time bucket per row. \"none\" returns one row per entity for the whole window. Segmented requests do not support \"hourly\".",
              "enum_values": [
                "hourly",
                "daily",
                "monthly",
                "none"
              ]
            },
            {
              "name": "date_since",
              "type": "string",
              "required": false,
              "description": "Start date (YYYY-MM-DD) in the ad account timezone. Defaults to 30 days before date_until.",
              "constraints": {
                "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
              }
            },
            {
              "name": "date_until",
              "type": "string",
              "required": false,
              "description": "End date (YYYY-MM-DD) in the ad account timezone. Defaults to today.",
              "constraints": {
                "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
              }
            },
            {
              "name": "fields",
              "type": "array",
              "required": false,
              "description": "Canonical dotted field names, e.g. [\"campaign.name\",\"campaign.spend\"]. Defaults to ids, name, and all six metrics for the aggregation level — or, with a segment, the segment identity and all six segment metrics (e.g. \"device.type\", \"device.spend\"). The row-entity id is added when include_conversions is set."
            },
            {
              "name": "filters",
              "type": "array",
              "required": false,
              "description": "Filters, ANDed together. E.g. [{\"field\":\"campaign.id\",\"operator\":\"IN\",\"value\":[\"cmpn_1\"]}]."
            },
            {
              "name": "sort",
              "type": "array",
              "required": false,
              "description": "Sort order, applied before pagination. E.g. [{\"field\":\"campaign.spend\",\"direction\":\"desc\"}]."
            },
            {
              "name": "segment",
              "type": "string",
              "required": false,
              "description": "Extra breakdown dimension. Only available on enabled ad accounts; segmented requests cannot use hourly granularity or include_conversions. Per-segment metrics come back unprefixed (spend); an entity metric such as campaign.spend comes back as campaign_spend holding the entity total.",
              "enum_values": [
                "product",
                "country",
                "device"
              ]
            },
            {
              "name": "include_zero_impressions",
              "type": "boolean",
              "required": false,
              "description": "Include entities with no impressions in the window.",
              "default": false
            },
            {
              "name": "include_conversions",
              "type": "boolean",
              "required": false,
              "description": "Also fetch attributed conversions per entity: per day for a daily report (rolled up to months for monthly, window totals for none/hourly), each row with per-event counts and values. Per entity, not per segment, so it cannot be combined with segment. Account-gated: if unavailable the delivery data is still returned.",
              "default": false
            },
            {
              "name": "attribution_time_basis",
              "type": "string",
              "required": false,
              "description": "Date conversions are counted on. \"ad_event_time\" (default) = the click/impression day; \"conversion_time\" = the day the conversion happened, but only the goal event is reliably reported under it. Implies include_conversions.",
              "enum_values": [
                "ad_event_time",
                "conversion_time"
              ]
            },
            {
              "name": "attribution_window_days",
              "type": "number",
              "required": false,
              "description": "Click-through attribution window in days: 7, 14 or 30 (default 30). Implies include_conversions.",
              "enum_values": [
                "7",
                "14",
                "30"
              ]
            },
            {
              "name": "view_through_attribution_window_days",
              "type": "number",
              "required": false,
              "description": "View-through attribution window in days: 0 (exclude view-through) or 1 (default). Implies include_conversions.",
              "enum_values": [
                "0",
                "1"
              ]
            },
            {
              "name": "event_names",
              "type": "array",
              "required": false,
              "description": "Limit the per-event breakdown to these events, e.g. [\"order_created\",\"lead_created\"]. Omit for all events. Implies include_conversions."
            },
            {
              "name": "limit",
              "type": "integer",
              "required": false,
              "description": "Maximum rows to return (1–2000). Default: 100.",
              "default": 100,
              "constraints": {
                "min": 1,
                "max": 2000
              }
            },
            {
              "name": "cursor",
              "type": "string",
              "required": false,
              "description": "Opaque pagination cursor from a previous response."
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "Last 30 days by campaign",
              "mcp_params": {
                "level": "ad_account",
                "aggregation_level": "campaign",
                "reason": "Monthly performance review"
              },
              "cli_command": "hopkin chatgpt insights get --level ad_account --aggregation-level campaign",
              "natural_language": "Last 30 days by campaign"
            },
            {
              "label": "Specific window",
              "mcp_params": {
                "level": "ad_account",
                "aggregation_level": "campaign",
                "date_since": "2026-07-01",
                "date_until": "2026-07-31",
                "reason": "July report"
              },
              "cli_command": "hopkin chatgpt insights get --level ad_account --aggregation-level campaign --date-since 2026-07-01 --date-until 2026-07-31",
              "natural_language": "Specific window"
            },
            {
              "label": "Top ads by clicks",
              "mcp_params": {
                "level": "ad_account",
                "aggregation_level": "ad",
                "sort": [
                  {
                    "field": "ad.clicks",
                    "direction": "desc"
                  }
                ],
                "limit": 10,
                "reason": "Find best performing creatives"
              },
              "cli_command": "hopkin chatgpt insights get --level ad_account --aggregation-level ad --sort [object Object] --limit 10",
              "natural_language": "Top ads by clicks"
            },
            {
              "label": "With conversions",
              "mcp_params": {
                "level": "ad_account",
                "aggregation_level": "campaign",
                "include_conversions": true,
                "reason": "Calculate cost per conversion"
              },
              "cli_command": "hopkin chatgpt insights get --level ad_account --aggregation-level campaign --include-conversions true",
              "natural_language": "With conversions"
            },
            {
              "label": "Daily attributed orders",
              "mcp_params": {
                "level": "ad_account",
                "time_granularity": "daily",
                "event_names": [
                  "order_created"
                ],
                "reason": "Reconcile attributed orders against Shopify"
              },
              "cli_command": "hopkin chatgpt insights get --level ad_account --time-granularity daily --event-names order_created",
              "natural_language": "Daily attributed orders"
            }
          ],
          "response_format": "json",
          "related_tools": [
            {
              "name": "meta_ads_get_insights",
              "relationship": "cross-platform"
            },
            {
              "name": "google_ads_get_insights",
              "relationship": "cross-platform"
            },
            {
              "name": "linkedin_ads_get_insights",
              "relationship": "cross-platform"
            },
            {
              "name": "tiktok_ads_get_insights",
              "relationship": "cross-platform"
            },
            {
              "name": "microsoft_ads_get_insights",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "chatgpt_ads_list_conversion_event_settings",
          "title": "List ChatGPT Ads Conversion Event Settings",
          "description": "List the conversion events configured for the account — what each one counts, its attribution window, and which campaigns use it. Useful for interpreting the conversion totals returned by chatgpt_ads_get_insights.\n\nReturns a \"not enabled\" error on accounts without conversion tracking.",
          "cli_command": "hopkin chatgpt conversion-event-settings list",
          "cli_flags": [
            {
              "flag": "--limit",
              "description": "Maximum number of results to return (1–100). Default: 20.",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--cursor",
              "description": "Opaque pagination cursor from a previous response.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "conversion-event-settings",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "limit": {
                "type": "integer",
                "minimum": 1,
                "maximum": 100,
                "default": 20,
                "description": "Maximum number of results to return (1–100). Default: 20."
              },
              "cursor": {
                "type": "string",
                "description": "Opaque pagination cursor from a previous response."
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "limit",
              "type": "integer",
              "required": false,
              "description": "Maximum number of results to return (1–100). Default: 20.",
              "default": 20,
              "constraints": {
                "min": 1,
                "max": 100
              }
            },
            {
              "name": "cursor",
              "type": "string",
              "required": false,
              "description": "Opaque pagination cursor from a previous response."
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "List events",
              "mcp_params": {
                "reason": "Understand what conversions are being counted"
              },
              "cli_command": "hopkin chatgpt conversion-event-settings list",
              "natural_language": "List events"
            }
          ],
          "response_format": "markdown",
          "related_tools": [],
          "tool_type": "standard"
        },
        {
          "name": "chatgpt_ads_list_custom_audiences",
          "title": "List ChatGPT Ads Custom Audiences",
          "description": "List the custom audiences on the account — name, status, and how many identifiers matched.\n\nIts main use is resolving identity: chatgpt_ads_list_campaigns returns targeting.custom_audiences.ids as bare IDs, so pass those to custom_audience_ids here to find out who a campaign actually targets.\n\nAudience sizes come back as privacy-bucketed ranges (e.g. \"5000-10000\"), never exact counts — report them as ranges.",
          "cli_command": "hopkin chatgpt custom-audiences list",
          "cli_flags": [
            {
              "flag": "--limit",
              "description": "Maximum number of results to return (1–100). Default: 20.",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--cursor",
              "description": "Opaque pagination cursor from a previous response.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--custom-audience-ids",
              "description": "Resolve specific audiences by ID instead of listing. Use this to turn the opaque IDs in a campaign's targeting.custom_audiences into names.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "custom-audiences",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "limit": {
                "type": "integer",
                "minimum": 1,
                "maximum": 100,
                "default": 20,
                "description": "Maximum number of results to return (1–100). Default: 20."
              },
              "cursor": {
                "type": "string",
                "description": "Opaque pagination cursor from a previous response."
              },
              "custom_audience_ids": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 64,
                  "pattern": "^[A-Za-z0-9_-]+$"
                },
                "minItems": 1,
                "maxItems": 50,
                "description": "Resolve specific audiences by ID instead of listing. Use this to turn the opaque IDs in a campaign's targeting.custom_audiences into names."
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "limit",
              "type": "integer",
              "required": false,
              "description": "Maximum number of results to return (1–100). Default: 20.",
              "default": 20,
              "constraints": {
                "min": 1,
                "max": 100
              }
            },
            {
              "name": "cursor",
              "type": "string",
              "required": false,
              "description": "Opaque pagination cursor from a previous response."
            },
            {
              "name": "custom_audience_ids",
              "type": "array",
              "required": false,
              "description": "Resolve specific audiences by ID instead of listing. Use this to turn the opaque IDs in a campaign's targeting.custom_audiences into names."
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "List audiences",
              "mcp_params": {
                "reason": "See what audiences exist"
              },
              "cli_command": "hopkin chatgpt custom-audiences list",
              "natural_language": "List audiences"
            },
            {
              "label": "Resolve targeting IDs",
              "mcp_params": {
                "custom_audience_ids": [
                  "ca_abc123"
                ],
                "reason": "Name the audiences a campaign targets"
              },
              "cli_command": "hopkin chatgpt custom-audiences list --custom-audience-ids ca_abc123",
              "natural_language": "Resolve targeting IDs"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "reddit_ads_list_custom_audiences",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "chatgpt_ads_ping",
          "title": "Ping ChatGPT Ads MCP Server",
          "description": "Health check. Returns server status, version, and timestamp. Does not contact the ChatGPT Ads API.",
          "cli_command": "hopkin chatgpt ping",
          "cli_flags": [
            {
              "flag": "--message",
              "description": "Optional message to echo back",
              "type": "string",
              "required": false
            }
          ],
          "category": "auth",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": false
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "message": {
                "type": "string",
                "maxLength": 100,
                "description": "Optional message to echo back"
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "message",
              "type": "string",
              "required": false,
              "description": "Optional message to echo back",
              "constraints": {
                "max_length": 100
              }
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "Health check",
              "mcp_params": {
                "reason": "Verify server is running"
              },
              "cli_command": "hopkin chatgpt ping",
              "natural_language": "Health check"
            },
            {
              "label": "With message",
              "mcp_params": {
                "message": "hello",
                "reason": "Test connectivity"
              },
              "cli_command": "hopkin chatgpt ping --message hello",
              "natural_language": "With message"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "meta_ads_ping",
              "relationship": "cross-platform"
            },
            {
              "name": "google_ads_ping",
              "relationship": "cross-platform"
            },
            {
              "name": "linkedin_ads_ping",
              "relationship": "cross-platform"
            },
            {
              "name": "reddit_ads_ping",
              "relationship": "cross-platform"
            },
            {
              "name": "tiktok_ads_ping",
              "relationship": "cross-platform"
            },
            {
              "name": "chatgpt_ads_check_auth_status",
              "relationship": "sibling"
            },
            {
              "name": "microsoft_ads_ping",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        }
      ]
    },
    {
      "id": "microsoft-ads",
      "name": "Microsoft Ads",
      "description": "Microsoft Advertising (Bing Ads) API v13 for Search, Shopping, Performance Max and Audience campaigns — read-only",
      "tool_count": 31,
      "mcpUrl": "https://microsoft.mcp.hopkin.ai",
      "tools": [
        {
          "name": "microsoft_ads_get_account_summary",
          "title": "Get Microsoft Ads Account Summary",
          "description": "THE tool for an account-level PERFORMANCE SUMMARY — one rolled-up total for a whole Microsoft ",
          "cli_command": "hopkin microsoft account-summary get",
          "cli_flags": [
            {
              "flag": "--account",
              "description": "Microsoft Advertising AccountId to report on.",
              "type": "string",
              "required": true
            },
            {
              "flag": "--customer-id",
              "description": "Microsoft Advertising CustomerId (agency/manager). Required when accessing accounts managed under a customer hierarchy.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--date-range",
              "description": "Custom date range. Mutually exclusive with date_preset. If neither is provided, defaults to the last 30 days.",
              "type": "object",
              "required": false
            },
            {
              "flag": "--date-preset",
              "description": "Predefined date range. Mutually exclusive with date_range. If neither is provided, defaults to the last 30 days.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--include-all-conversions",
              "description": "When true, includes an additional all_conversions block (all_conversions, all_revenue, all_cost_per_conversion, all_roas, view_through_conversions). This captures ALL conversion goals including those not marked \"Include in Conversions\" (e.g., view-through, non-bidding goals). Note: conversions is the bidding-set count only; all_conversions.all_conversions is every conversion goal — typically much larger for accounts with non-bidding goals.",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--breakdown-by-goal",
              "description": "When true (default), runs a parallel GoalsAndFunnelsReport and returns goal_breakdown keyed by account_id. Each entry is an array of per-goal rows with all_conversions, all_revenue, view_through_conversions, and assists. Pass false to skip the parallel report when latency matters more than goal context. goal_breakdown_granularity will be \"account\" for this tool.",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "account-summary",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": false,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "account_id": {
                "type": "string",
                "minLength": 1,
                "description": "Microsoft Advertising AccountId to report on."
              },
              "customer_id": {
                "type": "string",
                "minLength": 1,
                "description": "Microsoft Advertising CustomerId (agency/manager). Required when accessing accounts managed under a customer hierarchy."
              },
              "date_range": {
                "type": "object",
                "properties": {
                  "start": {
                    "type": "string",
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                    "description": "Start date (inclusive), e.g. \"2026-01-01\""
                  },
                  "end": {
                    "type": "string",
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                    "description": "End date (inclusive), e.g. \"2026-01-31\""
                  }
                },
                "required": [
                  "start",
                  "end"
                ],
                "additionalProperties": false,
                "description": "Custom date range. Mutually exclusive with date_preset. If neither is provided, defaults to the last 30 days."
              },
              "date_preset": {
                "type": "string",
                "enum": [
                  "Today",
                  "Yesterday",
                  "LastSevenDays",
                  "ThisWeek",
                  "LastWeek",
                  "LastFourWeeks",
                  "ThisMonth",
                  "LastMonth",
                  "LastThreeMonths",
                  "LastSixMonths",
                  "ThisYear",
                  "LastYear"
                ],
                "description": "Predefined date range. Mutually exclusive with date_range. If neither is provided, defaults to the last 30 days."
              },
              "include_all_conversions": {
                "type": "boolean",
                "default": false,
                "description": "When true, includes an additional all_conversions block (all_conversions, all_revenue, all_cost_per_conversion, all_roas, view_through_conversions). This captures ALL conversion goals including those not marked \"Include in Conversions\" (e.g., view-through, non-bidding goals). Note: conversions is the bidding-set count only; all_conversions.all_conversions is every conversion goal — typically much larger for accounts with non-bidding goals."
              },
              "breakdown_by_goal": {
                "type": "boolean",
                "default": true,
                "description": "When true (default), runs a parallel GoalsAndFunnelsReport and returns goal_breakdown keyed by account_id. Each entry is an array of per-goal rows with all_conversions, all_revenue, view_through_conversions, and assists. Pass false to skip the parallel report when latency matters more than goal context. goal_breakdown_granularity will be \"account\" for this tool."
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "account_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "account_id",
              "type": "string",
              "required": true,
              "description": "Microsoft Advertising AccountId to report on.",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "customer_id",
              "type": "string",
              "required": false,
              "description": "Microsoft Advertising CustomerId (agency/manager). Required when accessing accounts managed under a customer hierarchy.",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "date_range",
              "type": "object",
              "required": false,
              "description": "Custom date range. Mutually exclusive with date_preset. If neither is provided, defaults to the last 30 days."
            },
            {
              "name": "date_preset",
              "type": "string",
              "required": false,
              "description": "Predefined date range. Mutually exclusive with date_range. If neither is provided, defaults to the last 30 days.",
              "enum_values": [
                "Today",
                "Yesterday",
                "LastSevenDays",
                "ThisWeek",
                "LastWeek",
                "LastFourWeeks",
                "ThisMonth",
                "LastMonth",
                "LastThreeMonths",
                "LastSixMonths",
                "ThisYear",
                "LastYear"
              ]
            },
            {
              "name": "include_all_conversions",
              "type": "boolean",
              "required": false,
              "description": "When true, includes an additional all_conversions block (all_conversions, all_revenue, all_cost_per_conversion, all_roas, view_through_conversions). This captures ALL conversion goals including those not marked \"Include in Conversions\" (e.g., view-through, non-bidding goals). Note: conversions is the bidding-set count only; all_conversions.all_conversions is every conversion goal — typically much larger for accounts with non-bidding goals.",
              "default": false
            },
            {
              "name": "breakdown_by_goal",
              "type": "boolean",
              "required": false,
              "description": "When true (default), runs a parallel GoalsAndFunnelsReport and returns goal_breakdown keyed by account_id. Each entry is an array of per-goal rows with all_conversions, all_revenue, view_through_conversions, and assists. Pass false to skip the parallel report when latency matters more than goal context. goal_breakdown_granularity will be \"account\" for this tool.",
              "default": true
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "meta_ads_get_account_summary",
              "relationship": "cross-platform"
            },
            {
              "name": "google_ads_get_account_summary",
              "relationship": "cross-platform"
            },
            {
              "name": "linkedin_ads_get_account_summary",
              "relationship": "cross-platform"
            },
            {
              "name": "reddit_ads_get_account_summary",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "microsoft_ads_get_activities",
          "title": "Get Microsoft Ads Change History",
          "description": "",
          "cli_command": "hopkin microsoft activities get",
          "cli_flags": [
            {
              "flag": "--account",
              "description": "Microsoft Advertising Account ID (numeric string).",
              "type": "string",
              "required": true
            },
            {
              "flag": "--customer-id",
              "description": "Customer (manager) ID. Optional: only used to check access to an agency-managed account.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--start-date",
              "description": "Start of the window, YYYY-MM-DD (UTC). Defaults to 7 days before end_date.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--end-date",
              "description": "End of the window, YYYY-MM-DD (UTC), inclusive. Defaults to today.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--item-types",
              "description": "Only these kinds of change. Keyword includes negative keyword lists and product groups; Extension includes sitelinks, callouts and other ad extensions.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--entity-ids",
              "description": "Only changes to these entity IDs (campaign, ad group, ad, keyword…).",
              "type": "array",
              "required": false
            },
            {
              "flag": "--limit",
              "description": "Changes per page (1-200, default 50).",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--cursor",
              "description": "nextCursor from the previous response. Pass it with otherwise identical parameters for the next page.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--refresh",
              "description": "Re-read the account from Microsoft before answering. Normally not needed: it is re-read when the last read is over an hour old.",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "activities",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "account_id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 20,
                "pattern": "^\\d+$",
                "description": "Microsoft Advertising Account ID (numeric string)."
              },
              "customer_id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 20,
                "pattern": "^\\d+$",
                "description": "Customer (manager) ID. Optional: only used to check access to an agency-managed account."
              },
              "start_date": {
                "type": "string",
                "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                "description": "Start of the window, YYYY-MM-DD (UTC). Defaults to 7 days before end_date."
              },
              "end_date": {
                "type": "string",
                "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                "description": "End of the window, YYYY-MM-DD (UTC), inclusive. Defaults to today."
              },
              "item_types": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "Account",
                    "Campaign",
                    "AdGroup",
                    "Ad",
                    "Keyword",
                    "Extension",
                    "Other"
                  ]
                },
                "minItems": 1,
                "description": "Only these kinds of change. Keyword includes negative keyword lists and product groups; Extension includes sitelinks, callouts and other ad extensions."
              },
              "entity_ids": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 20
                },
                "minItems": 1,
                "maxItems": 100,
                "description": "Only changes to these entity IDs (campaign, ad group, ad, keyword…)."
              },
              "limit": {
                "type": "integer",
                "minimum": 1,
                "maximum": 200,
                "default": 50,
                "description": "Changes per page (1-200, default 50)."
              },
              "cursor": {
                "type": "string",
                "description": "nextCursor from the previous response. Pass it with otherwise identical parameters for the next page."
              },
              "refresh": {
                "type": "boolean",
                "default": false,
                "description": "Re-read the account from Microsoft before answering. Normally not needed: it is re-read when the last read is over an hour old."
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "account_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "account_id",
              "type": "string",
              "required": true,
              "description": "Microsoft Advertising Account ID (numeric string).",
              "constraints": {
                "min_length": 1,
                "max_length": 20,
                "pattern": "^\\d+$"
              }
            },
            {
              "name": "customer_id",
              "type": "string",
              "required": false,
              "description": "Customer (manager) ID. Optional: only used to check access to an agency-managed account.",
              "constraints": {
                "min_length": 1,
                "max_length": 20,
                "pattern": "^\\d+$"
              }
            },
            {
              "name": "start_date",
              "type": "string",
              "required": false,
              "description": "Start of the window, YYYY-MM-DD (UTC). Defaults to 7 days before end_date.",
              "constraints": {
                "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
              }
            },
            {
              "name": "end_date",
              "type": "string",
              "required": false,
              "description": "End of the window, YYYY-MM-DD (UTC), inclusive. Defaults to today.",
              "constraints": {
                "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
              }
            },
            {
              "name": "item_types",
              "type": "array",
              "required": false,
              "description": "Only these kinds of change. Keyword includes negative keyword lists and product groups; Extension includes sitelinks, callouts and other ad extensions."
            },
            {
              "name": "entity_ids",
              "type": "array",
              "required": false,
              "description": "Only changes to these entity IDs (campaign, ad group, ad, keyword…)."
            },
            {
              "name": "limit",
              "type": "integer",
              "required": false,
              "description": "Changes per page (1-200, default 50).",
              "default": 50,
              "constraints": {
                "min": 1,
                "max": 200
              }
            },
            {
              "name": "cursor",
              "type": "string",
              "required": false,
              "description": "nextCursor from the previous response. Pass it with otherwise identical parameters for the next page."
            },
            {
              "name": "refresh",
              "type": "boolean",
              "required": false,
              "description": "Re-read the account from Microsoft before answering. Normally not needed: it is re-read when the last read is over an hour old.",
              "default": false
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "Recent changes",
              "mcp_params": {
                "account_id": "123456789",
                "reason": "What changed in the account this week"
              },
              "cli_command": "hopkin microsoft activities get --account 123456789",
              "natural_language": "Recent changes"
            },
            {
              "label": "Budget audit, last 30 days",
              "mcp_params": {
                "account_id": "123456789",
                "start_date": "2026-09-01",
                "end_date": "2026-09-30",
                "item_types": [
                  "Campaign"
                ],
                "reason": "Did anyone change budgets before the dip?"
              },
              "cli_command": "hopkin microsoft activities get --account 123456789 --start-date 2026-09-01 --end-date 2026-09-30 --item-types Campaign",
              "natural_language": "Budget audit, last 30 days"
            },
            {
              "label": "One campaign",
              "mcp_params": {
                "account_id": "123456789",
                "entity_ids": [
                  "487745984"
                ],
                "reason": "Who paused this campaign?"
              },
              "cli_command": "hopkin microsoft activities get --account 123456789 --entity-ids 487745984",
              "natural_language": "One campaign"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "meta_ads_get_activities",
              "relationship": "cross-platform"
            },
            {
              "name": "google_ads_get_activities",
              "relationship": "cross-platform"
            },
            {
              "name": "linkedin_ads_get_activities",
              "relationship": "cross-platform"
            },
            {
              "name": "reddit_ads_get_activities",
              "relationship": "cross-platform"
            },
            {
              "name": "tiktok_ads_get_activities",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "microsoft_ads_list_accounts",
          "title": "List Microsoft Ads Accounts",
          "description": "List Microsoft Advertising accounts accessible to the authenticated user, or look up one ",
          "cli_command": "hopkin microsoft accounts list",
          "cli_flags": [
            {
              "flag": "--account",
              "description": "Look up a single account by its Microsoft Advertising AccountId. When provided, other filters and pagination are ignored and the tool returns exactly one account. This is the single-account lookup pattern — there is no separate get_account tool.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--customer-id",
              "description": "Microsoft Advertising CustomerId of the agency/manager account. Required when accessing accounts managed under a customer hierarchy. Equivalent to Google Ads login_customer_id.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--status",
              "description": "Filter accounts by status. Accepts a JSON array or repeated values.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--search",
              "description": "Case-insensitive partial match on account name or account_id.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--limit",
              "description": "Number of accounts per page (default: 20, max: 100).",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--cursor",
              "description": "Opaque cursor from the previous response's nextCursor. Pass it with otherwise identical parameters to get the next page; a cursor reused with different filters is rejected. Omit for the first page.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--refresh",
              "description": "Force a live fetch from the Microsoft Ads API, bypassing the local cache. Defaults to false (cache-first — the normal, faster path). Set to true whenever the user asks for fresh / latest / real-time / up-to-date data, or explicitly says they do NOT want cached / stale data. If the user does not care about freshness, leave it false.",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "accounts",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": false,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "account_id": {
                "type": "string",
                "minLength": 1,
                "description": "Look up a single account by its Microsoft Advertising AccountId. When provided, other filters and pagination are ignored and the tool returns exactly one account. This is the single-account lookup pattern — there is no separate get_account tool."
              },
              "customer_id": {
                "type": "string",
                "minLength": 1,
                "description": "Microsoft Advertising CustomerId of the agency/manager account. Required when accessing accounts managed under a customer hierarchy. Equivalent to Google Ads login_customer_id."
              },
              "status": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "Active",
                    "Inactive",
                    "Pause",
                    "Pending",
                    "Suspended"
                  ]
                },
                "minItems": 1,
                "description": "Filter accounts by status. Accepts a JSON array or repeated values."
              },
              "search": {
                "type": "string",
                "minLength": 1,
                "description": "Case-insensitive partial match on account name or account_id."
              },
              "limit": {
                "type": "integer",
                "minimum": 1,
                "maximum": 100,
                "description": "Number of accounts per page (default: 20, max: 100)."
              },
              "cursor": {
                "type": "string",
                "minLength": 1,
                "description": "Opaque cursor from the previous response's nextCursor. Pass it with otherwise identical parameters to get the next page; a cursor reused with different filters is rejected. Omit for the first page."
              },
              "refresh": {
                "type": "boolean",
                "default": false,
                "description": "Force a live fetch from the Microsoft Ads API, bypassing the local cache. Defaults to false (cache-first — the normal, faster path). Set to true whenever the user asks for fresh / latest / real-time / up-to-date data, or explicitly says they do NOT want cached / stale data. If the user does not care about freshness, leave it false."
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "account_id",
              "type": "string",
              "required": false,
              "description": "Look up a single account by its Microsoft Advertising AccountId. When provided, other filters and pagination are ignored and the tool returns exactly one account. This is the single-account lookup pattern — there is no separate get_account tool.",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "customer_id",
              "type": "string",
              "required": false,
              "description": "Microsoft Advertising CustomerId of the agency/manager account. Required when accessing accounts managed under a customer hierarchy. Equivalent to Google Ads login_customer_id.",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "status",
              "type": "array",
              "required": false,
              "description": "Filter accounts by status. Accepts a JSON array or repeated values."
            },
            {
              "name": "search",
              "type": "string",
              "required": false,
              "description": "Case-insensitive partial match on account name or account_id.",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "limit",
              "type": "integer",
              "required": false,
              "description": "Number of accounts per page (default: 20, max: 100).",
              "constraints": {
                "min": 1,
                "max": 100
              }
            },
            {
              "name": "cursor",
              "type": "string",
              "required": false,
              "description": "Opaque cursor from the previous response's nextCursor. Pass it with otherwise identical parameters to get the next page; a cursor reused with different filters is rejected. Omit for the first page.",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "refresh",
              "type": "boolean",
              "required": false,
              "description": "Force a live fetch from the Microsoft Ads API, bypassing the local cache. Defaults to false (cache-first — the normal, faster path). Set to true whenever the user asks for fresh / latest / real-time / up-to-date data, or explicitly says they do NOT want cached / stale data. If the user does not care about freshness, leave it false.",
              "default": false
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "List all accounts",
              "mcp_params": {
                "reason": "Show me all connected Microsoft Ads accounts"
              },
              "cli_command": "hopkin microsoft accounts list",
              "natural_language": "List all accounts"
            },
            {
              "label": "Look up a single account",
              "mcp_params": {
                "account_id": "1234567",
                "reason": "Get details for account 1234567"
              },
              "cli_command": "hopkin microsoft accounts list --account 1234567",
              "natural_language": "Look up a single account"
            },
            {
              "label": "Filter by status",
              "mcp_params": {
                "status": [
                  "Active"
                ],
                "reason": "Show only active accounts"
              },
              "cli_command": "hopkin microsoft accounts list --status Active",
              "natural_language": "Filter by status"
            },
            {
              "label": "Search by name",
              "mcp_params": {
                "search": "marketing",
                "reason": "Find accounts with marketing in the name"
              },
              "cli_command": "hopkin microsoft accounts list --search marketing",
              "natural_language": "Search by name"
            },
            {
              "label": "Force refresh",
              "mcp_params": {
                "refresh": true,
                "reason": "Get the latest account data from the API"
              },
              "cli_command": "hopkin microsoft accounts list --refresh true",
              "natural_language": "Force refresh"
            },
            {
              "label": "Agency: accounts under a customer",
              "mcp_params": {
                "customer_id": "9876543",
                "reason": "List accounts managed under customer 9876543"
              },
              "cli_command": "hopkin microsoft accounts list --customer-id 9876543",
              "natural_language": "Agency: accounts under a customer"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "google_ads_list_accounts",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "microsoft_ads_list_customers",
          "title": "List Microsoft Ads Customers",
          "description": "List all Microsoft Advertising customers (manager/agency accounts) accessible to the authenticated user. ",
          "cli_command": "hopkin microsoft customers list",
          "cli_flags": [
            {
              "flag": "--search",
              "description": "Case-insensitive partial match on customer name or customer_id.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--status",
              "description": "Filter customers by status.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--limit",
              "description": "Number of customers per page (default: 20, max: 100).",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--cursor",
              "description": "Opaque cursor from the previous response's nextCursor. Pass it with otherwise identical parameters to get the next page; a cursor reused with different filters is rejected. Omit for the first page.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "customers",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "search": {
                "type": "string",
                "minLength": 1,
                "description": "Case-insensitive partial match on customer name or customer_id."
              },
              "status": {
                "type": "string",
                "enum": [
                  "Active",
                  "Inactive"
                ],
                "description": "Filter customers by status."
              },
              "limit": {
                "type": "integer",
                "minimum": 1,
                "maximum": 100,
                "description": "Number of customers per page (default: 20, max: 100)."
              },
              "cursor": {
                "type": "string",
                "minLength": 1,
                "description": "Opaque cursor from the previous response's nextCursor. Pass it with otherwise identical parameters to get the next page; a cursor reused with different filters is rejected. Omit for the first page."
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "search",
              "type": "string",
              "required": false,
              "description": "Case-insensitive partial match on customer name or customer_id.",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "status",
              "type": "string",
              "required": false,
              "description": "Filter customers by status.",
              "enum_values": [
                "Active",
                "Inactive"
              ]
            },
            {
              "name": "limit",
              "type": "integer",
              "required": false,
              "description": "Number of customers per page (default: 20, max: 100).",
              "constraints": {
                "min": 1,
                "max": 100
              }
            },
            {
              "name": "cursor",
              "type": "string",
              "required": false,
              "description": "Opaque cursor from the previous response's nextCursor. Pass it with otherwise identical parameters to get the next page; a cursor reused with different filters is rejected. Omit for the first page.",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "List all customers",
              "mcp_params": {
                "reason": "Show me all accessible Microsoft Advertising customers"
              },
              "cli_command": "hopkin microsoft customers list",
              "natural_language": "List all customers"
            },
            {
              "label": "Filter active customers",
              "mcp_params": {
                "status": "Active",
                "reason": "Show only active customer accounts"
              },
              "cli_command": "hopkin microsoft customers list --status Active",
              "natural_language": "Filter active customers"
            },
            {
              "label": "Search by name",
              "mcp_params": {
                "search": "Contoso",
                "reason": "Find the Contoso customer account"
              },
              "cli_command": "hopkin microsoft customers list --search Contoso",
              "natural_language": "Search by name"
            },
            {
              "label": "Paginate",
              "mcp_params": {
                "limit": 10,
                "cursor": "eyJvZmZzZXQiOjEwfQ",
                "reason": "Get next page of customers"
              },
              "cli_command": "hopkin microsoft customers list --limit 10 --cursor eyJvZmZzZXQiOjEwfQ",
              "natural_language": "Paginate"
            }
          ],
          "response_format": "markdown",
          "related_tools": [],
          "tool_type": "standard"
        },
        {
          "name": "microsoft_ads_list_ad_extensions",
          "title": "List Microsoft Ads Ad Extensions",
          "description": "",
          "cli_command": "hopkin microsoft ad-extensions list",
          "cli_flags": [
            {
              "flag": "--account",
              "description": "Microsoft Advertising account ID (AccountId).",
              "type": "string",
              "required": true
            },
            {
              "flag": "--customer-id",
              "description": "Customer/manager ID (CustomerId). Required for agency-managed accounts.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--campaign-ids",
              "description": "Only these campaigns and their ad groups. Account-level extensions are still listed (they serve on every campaign) unless association_levels leaves Account out. Default: every campaign.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--association-levels",
              "description": "Which attachments to list: Account, Campaign, AdGroup. Default: all three — leave it out to see everything that serves on a campaign, since account-level extensions serve on every campaign and ad-group ones override the campaign's. Narrow it only when the user asks about one level.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--extension-types",
              "description": "Only these extension types, e.g. [\"Sitelink\", \"Callout\", \"StructuredSnippet\"]. Default: every type.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--editorial-status",
              "description": "Only associations in these editorial (policy) states: Disapproved (failed review, not serving), ActiveLimited (approved in some markets only), Inactive (under review), Active (approved). Applied to the whole scan before paging, so nothing is missed. Pass [\"Disapproved\", \"ActiveLimited\", \"Inactive\"] for \"what is not approved\". Default: every state.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--include-raw",
              "description": "Default false. When true, each row also carries the full extension as returned by Microsoft (every field, e.g. scheduling, device preference, all URLs). Much larger output.",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--limit",
              "description": "Rows per page (1-500, default 50).",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--cursor",
              "description": "Opaque cursor from the previous response's nextCursor. Pass it with otherwise identical parameters to get the next page; a cursor reused with different filters is rejected. Omit for the first page.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "ad-extensions",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": false,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "account_id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 20,
                "pattern": "^\\d+$",
                "description": "Microsoft Advertising account ID (AccountId)."
              },
              "customer_id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 20,
                "pattern": "^\\d+$",
                "description": "Customer/manager ID (CustomerId). Required for agency-managed accounts."
              },
              "campaign_ids": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 20,
                  "pattern": "^\\d+$"
                },
                "minItems": 1,
                "maxItems": 300,
                "description": "Only these campaigns and their ad groups. Account-level extensions are still listed (they serve on every campaign) unless association_levels leaves Account out. Default: every campaign."
              },
              "association_levels": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "Account",
                    "Campaign",
                    "AdGroup"
                  ]
                },
                "minItems": 1,
                "description": "Which attachments to list: Account, Campaign, AdGroup. Default: all three — leave it out to see everything that serves on a campaign, since account-level extensions serve on every campaign and ad-group ones override the campaign's. Narrow it only when the user asks about one level."
              },
              "extension_types": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "Action",
                    "App",
                    "Call",
                    "Callout",
                    "Disclaimer",
                    "FilterLink",
                    "Flyer",
                    "Image",
                    "Location",
                    "Logo",
                    "Price",
                    "Promotion",
                    "Review",
                    "Sitelink",
                    "StructuredSnippet",
                    "Video"
                  ]
                },
                "minItems": 1,
                "description": "Only these extension types, e.g. [\"Sitelink\", \"Callout\", \"StructuredSnippet\"]. Default: every type."
              },
              "editorial_status": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "Active",
                    "ActiveLimited",
                    "Disapproved",
                    "Inactive"
                  ]
                },
                "minItems": 1,
                "description": "Only associations in these editorial (policy) states: Disapproved (failed review, not serving), ActiveLimited (approved in some markets only), Inactive (under review), Active (approved). Applied to the whole scan before paging, so nothing is missed. Pass [\"Disapproved\", \"ActiveLimited\", \"Inactive\"] for \"what is not approved\". Default: every state."
              },
              "include_raw": {
                "type": "boolean",
                "description": "Default false. When true, each row also carries the full extension as returned by Microsoft (every field, e.g. scheduling, device preference, all URLs). Much larger output."
              },
              "limit": {
                "type": "integer",
                "minimum": 1,
                "maximum": 500,
                "description": "Rows per page (1-500, default 50)."
              },
              "cursor": {
                "type": "string",
                "minLength": 1,
                "description": "Opaque cursor from the previous response's nextCursor. Pass it with otherwise identical parameters to get the next page; a cursor reused with different filters is rejected. Omit for the first page."
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "account_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "account_id",
              "type": "string",
              "required": true,
              "description": "Microsoft Advertising account ID (AccountId).",
              "constraints": {
                "min_length": 1,
                "max_length": 20,
                "pattern": "^\\d+$"
              }
            },
            {
              "name": "customer_id",
              "type": "string",
              "required": false,
              "description": "Customer/manager ID (CustomerId). Required for agency-managed accounts.",
              "constraints": {
                "min_length": 1,
                "max_length": 20,
                "pattern": "^\\d+$"
              }
            },
            {
              "name": "campaign_ids",
              "type": "array",
              "required": false,
              "description": "Only these campaigns and their ad groups. Account-level extensions are still listed (they serve on every campaign) unless association_levels leaves Account out. Default: every campaign."
            },
            {
              "name": "association_levels",
              "type": "array",
              "required": false,
              "description": "Which attachments to list: Account, Campaign, AdGroup. Default: all three — leave it out to see everything that serves on a campaign, since account-level extensions serve on every campaign and ad-group ones override the campaign's. Narrow it only when the user asks about one level."
            },
            {
              "name": "extension_types",
              "type": "array",
              "required": false,
              "description": "Only these extension types, e.g. [\"Sitelink\", \"Callout\", \"StructuredSnippet\"]. Default: every type."
            },
            {
              "name": "editorial_status",
              "type": "array",
              "required": false,
              "description": "Only associations in these editorial (policy) states: Disapproved (failed review, not serving), ActiveLimited (approved in some markets only), Inactive (under review), Active (approved). Applied to the whole scan before paging, so nothing is missed. Pass [\"Disapproved\", \"ActiveLimited\", \"Inactive\"] for \"what is not approved\". Default: every state."
            },
            {
              "name": "include_raw",
              "type": "boolean",
              "required": false,
              "description": "Default false. When true, each row also carries the full extension as returned by Microsoft (every field, e.g. scheduling, device preference, all URLs). Much larger output."
            },
            {
              "name": "limit",
              "type": "integer",
              "required": false,
              "description": "Rows per page (1-500, default 50).",
              "constraints": {
                "min": 1,
                "max": 500
              }
            },
            {
              "name": "cursor",
              "type": "string",
              "required": false,
              "description": "Opaque cursor from the previous response's nextCursor. Pass it with otherwise identical parameters to get the next page; a cursor reused with different filters is rejected. Omit for the first page.",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [],
          "response_format": "markdown",
          "related_tools": [],
          "tool_type": "standard"
        },
        {
          "name": "microsoft_ads_list_ad_groups",
          "title": "List Microsoft Ads Ad Groups",
          "description": "List ad groups across one or more Microsoft Ads campaigns. ",
          "cli_command": "hopkin microsoft ad-groups list",
          "cli_flags": [
            {
              "flag": "--account",
              "description": "Microsoft Advertising account ID (numeric string).",
              "type": "string",
              "required": true
            },
            {
              "flag": "--campaign-ids",
              "description": "Required. Parent campaign IDs to list ad groups for (1–50). Ad groups are scoped to a campaign in Bing — supply one or more campaign IDs whether listing or looking up by ID. Accepts JSON array string or native array.",
              "type": "array",
              "required": true
            },
            {
              "flag": "--customer-id",
              "description": "Customer/manager ID. Required for managed accounts.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--ad-group-id",
              "description": "Look up a single ad group by ID. Mutually exclusive with ad_group_ids. Throws if not found. Filters and pagination are ignored when set.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--ad-group-ids",
              "description": "Look up multiple ad groups by ID (max 100). Mutually exclusive with ad_group_id. Filters and pagination are ignored when set.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--status",
              "description": "Filter by ad group status. One or more of: Active, Paused, Deleted, Expired.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--search",
              "description": "Filter ad groups by name (case-insensitive substring match).",
              "type": "string",
              "required": false
            },
            {
              "flag": "--limit",
              "description": "Number of ad groups per page (default: 20, max: 100).",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--cursor",
              "description": "Opaque cursor from the previous response's nextCursor. Pass it with otherwise identical parameters to get the next page; a cursor reused with different filters is rejected. Omit for the first page.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--refresh",
              "description": "Force a live fetch from the Microsoft Ads API, bypassing the local cache. Defaults to false (cache-first — the normal, faster path). Set to true whenever the user asks for fresh / latest / real-time / up-to-date data, or explicitly says they do NOT want cached / stale data. If the user does not care about freshness, leave it false.",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "ad-groups",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": false,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "account_id": {
                "type": "string",
                "minLength": 1,
                "description": "Microsoft Advertising account ID (numeric string)."
              },
              "campaign_ids": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1
                },
                "minItems": 1,
                "maxItems": 50,
                "description": "Required. Parent campaign IDs to list ad groups for (1–50). Ad groups are scoped to a campaign in Bing — supply one or more campaign IDs whether listing or looking up by ID. Accepts JSON array string or native array."
              },
              "customer_id": {
                "type": "string",
                "minLength": 1,
                "description": "Customer/manager ID. Required for managed accounts."
              },
              "ad_group_id": {
                "type": "string",
                "minLength": 1,
                "description": "Look up a single ad group by ID. Mutually exclusive with ad_group_ids. Throws if not found. Filters and pagination are ignored when set."
              },
              "ad_group_ids": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1
                },
                "minItems": 1,
                "maxItems": 100,
                "description": "Look up multiple ad groups by ID (max 100). Mutually exclusive with ad_group_id. Filters and pagination are ignored when set."
              },
              "status": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "Active",
                    "Paused",
                    "Deleted",
                    "Expired"
                  ]
                },
                "description": "Filter by ad group status. One or more of: Active, Paused, Deleted, Expired."
              },
              "search": {
                "type": "string",
                "minLength": 1,
                "description": "Filter ad groups by name (case-insensitive substring match)."
              },
              "limit": {
                "type": "integer",
                "minimum": 1,
                "maximum": 100,
                "description": "Number of ad groups per page (default: 20, max: 100)."
              },
              "cursor": {
                "type": "string",
                "minLength": 1,
                "description": "Opaque cursor from the previous response's nextCursor. Pass it with otherwise identical parameters to get the next page; a cursor reused with different filters is rejected. Omit for the first page."
              },
              "refresh": {
                "type": "boolean",
                "default": false,
                "description": "Force a live fetch from the Microsoft Ads API, bypassing the local cache. Defaults to false (cache-first — the normal, faster path). Set to true whenever the user asks for fresh / latest / real-time / up-to-date data, or explicitly says they do NOT want cached / stale data. If the user does not care about freshness, leave it false."
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "account_id",
              "campaign_ids",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "account_id",
              "type": "string",
              "required": true,
              "description": "Microsoft Advertising account ID (numeric string).",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "campaign_ids",
              "type": "array",
              "required": true,
              "description": "Required. Parent campaign IDs to list ad groups for (1–50). Ad groups are scoped to a campaign in Bing — supply one or more campaign IDs whether listing or looking up by ID. Accepts JSON array string or native array."
            },
            {
              "name": "customer_id",
              "type": "string",
              "required": false,
              "description": "Customer/manager ID. Required for managed accounts.",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "ad_group_id",
              "type": "string",
              "required": false,
              "description": "Look up a single ad group by ID. Mutually exclusive with ad_group_ids. Throws if not found. Filters and pagination are ignored when set.",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "ad_group_ids",
              "type": "array",
              "required": false,
              "description": "Look up multiple ad groups by ID (max 100). Mutually exclusive with ad_group_id. Filters and pagination are ignored when set."
            },
            {
              "name": "status",
              "type": "array",
              "required": false,
              "description": "Filter by ad group status. One or more of: Active, Paused, Deleted, Expired."
            },
            {
              "name": "search",
              "type": "string",
              "required": false,
              "description": "Filter ad groups by name (case-insensitive substring match).",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "limit",
              "type": "integer",
              "required": false,
              "description": "Number of ad groups per page (default: 20, max: 100).",
              "constraints": {
                "min": 1,
                "max": 100
              }
            },
            {
              "name": "cursor",
              "type": "string",
              "required": false,
              "description": "Opaque cursor from the previous response's nextCursor. Pass it with otherwise identical parameters to get the next page; a cursor reused with different filters is rejected. Omit for the first page.",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "refresh",
              "type": "boolean",
              "required": false,
              "description": "Force a live fetch from the Microsoft Ads API, bypassing the local cache. Defaults to false (cache-first — the normal, faster path). Set to true whenever the user asks for fresh / latest / real-time / up-to-date data, or explicitly says they do NOT want cached / stale data. If the user does not care about freshness, leave it false.",
              "default": false
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "List all ad groups in a campaign",
              "mcp_params": {
                "account_id": "123456789",
                "campaign_ids": [
                  "987654321"
                ],
                "reason": "Show all ad groups for this campaign"
              },
              "cli_command": "hopkin microsoft ad-groups list --account 123456789 --campaign-ids 987654321",
              "natural_language": "List all ad groups in a campaign"
            },
            {
              "label": "List ad groups across multiple campaigns",
              "mcp_params": {
                "account_id": "123456789",
                "campaign_ids": [
                  "987654321",
                  "987654322"
                ],
                "reason": "Compare ad groups across two campaigns"
              },
              "cli_command": "hopkin microsoft ad-groups list --account 123456789 --campaign-ids 987654321,987654322",
              "natural_language": "List ad groups across multiple campaigns"
            },
            {
              "label": "Filter by active status",
              "mcp_params": {
                "account_id": "123456789",
                "campaign_ids": [
                  "987654321"
                ],
                "status": [
                  "Active"
                ],
                "reason": "List only active ad groups"
              },
              "cli_command": "hopkin microsoft ad-groups list --account 123456789 --campaign-ids 987654321 --status Active",
              "natural_language": "Filter by active status"
            },
            {
              "label": "Search by name",
              "mcp_params": {
                "account_id": "123456789",
                "campaign_ids": [
                  "987654321"
                ],
                "search": "brand",
                "reason": "Find brand-related ad groups"
              },
              "cli_command": "hopkin microsoft ad-groups list --account 123456789 --campaign-ids 987654321 --search brand",
              "natural_language": "Search by name"
            },
            {
              "label": "Get by ID",
              "mcp_params": {
                "account_id": "123456789",
                "campaign_ids": [
                  "987654321"
                ],
                "ad_group_id": "555666777",
                "reason": "Get a specific ad group"
              },
              "cli_command": "hopkin microsoft ad-groups list --account 123456789 --campaign-ids 987654321 --ad-group-id 555666777",
              "natural_language": "Get by ID"
            },
            {
              "label": "Get multiple by ID",
              "mcp_params": {
                "account_id": "123456789",
                "campaign_ids": [
                  "987654321"
                ],
                "ad_group_ids": [
                  "555666777",
                  "888999111"
                ],
                "reason": "Compare two ad groups"
              },
              "cli_command": "hopkin microsoft ad-groups list --account 123456789 --campaign-ids 987654321 --ad-group-ids 555666777,888999111",
              "natural_language": "Get multiple by ID"
            },
            {
              "label": "Via manager account",
              "mcp_params": {
                "account_id": "123456789",
                "campaign_ids": [
                  "987654321"
                ],
                "customer_id": "999888777",
                "reason": "List ad groups via agency manager"
              },
              "cli_command": "hopkin microsoft ad-groups list --account 123456789 --campaign-ids 987654321 --customer-id 999888777",
              "natural_language": "Via manager account"
            },
            {
              "label": "Force refresh",
              "mcp_params": {
                "account_id": "123456789",
                "campaign_ids": [
                  "987654321"
                ],
                "refresh": true,
                "reason": "Get latest ad group data from API"
              },
              "cli_command": "hopkin microsoft ad-groups list --account 123456789 --campaign-ids 987654321 --refresh true",
              "natural_language": "Force refresh"
            },
            {
              "label": "Paginated",
              "mcp_params": {
                "account_id": "123456789",
                "campaign_ids": [
                  "987654321"
                ],
                "limit": 10,
                "cursor": "eyJvZmZzZXQiOjEwfQ==",
                "reason": "Get second page of ad groups"
              },
              "cli_command": "hopkin microsoft ad-groups list --account 123456789 --campaign-ids 987654321 --limit 10 --cursor eyJvZmZzZXQiOjEwfQ==",
              "natural_language": "Paginated"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "google_ads_list_ad_groups",
              "relationship": "cross-platform"
            },
            {
              "name": "reddit_ads_list_ad_groups",
              "relationship": "cross-platform"
            },
            {
              "name": "tiktok_ads_list_ad_groups",
              "relationship": "cross-platform"
            },
            {
              "name": "chatgpt_ads_list_ad_groups",
              "relationship": "cross-platform"
            },
            {
              "name": "microsoft_ads_list_ads",
              "relationship": "hierarchy"
            },
            {
              "name": "microsoft_ads_list_campaigns",
              "relationship": "hierarchy"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "microsoft_ads_list_ads",
          "title": "List Microsoft Ads",
          "description": "",
          "cli_command": "hopkin microsoft ads list",
          "cli_flags": [
            {
              "flag": "--account",
              "description": "Microsoft Advertising account ID (AccountId)",
              "type": "string",
              "required": true
            },
            {
              "flag": "--customer-id",
              "description": "Customer/manager ID (CustomerId). Required when accessing accounts through an agency/manager relationship.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--ad-group-ids",
              "description": "Required. Parent ad group IDs to list ads for (1–50). Ads are scoped to an ad group in Bing — supply one or more ad_group_ids whether listing or looking up by ID. Accepts JSON array string or native array.",
              "type": "array",
              "required": true
            },
            {
              "flag": "--ad",
              "description": "Look up a single ad by ID. Mutually exclusive with ad_ids. Throws if not found. Filters and pagination are ignored when set.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--ad-ids",
              "description": "Look up multiple ads by ID (1–50). Mutually exclusive with ad_id. Partial misses are silently dropped. Filters and pagination are ignored when set.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--ad-types",
              "description": "Filter by ad type: ResponsiveSearch, ExpandedText, Responsive, DynamicSearch, Product (Shopping). Defaults to all five. Ignored when ad_id/ad_ids is set.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--status",
              "description": "Filter by ad status: Active, Paused, Deleted. Ignored when ad_id/ad_ids is set.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--editorial-status",
              "description": "Filter by editorial (policy) review status: Disapproved (failed review), ActiveLimited (approved in some markets only), Inactive (under review), Active (approved). Always answered from a live API call, never from cache. Ignored when ad_id/ad_ids is set.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--include-policy-issues",
              "description": "Default false. When true, attaches the editorial reasons and appeal status for every returned ad that is NOT editorially Active — what Microsoft objected to and whether it can be appealed. Costs one extra API call and always fetches live data.",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--limit",
              "description": "Maximum number of ads to return (1-100, default 20)",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--cursor",
              "description": "Opaque cursor from the previous response's nextCursor. Pass it with otherwise identical parameters to get the next page; a cursor reused with different filters is rejected. Omit for the first page.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--refresh",
              "description": "Force a live fetch from the Microsoft Ads API, bypassing the local cache. Defaults to false (cache-first — the normal, faster path). Set to true whenever the user asks for fresh / latest / real-time / up-to-date data, or explicitly says they do NOT want cached / stale data. If the user does not care about freshness, leave it false.",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "ads",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": false,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "account_id": {
                "type": "string",
                "minLength": 1,
                "description": "Microsoft Advertising account ID (AccountId)"
              },
              "customer_id": {
                "type": "string",
                "minLength": 1,
                "description": "Customer/manager ID (CustomerId). Required when accessing accounts through an agency/manager relationship."
              },
              "ad_group_ids": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1
                },
                "minItems": 1,
                "maxItems": 50,
                "description": "Required. Parent ad group IDs to list ads for (1–50). Ads are scoped to an ad group in Bing — supply one or more ad_group_ids whether listing or looking up by ID. Accepts JSON array string or native array."
              },
              "ad_id": {
                "type": "string",
                "minLength": 1,
                "description": "Look up a single ad by ID. Mutually exclusive with ad_ids. Throws if not found. Filters and pagination are ignored when set."
              },
              "ad_ids": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1
                },
                "minItems": 1,
                "maxItems": 50,
                "description": "Look up multiple ads by ID (1–50). Mutually exclusive with ad_id. Partial misses are silently dropped. Filters and pagination are ignored when set."
              },
              "ad_types": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "ResponsiveSearch",
                    "ExpandedText",
                    "Responsive",
                    "DynamicSearch",
                    "Product"
                  ]
                },
                "minItems": 1,
                "description": "Filter by ad type: ResponsiveSearch, ExpandedText, Responsive, DynamicSearch, Product (Shopping). Defaults to all five. Ignored when ad_id/ad_ids is set."
              },
              "status": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "Active",
                    "Paused",
                    "Deleted"
                  ]
                },
                "description": "Filter by ad status: Active, Paused, Deleted. Ignored when ad_id/ad_ids is set."
              },
              "editorial_status": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "Active",
                    "ActiveLimited",
                    "Disapproved",
                    "Inactive"
                  ]
                },
                "description": "Filter by editorial (policy) review status: Disapproved (failed review), ActiveLimited (approved in some markets only), Inactive (under review), Active (approved). Always answered from a live API call, never from cache. Ignored when ad_id/ad_ids is set."
              },
              "include_policy_issues": {
                "type": "boolean",
                "description": "Default false. When true, attaches the editorial reasons and appeal status for every returned ad that is NOT editorially Active — what Microsoft objected to and whether it can be appealed. Costs one extra API call and always fetches live data."
              },
              "limit": {
                "type": "integer",
                "minimum": 1,
                "maximum": 100,
                "description": "Maximum number of ads to return (1-100, default 20)"
              },
              "cursor": {
                "type": "string",
                "minLength": 1,
                "description": "Opaque cursor from the previous response's nextCursor. Pass it with otherwise identical parameters to get the next page; a cursor reused with different filters is rejected. Omit for the first page."
              },
              "refresh": {
                "type": "boolean",
                "default": false,
                "description": "Force a live fetch from the Microsoft Ads API, bypassing the local cache. Defaults to false (cache-first — the normal, faster path). Set to true whenever the user asks for fresh / latest / real-time / up-to-date data, or explicitly says they do NOT want cached / stale data. If the user does not care about freshness, leave it false."
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "account_id",
              "ad_group_ids",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "account_id",
              "type": "string",
              "required": true,
              "description": "Microsoft Advertising account ID (AccountId)",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "customer_id",
              "type": "string",
              "required": false,
              "description": "Customer/manager ID (CustomerId). Required when accessing accounts through an agency/manager relationship.",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "ad_group_ids",
              "type": "array",
              "required": true,
              "description": "Required. Parent ad group IDs to list ads for (1–50). Ads are scoped to an ad group in Bing — supply one or more ad_group_ids whether listing or looking up by ID. Accepts JSON array string or native array."
            },
            {
              "name": "ad_id",
              "type": "string",
              "required": false,
              "description": "Look up a single ad by ID. Mutually exclusive with ad_ids. Throws if not found. Filters and pagination are ignored when set.",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "ad_ids",
              "type": "array",
              "required": false,
              "description": "Look up multiple ads by ID (1–50). Mutually exclusive with ad_id. Partial misses are silently dropped. Filters and pagination are ignored when set."
            },
            {
              "name": "ad_types",
              "type": "array",
              "required": false,
              "description": "Filter by ad type: ResponsiveSearch, ExpandedText, Responsive, DynamicSearch, Product (Shopping). Defaults to all five. Ignored when ad_id/ad_ids is set."
            },
            {
              "name": "status",
              "type": "array",
              "required": false,
              "description": "Filter by ad status: Active, Paused, Deleted. Ignored when ad_id/ad_ids is set."
            },
            {
              "name": "editorial_status",
              "type": "array",
              "required": false,
              "description": "Filter by editorial (policy) review status: Disapproved (failed review), ActiveLimited (approved in some markets only), Inactive (under review), Active (approved). Always answered from a live API call, never from cache. Ignored when ad_id/ad_ids is set."
            },
            {
              "name": "include_policy_issues",
              "type": "boolean",
              "required": false,
              "description": "Default false. When true, attaches the editorial reasons and appeal status for every returned ad that is NOT editorially Active — what Microsoft objected to and whether it can be appealed. Costs one extra API call and always fetches live data."
            },
            {
              "name": "limit",
              "type": "integer",
              "required": false,
              "description": "Maximum number of ads to return (1-100, default 20)",
              "constraints": {
                "min": 1,
                "max": 100
              }
            },
            {
              "name": "cursor",
              "type": "string",
              "required": false,
              "description": "Opaque cursor from the previous response's nextCursor. Pass it with otherwise identical parameters to get the next page; a cursor reused with different filters is rejected. Omit for the first page.",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "refresh",
              "type": "boolean",
              "required": false,
              "description": "Force a live fetch from the Microsoft Ads API, bypassing the local cache. Defaults to false (cache-first — the normal, faster path). Set to true whenever the user asks for fresh / latest / real-time / up-to-date data, or explicitly says they do NOT want cached / stale data. If the user does not care about freshness, leave it false.",
              "default": false
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "List all ads in an ad group",
              "mcp_params": {
                "account_id": "123456789",
                "ad_group_ids": [
                  "987654321"
                ],
                "reason": "List all ads for review"
              },
              "cli_command": "hopkin microsoft ads list --account 123456789 --ad-group-ids 987654321",
              "natural_language": "List all ads in an ad group"
            },
            {
              "label": "List ads across multiple ad groups",
              "mcp_params": {
                "account_id": "123456789",
                "ad_group_ids": [
                  "987654321",
                  "987654322"
                ],
                "reason": "Compare ads across two ad groups"
              },
              "cli_command": "hopkin microsoft ads list --account 123456789 --ad-group-ids 987654321,987654322",
              "natural_language": "List ads across multiple ad groups"
            },
            {
              "label": "Filter by RSA type only",
              "mcp_params": {
                "account_id": "123456789",
                "ad_group_ids": [
                  "987654321"
                ],
                "ad_types": [
                  "ResponsiveSearch"
                ],
                "reason": "List only responsive search ads"
              },
              "cli_command": "hopkin microsoft ads list --account 123456789 --ad-group-ids 987654321 --ad-types ResponsiveSearch",
              "natural_language": "Filter by RSA type only"
            },
            {
              "label": "Filter by active status",
              "mcp_params": {
                "account_id": "123456789",
                "ad_group_ids": [
                  "987654321"
                ],
                "status": [
                  "Active"
                ],
                "reason": "List active ads"
              },
              "cli_command": "hopkin microsoft ads list --account 123456789 --ad-group-ids 987654321 --status Active",
              "natural_language": "Filter by active status"
            },
            {
              "label": "Get a single ad by ID",
              "mcp_params": {
                "account_id": "123456789",
                "ad_group_ids": [
                  "987654321"
                ],
                "ad_id": "111222333",
                "reason": "Get full creative for this ad"
              },
              "cli_command": "hopkin microsoft ads list --account 123456789 --ad-group-ids 987654321 --ad 111222333",
              "natural_language": "Get a single ad by ID"
            },
            {
              "label": "Get multiple ads by ID",
              "mcp_params": {
                "account_id": "123456789",
                "ad_group_ids": [
                  "987654321"
                ],
                "ad_ids": [
                  "111222333",
                  "444555666"
                ],
                "reason": "Compare two ads side-by-side"
              },
              "cli_command": "hopkin microsoft ads list --account 123456789 --ad-group-ids 987654321 --ad-ids 111222333,444555666",
              "natural_language": "Get multiple ads by ID"
            },
            {
              "label": "Disapproved ads only",
              "mcp_params": {
                "account_id": "123456789",
                "ad_group_ids": [
                  "987654321"
                ],
                "editorial_status": [
                  "Disapproved"
                ],
                "reason": "Find ads blocked by editorial review in this ad group"
              },
              "cli_command": "hopkin microsoft ads list --account 123456789 --ad-group-ids 987654321 --editorial-status Disapproved",
              "natural_language": "Disapproved ads only"
            },
            {
              "label": "Disapproved ads with reasons",
              "mcp_params": {
                "account_id": "123456789",
                "ad_group_ids": [
                  "987654321"
                ],
                "editorial_status": [
                  "Disapproved"
                ],
                "include_policy_issues": true,
                "reason": "Find out why these ads were disapproved and whether we can appeal"
              },
              "cli_command": "hopkin microsoft ads list --account 123456789 --ad-group-ids 987654321 --editorial-status Disapproved --include-policy-issues true",
              "natural_language": "Disapproved ads with reasons"
            },
            {
              "label": "Force refresh",
              "mcp_params": {
                "account_id": "123456789",
                "ad_group_ids": [
                  "987654321"
                ],
                "refresh": true,
                "reason": "Get latest ad data"
              },
              "cli_command": "hopkin microsoft ads list --account 123456789 --ad-group-ids 987654321 --refresh true",
              "natural_language": "Force refresh"
            },
            {
              "label": "Paginate",
              "mcp_params": {
                "account_id": "123456789",
                "ad_group_ids": [
                  "987654321"
                ],
                "limit": 10,
                "cursor": "eyJvZmZzZXQiOjEwfQ",
                "reason": "Get next page of ads"
              },
              "cli_command": "hopkin microsoft ads list --account 123456789 --ad-group-ids 987654321 --limit 10 --cursor eyJvZmZzZXQiOjEwfQ",
              "natural_language": "Paginate"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "meta_ads_list_ads",
              "relationship": "cross-platform"
            },
            {
              "name": "google_ads_list_ads",
              "relationship": "cross-platform"
            },
            {
              "name": "reddit_ads_list_ads",
              "relationship": "cross-platform"
            },
            {
              "name": "tiktok_ads_list_ads",
              "relationship": "cross-platform"
            },
            {
              "name": "chatgpt_ads_list_ads",
              "relationship": "cross-platform"
            },
            {
              "name": "microsoft_ads_list_ad_groups",
              "relationship": "hierarchy"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "microsoft_ads_get_audience_report",
          "title": "Get Microsoft Ads Audience Report",
          "description": "",
          "cli_command": "hopkin microsoft audience-report get",
          "cli_flags": [
            {
              "flag": "--account",
              "description": "Microsoft Advertising account ID (AccountId). Required.",
              "type": "string",
              "required": true
            },
            {
              "flag": "--customer-id",
              "description": "Customer/manager ID (CustomerId). Required when accessing accounts under a manager hierarchy.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--date-range",
              "description": "Custom date range. Provide either date_range or date_preset.",
              "type": "object",
              "required": false
            },
            {
              "flag": "--date-preset",
              "description": "Predefined date range: Today, Yesterday, LastSevenDays, ThisWeek, LastWeek, LastFourWeeks, ThisMonth, LastMonth, LastThreeMonths, LastSixMonths, ThisYear, LastYear.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--breakdowns",
              "description": "One or more breakdown dimensions to include as columns. Microsoft Ads serves these across three different report types, so each call must pick breakdowns from one group only:\n  • demographics: AgeGroup, Gender (AgeGenderAudienceReport)\n  • geo: Location (GeographicPerformanceReport)\n  • campaign: Device, DayOfWeek, HourOfDay (CampaignPerformanceReport)\nCross-group combinations (e.g. AgeGroup + Device) are rejected — split them into separate calls. DayOfWeek and HourOfDay are mutually-exclusive aggregations and cannot be combined. When breakdowns include DayOfWeek or HourOfDay, the aggregation parameter must be Summary (the breakdown itself becomes the aggregation). Default: [\"AgeGroup\"].",
              "type": "array",
              "required": false
            },
            {
              "flag": "--campaign-ids",
              "description": "Filter to specific campaign IDs (up to 100). Accepts JSON array string or actual array.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--campaign-type",
              "description": "Return only rows from campaigns of these types. Options: Search, Shopping, PerformanceMax, Audience. Applied to the report rows before order_by and limit, so the limit counts matching rows only; goal_breakdown covers the matching campaigns. Video is rejected with an error: Microsoft Audience Network video runs in Audience campaigns, so use Audience.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--aggregation",
              "description": "Report aggregation period. Summary (default — collapses all dates), Daily, Weekly, Monthly.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--limit",
              "description": "Page size: rows per page (1–10000, default 1000; the geo/Location route defaults to 50 instead when limit is not explicitly set). count is the total across all pages. When more rows remain the response carries nextCursor; pass it back as cursor to get the next page.",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--cursor",
              "description": "Opaque pagination cursor. Omit for the first page. To fetch the next page, pass the nextCursor value from the previous response unchanged and repeat every other parameter exactly (only limit may change); a cursor used with different parameters is rejected. Later pages re-read the same report, so a cursor expires with it (about 24 hours).",
              "type": "string",
              "required": false
            },
            {
              "flag": "--include-all-conversions",
              "description": "When true, adds an all_conversions sub-object to each row containing AllConversionsQualified (all goals, including non-bidding), AllRevenue, ViewThroughConversionsQualified, and derived all_cost_per_conversion / all_roas. Mirrors the google-ads-mcp include_all_conversions opt-in. Default: false. The conversions field always contains bidding-set conversions (ConversionsQualified) only; all_conversions.all_conversions captures every conversion goal including those not marked \"Include in Conversions\" — typically 2-13× larger.",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--breakdown-by-goal",
              "description": "When true (default), runs a parallel GoalsAndFunnelsReport and attaches goal_breakdown keyed by campaign_id (campaign-scope when campaign_ids filter present, account_id otherwise) to the response. Granularity is campaign-level (Bing does not support demographic/geo-level goal joins). Set to false to skip the parallel call when latency matters more than goal split.",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--order-by",
              "description": "Sort rows by this metric descending before applying the limit. Default: spend. Options: spend, impressions, clicks, conversions, revenue, ctr. For geo (Location) breakdowns this is especially important: Bing returns rows ordered by location_id, not spend, so without sorting the top-N rows are arbitrary city IDs.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "audience-report",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": false,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "account_id": {
                "type": "string",
                "minLength": 1,
                "description": "Microsoft Advertising account ID (AccountId). Required."
              },
              "customer_id": {
                "type": "string",
                "minLength": 1,
                "description": "Customer/manager ID (CustomerId). Required when accessing accounts under a manager hierarchy."
              },
              "date_range": {
                "type": "object",
                "properties": {
                  "start": {
                    "type": "string",
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                    "description": "Start date in YYYY-MM-DD format"
                  },
                  "end": {
                    "type": "string",
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                    "description": "End date in YYYY-MM-DD format"
                  }
                },
                "required": [
                  "start",
                  "end"
                ],
                "additionalProperties": false,
                "description": "Custom date range. Provide either date_range or date_preset."
              },
              "date_preset": {
                "type": "string",
                "enum": [
                  "Today",
                  "Yesterday",
                  "LastSevenDays",
                  "ThisWeek",
                  "LastWeek",
                  "LastFourWeeks",
                  "ThisMonth",
                  "LastMonth",
                  "LastThreeMonths",
                  "LastSixMonths",
                  "ThisYear",
                  "LastYear"
                ],
                "description": "Predefined date range: Today, Yesterday, LastSevenDays, ThisWeek, LastWeek, LastFourWeeks, ThisMonth, LastMonth, LastThreeMonths, LastSixMonths, ThisYear, LastYear."
              },
              "breakdowns": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "AgeGroup",
                    "Gender",
                    "Location",
                    "Device",
                    "DayOfWeek",
                    "HourOfDay"
                  ]
                },
                "minItems": 1,
                "maxItems": 6,
                "default": [
                  "AgeGroup"
                ],
                "description": "One or more breakdown dimensions to include as columns. Microsoft Ads serves these across three different report types, so each call must pick breakdowns from one group only:\n  • demographics: AgeGroup, Gender (AgeGenderAudienceReport)\n  • geo: Location (GeographicPerformanceReport)\n  • campaign: Device, DayOfWeek, HourOfDay (CampaignPerformanceReport)\nCross-group combinations (e.g. AgeGroup + Device) are rejected — split them into separate calls. DayOfWeek and HourOfDay are mutually-exclusive aggregations and cannot be combined. When breakdowns include DayOfWeek or HourOfDay, the aggregation parameter must be Summary (the breakdown itself becomes the aggregation). Default: [\"AgeGroup\"]."
              },
              "campaign_ids": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1
                },
                "minItems": 1,
                "maxItems": 100,
                "description": "Filter to specific campaign IDs (up to 100). Accepts JSON array string or actual array."
              },
              "campaign_type": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "Search",
                    "Shopping",
                    "PerformanceMax",
                    "Audience",
                    "Video"
                  ]
                },
                "description": "Return only rows from campaigns of these types. Options: Search, Shopping, PerformanceMax, Audience. Applied to the report rows before order_by and limit, so the limit counts matching rows only; goal_breakdown covers the matching campaigns. Video is rejected with an error: Microsoft Audience Network video runs in Audience campaigns, so use Audience."
              },
              "aggregation": {
                "type": "string",
                "enum": [
                  "Daily",
                  "Weekly",
                  "Monthly",
                  "Summary"
                ],
                "default": "Summary",
                "description": "Report aggregation period. Summary (default — collapses all dates), Daily, Weekly, Monthly."
              },
              "limit": {
                "type": "integer",
                "minimum": 1,
                "maximum": 10000,
                "default": 1000,
                "description": "Page size: rows per page (1–10000, default 1000; the geo/Location route defaults to 50 instead when limit is not explicitly set). count is the total across all pages. When more rows remain the response carries nextCursor; pass it back as cursor to get the next page."
              },
              "cursor": {
                "type": "string",
                "minLength": 1,
                "description": "Opaque pagination cursor. Omit for the first page. To fetch the next page, pass the nextCursor value from the previous response unchanged and repeat every other parameter exactly (only limit may change); a cursor used with different parameters is rejected. Later pages re-read the same report, so a cursor expires with it (about 24 hours)."
              },
              "include_all_conversions": {
                "type": "boolean",
                "default": false,
                "description": "When true, adds an all_conversions sub-object to each row containing AllConversionsQualified (all goals, including non-bidding), AllRevenue, ViewThroughConversionsQualified, and derived all_cost_per_conversion / all_roas. Mirrors the google-ads-mcp include_all_conversions opt-in. Default: false. The conversions field always contains bidding-set conversions (ConversionsQualified) only; all_conversions.all_conversions captures every conversion goal including those not marked \"Include in Conversions\" — typically 2-13× larger."
              },
              "breakdown_by_goal": {
                "type": "boolean",
                "default": true,
                "description": "When true (default), runs a parallel GoalsAndFunnelsReport and attaches goal_breakdown keyed by campaign_id (campaign-scope when campaign_ids filter present, account_id otherwise) to the response. Granularity is campaign-level (Bing does not support demographic/geo-level goal joins). Set to false to skip the parallel call when latency matters more than goal split."
              },
              "order_by": {
                "type": "string",
                "enum": [
                  "spend",
                  "impressions",
                  "clicks",
                  "conversions",
                  "revenue",
                  "ctr"
                ],
                "default": "spend",
                "description": "Sort rows by this metric descending before applying the limit. Default: spend. Options: spend, impressions, clicks, conversions, revenue, ctr. For geo (Location) breakdowns this is especially important: Bing returns rows ordered by location_id, not spend, so without sorting the top-N rows are arbitrary city IDs."
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "account_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "account_id",
              "type": "string",
              "required": true,
              "description": "Microsoft Advertising account ID (AccountId). Required.",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "customer_id",
              "type": "string",
              "required": false,
              "description": "Customer/manager ID (CustomerId). Required when accessing accounts under a manager hierarchy.",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "date_range",
              "type": "object",
              "required": false,
              "description": "Custom date range. Provide either date_range or date_preset."
            },
            {
              "name": "date_preset",
              "type": "string",
              "required": false,
              "description": "Predefined date range: Today, Yesterday, LastSevenDays, ThisWeek, LastWeek, LastFourWeeks, ThisMonth, LastMonth, LastThreeMonths, LastSixMonths, ThisYear, LastYear.",
              "enum_values": [
                "Today",
                "Yesterday",
                "LastSevenDays",
                "ThisWeek",
                "LastWeek",
                "LastFourWeeks",
                "ThisMonth",
                "LastMonth",
                "LastThreeMonths",
                "LastSixMonths",
                "ThisYear",
                "LastYear"
              ]
            },
            {
              "name": "breakdowns",
              "type": "array",
              "required": false,
              "description": "One or more breakdown dimensions to include as columns. Microsoft Ads serves these across three different report types, so each call must pick breakdowns from one group only:\n  • demographics: AgeGroup, Gender (AgeGenderAudienceReport)\n  • geo: Location (GeographicPerformanceReport)\n  • campaign: Device, DayOfWeek, HourOfDay (CampaignPerformanceReport)\nCross-group combinations (e.g. AgeGroup + Device) are rejected — split them into separate calls. DayOfWeek and HourOfDay are mutually-exclusive aggregations and cannot be combined. When breakdowns include DayOfWeek or HourOfDay, the aggregation parameter must be Summary (the breakdown itself becomes the aggregation). Default: [\"AgeGroup\"].",
              "default": [
                "AgeGroup"
              ]
            },
            {
              "name": "campaign_ids",
              "type": "array",
              "required": false,
              "description": "Filter to specific campaign IDs (up to 100). Accepts JSON array string or actual array."
            },
            {
              "name": "campaign_type",
              "type": "array",
              "required": false,
              "description": "Return only rows from campaigns of these types. Options: Search, Shopping, PerformanceMax, Audience. Applied to the report rows before order_by and limit, so the limit counts matching rows only; goal_breakdown covers the matching campaigns. Video is rejected with an error: Microsoft Audience Network video runs in Audience campaigns, so use Audience."
            },
            {
              "name": "aggregation",
              "type": "string",
              "required": false,
              "description": "Report aggregation period. Summary (default — collapses all dates), Daily, Weekly, Monthly.",
              "enum_values": [
                "Daily",
                "Weekly",
                "Monthly",
                "Summary"
              ],
              "default": "Summary"
            },
            {
              "name": "limit",
              "type": "integer",
              "required": false,
              "description": "Page size: rows per page (1–10000, default 1000; the geo/Location route defaults to 50 instead when limit is not explicitly set). count is the total across all pages. When more rows remain the response carries nextCursor; pass it back as cursor to get the next page.",
              "default": 1000,
              "constraints": {
                "min": 1,
                "max": 10000
              }
            },
            {
              "name": "cursor",
              "type": "string",
              "required": false,
              "description": "Opaque pagination cursor. Omit for the first page. To fetch the next page, pass the nextCursor value from the previous response unchanged and repeat every other parameter exactly (only limit may change); a cursor used with different parameters is rejected. Later pages re-read the same report, so a cursor expires with it (about 24 hours).",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "include_all_conversions",
              "type": "boolean",
              "required": false,
              "description": "When true, adds an all_conversions sub-object to each row containing AllConversionsQualified (all goals, including non-bidding), AllRevenue, ViewThroughConversionsQualified, and derived all_cost_per_conversion / all_roas. Mirrors the google-ads-mcp include_all_conversions opt-in. Default: false. The conversions field always contains bidding-set conversions (ConversionsQualified) only; all_conversions.all_conversions captures every conversion goal including those not marked \"Include in Conversions\" — typically 2-13× larger.",
              "default": false
            },
            {
              "name": "breakdown_by_goal",
              "type": "boolean",
              "required": false,
              "description": "When true (default), runs a parallel GoalsAndFunnelsReport and attaches goal_breakdown keyed by campaign_id (campaign-scope when campaign_ids filter present, account_id otherwise) to the response. Granularity is campaign-level (Bing does not support demographic/geo-level goal joins). Set to false to skip the parallel call when latency matters more than goal split.",
              "default": true
            },
            {
              "name": "order_by",
              "type": "string",
              "required": false,
              "description": "Sort rows by this metric descending before applying the limit. Default: spend. Options: spend, impressions, clicks, conversions, revenue, ctr. For geo (Location) breakdowns this is especially important: Bing returns rows ordered by location_id, not spend, so without sorting the top-N rows are arbitrary city IDs.",
              "enum_values": [
                "spend",
                "impressions",
                "clicks",
                "conversions",
                "revenue",
                "ctr"
              ],
              "default": "spend"
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "google_ads_get_audience_report",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "microsoft_ads_get_audience_segment_report",
          "title": "Get Microsoft Ads Audience Segment Report",
          "description": "",
          "cli_command": "hopkin microsoft audience-segment-report get",
          "cli_flags": [
            {
              "flag": "--account",
              "description": "Microsoft Advertising account ID (AccountId). Required.",
              "type": "string",
              "required": true
            },
            {
              "flag": "--customer-id",
              "description": "Customer/manager ID (CustomerId). Required when accessing accounts under a manager hierarchy.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--date-range",
              "description": "Custom date range. Provide either date_range or date_preset.",
              "type": "object",
              "required": false
            },
            {
              "flag": "--date-preset",
              "description": "Predefined date range: Today, Yesterday, LastSevenDays, ThisWeek, LastWeek, LastFourWeeks, ThisMonth, LastMonth, LastThreeMonths, LastSixMonths, ThisYear, LastYear.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--campaign-ids",
              "description": "Filter to specific campaign IDs (up to 100). Accepts JSON-string or actual array.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--ad-group-ids",
              "description": "Narrow the report to these ad group IDs (up to 100). Each ad group's parent campaign is read from the local cache, or looked up under campaign_ids when given. With campaign_ids, every ad group must belong to one of those campaigns, and the report covers only the listed ad groups. An ad group that cannot be resolved is rejected with an error, never silently widened.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--account-status",
              "description": "Filter by account status: Active, Paused, Deleted.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--campaign-status",
              "description": "Filter by campaign status: Active, Paused, Deleted.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--ad-group-status",
              "description": "Filter by ad group status: Active, Paused, Deleted.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--aggregation",
              "description": "Report aggregation period. Summary (default — collapses dates), Daily, Weekly, Monthly. TimePeriod column is added automatically when aggregation is not Summary.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--include-all-conversions",
              "description": "When true, adds an all_conversions sub-object to each row containing AllConversionsQualified (all goals, including non-bidding), AllRevenue, ViewThroughConversionsQualified, and derived all_cost_per_conversion / all_roas. Mirrors the google-ads-mcp include_all_conversions opt-in. Default: false.",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--breakdown-by-goal",
              "description": "When true (default), runs a parallel GoalsAndFunnelsReport and attaches goal_breakdown keyed by campaign_id to the response. Granularity is campaign-level (segment-level goal join is not supported by Bing). Set to false to skip the parallel call when latency matters more than goal split.",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--include-video-metrics",
              "description": "Include VideoViews, ViewThroughRate, AverageCPV, VideoCompletionRate, CompletedVideoViews (Audience Network / video placements only).",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--order-by",
              "description": "Sort rows server-side (descending) before applying limit. Options: spend, impressions, clicks, conversions, ctr, bid_adjustment. Default: spend.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--limit",
              "description": "Page size: rows per page (1–10000, default 1000). count is the total across all pages. When more rows remain the response carries nextCursor; pass it back as cursor to get the next page.",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--cursor",
              "description": "Opaque pagination cursor. Omit for the first page. To fetch the next page, pass the nextCursor value from the previous response unchanged and repeat every other parameter exactly (only limit may change); a cursor used with different parameters is rejected. Later pages re-read the same report, so a cursor expires with it (about 24 hours).",
              "type": "string",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "audience-segment-report",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": false,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "account_id": {
                "type": "string",
                "minLength": 1,
                "description": "Microsoft Advertising account ID (AccountId). Required."
              },
              "customer_id": {
                "type": "string",
                "minLength": 1,
                "description": "Customer/manager ID (CustomerId). Required when accessing accounts under a manager hierarchy."
              },
              "date_range": {
                "type": "object",
                "properties": {
                  "start": {
                    "type": "string",
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                    "description": "Start date in YYYY-MM-DD format"
                  },
                  "end": {
                    "type": "string",
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                    "description": "End date in YYYY-MM-DD format"
                  }
                },
                "required": [
                  "start",
                  "end"
                ],
                "additionalProperties": false,
                "description": "Custom date range. Provide either date_range or date_preset."
              },
              "date_preset": {
                "type": "string",
                "enum": [
                  "Today",
                  "Yesterday",
                  "LastSevenDays",
                  "ThisWeek",
                  "LastWeek",
                  "LastFourWeeks",
                  "ThisMonth",
                  "LastMonth",
                  "LastThreeMonths",
                  "LastSixMonths",
                  "ThisYear",
                  "LastYear"
                ],
                "description": "Predefined date range: Today, Yesterday, LastSevenDays, ThisWeek, LastWeek, LastFourWeeks, ThisMonth, LastMonth, LastThreeMonths, LastSixMonths, ThisYear, LastYear."
              },
              "campaign_ids": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1
                },
                "minItems": 1,
                "maxItems": 100,
                "description": "Filter to specific campaign IDs (up to 100). Accepts JSON-string or actual array."
              },
              "ad_group_ids": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1
                },
                "minItems": 1,
                "maxItems": 100,
                "description": "Narrow the report to these ad group IDs (up to 100). Each ad group's parent campaign is read from the local cache, or looked up under campaign_ids when given. With campaign_ids, every ad group must belong to one of those campaigns, and the report covers only the listed ad groups. An ad group that cannot be resolved is rejected with an error, never silently widened."
              },
              "account_status": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "Active",
                    "Paused",
                    "Deleted"
                  ]
                },
                "description": "Filter by account status: Active, Paused, Deleted."
              },
              "campaign_status": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "Active",
                    "Paused",
                    "Deleted"
                  ]
                },
                "description": "Filter by campaign status: Active, Paused, Deleted."
              },
              "ad_group_status": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "Active",
                    "Paused",
                    "Deleted"
                  ]
                },
                "description": "Filter by ad group status: Active, Paused, Deleted."
              },
              "aggregation": {
                "type": "string",
                "enum": [
                  "Summary",
                  "Daily",
                  "Weekly",
                  "Monthly"
                ],
                "default": "Summary",
                "description": "Report aggregation period. Summary (default — collapses dates), Daily, Weekly, Monthly. TimePeriod column is added automatically when aggregation is not Summary."
              },
              "include_all_conversions": {
                "type": "boolean",
                "default": false,
                "description": "When true, adds an all_conversions sub-object to each row containing AllConversionsQualified (all goals, including non-bidding), AllRevenue, ViewThroughConversionsQualified, and derived all_cost_per_conversion / all_roas. Mirrors the google-ads-mcp include_all_conversions opt-in. Default: false."
              },
              "breakdown_by_goal": {
                "type": "boolean",
                "default": true,
                "description": "When true (default), runs a parallel GoalsAndFunnelsReport and attaches goal_breakdown keyed by campaign_id to the response. Granularity is campaign-level (segment-level goal join is not supported by Bing). Set to false to skip the parallel call when latency matters more than goal split."
              },
              "include_video_metrics": {
                "type": "boolean",
                "default": false,
                "description": "Include VideoViews, ViewThroughRate, AverageCPV, VideoCompletionRate, CompletedVideoViews (Audience Network / video placements only)."
              },
              "order_by": {
                "type": "string",
                "enum": [
                  "spend",
                  "impressions",
                  "clicks",
                  "conversions",
                  "ctr",
                  "bid_adjustment"
                ],
                "default": "spend",
                "description": "Sort rows server-side (descending) before applying limit. Options: spend, impressions, clicks, conversions, ctr, bid_adjustment. Default: spend."
              },
              "limit": {
                "type": "integer",
                "minimum": 1,
                "maximum": 10000,
                "default": 1000,
                "description": "Page size: rows per page (1–10000, default 1000). count is the total across all pages. When more rows remain the response carries nextCursor; pass it back as cursor to get the next page."
              },
              "cursor": {
                "type": "string",
                "minLength": 1,
                "description": "Opaque pagination cursor. Omit for the first page. To fetch the next page, pass the nextCursor value from the previous response unchanged and repeat every other parameter exactly (only limit may change); a cursor used with different parameters is rejected. Later pages re-read the same report, so a cursor expires with it (about 24 hours)."
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "account_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "account_id",
              "type": "string",
              "required": true,
              "description": "Microsoft Advertising account ID (AccountId). Required.",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "customer_id",
              "type": "string",
              "required": false,
              "description": "Customer/manager ID (CustomerId). Required when accessing accounts under a manager hierarchy.",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "date_range",
              "type": "object",
              "required": false,
              "description": "Custom date range. Provide either date_range or date_preset."
            },
            {
              "name": "date_preset",
              "type": "string",
              "required": false,
              "description": "Predefined date range: Today, Yesterday, LastSevenDays, ThisWeek, LastWeek, LastFourWeeks, ThisMonth, LastMonth, LastThreeMonths, LastSixMonths, ThisYear, LastYear.",
              "enum_values": [
                "Today",
                "Yesterday",
                "LastSevenDays",
                "ThisWeek",
                "LastWeek",
                "LastFourWeeks",
                "ThisMonth",
                "LastMonth",
                "LastThreeMonths",
                "LastSixMonths",
                "ThisYear",
                "LastYear"
              ]
            },
            {
              "name": "campaign_ids",
              "type": "array",
              "required": false,
              "description": "Filter to specific campaign IDs (up to 100). Accepts JSON-string or actual array."
            },
            {
              "name": "ad_group_ids",
              "type": "array",
              "required": false,
              "description": "Narrow the report to these ad group IDs (up to 100). Each ad group's parent campaign is read from the local cache, or looked up under campaign_ids when given. With campaign_ids, every ad group must belong to one of those campaigns, and the report covers only the listed ad groups. An ad group that cannot be resolved is rejected with an error, never silently widened."
            },
            {
              "name": "account_status",
              "type": "array",
              "required": false,
              "description": "Filter by account status: Active, Paused, Deleted."
            },
            {
              "name": "campaign_status",
              "type": "array",
              "required": false,
              "description": "Filter by campaign status: Active, Paused, Deleted."
            },
            {
              "name": "ad_group_status",
              "type": "array",
              "required": false,
              "description": "Filter by ad group status: Active, Paused, Deleted."
            },
            {
              "name": "aggregation",
              "type": "string",
              "required": false,
              "description": "Report aggregation period. Summary (default — collapses dates), Daily, Weekly, Monthly. TimePeriod column is added automatically when aggregation is not Summary.",
              "enum_values": [
                "Summary",
                "Daily",
                "Weekly",
                "Monthly"
              ],
              "default": "Summary"
            },
            {
              "name": "include_all_conversions",
              "type": "boolean",
              "required": false,
              "description": "When true, adds an all_conversions sub-object to each row containing AllConversionsQualified (all goals, including non-bidding), AllRevenue, ViewThroughConversionsQualified, and derived all_cost_per_conversion / all_roas. Mirrors the google-ads-mcp include_all_conversions opt-in. Default: false.",
              "default": false
            },
            {
              "name": "breakdown_by_goal",
              "type": "boolean",
              "required": false,
              "description": "When true (default), runs a parallel GoalsAndFunnelsReport and attaches goal_breakdown keyed by campaign_id to the response. Granularity is campaign-level (segment-level goal join is not supported by Bing). Set to false to skip the parallel call when latency matters more than goal split.",
              "default": true
            },
            {
              "name": "include_video_metrics",
              "type": "boolean",
              "required": false,
              "description": "Include VideoViews, ViewThroughRate, AverageCPV, VideoCompletionRate, CompletedVideoViews (Audience Network / video placements only).",
              "default": false
            },
            {
              "name": "order_by",
              "type": "string",
              "required": false,
              "description": "Sort rows server-side (descending) before applying limit. Options: spend, impressions, clicks, conversions, ctr, bid_adjustment. Default: spend.",
              "enum_values": [
                "spend",
                "impressions",
                "clicks",
                "conversions",
                "ctr",
                "bid_adjustment"
              ],
              "default": "spend"
            },
            {
              "name": "limit",
              "type": "integer",
              "required": false,
              "description": "Page size: rows per page (1–10000, default 1000). count is the total across all pages. When more rows remain the response carries nextCursor; pass it back as cursor to get the next page.",
              "default": 1000,
              "constraints": {
                "min": 1,
                "max": 10000
              }
            },
            {
              "name": "cursor",
              "type": "string",
              "required": false,
              "description": "Opaque pagination cursor. Omit for the first page. To fetch the next page, pass the nextCursor value from the previous response unchanged and repeat every other parameter exactly (only limit may change); a cursor used with different parameters is rejected. Later pages re-read the same report, so a cursor expires with it (about 24 hours).",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [],
          "response_format": "markdown",
          "related_tools": [],
          "tool_type": "standard"
        },
        {
          "name": "microsoft_ads_list_audiences",
          "title": "List Microsoft Ads Audiences",
          "description": "",
          "cli_command": "hopkin microsoft audiences list",
          "cli_flags": [
            {
              "flag": "--account",
              "description": "Microsoft Advertising account ID (AccountId).",
              "type": "string",
              "required": true
            },
            {
              "flag": "--customer-id",
              "description": "Customer/manager ID (CustomerId). Required for agency-managed accounts.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--audience-type",
              "description": "Filter by audience type. One or more of: RemarketingList, SimilarRemarketingList, CustomerList, CombinedList. Default: all types. Note: in-market / custom / product audiences cannot be enumerated via this tool — they are only visible in audience-performance reports.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--limit",
              "description": "Maximum number of audiences to return (1-1000, default 200).",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--cursor",
              "description": "Opaque cursor from the previous response's nextCursor. Pass it with otherwise identical parameters to get the next page; a cursor reused with different filters is rejected. Omit for the first page.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "audiences",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": false,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "account_id": {
                "type": "string",
                "minLength": 1,
                "description": "Microsoft Advertising account ID (AccountId)."
              },
              "customer_id": {
                "type": "string",
                "minLength": 1,
                "description": "Customer/manager ID (CustomerId). Required for agency-managed accounts."
              },
              "audience_type": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "RemarketingList",
                    "SimilarRemarketingList",
                    "CustomerList",
                    "CombinedList"
                  ]
                },
                "description": "Filter by audience type. One or more of: RemarketingList, SimilarRemarketingList, CustomerList, CombinedList. Default: all types. Note: in-market / custom / product audiences cannot be enumerated via this tool — they are only visible in audience-performance reports."
              },
              "limit": {
                "type": "integer",
                "minimum": 1,
                "maximum": 1000,
                "description": "Maximum number of audiences to return (1-1000, default 200)."
              },
              "cursor": {
                "type": "string",
                "minLength": 1,
                "description": "Opaque cursor from the previous response's nextCursor. Pass it with otherwise identical parameters to get the next page; a cursor reused with different filters is rejected. Omit for the first page."
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "account_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "account_id",
              "type": "string",
              "required": true,
              "description": "Microsoft Advertising account ID (AccountId).",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "customer_id",
              "type": "string",
              "required": false,
              "description": "Customer/manager ID (CustomerId). Required for agency-managed accounts.",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "audience_type",
              "type": "array",
              "required": false,
              "description": "Filter by audience type. One or more of: RemarketingList, SimilarRemarketingList, CustomerList, CombinedList. Default: all types. Note: in-market / custom / product audiences cannot be enumerated via this tool — they are only visible in audience-performance reports."
            },
            {
              "name": "limit",
              "type": "integer",
              "required": false,
              "description": "Maximum number of audiences to return (1-1000, default 200).",
              "constraints": {
                "min": 1,
                "max": 1000
              }
            },
            {
              "name": "cursor",
              "type": "string",
              "required": false,
              "description": "Opaque cursor from the previous response's nextCursor. Pass it with otherwise identical parameters to get the next page; a cursor reused with different filters is rejected. Omit for the first page.",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "google_ads_list_audiences",
              "relationship": "cross-platform"
            },
            {
              "name": "tiktok_ads_list_audiences",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "microsoft_ads_check_auth_status",
          "title": "Check Microsoft Ads Auth Status",
          "description": "THE tool for questions about Microsoft Ads authentication and connection status. Returns:\n- Whether the user has a connected Microsoft Ads OAuth token\n- Whether MICROSOFT_ADS_DEVELOPER_TOKEN is configured on the server (a server-side requirement that no data tool can report)\n- Microsoft Ads user info (name, login) when authenticated\n- List of all accessible ad accounts when authenticated\n\nCall this tool directly whenever the user's question IS about auth/connection/token status — e.g. \"Am I authenticated?\", \"Is my Microsoft Ads account connected?\", \"Check my connection\", \"Diagnose my auth / MISSING_DEVELOPER_TOKEN error\". It is the authoritative connection check and reports the developer-token configuration, which microsoft_ads_list_accounts cannot. Do NOT substitute a data tool like list_accounts to \"prove\" a connection when the user explicitly asked about auth status.\n\nDo NOT call it proactively before a data request the user actually made: if the user asks for their accounts/campaigns/etc., call that data tool directly, and only fall back to this tool reactively if the data tool fails with an auth or permission error (codes 105 InvalidCredentials, 106 UserIsNotAuthorized, 109 AuthenticationTokenExpired). Code 117 is rate limiting, not auth — wait and retry instead.",
          "cli_command": "hopkin microsoft auth check",
          "cli_flags": [
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "auth",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": false
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "After an auth error",
              "mcp_params": {
                "reason": "microsoft_ads_list_campaigns returned an authentication error; checking connection status"
              },
              "cli_command": "hopkin microsoft auth check",
              "natural_language": "After an auth error"
            },
            {
              "label": "After a permission error",
              "mcp_params": {
                "reason": "Got error code 106 (UserIsNotAuthorized); checking if Microsoft Ads account is connected"
              },
              "cli_command": "hopkin microsoft auth check",
              "natural_language": "After a permission error"
            },
            {
              "label": "Check developer token",
              "mcp_params": {
                "reason": "Received MISSING_DEVELOPER_TOKEN error; verifying server environment configuration"
              },
              "cli_command": "hopkin microsoft auth check",
              "natural_language": "Check developer token"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "meta_ads_check_auth_status",
              "relationship": "cross-platform"
            },
            {
              "name": "google_ads_check_auth_status",
              "relationship": "cross-platform"
            },
            {
              "name": "linkedin_ads_check_auth_status",
              "relationship": "cross-platform"
            },
            {
              "name": "reddit_ads_check_auth_status",
              "relationship": "cross-platform"
            },
            {
              "name": "tiktok_ads_check_auth_status",
              "relationship": "cross-platform"
            },
            {
              "name": "chatgpt_ads_check_auth_status",
              "relationship": "cross-platform"
            },
            {
              "name": "microsoft_ads_ping",
              "relationship": "sibling"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "microsoft_ads_get_billing_status",
          "title": "Billing status",
          "description": "Why a call was refused with a billing error (402) and how to get unblocked. Reports whether this organization is entitled, its subscription status, tier, trial end, credits used and left this period, the price table and a link to the billing page. With checkout_tier, the organization owner also gets a Stripe Checkout link for that plan; a member gets the owner's contact and a message to forward. Call it after any 402. While waiting for a human to pay, poll it every 10 seconds for the first minute, every 30 seconds until 5 minutes, then every 60 seconds until 15 minutes, then stop and tell the human. Once it returns entitled: true, retry the blocked call; if the retry still returns 402, wait 15 seconds and retry once. A Checkout link is a payment link: give it to the organization owner only.",
          "cli_command": "hopkin microsoft billing-status get",
          "cli_flags": [
            {
              "flag": "--checkout-tier",
              "description": "Organization owner only: also create a Stripe Checkout link for this plan. A member gets the owner's contact and a message to forward instead.",
              "type": "string",
              "required": false
            }
          ],
          "category": "billing-status",
          "annotations": {
            "readOnly": false,
            "destructive": false,
            "idempotent": true,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "checkout_tier": {
                "type": "string",
                "enum": [
                  "starter",
                  "pro",
                  "enterprise"
                ],
                "description": "Organization owner only: also create a Stripe Checkout link for this plan. A member gets the owner's contact and a message to forward instead."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "checkout_tier",
              "type": "string",
              "required": false,
              "description": "Organization owner only: also create a Stripe Checkout link for this plan. A member gets the owner's contact and a message to forward instead.",
              "enum_values": [
                "starter",
                "pro",
                "enterprise"
              ]
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "After a billing error",
              "mcp_params": {
                "reason": "A tool call was refused with a billing error (402)"
              },
              "cli_command": "hopkin microsoft billing-status get",
              "natural_language": "After a billing error"
            },
            {
              "label": "Owner: Checkout link",
              "mcp_params": {
                "checkout_tier": "pro",
                "reason": "The organization owner wants to pay for Pro now"
              },
              "cli_command": "hopkin microsoft billing-status get --checkout-tier pro",
              "natural_language": "Owner: Checkout link"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "meta_ads_get_billing_status",
              "relationship": "cross-platform"
            },
            {
              "name": "google_ads_get_billing_status",
              "relationship": "cross-platform"
            },
            {
              "name": "linkedin_ads_get_billing_status",
              "relationship": "cross-platform"
            },
            {
              "name": "reddit_ads_get_billing_status",
              "relationship": "cross-platform"
            },
            {
              "name": "tiktok_ads_get_billing_status",
              "relationship": "cross-platform"
            },
            {
              "name": "chatgpt_ads_get_billing_status",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "microsoft_ads_list_campaigns",
          "title": "List Microsoft Ads Campaigns",
          "description": "List campaigns for a Microsoft Advertising account. ",
          "cli_command": "hopkin microsoft campaigns list",
          "cli_flags": [
            {
              "flag": "--account",
              "description": "Microsoft Advertising Account ID (numeric string)",
              "type": "string",
              "required": true
            },
            {
              "flag": "--customer-id",
              "description": "Customer/manager ID (CustomerId). Required when accessing accounts via an agency manager. Equivalent to Google's login_customer_id.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--campaign",
              "description": "Look up a single campaign by ID. Mutually exclusive with campaign_ids. Filters and pagination are ignored when set.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--campaign-ids",
              "description": "Look up multiple campaigns by ID (max 50). Mutually exclusive with campaign_id. Filters and pagination are ignored when set. Accepts JSON array string or native array.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--status",
              "description": "Filter by campaign status. One or more of: Active, Paused, BudgetPaused, Deleted.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--campaign-type",
              "description": "Filter by campaign type. Allowed: Search, Shopping, PerformanceMax, Audience.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--search",
              "description": "Filter campaigns by name (case-insensitive substring match).",
              "type": "string",
              "required": false
            },
            {
              "flag": "--include-policy-issues",
              "description": "Default false. When true, also checks the ads and keywords inside each campaign on this page for editorial (policy) problems — Disapproved, ActiveLimited (approved in some markets only) and Inactive (under review) — and attaches them as policyIssues with Microsoft's reasons and appeal status. This is the account-wide disapproval check: combine with status:[\"Active\"] to cover only running campaigns. Live API scan of every ad group on the page — adds roughly 10-30s. Performance Max asset groups are not covered.",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--include-url-tracking",
              "description": "Default false. When true, runs the account-wide URL tracking audit (UTM and click-parameter checks): returns the account-level tracking template, final URL suffix, MSCLKID and UTM auto-tagging settings as urlTrackingScan.account, and attaches urlTracking to each campaign on this page covering every ad group, ad and keyword that sets its OWN tracking template, custom parameters, final URL suffix or (keywords) final URL — anything not listed inherits from its parent. urlTracking.patterns groups those overrides by shape with counts (a parameter value shows as null where it varies between entities), up to 15 patterns across the page; urlTracking.overrides lists the first 15 across the page with exact values. A campaign whose patterns were cut by that limit reports patternsOmitted > 0 — narrow with campaign_ids to see them. Each campaign row already carries its own values. Combine with status:[\"Active\"] to audit only running campaigns. Live API scan of every ad group on the page — adds roughly 10-30s; can be combined with include_policy_issues at no extra scan cost. Performance Max asset groups are not covered.",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--include-criteria",
              "description": "Campaign targeting detail, attached to each campaign on this page as settings: location targets and exclusions (with bid modifiers), location intent, radius targets, device bid adjustments, ad schedules, age and gender targets. Default \"none\" (unlike Google): it costs one extra API call per campaign on the page, so it is opt-in. \"summary\" caps the location and radius lists at 25 entries per campaign and reports the full size as locationTargetsTotalCount / locationExclusionsTotalCount / radiusTargetsTotalCount when it cut one; ad schedules are never capped; use \"summary\" for a daily settings check across the account (page through with nextCursor; the default page is up to 10 campaigns here, sized for the client, and fewer when campaigns carry many ad schedules — so a short page with a nextCursor is not the end; narrow with campaign_ids or a smaller limit if a page is still too large). \"full\" returns every entry uncapped and requires campaign_id or campaign_ids (max 10). For a campaign whose languages is null (its ad groups carry the language), settings.adGroupLanguages lists them, at one more call for that campaign. Bid strategy targets and languages are on every row regardless. Campaign-level targeting only: ad-group-level criteria, which can narrow a campaign's targeting, are not included.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--limit",
              "description": "Number of campaigns per page (default: 20, max: 100; default up to 10 with include_criteria, fewer when campaigns carry many ad schedules; an explicit limit is honoured as given). Each row carries its own tracking template and custom parameters, so on accounts with long campaign-level parameters (e.g. managed through Search Ads 360) a 100-campaign page can exceed MCP client output limits — keep the default page size and follow nextCursor instead.",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--cursor",
              "description": "Opaque cursor from the previous response's nextCursor. Pass it with otherwise identical parameters to get the next page; a cursor reused with different filters is rejected. Omit for the first page.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--refresh",
              "description": "Force a live fetch from the Microsoft Ads API, bypassing the local cache. Defaults to false (cache-first — the normal, faster path). Set to true whenever the user asks for fresh / latest / real-time / up-to-date data, or explicitly says they do NOT want cached / stale data. If the user does not care about freshness, leave it false.",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "campaigns",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": false,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "account_id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 20,
                "pattern": "^\\d+$",
                "description": "Microsoft Advertising Account ID (numeric string)"
              },
              "customer_id": {
                "type": "string",
                "minLength": 1,
                "description": "Customer/manager ID (CustomerId). Required when accessing accounts via an agency manager. Equivalent to Google's login_customer_id."
              },
              "campaign_id": {
                "type": "string",
                "minLength": 1,
                "description": "Look up a single campaign by ID. Mutually exclusive with campaign_ids. Filters and pagination are ignored when set."
              },
              "campaign_ids": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1
                },
                "minItems": 1,
                "maxItems": 50,
                "description": "Look up multiple campaigns by ID (max 50). Mutually exclusive with campaign_id. Filters and pagination are ignored when set. Accepts JSON array string or native array."
              },
              "status": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "Active",
                    "Paused",
                    "BudgetPaused",
                    "Deleted"
                  ]
                },
                "description": "Filter by campaign status. One or more of: Active, Paused, BudgetPaused, Deleted."
              },
              "campaign_type": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "Search",
                    "Shopping",
                    "PerformanceMax",
                    "Audience"
                  ]
                },
                "description": "Filter by campaign type. Allowed: Search, Shopping, PerformanceMax, Audience."
              },
              "search": {
                "type": "string",
                "minLength": 1,
                "description": "Filter campaigns by name (case-insensitive substring match)."
              },
              "include_policy_issues": {
                "type": "boolean",
                "description": "Default false. When true, also checks the ads and keywords inside each campaign on this page for editorial (policy) problems — Disapproved, ActiveLimited (approved in some markets only) and Inactive (under review) — and attaches them as policyIssues with Microsoft's reasons and appeal status. This is the account-wide disapproval check: combine with status:[\"Active\"] to cover only running campaigns. Live API scan of every ad group on the page — adds roughly 10-30s. Performance Max asset groups are not covered."
              },
              "include_url_tracking": {
                "type": "boolean",
                "description": "Default false. When true, runs the account-wide URL tracking audit (UTM and click-parameter checks): returns the account-level tracking template, final URL suffix, MSCLKID and UTM auto-tagging settings as urlTrackingScan.account, and attaches urlTracking to each campaign on this page covering every ad group, ad and keyword that sets its OWN tracking template, custom parameters, final URL suffix or (keywords) final URL — anything not listed inherits from its parent. urlTracking.patterns groups those overrides by shape with counts (a parameter value shows as null where it varies between entities), up to 15 patterns across the page; urlTracking.overrides lists the first 15 across the page with exact values. A campaign whose patterns were cut by that limit reports patternsOmitted > 0 — narrow with campaign_ids to see them. Each campaign row already carries its own values. Combine with status:[\"Active\"] to audit only running campaigns. Live API scan of every ad group on the page — adds roughly 10-30s; can be combined with include_policy_issues at no extra scan cost. Performance Max asset groups are not covered."
              },
              "include_criteria": {
                "type": "string",
                "enum": [
                  "none",
                  "summary",
                  "full"
                ],
                "description": "Campaign targeting detail, attached to each campaign on this page as settings: location targets and exclusions (with bid modifiers), location intent, radius targets, device bid adjustments, ad schedules, age and gender targets. Default \"none\" (unlike Google): it costs one extra API call per campaign on the page, so it is opt-in. \"summary\" caps the location and radius lists at 25 entries per campaign and reports the full size as locationTargetsTotalCount / locationExclusionsTotalCount / radiusTargetsTotalCount when it cut one; ad schedules are never capped; use \"summary\" for a daily settings check across the account (page through with nextCursor; the default page is up to 10 campaigns here, sized for the client, and fewer when campaigns carry many ad schedules — so a short page with a nextCursor is not the end; narrow with campaign_ids or a smaller limit if a page is still too large). \"full\" returns every entry uncapped and requires campaign_id or campaign_ids (max 10). For a campaign whose languages is null (its ad groups carry the language), settings.adGroupLanguages lists them, at one more call for that campaign. Bid strategy targets and languages are on every row regardless. Campaign-level targeting only: ad-group-level criteria, which can narrow a campaign's targeting, are not included."
              },
              "limit": {
                "type": "integer",
                "minimum": 1,
                "maximum": 100,
                "description": "Number of campaigns per page (default: 20, max: 100; default up to 10 with include_criteria, fewer when campaigns carry many ad schedules; an explicit limit is honoured as given). Each row carries its own tracking template and custom parameters, so on accounts with long campaign-level parameters (e.g. managed through Search Ads 360) a 100-campaign page can exceed MCP client output limits — keep the default page size and follow nextCursor instead."
              },
              "cursor": {
                "type": "string",
                "minLength": 1,
                "description": "Opaque cursor from the previous response's nextCursor. Pass it with otherwise identical parameters to get the next page; a cursor reused with different filters is rejected. Omit for the first page."
              },
              "refresh": {
                "type": "boolean",
                "default": false,
                "description": "Force a live fetch from the Microsoft Ads API, bypassing the local cache. Defaults to false (cache-first — the normal, faster path). Set to true whenever the user asks for fresh / latest / real-time / up-to-date data, or explicitly says they do NOT want cached / stale data. If the user does not care about freshness, leave it false."
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "account_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "account_id",
              "type": "string",
              "required": true,
              "description": "Microsoft Advertising Account ID (numeric string)",
              "constraints": {
                "min_length": 1,
                "max_length": 20,
                "pattern": "^\\d+$"
              }
            },
            {
              "name": "customer_id",
              "type": "string",
              "required": false,
              "description": "Customer/manager ID (CustomerId). Required when accessing accounts via an agency manager. Equivalent to Google's login_customer_id.",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "campaign_id",
              "type": "string",
              "required": false,
              "description": "Look up a single campaign by ID. Mutually exclusive with campaign_ids. Filters and pagination are ignored when set.",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "campaign_ids",
              "type": "array",
              "required": false,
              "description": "Look up multiple campaigns by ID (max 50). Mutually exclusive with campaign_id. Filters and pagination are ignored when set. Accepts JSON array string or native array."
            },
            {
              "name": "status",
              "type": "array",
              "required": false,
              "description": "Filter by campaign status. One or more of: Active, Paused, BudgetPaused, Deleted."
            },
            {
              "name": "campaign_type",
              "type": "array",
              "required": false,
              "description": "Filter by campaign type. Allowed: Search, Shopping, PerformanceMax, Audience."
            },
            {
              "name": "search",
              "type": "string",
              "required": false,
              "description": "Filter campaigns by name (case-insensitive substring match).",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "include_policy_issues",
              "type": "boolean",
              "required": false,
              "description": "Default false. When true, also checks the ads and keywords inside each campaign on this page for editorial (policy) problems — Disapproved, ActiveLimited (approved in some markets only) and Inactive (under review) — and attaches them as policyIssues with Microsoft's reasons and appeal status. This is the account-wide disapproval check: combine with status:[\"Active\"] to cover only running campaigns. Live API scan of every ad group on the page — adds roughly 10-30s. Performance Max asset groups are not covered."
            },
            {
              "name": "include_url_tracking",
              "type": "boolean",
              "required": false,
              "description": "Default false. When true, runs the account-wide URL tracking audit (UTM and click-parameter checks): returns the account-level tracking template, final URL suffix, MSCLKID and UTM auto-tagging settings as urlTrackingScan.account, and attaches urlTracking to each campaign on this page covering every ad group, ad and keyword that sets its OWN tracking template, custom parameters, final URL suffix or (keywords) final URL — anything not listed inherits from its parent. urlTracking.patterns groups those overrides by shape with counts (a parameter value shows as null where it varies between entities), up to 15 patterns across the page; urlTracking.overrides lists the first 15 across the page with exact values. A campaign whose patterns were cut by that limit reports patternsOmitted > 0 — narrow with campaign_ids to see them. Each campaign row already carries its own values. Combine with status:[\"Active\"] to audit only running campaigns. Live API scan of every ad group on the page — adds roughly 10-30s; can be combined with include_policy_issues at no extra scan cost. Performance Max asset groups are not covered."
            },
            {
              "name": "include_criteria",
              "type": "string",
              "required": false,
              "description": "Campaign targeting detail, attached to each campaign on this page as settings: location targets and exclusions (with bid modifiers), location intent, radius targets, device bid adjustments, ad schedules, age and gender targets. Default \"none\" (unlike Google): it costs one extra API call per campaign on the page, so it is opt-in. \"summary\" caps the location and radius lists at 25 entries per campaign and reports the full size as locationTargetsTotalCount / locationExclusionsTotalCount / radiusTargetsTotalCount when it cut one; ad schedules are never capped; use \"summary\" for a daily settings check across the account (page through with nextCursor; the default page is up to 10 campaigns here, sized for the client, and fewer when campaigns carry many ad schedules — so a short page with a nextCursor is not the end; narrow with campaign_ids or a smaller limit if a page is still too large). \"full\" returns every entry uncapped and requires campaign_id or campaign_ids (max 10). For a campaign whose languages is null (its ad groups carry the language), settings.adGroupLanguages lists them, at one more call for that campaign. Bid strategy targets and languages are on every row regardless. Campaign-level targeting only: ad-group-level criteria, which can narrow a campaign's targeting, are not included.",
              "enum_values": [
                "none",
                "summary",
                "full"
              ]
            },
            {
              "name": "limit",
              "type": "integer",
              "required": false,
              "description": "Number of campaigns per page (default: 20, max: 100; default up to 10 with include_criteria, fewer when campaigns carry many ad schedules; an explicit limit is honoured as given). Each row carries its own tracking template and custom parameters, so on accounts with long campaign-level parameters (e.g. managed through Search Ads 360) a 100-campaign page can exceed MCP client output limits — keep the default page size and follow nextCursor instead.",
              "constraints": {
                "min": 1,
                "max": 100
              }
            },
            {
              "name": "cursor",
              "type": "string",
              "required": false,
              "description": "Opaque cursor from the previous response's nextCursor. Pass it with otherwise identical parameters to get the next page; a cursor reused with different filters is rejected. Omit for the first page.",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "refresh",
              "type": "boolean",
              "required": false,
              "description": "Force a live fetch from the Microsoft Ads API, bypassing the local cache. Defaults to false (cache-first — the normal, faster path). Set to true whenever the user asks for fresh / latest / real-time / up-to-date data, or explicitly says they do NOT want cached / stale data. If the user does not care about freshness, leave it false.",
              "default": false
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "List all campaigns",
              "mcp_params": {
                "account_id": "123456789",
                "reason": "Show all campaigns for this account"
              },
              "cli_command": "hopkin microsoft campaigns list --account 123456789",
              "natural_language": "List all campaigns"
            },
            {
              "label": "Filter by status",
              "mcp_params": {
                "account_id": "123456789",
                "status": [
                  "Active"
                ],
                "reason": "List only active campaigns"
              },
              "cli_command": "hopkin microsoft campaigns list --account 123456789 --status Active",
              "natural_language": "Filter by status"
            },
            {
              "label": "Filter by type",
              "mcp_params": {
                "account_id": "123456789",
                "campaign_type": [
                  "Search",
                  "PerformanceMax"
                ],
                "reason": "List Search and PMax campaigns"
              },
              "cli_command": "hopkin microsoft campaigns list --account 123456789 --campaign-type Search,PerformanceMax",
              "natural_language": "Filter by type"
            },
            {
              "label": "Search by name",
              "mcp_params": {
                "account_id": "123456789",
                "search": "brand",
                "reason": "Find brand campaigns"
              },
              "cli_command": "hopkin microsoft campaigns list --account 123456789 --search brand",
              "natural_language": "Search by name"
            },
            {
              "label": "Get by ID",
              "mcp_params": {
                "account_id": "123456789",
                "campaign_id": "987654321",
                "reason": "Get specific campaign details"
              },
              "cli_command": "hopkin microsoft campaigns list --account 123456789 --campaign 987654321",
              "natural_language": "Get by ID"
            },
            {
              "label": "Get multiple by ID",
              "mcp_params": {
                "account_id": "123456789",
                "campaign_ids": [
                  "111",
                  "222",
                  "333"
                ],
                "reason": "Compare specific campaigns"
              },
              "cli_command": "hopkin microsoft campaigns list --account 123456789 --campaign-ids 111,222,333",
              "natural_language": "Get multiple by ID"
            },
            {
              "label": "Via manager account",
              "mcp_params": {
                "account_id": "123456789",
                "customer_id": "999888777",
                "reason": "List campaigns via agency manager"
              },
              "cli_command": "hopkin microsoft campaigns list --account 123456789 --customer-id 999888777",
              "natural_language": "Via manager account"
            },
            {
              "label": "Account-wide policy check (active campaigns)",
              "mcp_params": {
                "account_id": "123456789",
                "status": [
                  "Active"
                ],
                "include_policy_issues": true,
                "limit": 100,
                "reason": "Daily check for disapproved ads and keywords on running campaigns"
              },
              "cli_command": "hopkin microsoft campaigns list --account 123456789 --status Active --include-policy-issues true --limit 100",
              "natural_language": "Account-wide policy check (active campaigns)"
            },
            {
              "label": "Policy issues for one campaign",
              "mcp_params": {
                "account_id": "123456789",
                "campaign_id": "987654321",
                "include_policy_issues": true,
                "reason": "Investigate why this campaign is underdelivering"
              },
              "cli_command": "hopkin microsoft campaigns list --account 123456789 --campaign 987654321 --include-policy-issues true",
              "natural_language": "Policy issues for one campaign"
            },
            {
              "label": "Daily settings check (bid targets, locations, languages)",
              "mcp_params": {
                "account_id": "123456789",
                "include_criteria": "summary",
                "reason": "Verify no target CPA, location or language changed since yesterday"
              },
              "cli_command": "hopkin microsoft campaigns list --account 123456789 --include-criteria summary",
              "natural_language": "Daily settings check (bid targets, locations, languages)"
            },
            {
              "label": "Every location target of named campaigns",
              "mcp_params": {
                "account_id": "123456789",
                "campaign_ids": [
                  "111",
                  "222"
                ],
                "include_criteria": "full",
                "reason": "List every ZIP code these campaigns target"
              },
              "cli_command": "hopkin microsoft campaigns list --account 123456789 --campaign-ids 111,222 --include-criteria full",
              "natural_language": "Every location target of named campaigns"
            },
            {
              "label": "Force refresh",
              "mcp_params": {
                "account_id": "123456789",
                "refresh": true,
                "reason": "Get latest campaign data from API"
              },
              "cli_command": "hopkin microsoft campaigns list --account 123456789 --refresh true",
              "natural_language": "Force refresh"
            },
            {
              "label": "Paginated",
              "mcp_params": {
                "account_id": "123456789",
                "limit": 10,
                "cursor": "eyJvZmZzZXQiOjEwfQ==",
                "reason": "Get second page of campaigns"
              },
              "cli_command": "hopkin microsoft campaigns list --account 123456789 --limit 10 --cursor eyJvZmZzZXQiOjEwfQ==",
              "natural_language": "Paginated"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "meta_ads_list_campaigns",
              "relationship": "cross-platform"
            },
            {
              "name": "google_ads_list_campaigns",
              "relationship": "cross-platform"
            },
            {
              "name": "linkedin_ads_list_campaigns",
              "relationship": "cross-platform"
            },
            {
              "name": "reddit_ads_list_campaigns",
              "relationship": "cross-platform"
            },
            {
              "name": "tiktok_ads_list_campaigns",
              "relationship": "cross-platform"
            },
            {
              "name": "chatgpt_ads_list_campaigns",
              "relationship": "cross-platform"
            },
            {
              "name": "microsoft_ads_list_ad_groups",
              "relationship": "hierarchy"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "microsoft_ads_render_chart",
          "title": "Render Chart",
          "description": "Interactive UI for rendering Microsoft Ads data visualization charts",
          "cli_command": "",
          "cli_flags": [],
          "category": "chart",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": false
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Brief explanation of why you are rendering this chart"
              },
              "chart": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "const": "bar"
                      },
                      "data": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "label": {
                              "type": "string"
                            },
                            "values": {
                              "type": "object",
                              "additionalProperties": {
                                "type": [
                                  "number",
                                  "null"
                                ]
                              }
                            }
                          },
                          "required": [
                            "label",
                            "values"
                          ],
                          "additionalProperties": false
                        }
                      },
                      "metric": {
                        "anyOf": [
                          {
                            "type": "object",
                            "properties": {
                              "field": {
                                "type": "string"
                              },
                              "label": {
                                "type": "string"
                              },
                              "format": {
                                "type": "string"
                              },
                              "tickFormat": {
                                "type": "string"
                              },
                              "labelFields": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "field": {
                                      "type": "string"
                                    },
                                    "format": {
                                      "type": "string"
                                    },
                                    "suffix": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "field"
                                  ],
                                  "additionalProperties": false
                                }
                              }
                            },
                            "required": [
                              "field",
                              "label"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "field": {
                                  "type": "string"
                                },
                                "label": {
                                  "type": "string"
                                },
                                "format": {
                                  "type": "string"
                                },
                                "tickFormat": {
                                  "type": "string"
                                },
                                "labelFields": {
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "properties": {
                                      "field": {
                                        "type": "string"
                                      },
                                      "format": {
                                        "type": "string"
                                      },
                                      "suffix": {
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "field"
                                    ],
                                    "additionalProperties": false
                                  }
                                }
                              },
                              "required": [
                                "field",
                                "label"
                              ],
                              "additionalProperties": false
                            }
                          }
                        ]
                      },
                      "orientation": {
                        "type": "string",
                        "enum": [
                          "horizontal",
                          "vertical"
                        ],
                        "default": "horizontal"
                      },
                      "sort": {
                        "type": "string",
                        "enum": [
                          "asc",
                          "desc",
                          "none"
                        ],
                        "default": "desc"
                      },
                      "colorBy": {
                        "anyOf": [
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "fixed"
                              }
                            },
                            "required": [
                              "type"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "threshold"
                              },
                              "field": {
                                "type": "string"
                              },
                              "threshold": {
                                "type": "number"
                              },
                              "sentiment": {
                                "type": "string",
                                "enum": [
                                  "above-positive",
                                  "above-negative"
                                ],
                                "default": "above-positive"
                              }
                            },
                            "required": [
                              "type",
                              "field",
                              "threshold"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "continuous"
                              },
                              "field": {
                                "type": "string"
                              },
                              "scheme": {
                                "type": "string"
                              },
                              "reverse": {
                                "type": "boolean",
                                "default": false
                              },
                              "muteZero": {
                                "type": "boolean",
                                "default": false
                              },
                              "label": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "type",
                              "field",
                              "scheme"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "categorical"
                              }
                            },
                            "required": [
                              "type"
                            ],
                            "additionalProperties": false
                          }
                        ]
                      },
                      "referenceLines": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "value": {
                              "type": "number"
                            },
                            "label": {
                              "type": "string"
                            },
                            "dash": {
                              "type": "string",
                              "enum": [
                                "solid",
                                "dashed"
                              ],
                              "default": "dashed"
                            }
                          },
                          "required": [
                            "value"
                          ],
                          "additionalProperties": false
                        }
                      },
                      "table": {
                        "type": "object",
                        "properties": {
                          "columns": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "field": {
                                  "type": "string"
                                },
                                "label": {
                                  "type": "string"
                                },
                                "format": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "field",
                                "label"
                              ],
                              "additionalProperties": false
                            }
                          }
                        },
                        "required": [
                          "columns"
                        ],
                        "additionalProperties": false
                      },
                      "panelWidth": {
                        "type": "number"
                      },
                      "width": {
                        "type": "number",
                        "default": 700
                      },
                      "height": {
                        "type": "number",
                        "default": 400
                      }
                    },
                    "required": [
                      "type",
                      "data",
                      "metric"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "const": "scatter"
                      },
                      "data": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "label": {
                              "type": "string"
                            },
                            "values": {
                              "type": "object",
                              "additionalProperties": {
                                "type": "number"
                              }
                            }
                          },
                          "required": [
                            "label",
                            "values"
                          ],
                          "additionalProperties": false
                        }
                      },
                      "x": {
                        "type": "object",
                        "properties": {
                          "field": {
                            "type": "string"
                          },
                          "label": {
                            "type": "string"
                          },
                          "scale": {
                            "type": "string",
                            "enum": [
                              "linear",
                              "log"
                            ],
                            "default": "linear"
                          },
                          "format": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "field",
                          "label"
                        ],
                        "additionalProperties": false
                      },
                      "y": {
                        "type": "object",
                        "properties": {
                          "field": {
                            "type": "string"
                          },
                          "label": {
                            "type": "string"
                          },
                          "scale": {
                            "type": "string",
                            "enum": [
                              "linear",
                              "log"
                            ],
                            "default": "linear"
                          },
                          "format": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "field",
                          "label"
                        ],
                        "additionalProperties": false
                      },
                      "size": {
                        "type": "object",
                        "properties": {
                          "field": {
                            "type": "string"
                          },
                          "range": {
                            "type": "array",
                            "items": {
                              "type": "number"
                            },
                            "minItems": 2,
                            "maxItems": 2,
                            "default": [
                              3,
                              20
                            ]
                          }
                        },
                        "required": [
                          "field"
                        ],
                        "additionalProperties": false
                      },
                      "color": {
                        "anyOf": [
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "fixed"
                              }
                            },
                            "required": [
                              "type"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "continuous"
                              },
                              "field": {
                                "type": "string"
                              },
                              "scheme": {
                                "type": "string"
                              },
                              "reverse": {
                                "type": "boolean",
                                "default": false
                              }
                            },
                            "required": [
                              "type",
                              "field",
                              "scheme"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "threshold"
                              },
                              "field": {
                                "type": "string"
                              },
                              "threshold": {
                                "type": "number"
                              },
                              "sentiment": {
                                "type": "string",
                                "enum": [
                                  "above-positive",
                                  "above-negative"
                                ],
                                "default": "above-positive"
                              }
                            },
                            "required": [
                              "type",
                              "field",
                              "threshold"
                            ],
                            "additionalProperties": false
                          }
                        ]
                      },
                      "referenceLines": {
                        "type": "object",
                        "properties": {
                          "medianX": {
                            "type": "boolean",
                            "default": false
                          },
                          "medianY": {
                            "type": "boolean",
                            "default": false
                          },
                          "targets": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "slope": {
                                  "type": "number"
                                },
                                "label": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "slope",
                                "label"
                              ],
                              "additionalProperties": false
                            }
                          },
                          "regression": {
                            "type": "boolean",
                            "default": false
                          }
                        },
                        "additionalProperties": false
                      },
                      "table": {
                        "type": "object",
                        "properties": {
                          "columns": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "field": {
                                  "type": "string"
                                },
                                "label": {
                                  "type": "string"
                                },
                                "format": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "field",
                                "label"
                              ],
                              "additionalProperties": false
                            }
                          }
                        },
                        "required": [
                          "columns"
                        ],
                        "additionalProperties": false
                      },
                      "width": {
                        "type": "number",
                        "default": 700
                      },
                      "height": {
                        "type": "number",
                        "default": 450
                      }
                    },
                    "required": [
                      "type",
                      "data",
                      "x",
                      "y"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "const": "timeseries"
                      },
                      "data": {
                        "type": "object",
                        "properties": {
                          "current": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "date": {
                                  "type": "string"
                                },
                                "values": {
                                  "type": "object",
                                  "additionalProperties": {
                                    "type": "number"
                                  }
                                }
                              },
                              "required": [
                                "date",
                                "values"
                              ],
                              "additionalProperties": false
                            }
                          },
                          "previous": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "date": {
                                  "type": "string"
                                },
                                "values": {
                                  "type": "object",
                                  "additionalProperties": {
                                    "type": "number"
                                  }
                                }
                              },
                              "required": [
                                "date",
                                "values"
                              ],
                              "additionalProperties": false
                            }
                          },
                          "projection": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "date": {
                                  "type": "string"
                                },
                                "values": {
                                  "type": "object",
                                  "additionalProperties": {
                                    "type": "number"
                                  }
                                }
                              },
                              "required": [
                                "date",
                                "values"
                              ],
                              "additionalProperties": false
                            }
                          }
                        },
                        "required": [
                          "current"
                        ],
                        "additionalProperties": false
                      },
                      "primaryAxis": {
                        "type": "object",
                        "properties": {
                          "field": {
                            "type": "string"
                          },
                          "label": {
                            "type": "string"
                          },
                          "mark": {
                            "type": "string",
                            "enum": [
                              "bar",
                              "area",
                              "line"
                            ]
                          },
                          "groupBars": {
                            "type": "boolean"
                          }
                        },
                        "required": [
                          "field",
                          "label",
                          "mark"
                        ],
                        "additionalProperties": false
                      },
                      "secondaryAxis": {
                        "type": "object",
                        "properties": {
                          "field": {
                            "type": "string"
                          },
                          "label": {
                            "type": "string"
                          },
                          "dash": {
                            "type": "string",
                            "enum": [
                              "solid",
                              "dashed"
                            ],
                            "default": "solid"
                          }
                        },
                        "required": [
                          "field",
                          "label"
                        ],
                        "additionalProperties": false
                      },
                      "width": {
                        "type": "number",
                        "default": 700
                      },
                      "height": {
                        "type": "number",
                        "default": 400
                      }
                    },
                    "required": [
                      "type",
                      "data",
                      "primaryAxis"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "const": "funnel"
                      },
                      "data": {
                        "type": "object",
                        "properties": {
                          "stages": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          },
                          "volume": {
                            "type": "array",
                            "items": {
                              "type": "number"
                            }
                          },
                          "costPer": {
                            "type": "array",
                            "items": {
                              "type": "number"
                            }
                          }
                        },
                        "required": [
                          "stages",
                          "volume"
                        ],
                        "additionalProperties": false
                      },
                      "showConversionRates": {
                        "type": "boolean",
                        "default": true
                      },
                      "showCostPer": {
                        "type": "boolean",
                        "default": true
                      },
                      "colorScheme": {
                        "type": "string",
                        "default": "Blues"
                      },
                      "width": {
                        "type": "number",
                        "default": 700
                      },
                      "height": {
                        "type": "number",
                        "default": 350
                      }
                    },
                    "required": [
                      "type",
                      "data"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "const": "waterfall"
                      },
                      "data": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "label": {
                              "type": "string"
                            },
                            "value": {
                              "type": "number"
                            },
                            "colorValue": {
                              "type": "number"
                            }
                          },
                          "required": [
                            "label",
                            "value",
                            "colorValue"
                          ],
                          "additionalProperties": false
                        }
                      },
                      "colorScheme": {
                        "type": "string",
                        "default": "RdYlGn"
                      },
                      "colorLabel": {
                        "type": "string",
                        "default": "CPA ($)"
                      },
                      "valueLabel": {
                        "type": "string",
                        "default": "Cumulative Spend ($)"
                      },
                      "width": {
                        "type": "number",
                        "default": 700
                      },
                      "height": {
                        "type": "number"
                      }
                    },
                    "required": [
                      "type",
                      "data"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "const": "choropleth"
                      },
                      "data": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "state": {
                              "type": "string"
                            },
                            "value": {
                              "type": "number"
                            },
                            "meta": {
                              "type": "object",
                              "additionalProperties": {
                                "type": [
                                  "string",
                                  "number",
                                  "null"
                                ]
                              }
                            }
                          },
                          "required": [
                            "state",
                            "value"
                          ],
                          "additionalProperties": false
                        }
                      },
                      "valueLabel": {
                        "type": "string"
                      },
                      "colorScheme": {
                        "type": "string",
                        "default": "YlOrRd"
                      },
                      "colorType": {
                        "type": "string",
                        "enum": [
                          "quantize",
                          "linear",
                          "threshold"
                        ],
                        "default": "quantize"
                      },
                      "reverse": {
                        "type": "boolean",
                        "default": false
                      },
                      "tip": {
                        "type": "object",
                        "properties": {
                          "fields": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "field": {
                                  "type": "string"
                                },
                                "label": {
                                  "type": "string"
                                },
                                "format": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "field",
                                "label"
                              ],
                              "additionalProperties": false
                            }
                          }
                        },
                        "required": [
                          "fields"
                        ],
                        "additionalProperties": false
                      },
                      "width": {
                        "type": "number",
                        "default": 700
                      },
                      "height": {
                        "type": "number",
                        "default": 450
                      }
                    },
                    "required": [
                      "type",
                      "data",
                      "valueLabel"
                    ],
                    "additionalProperties": false
                  }
                ]
              }
            },
            "required": [
              "reason",
              "chart"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Brief explanation of why you are rendering this chart",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            },
            {
              "name": "chart",
              "type": "object",
              "required": true,
              "description": "Chart configuration. Supported types: bar, scatter, timeseries, funnel, waterfall, choropleth."
            }
          ],
          "examples": [],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "meta_ads_render_chart",
              "relationship": "cross-platform"
            },
            {
              "name": "google_ads_render_chart",
              "relationship": "cross-platform"
            },
            {
              "name": "linkedin_ads_render_chart",
              "relationship": "cross-platform"
            },
            {
              "name": "reddit_ads_render_chart",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "app",
          "chart_types": [
            "bar",
            "scatter",
            "timeseries",
            "funnel",
            "waterfall",
            "choropleth"
          ]
        },
        {
          "name": "microsoft_ads_list_connections",
          "title": "List Microsoft Connections",
          "description": "List the Microsoft Ads connections available to you — both ones you own and ones shared with you via an organization. Use this to discover connection IDs for set_default / share / rename / revoke.",
          "cli_command": "hopkin microsoft connections list",
          "cli_flags": [],
          "category": "connections",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": false
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "List connections",
              "mcp_params": {
                "reason": "User asked which Microsoft accounts they have connected"
              },
              "cli_command": "hopkin microsoft connections list",
              "natural_language": "List connections"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "meta_ads_list_connections",
              "relationship": "cross-platform"
            },
            {
              "name": "google_ads_list_connections",
              "relationship": "cross-platform"
            },
            {
              "name": "linkedin_ads_list_connections",
              "relationship": "cross-platform"
            },
            {
              "name": "reddit_ads_list_connections",
              "relationship": "cross-platform"
            },
            {
              "name": "tiktok_ads_list_connections",
              "relationship": "cross-platform"
            },
            {
              "name": "chatgpt_ads_list_connections",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "microsoft_ads_set_default_connection",
          "title": "Set Default Microsoft Connection",
          "description": "Set the Microsoft connection that should be used by default for subsequent Microsoft Ads tool calls. The default is scoped to the calling actor (your user account, or the API key being used).",
          "cli_command": "hopkin microsoft set-default-connection",
          "cli_flags": [
            {
              "flag": "--connection-id",
              "description": "UUID of the connection to mark as the actor's default Microsoft connection.",
              "type": "string",
              "required": true
            }
          ],
          "category": "set-default-connection",
          "annotations": {
            "readOnly": false,
            "destructive": false,
            "idempotent": true,
            "openWorld": false
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "UUID of the connection to mark as the actor's default Microsoft connection."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "connection_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "connection_id",
              "type": "string",
              "required": true,
              "description": "UUID of the connection to mark as the actor's default Microsoft connection."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "Set default",
              "mcp_params": {
                "connection_id": "00000000-0000-0000-0000-000000000001",
                "reason": "User picked their primary Microsoft workspace"
              },
              "cli_command": "hopkin microsoft set-default-connection --connection-id 00000000-0000-0000-0000-000000000001",
              "natural_language": "Set default"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "meta_ads_set_default_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "google_ads_set_default_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "linkedin_ads_set_default_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "reddit_ads_set_default_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "tiktok_ads_set_default_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "chatgpt_ads_set_default_connection",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "microsoft_ads_share_connection",
          "title": "Share Microsoft Connection With Organization",
          "description": "Share an owned Microsoft connection with all members of your organization, so teammates can use it without having to reconnect Microsoft themselves. You must be the owner of the connection.",
          "cli_command": "hopkin microsoft share-connection",
          "cli_flags": [
            {
              "flag": "--connection-id",
              "description": "UUID of the connection to share with your organization. You must be the owner.",
              "type": "string",
              "required": true
            }
          ],
          "category": "share-connection",
          "annotations": {
            "readOnly": false,
            "destructive": false,
            "idempotent": true,
            "openWorld": false
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "UUID of the connection to share with your organization. You must be the owner."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "connection_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "connection_id",
              "type": "string",
              "required": true,
              "description": "UUID of the connection to share with your organization. You must be the owner."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "Share with org",
              "mcp_params": {
                "connection_id": "00000000-0000-0000-0000-000000000001",
                "reason": "User asked to share this Microsoft connection with their teammates"
              },
              "cli_command": "hopkin microsoft share-connection --connection-id 00000000-0000-0000-0000-000000000001",
              "natural_language": "Share with org"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "meta_ads_share_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "google_ads_share_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "linkedin_ads_share_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "reddit_ads_share_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "tiktok_ads_share_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "chatgpt_ads_share_connection",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "microsoft_ads_unshare_connection",
          "title": "Unshare Microsoft Connection From Organization",
          "description": "Stop sharing an owned Microsoft connection with your organization. Teammates lose access immediately. You must be the owner.",
          "cli_command": "hopkin microsoft unshare-connection",
          "cli_flags": [
            {
              "flag": "--connection-id",
              "description": "UUID of the connection to stop sharing with your organization. You must be the owner.",
              "type": "string",
              "required": true
            }
          ],
          "category": "unshare-connection",
          "annotations": {
            "readOnly": false,
            "destructive": true,
            "idempotent": true,
            "openWorld": false
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "UUID of the connection to stop sharing with your organization. You must be the owner."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "connection_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "connection_id",
              "type": "string",
              "required": true,
              "description": "UUID of the connection to stop sharing with your organization. You must be the owner."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "Stop sharing",
              "mcp_params": {
                "connection_id": "00000000-0000-0000-0000-000000000001",
                "reason": "User no longer wants the team to access this Microsoft connection"
              },
              "cli_command": "hopkin microsoft unshare-connection --connection-id 00000000-0000-0000-0000-000000000001",
              "natural_language": "Stop sharing"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "meta_ads_unshare_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "google_ads_unshare_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "linkedin_ads_unshare_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "reddit_ads_unshare_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "tiktok_ads_unshare_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "chatgpt_ads_unshare_connection",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "microsoft_ads_rename_connection",
          "title": "Rename Microsoft Connection",
          "description": "Rename the display name of an owned Microsoft connection. The OAuth grant and underlying account are unaffected — this only changes the human-readable label. You must be the owner.",
          "cli_command": "hopkin microsoft rename-connection",
          "cli_flags": [
            {
              "flag": "--connection-id",
              "description": "UUID of the connection to rename. You must be the owner.",
              "type": "string",
              "required": true
            },
            {
              "flag": "--display-name",
              "description": "New human-readable name for the connection.",
              "type": "string",
              "required": true
            }
          ],
          "category": "rename-connection",
          "annotations": {
            "readOnly": false,
            "destructive": false,
            "idempotent": true,
            "openWorld": false
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "UUID of the connection to rename. You must be the owner."
              },
              "display_name": {
                "type": "string",
                "minLength": 1,
                "maxLength": 120,
                "description": "New human-readable name for the connection."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "connection_id",
              "display_name",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "connection_id",
              "type": "string",
              "required": true,
              "description": "UUID of the connection to rename. You must be the owner."
            },
            {
              "name": "display_name",
              "type": "string",
              "required": true,
              "description": "New human-readable name for the connection.",
              "constraints": {
                "min_length": 1,
                "max_length": 120
              }
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "Rename",
              "mcp_params": {
                "connection_id": "00000000-0000-0000-0000-000000000001",
                "display_name": "Acme — Production",
                "reason": "User wanted a clearer label for this Microsoft connection"
              },
              "cli_command": "hopkin microsoft rename-connection --connection-id 00000000-0000-0000-0000-000000000001 --display-name Acme — Production",
              "natural_language": "Rename"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "meta_ads_rename_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "google_ads_rename_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "linkedin_ads_rename_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "reddit_ads_rename_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "tiktok_ads_rename_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "chatgpt_ads_rename_connection",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "microsoft_ads_revoke_connection",
          "title": "Revoke Microsoft Connection",
          "description": "Revoke (soft-delete) an owned Microsoft connection. Any defaults pointing to it are invalidated and shared org members lose access. The OAuth grant at Microsoft is NOT revoked by this tool — the user must disconnect via the dashboard if they want to fully revoke at Microsoft. You must be the owner.",
          "cli_command": "hopkin microsoft revoke-connection",
          "cli_flags": [
            {
              "flag": "--connection-id",
              "description": "UUID of the connection to revoke. You must be the owner.",
              "type": "string",
              "required": true
            }
          ],
          "category": "revoke-connection",
          "annotations": {
            "readOnly": false,
            "destructive": true,
            "idempotent": true,
            "openWorld": false
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "UUID of the connection to revoke. You must be the owner."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "connection_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "connection_id",
              "type": "string",
              "required": true,
              "description": "UUID of the connection to revoke. You must be the owner."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "Revoke",
              "mcp_params": {
                "connection_id": "00000000-0000-0000-0000-000000000001",
                "reason": "User asked to disconnect this Microsoft account"
              },
              "cli_command": "hopkin microsoft revoke-connection --connection-id 00000000-0000-0000-0000-000000000001",
              "natural_language": "Revoke"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "meta_ads_revoke_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "google_ads_revoke_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "linkedin_ads_revoke_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "reddit_ads_revoke_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "tiktok_ads_revoke_connection",
              "relationship": "cross-platform"
            },
            {
              "name": "chatgpt_ads_revoke_connection",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "microsoft_ads_developer_feedback",
          "title": "Submit Microsoft Ads MCP Developer Feedback",
          "description": "Submit feedback about missing tools, improvements needed, bugs encountered, or workflow gaps discovered while helping a user with Microsoft Advertising data. This is the correct, expected action when a Microsoft Ads capability is missing or broken — reach for it directly rather than just apologizing or giving up.\n\nUse this when:\n- A user request cannot be fulfilled because a tool doesn't exist — set feedback_type='missing_tool' and describe the missing capability and why the user needs it. When the user explicitly asks you to submit/file/report feedback about a gap or missing feature, that is a direct instruction: ALWAYS call this tool to record it. Do this even if you suspect a tool for the capability might already exist — submit the feedback as asked, and you may note the possibly-relevant existing tool inside the feedback message. Do NOT refuse, and do NOT stop at only searching the toolset.\n- An existing tool returned incorrect or incomplete data — set feedback_type='bug' and include tool_name.\n- A multi-step workflow is unnecessarily complex due to toolset limitations — feedback_type='workflow_gap'.\n- You discovered a Microsoft Ads API behaviour that the toolset doesn't handle.\n\nSubmitting is low-cost and always safe: it records the feedback and returns status=submitted. When in doubt about whether a gap is worth reporting, report it.\n\nDo NOT use for:\n- User-facing API errors (auth errors, account permission errors, rate limits)\n- Questions about Microsoft Advertising strategy — that's outside this tool's scope\n- General conversation",
          "cli_command": "hopkin microsoft developer-feedback send",
          "cli_flags": [
            {
              "flag": "--feedback-type",
              "description": "Feedback category: missing_tool (capability gap), improvement (enhance existing), bug (incorrect result), workflow_gap (awkward multi-step), other",
              "type": "string",
              "required": true
            },
            {
              "flag": "--message",
              "description": "Description of the issue or request. Be specific: include what you tried, what the user needed, and why the current toolset fell short.",
              "type": "string",
              "required": true
            },
            {
              "flag": "--tool-name",
              "description": "Name of the specific tool involved (e.g. microsoft_ads_list_campaigns). Omit for general feedback or missing-tool requests.",
              "type": "string",
              "required": false
            }
          ],
          "category": "feedback",
          "annotations": {
            "readOnly": false,
            "destructive": false,
            "idempotent": false,
            "openWorld": false
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "feedback_type": {
                "type": "string",
                "enum": [
                  "missing_tool",
                  "improvement",
                  "bug",
                  "workflow_gap",
                  "other"
                ],
                "description": "Feedback category: missing_tool (capability gap), improvement (enhance existing), bug (incorrect result), workflow_gap (awkward multi-step), other"
              },
              "message": {
                "type": "string",
                "minLength": 10,
                "maxLength": 2000,
                "description": "Description of the issue or request. Be specific: include what you tried, what the user needed, and why the current toolset fell short."
              },
              "tool_name": {
                "type": "string",
                "minLength": 1,
                "maxLength": 100,
                "description": "Name of the specific tool involved (e.g. microsoft_ads_list_campaigns). Omit for general feedback or missing-tool requests."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "feedback_type",
              "message",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "feedback_type",
              "type": "string",
              "required": true,
              "description": "Feedback category: missing_tool (capability gap), improvement (enhance existing), bug (incorrect result), workflow_gap (awkward multi-step), other",
              "enum_values": [
                "missing_tool",
                "improvement",
                "bug",
                "workflow_gap",
                "other"
              ]
            },
            {
              "name": "message",
              "type": "string",
              "required": true,
              "description": "Description of the issue or request. Be specific: include what you tried, what the user needed, and why the current toolset fell short.",
              "constraints": {
                "min_length": 10,
                "max_length": 2000
              }
            },
            {
              "name": "tool_name",
              "type": "string",
              "required": false,
              "description": "Name of the specific tool involved (e.g. microsoft_ads_list_campaigns). Omit for general feedback or missing-tool requests.",
              "constraints": {
                "min_length": 1,
                "max_length": 100
              }
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "Missing tool",
              "mcp_params": {
                "feedback_type": "missing_tool",
                "message": "No tool to list Audience segments by account. User wanted to see which LinkedIn profile targeting segments are active. microsoft_ads_list_ad_groups returns ad group names but not audience targeting details.",
                "reason": "User asked about audience targeting but no tool covers it"
              },
              "cli_command": "hopkin microsoft developer-feedback send --feedback-type missing_tool --message No tool to list Audience segments by account. User wanted to see which LinkedIn profile targeting segments are active. microsoft_ads_list_ad_groups returns ad group names but not audience targeting details.",
              "natural_language": "Missing tool"
            },
            {
              "label": "Bug report",
              "mcp_params": {
                "feedback_type": "bug",
                "tool_name": "microsoft_ads_get_performance_report",
                "message": "Report for date_preset=LastMonth returned 0 rows even though the account has active campaigns with traffic. The reportRequestId was returned but downloadUrl was null after 5 retries.",
                "reason": "Encountered null download URL bug even with retry logic"
              },
              "cli_command": "hopkin microsoft developer-feedback send --feedback-type bug --tool-name microsoft_ads_get_performance_report --message Report for date_preset=LastMonth returned 0 rows even though the account has active campaigns with traffic. The reportRequestId was returned but downloadUrl was null after 5 retries.",
              "natural_language": "Bug report"
            },
            {
              "label": "Workflow gap",
              "mcp_params": {
                "feedback_type": "workflow_gap",
                "message": "To compare two campaigns side-by-side the user must make two separate microsoft_ads_get_performance_report calls then mentally compare. A single tool accepting multiple campaign_ids and returning a comparison table would be much better.",
                "reason": "User wanted campaign-level comparison; no efficient path exists"
              },
              "cli_command": "hopkin microsoft developer-feedback send --feedback-type workflow_gap --message To compare two campaigns side-by-side the user must make two separate microsoft_ads_get_performance_report calls then mentally compare. A single tool accepting multiple campaign_ids and returning a comparison table would be much better.",
              "natural_language": "Workflow gap"
            },
            {
              "label": "Improvement request",
              "mcp_params": {
                "feedback_type": "improvement",
                "tool_name": "microsoft_ads_list_keywords",
                "message": "list_keywords does not return the keyword bid amount or Quality Score sub-components (KeywordRelevance, LandingPageRelevance, LandingPageUserExperience). These are returned by GetKeywordsByAdGroupId with ReturnAdditionalFields=QualityScore.",
                "reason": "User asked about keyword quality; only overall QualityScore (1-10) was visible"
              },
              "cli_command": "hopkin microsoft developer-feedback send --feedback-type improvement --tool-name microsoft_ads_list_keywords --message list_keywords does not return the keyword bid amount or Quality Score sub-components (KeywordRelevance, LandingPageRelevance, LandingPageUserExperience). These are returned by GetKeywordsByAdGroupId with ReturnAdditionalFields=QualityScore.",
              "natural_language": "Improvement request"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "meta_ads_developer_feedback",
              "relationship": "cross-platform"
            },
            {
              "name": "google_ads_developer_feedback",
              "relationship": "cross-platform"
            },
            {
              "name": "linkedin_ads_developer_feedback",
              "relationship": "cross-platform"
            },
            {
              "name": "reddit_ads_developer_feedback",
              "relationship": "cross-platform"
            },
            {
              "name": "tiktok_ads_developer_feedback",
              "relationship": "cross-platform"
            },
            {
              "name": "chatgpt_ads_developer_feedback",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "microsoft_ads_get_impression_share",
          "title": "Get Microsoft Ads Impression Share",
          "description": "",
          "cli_command": "hopkin microsoft impression-share get",
          "cli_flags": [
            {
              "flag": "--account",
              "description": "Microsoft Advertising account ID (AccountId). Required.",
              "type": "string",
              "required": true
            },
            {
              "flag": "--customer-id",
              "description": "Customer/manager ID (CustomerId). Required when accessing accounts under a manager hierarchy.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--date-range",
              "description": "Custom date range. Provide either date_range or date_preset.",
              "type": "object",
              "required": false
            },
            {
              "flag": "--date-preset",
              "description": "Predefined date range: Today, Yesterday, LastSevenDays, ThisWeek, LastWeek, LastFourWeeks, ThisMonth, LastMonth, LastThreeMonths, LastSixMonths, ThisYear, LastYear.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--level",
              "description": "Report level: Campaign (default) returns IS per campaign; AdGroup returns IS broken down per ad group within each campaign.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--campaign-ids",
              "description": "Filter to specific campaign IDs (up to 100). Accepts JSON array string or actual array.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--campaign-type",
              "description": "Return only rows from campaigns of these types. Options: Search, Shopping, PerformanceMax, Audience. Applied to the report rows before limit, typing each campaign from Microsoft's current campaign list (the impression share report carries no type). Rows from campaigns missing from that list, such as deleted ones, are excluded and counted in warnings.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--aggregation",
              "description": "Report aggregation period. Daily (default), Weekly, Monthly, or Summary (all dates collapsed).",
              "type": "string",
              "required": false
            },
            {
              "flag": "--limit",
              "description": "Page size: rows per page (1–10000, default 1000). count is the total across all pages. When more rows remain the response carries nextCursor; pass it back as cursor to get the next page.",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--cursor",
              "description": "Opaque pagination cursor. Omit for the first page. To fetch the next page, pass the nextCursor value from the previous response unchanged and repeat every other parameter exactly (only limit may change); a cursor used with different parameters is rejected. Later pages re-read the same report, so a cursor expires with it (about 24 hours).",
              "type": "string",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "impression-share",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": false,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "account_id": {
                "type": "string",
                "minLength": 1,
                "description": "Microsoft Advertising account ID (AccountId). Required."
              },
              "customer_id": {
                "type": "string",
                "minLength": 1,
                "description": "Customer/manager ID (CustomerId). Required when accessing accounts under a manager hierarchy."
              },
              "date_range": {
                "type": "object",
                "properties": {
                  "start": {
                    "type": "string",
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                    "description": "Start date in YYYY-MM-DD format"
                  },
                  "end": {
                    "type": "string",
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                    "description": "End date in YYYY-MM-DD format"
                  }
                },
                "required": [
                  "start",
                  "end"
                ],
                "additionalProperties": false,
                "description": "Custom date range. Provide either date_range or date_preset."
              },
              "date_preset": {
                "type": "string",
                "enum": [
                  "Today",
                  "Yesterday",
                  "LastSevenDays",
                  "ThisWeek",
                  "LastWeek",
                  "LastFourWeeks",
                  "ThisMonth",
                  "LastMonth",
                  "LastThreeMonths",
                  "LastSixMonths",
                  "ThisYear",
                  "LastYear"
                ],
                "description": "Predefined date range: Today, Yesterday, LastSevenDays, ThisWeek, LastWeek, LastFourWeeks, ThisMonth, LastMonth, LastThreeMonths, LastSixMonths, ThisYear, LastYear."
              },
              "level": {
                "type": "string",
                "enum": [
                  "Campaign",
                  "AdGroup"
                ],
                "default": "Campaign",
                "description": "Report level: Campaign (default) returns IS per campaign; AdGroup returns IS broken down per ad group within each campaign."
              },
              "campaign_ids": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1
                },
                "minItems": 1,
                "maxItems": 100,
                "description": "Filter to specific campaign IDs (up to 100). Accepts JSON array string or actual array."
              },
              "campaign_type": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "Search",
                    "Shopping",
                    "PerformanceMax",
                    "Audience"
                  ]
                },
                "description": "Return only rows from campaigns of these types. Options: Search, Shopping, PerformanceMax, Audience. Applied to the report rows before limit, typing each campaign from Microsoft's current campaign list (the impression share report carries no type). Rows from campaigns missing from that list, such as deleted ones, are excluded and counted in warnings."
              },
              "aggregation": {
                "type": "string",
                "enum": [
                  "Daily",
                  "Weekly",
                  "Monthly",
                  "Summary"
                ],
                "default": "Daily",
                "description": "Report aggregation period. Daily (default), Weekly, Monthly, or Summary (all dates collapsed)."
              },
              "limit": {
                "type": "integer",
                "minimum": 1,
                "maximum": 10000,
                "default": 1000,
                "description": "Page size: rows per page (1–10000, default 1000). count is the total across all pages. When more rows remain the response carries nextCursor; pass it back as cursor to get the next page."
              },
              "cursor": {
                "type": "string",
                "minLength": 1,
                "description": "Opaque pagination cursor. Omit for the first page. To fetch the next page, pass the nextCursor value from the previous response unchanged and repeat every other parameter exactly (only limit may change); a cursor used with different parameters is rejected. Later pages re-read the same report, so a cursor expires with it (about 24 hours)."
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "account_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "account_id",
              "type": "string",
              "required": true,
              "description": "Microsoft Advertising account ID (AccountId). Required.",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "customer_id",
              "type": "string",
              "required": false,
              "description": "Customer/manager ID (CustomerId). Required when accessing accounts under a manager hierarchy.",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "date_range",
              "type": "object",
              "required": false,
              "description": "Custom date range. Provide either date_range or date_preset."
            },
            {
              "name": "date_preset",
              "type": "string",
              "required": false,
              "description": "Predefined date range: Today, Yesterday, LastSevenDays, ThisWeek, LastWeek, LastFourWeeks, ThisMonth, LastMonth, LastThreeMonths, LastSixMonths, ThisYear, LastYear.",
              "enum_values": [
                "Today",
                "Yesterday",
                "LastSevenDays",
                "ThisWeek",
                "LastWeek",
                "LastFourWeeks",
                "ThisMonth",
                "LastMonth",
                "LastThreeMonths",
                "LastSixMonths",
                "ThisYear",
                "LastYear"
              ]
            },
            {
              "name": "level",
              "type": "string",
              "required": false,
              "description": "Report level: Campaign (default) returns IS per campaign; AdGroup returns IS broken down per ad group within each campaign.",
              "enum_values": [
                "Campaign",
                "AdGroup"
              ],
              "default": "Campaign"
            },
            {
              "name": "campaign_ids",
              "type": "array",
              "required": false,
              "description": "Filter to specific campaign IDs (up to 100). Accepts JSON array string or actual array."
            },
            {
              "name": "campaign_type",
              "type": "array",
              "required": false,
              "description": "Return only rows from campaigns of these types. Options: Search, Shopping, PerformanceMax, Audience. Applied to the report rows before limit, typing each campaign from Microsoft's current campaign list (the impression share report carries no type). Rows from campaigns missing from that list, such as deleted ones, are excluded and counted in warnings."
            },
            {
              "name": "aggregation",
              "type": "string",
              "required": false,
              "description": "Report aggregation period. Daily (default), Weekly, Monthly, or Summary (all dates collapsed).",
              "enum_values": [
                "Daily",
                "Weekly",
                "Monthly",
                "Summary"
              ],
              "default": "Daily"
            },
            {
              "name": "limit",
              "type": "integer",
              "required": false,
              "description": "Page size: rows per page (1–10000, default 1000). count is the total across all pages. When more rows remain the response carries nextCursor; pass it back as cursor to get the next page.",
              "default": 1000,
              "constraints": {
                "min": 1,
                "max": 10000
              }
            },
            {
              "name": "cursor",
              "type": "string",
              "required": false,
              "description": "Opaque pagination cursor. Omit for the first page. To fetch the next page, pass the nextCursor value from the previous response unchanged and repeat every other parameter exactly (only limit may change); a cursor used with different parameters is rejected. Later pages re-read the same report, so a cursor expires with it (about 24 hours).",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [],
          "response_format": "markdown",
          "related_tools": [],
          "tool_type": "standard"
        },
        {
          "name": "microsoft_ads_get_insights",
          "title": "Get Microsoft Ads Insights",
          "description": "Flexible Microsoft Advertising report query. Lets you pick exactly which report type,\ncolumns, date range, aggregation, and filters to apply. Use this tool when you need\ncolumns or report types not covered by microsoft_ads_get_performance_report.\n\nSupported report types: CampaignPerformance, AdGroupPerformance, AdPerformance,\nKeywordPerformance, SearchQueryPerformance, AudiencePerformance.\n\nAll columns must be valid for the chosen report_type (validated before submission).\n\nDON'T use this for standard breakdowns that have dedicated tools — they pre-select the right\nreport type and columns, so prefer them:\n  • Demographic / geo / device / time-of-day slices (AgeGroup, Gender, Device, Location,\n    DayOfWeek, HourOfDay) → microsoft_ads_get_audience_report\n  • Audience LIST / segment performance (remarketing, in-market, custom, similar) →\n    microsoft_ads_get_audience_segment_report\n  • A single account-wide performance total → microsoft_ads_get_account_summary\n  • Per-campaign/ad-group/ad/keyword performance rows → microsoft_ads_get_performance_report\n  • Search-term analysis → microsoft_ads_get_search_terms\nReach for get_insights only when you need columns or a report_type those tools don't cover.\n\nIMPORTANT: This tool triggers Microsoft's async report pipeline (submit → poll → download).\nExpect 5–30 seconds per call. Large date ranges or many columns slow it down.\nUse date_preset for convenience, or date_range for precise control.\n\nPAGING: rows come back one page at a time, sorted Spend highest first when Spend is a requested\ncolumn. Leave limit unset: each page is then sized so the whole response fits what MCP clients\naccept (up to ${DEFAULT_REPORT_PAGE_ROWS} rows, ending early at about ${RESPONSE_CHAR_BUDGET.toLocaleString('en-US')} characters, so wide rows give\nfewer rows per page). To get more rows, follow the cursor rather than raising limit; an explicit\nlimit (max ${MAX_REPORT_PAGE_ROWS}) is exact. count is the total across all pages. While pagination.hasMore is true, call again with exactly the same parameters plus\ncursor = pagination.nextCursor; repeat until hasMore is false to collect every row. Later pages\nre-read the same report rather than running a new one (no queue wait, each row exactly once),\nand omit goal_breakdown, which only the first page carries. campaign_ids filters the rows on\nCampaignId, which is added to the columns (added_columns) when not requested.\n\nFor standard campaign/ad group/ad performance metrics, prefer microsoft_ads_get_performance_report\nwhich pre-selects optimal columns and is simpler to use.",
          "cli_command": "hopkin microsoft insights get",
          "cli_flags": [
            {
              "flag": "--account",
              "description": "Microsoft Advertising Account ID (numeric string)",
              "type": "string",
              "required": true
            },
            {
              "flag": "--customer-id",
              "description": "Customer/manager ID (CustomerId). Required when accessing accounts through an agency manager.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--report-type",
              "description": "Report type determining which dimensions and metrics are available. Options: CampaignPerformance, AdGroupPerformance, AdPerformance, KeywordPerformance, SearchQueryPerformance, AudiencePerformance.",
              "type": "string",
              "required": true
            },
            {
              "flag": "--columns",
              "description": "Columns to include in the report. Must be valid for the chosen report_type. Always include at least one dimension (e.g. CampaignId, TimePeriod) and one metric (e.g. Impressions). Column lists are validated at call time; invalid columns return an error listing valid values. Quality Score columns: QualityScore, ExpectedCtr, AdRelevance, LandingPageExperience on Campaign/AdGroup/Keyword reports; the HistoricalQualityScore, HistoricalExpectedCtr, HistoricalAdRelevance and HistoricalLandingPageExperience columns (Keyword only) work only with aggregation Daily. URL tracking columns (TrackingTemplate, CustomParameters, FinalUrlSuffix; DestinationUrl on Ad/Keyword; FinalUrl, FinalMobileUrl on Ad/Keyword) report each entity's OWN value — an empty value means it inherits from its parent — and only for entities with impressions in the date range. CustomParameters is formatted {_key}=value;{_key2}=value2. DestinationUrl is a legacy field and is usually empty. For a full tracking audit, including entities that have not served, use microsoft_ads_list_campaigns with include_url_tracking.",
              "type": "array",
              "required": true
            },
            {
              "flag": "--date-range",
              "description": "Custom date range. Use either date_range or date_preset, not both.",
              "type": "object",
              "required": false
            },
            {
              "flag": "--date-preset",
              "description": "Predefined date range. Options: Today, Yesterday, LastSevenDays, ThisWeek, LastWeek, LastFourWeeks, ThisMonth, LastMonth, LastThreeMonths, LastSixMonths, ThisYear, LastYear.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--aggregation",
              "description": "Time aggregation for the report. Daily (default): one row per day. Weekly: one row per week. Monthly: one row per month. Summary: single totals row.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--campaign-ids",
              "description": "Filter report to specific campaign IDs (up to 50). Rows are matched on CampaignId, so CampaignId is added to the columns when not requested (listed in added_columns).",
              "type": "array",
              "required": false
            },
            {
              "flag": "--ad-group-ids",
              "description": "Narrow the report to these ad group IDs (up to 50). Supported for AdGroupPerformance, AdPerformance, KeywordPerformance, SearchQueryPerformance and AudiencePerformance; rejected with an error for CampaignPerformance. Each ad group's parent campaign is read from the local cache, or looked up under campaign_ids when given. With campaign_ids, every ad group must belong to one of those campaigns. An ad group that cannot be resolved is rejected with an error, never silently widened to the account.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--breakdown-by-goal",
              "description": "When true (default), runs a parallel GoalsAndFunnelsReport and attaches the results as goal_breakdown on the response. The caller controls which conversion columns to include — add AllConversionsQualified, AllRevenue, or ViewThroughConversionsQualified to the columns array directly if you want the all-goals family. Pass false to skip the parallel call when latency matters more than per-goal context. NOTE: there is no include_all_conversions flag on this tool. As the passthrough column-list tool, you control the All* columns explicitly via the columns parameter.",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--limit",
              "description": "Rows per page (1-10000). Usually omit it: the page is then sized so the whole response fits what MCP clients accept, up to 500 rows and ending early at about 45,000 characters, so wide rows give fewer rows per page. To get more rows, follow pagination.nextCursor rather than raising limit; set limit only if your client takes large responses. The whole report is sorted, Spend highest first when Spend is a requested column, then by the row's column values, and returned one page at a time. count is the total across all pages; while more rows remain, pagination.hasMore is true and pagination.nextCursor is set.",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--cursor",
              "description": "Opaque cursor from pagination.nextCursor of the previous response; never construct one. To get the next page, repeat the call with exactly the same parameters (only limit may change) plus this cursor. Later pages re-read the same Microsoft report instead of generating a new one, so every row appears exactly once. Cursors expire with the report (about 24 hours). goal_breakdown is returned on the first page only.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "insights",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": false,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "account_id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 20,
                "pattern": "^\\d+$",
                "description": "Microsoft Advertising Account ID (numeric string)"
              },
              "customer_id": {
                "type": "string",
                "minLength": 1,
                "description": "Customer/manager ID (CustomerId). Required when accessing accounts through an agency manager."
              },
              "report_type": {
                "type": "string",
                "enum": [
                  "CampaignPerformance",
                  "AdGroupPerformance",
                  "AdPerformance",
                  "KeywordPerformance",
                  "SearchQueryPerformance",
                  "AudiencePerformance"
                ],
                "description": "Report type determining which dimensions and metrics are available. Options: CampaignPerformance, AdGroupPerformance, AdPerformance, KeywordPerformance, SearchQueryPerformance, AudiencePerformance."
              },
              "columns": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1
                },
                "minItems": 1,
                "maxItems": 40,
                "description": "Columns to include in the report. Must be valid for the chosen report_type. Always include at least one dimension (e.g. CampaignId, TimePeriod) and one metric (e.g. Impressions). Column lists are validated at call time; invalid columns return an error listing valid values. Quality Score columns: QualityScore, ExpectedCtr, AdRelevance, LandingPageExperience on Campaign/AdGroup/Keyword reports; the HistoricalQualityScore, HistoricalExpectedCtr, HistoricalAdRelevance and HistoricalLandingPageExperience columns (Keyword only) work only with aggregation Daily. URL tracking columns (TrackingTemplate, CustomParameters, FinalUrlSuffix; DestinationUrl on Ad/Keyword; FinalUrl, FinalMobileUrl on Ad/Keyword) report each entity's OWN value — an empty value means it inherits from its parent — and only for entities with impressions in the date range. CustomParameters is formatted {_key}=value;{_key2}=value2. DestinationUrl is a legacy field and is usually empty. For a full tracking audit, including entities that have not served, use microsoft_ads_list_campaigns with include_url_tracking."
              },
              "date_range": {
                "type": "object",
                "properties": {
                  "start": {
                    "type": "string",
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                    "description": "Start date (YYYY-MM-DD)"
                  },
                  "end": {
                    "type": "string",
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                    "description": "End date (YYYY-MM-DD)"
                  }
                },
                "required": [
                  "start",
                  "end"
                ],
                "additionalProperties": false,
                "description": "Custom date range. Use either date_range or date_preset, not both."
              },
              "date_preset": {
                "type": "string",
                "enum": [
                  "Today",
                  "Yesterday",
                  "LastSevenDays",
                  "ThisWeek",
                  "LastWeek",
                  "LastFourWeeks",
                  "ThisMonth",
                  "LastMonth",
                  "LastThreeMonths",
                  "LastSixMonths",
                  "ThisYear",
                  "LastYear"
                ],
                "description": "Predefined date range. Options: Today, Yesterday, LastSevenDays, ThisWeek, LastWeek, LastFourWeeks, ThisMonth, LastMonth, LastThreeMonths, LastSixMonths, ThisYear, LastYear."
              },
              "aggregation": {
                "type": "string",
                "enum": [
                  "Daily",
                  "Weekly",
                  "Monthly",
                  "Summary"
                ],
                "default": "Daily",
                "description": "Time aggregation for the report. Daily (default): one row per day. Weekly: one row per week. Monthly: one row per month. Summary: single totals row."
              },
              "campaign_ids": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1
                },
                "minItems": 1,
                "maxItems": 50,
                "description": "Filter report to specific campaign IDs (up to 50). Rows are matched on CampaignId, so CampaignId is added to the columns when not requested (listed in added_columns)."
              },
              "ad_group_ids": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1
                },
                "minItems": 1,
                "maxItems": 50,
                "description": "Narrow the report to these ad group IDs (up to 50). Supported for AdGroupPerformance, AdPerformance, KeywordPerformance, SearchQueryPerformance and AudiencePerformance; rejected with an error for CampaignPerformance. Each ad group's parent campaign is read from the local cache, or looked up under campaign_ids when given. With campaign_ids, every ad group must belong to one of those campaigns. An ad group that cannot be resolved is rejected with an error, never silently widened to the account."
              },
              "breakdown_by_goal": {
                "type": "boolean",
                "default": true,
                "description": "When true (default), runs a parallel GoalsAndFunnelsReport and attaches the results as goal_breakdown on the response. The caller controls which conversion columns to include — add AllConversionsQualified, AllRevenue, or ViewThroughConversionsQualified to the columns array directly if you want the all-goals family. Pass false to skip the parallel call when latency matters more than per-goal context. NOTE: there is no include_all_conversions flag on this tool. As the passthrough column-list tool, you control the All* columns explicitly via the columns parameter."
              },
              "limit": {
                "type": "integer",
                "minimum": 1,
                "maximum": 10000,
                "description": "Rows per page (1-10000). Usually omit it: the page is then sized so the whole response fits what MCP clients accept, up to 500 rows and ending early at about 45,000 characters, so wide rows give fewer rows per page. To get more rows, follow pagination.nextCursor rather than raising limit; set limit only if your client takes large responses. The whole report is sorted, Spend highest first when Spend is a requested column, then by the row's column values, and returned one page at a time. count is the total across all pages; while more rows remain, pagination.hasMore is true and pagination.nextCursor is set."
              },
              "cursor": {
                "type": "string",
                "minLength": 1,
                "description": "Opaque cursor from pagination.nextCursor of the previous response; never construct one. To get the next page, repeat the call with exactly the same parameters (only limit may change) plus this cursor. Later pages re-read the same Microsoft report instead of generating a new one, so every row appears exactly once. Cursors expire with the report (about 24 hours). goal_breakdown is returned on the first page only."
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "account_id",
              "report_type",
              "columns",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "account_id",
              "type": "string",
              "required": true,
              "description": "Microsoft Advertising Account ID (numeric string)",
              "constraints": {
                "min_length": 1,
                "max_length": 20,
                "pattern": "^\\d+$"
              }
            },
            {
              "name": "customer_id",
              "type": "string",
              "required": false,
              "description": "Customer/manager ID (CustomerId). Required when accessing accounts through an agency manager.",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "report_type",
              "type": "string",
              "required": true,
              "description": "Report type determining which dimensions and metrics are available. Options: CampaignPerformance, AdGroupPerformance, AdPerformance, KeywordPerformance, SearchQueryPerformance, AudiencePerformance.",
              "enum_values": [
                "CampaignPerformance",
                "AdGroupPerformance",
                "AdPerformance",
                "KeywordPerformance",
                "SearchQueryPerformance",
                "AudiencePerformance"
              ]
            },
            {
              "name": "columns",
              "type": "array",
              "required": true,
              "description": "Columns to include in the report. Must be valid for the chosen report_type. Always include at least one dimension (e.g. CampaignId, TimePeriod) and one metric (e.g. Impressions). Column lists are validated at call time; invalid columns return an error listing valid values. Quality Score columns: QualityScore, ExpectedCtr, AdRelevance, LandingPageExperience on Campaign/AdGroup/Keyword reports; the HistoricalQualityScore, HistoricalExpectedCtr, HistoricalAdRelevance and HistoricalLandingPageExperience columns (Keyword only) work only with aggregation Daily. URL tracking columns (TrackingTemplate, CustomParameters, FinalUrlSuffix; DestinationUrl on Ad/Keyword; FinalUrl, FinalMobileUrl on Ad/Keyword) report each entity's OWN value — an empty value means it inherits from its parent — and only for entities with impressions in the date range. CustomParameters is formatted {_key}=value;{_key2}=value2. DestinationUrl is a legacy field and is usually empty. For a full tracking audit, including entities that have not served, use microsoft_ads_list_campaigns with include_url_tracking."
            },
            {
              "name": "date_range",
              "type": "object",
              "required": false,
              "description": "Custom date range. Use either date_range or date_preset, not both."
            },
            {
              "name": "date_preset",
              "type": "string",
              "required": false,
              "description": "Predefined date range. Options: Today, Yesterday, LastSevenDays, ThisWeek, LastWeek, LastFourWeeks, ThisMonth, LastMonth, LastThreeMonths, LastSixMonths, ThisYear, LastYear.",
              "enum_values": [
                "Today",
                "Yesterday",
                "LastSevenDays",
                "ThisWeek",
                "LastWeek",
                "LastFourWeeks",
                "ThisMonth",
                "LastMonth",
                "LastThreeMonths",
                "LastSixMonths",
                "ThisYear",
                "LastYear"
              ]
            },
            {
              "name": "aggregation",
              "type": "string",
              "required": false,
              "description": "Time aggregation for the report. Daily (default): one row per day. Weekly: one row per week. Monthly: one row per month. Summary: single totals row.",
              "enum_values": [
                "Daily",
                "Weekly",
                "Monthly",
                "Summary"
              ],
              "default": "Daily"
            },
            {
              "name": "campaign_ids",
              "type": "array",
              "required": false,
              "description": "Filter report to specific campaign IDs (up to 50). Rows are matched on CampaignId, so CampaignId is added to the columns when not requested (listed in added_columns)."
            },
            {
              "name": "ad_group_ids",
              "type": "array",
              "required": false,
              "description": "Narrow the report to these ad group IDs (up to 50). Supported for AdGroupPerformance, AdPerformance, KeywordPerformance, SearchQueryPerformance and AudiencePerformance; rejected with an error for CampaignPerformance. Each ad group's parent campaign is read from the local cache, or looked up under campaign_ids when given. With campaign_ids, every ad group must belong to one of those campaigns. An ad group that cannot be resolved is rejected with an error, never silently widened to the account."
            },
            {
              "name": "breakdown_by_goal",
              "type": "boolean",
              "required": false,
              "description": "When true (default), runs a parallel GoalsAndFunnelsReport and attaches the results as goal_breakdown on the response. The caller controls which conversion columns to include — add AllConversionsQualified, AllRevenue, or ViewThroughConversionsQualified to the columns array directly if you want the all-goals family. Pass false to skip the parallel call when latency matters more than per-goal context. NOTE: there is no include_all_conversions flag on this tool. As the passthrough column-list tool, you control the All* columns explicitly via the columns parameter.",
              "default": true
            },
            {
              "name": "limit",
              "type": "integer",
              "required": false,
              "description": "Rows per page (1-10000). Usually omit it: the page is then sized so the whole response fits what MCP clients accept, up to 500 rows and ending early at about 45,000 characters, so wide rows give fewer rows per page. To get more rows, follow pagination.nextCursor rather than raising limit; set limit only if your client takes large responses. The whole report is sorted, Spend highest first when Spend is a requested column, then by the row's column values, and returned one page at a time. count is the total across all pages; while more rows remain, pagination.hasMore is true and pagination.nextCursor is set.",
              "constraints": {
                "min": 1,
                "max": 10000
              }
            },
            {
              "name": "cursor",
              "type": "string",
              "required": false,
              "description": "Opaque cursor from pagination.nextCursor of the previous response; never construct one. To get the next page, repeat the call with exactly the same parameters (only limit may change) plus this cursor. Later pages re-read the same Microsoft report instead of generating a new one, so every row appears exactly once. Cursors expire with the report (about 24 hours). goal_breakdown is returned on the first page only.",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "Campaign impression share for last month",
              "mcp_params": {
                "account_id": "1234567890",
                "report_type": "CampaignPerformance",
                "columns": [
                  "CampaignId",
                  "CampaignName",
                  "CampaignType",
                  "TimePeriod",
                  "ImpressionSharePercent",
                  "ImpressionLostToBudgetPercent",
                  "ImpressionLostToRankAggPercent",
                  "Impressions",
                  "Spend"
                ],
                "date_preset": "LastMonth",
                "aggregation": "Monthly",
                "reason": "Analyze competitive impression share by campaign"
              },
              "cli_command": "hopkin microsoft insights get --account 1234567890 --report-type CampaignPerformance --columns CampaignId,CampaignName,CampaignType,TimePeriod,ImpressionSharePercent,ImpressionLostToBudgetPercent,ImpressionLostToRankAggPercent,Impressions,Spend --date-preset LastMonth --aggregation Monthly",
              "natural_language": "Campaign impression share for last month"
            },
            {
              "label": "Search query report with ad group filter",
              "mcp_params": {
                "account_id": "1234567890",
                "report_type": "SearchQueryPerformance",
                "columns": [
                  "CampaignName",
                  "AdGroupName",
                  "Keyword",
                  "BidMatchType",
                  "DeliveredMatchType",
                  "SearchQuery",
                  "TimePeriod",
                  "Impressions",
                  "Clicks",
                  "Spend",
                  "ConversionsQualified",
                  "Ctr",
                  "AverageCpc"
                ],
                "date_range": {
                  "start": "2026-04-01",
                  "end": "2026-04-17"
                },
                "aggregation": "Daily",
                "ad_group_ids": [
                  "9876543210"
                ],
                "reason": "Identify wasted spend from broad match queries in a specific ad group"
              },
              "cli_command": "hopkin microsoft insights get --account 1234567890 --report-type SearchQueryPerformance --columns CampaignName,AdGroupName,Keyword,BidMatchType,DeliveredMatchType,SearchQuery,TimePeriod,Impressions,Clicks,Spend,ConversionsQualified,Ctr,AverageCpc --date-range [object Object] --aggregation Daily --ad-group-ids 9876543210",
              "natural_language": "Search query report with ad group filter"
            },
            {
              "label": "Audience performance with bid adjustments",
              "mcp_params": {
                "account_id": "1234567890",
                "customer_id": "5555555555",
                "report_type": "AudiencePerformance",
                "columns": [
                  "CampaignName",
                  "AdGroupName",
                  "AudienceId",
                  "AudienceName",
                  "AudienceType",
                  "BidAdjustment",
                  "TimePeriod",
                  "Impressions",
                  "Clicks",
                  "Spend",
                  "ConversionsQualified",
                  "Revenue"
                ],
                "date_preset": "LastThreeMonths",
                "aggregation": "Monthly",
                "reason": "Evaluate audience segment ROI for RLSA bid adjustments"
              },
              "cli_command": "hopkin microsoft insights get --account 1234567890 --customer-id 5555555555 --report-type AudiencePerformance --columns CampaignName,AdGroupName,AudienceId,AudienceName,AudienceType,BidAdjustment,TimePeriod,Impressions,Clicks,Spend,ConversionsQualified,Revenue --date-preset LastThreeMonths --aggregation Monthly",
              "natural_language": "Audience performance with bid adjustments"
            },
            {
              "label": "Keyword quality score trends",
              "mcp_params": {
                "account_id": "1234567890",
                "report_type": "KeywordPerformance",
                "columns": [
                  "CampaignName",
                  "AdGroupName",
                  "Keyword",
                  "BidMatchType",
                  "QualityScore",
                  "ExpectedCtr",
                  "AdRelevance",
                  "LandingPageExperience",
                  "TimePeriod",
                  "Impressions",
                  "Clicks",
                  "AverageCpc"
                ],
                "date_preset": "LastMonth",
                "aggregation": "Summary",
                "reason": "Identify keywords with low Quality Score for optimization"
              },
              "cli_command": "hopkin microsoft insights get --account 1234567890 --report-type KeywordPerformance --columns CampaignName,AdGroupName,Keyword,BidMatchType,QualityScore,ExpectedCtr,AdRelevance,LandingPageExperience,TimePeriod,Impressions,Clicks,AverageCpc --date-preset LastMonth --aggregation Summary",
              "natural_language": "Keyword quality score trends"
            },
            {
              "label": "Ad performance comparison for specific campaigns",
              "mcp_params": {
                "account_id": "1234567890",
                "report_type": "AdPerformance",
                "columns": [
                  "CampaignName",
                  "AdGroupName",
                  "AdId",
                  "AdTitle",
                  "AdType",
                  "AdStatus",
                  "TimePeriod",
                  "Impressions",
                  "Clicks",
                  "Spend",
                  "ConversionsQualified",
                  "Ctr",
                  "AverageCpc"
                ],
                "date_range": {
                  "start": "2026-01-01",
                  "end": "2026-03-31"
                },
                "aggregation": "Weekly",
                "campaign_ids": [
                  "111111111",
                  "222222222"
                ],
                "reason": "A/B test RSA ad copy effectiveness across Q1"
              },
              "cli_command": "hopkin microsoft insights get --account 1234567890 --report-type AdPerformance --columns CampaignName,AdGroupName,AdId,AdTitle,AdType,AdStatus,TimePeriod,Impressions,Clicks,Spend,ConversionsQualified,Ctr,AverageCpc --date-range [object Object] --aggregation Weekly --campaign-ids 111111111,222222222",
              "natural_language": "Ad performance comparison for specific campaigns"
            }
          ],
          "response_format": "json",
          "related_tools": [
            {
              "name": "meta_ads_get_insights",
              "relationship": "cross-platform"
            },
            {
              "name": "google_ads_get_insights",
              "relationship": "cross-platform"
            },
            {
              "name": "linkedin_ads_get_insights",
              "relationship": "cross-platform"
            },
            {
              "name": "tiktok_ads_get_insights",
              "relationship": "cross-platform"
            },
            {
              "name": "chatgpt_ads_get_insights",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "microsoft_ads_get_keyword_report",
          "title": "Get Microsoft Ads Keyword Report",
          "description": "",
          "cli_command": "hopkin microsoft keyword-report get",
          "cli_flags": [
            {
              "flag": "--account",
              "description": "Microsoft Advertising account ID (AccountId). Required.",
              "type": "string",
              "required": true
            },
            {
              "flag": "--customer-id",
              "description": "Customer/manager ID (CustomerId). Required when accessing accounts under a manager hierarchy.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--date-range",
              "description": "Custom date range. Provide either date_range or date_preset, not both.",
              "type": "object",
              "required": false
            },
            {
              "flag": "--date-preset",
              "description": "Predefined date range. One of: Today, Yesterday, LastSevenDays, ThisWeek, LastWeek, LastFourWeeks, ThisMonth, LastMonth, LastThreeMonths, LastSixMonths, ThisYear, LastYear.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--campaign-ids",
              "description": "Filter to specific campaign IDs (up to 100). Accepts JSON array string or actual array.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--ad-group-ids",
              "description": "Filter to specific ad group IDs (up to 200). Accepts JSON array string or actual array.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--keyword-match-type",
              "description": "Filter to keywords bid on this match type (bid_match_type): Exact, Phrase, or Broad.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--include-quality-score",
              "description": "When true (default), includes QualityScore (1-10) plus three sub-component columns: ExpectedCtr, AdRelevance, and LandingPageExperience. Each sub-component is categorical: AboveAverage, Average, or BelowAverage.",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--include-all-conversions",
              "description": "When true, includes an additional all_conversions block per row (all_conversions, all_revenue, all_cost_per_conversion, all_roas, view_through_conversions). This captures ALL conversion goals including those not marked \"Include in Conversions\" (e.g., view-through, non-bidding goals). Note: conversions is the bidding-set count only; all_conversions.all_conversions is every conversion goal — typically much larger for accounts with non-bidding goals.",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--breakdown-by-goal",
              "description": "When true (default), runs a parallel GoalsAndFunnelsReport and returns goal_breakdown keyed by ad_group_id. Each entry is an array of per-goal rows with all_conversions, all_revenue, view_through_conversions, and assists. IMPORTANT: Because GoalsAndFunnelsReport only scopes down to ad-group level (Bing does not support keyword-level goal breakdown), the breakdown is at ad_group granularity — NOT per keyword. goal_breakdown_granularity will always be \"ad_group\" for this tool. Each keyword row can look up its parent ad-group's goal breakdown via goal_breakdown[ad_group_id]. Pass false to skip the parallel report when latency matters more than goal context.",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--aggregation",
              "description": "Report aggregation period. Daily (default), Weekly, Monthly, or Summary (all dates collapsed).",
              "type": "string",
              "required": false
            },
            {
              "flag": "--limit",
              "description": "Page size: rows per page (1–10000, default 15). count is the total across all pages. When more rows remain the response carries nextCursor; pass it back as cursor to get the next page. Large pages can exceed what an MCP client accepts in one response (roughly 60 rows, fewer with include_all_conversions, and breakdown_by_goal adds ~5K characters per ad group on the page); to cover every keyword, follow nextCursor rather than raising limit.",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--cursor",
              "description": "Opaque pagination cursor. Omit for the first page. To fetch the next page, pass the nextCursor value from the previous response unchanged and repeat every other parameter exactly (only limit may change); a cursor used with different parameters is rejected. Keep following nextCursor until it is absent to read every row. Later pages re-read the same report, so a cursor expires with it (about 24 hours).",
              "type": "string",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "keyword-report",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": false,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "account_id": {
                "type": "string",
                "minLength": 1,
                "description": "Microsoft Advertising account ID (AccountId). Required."
              },
              "customer_id": {
                "type": "string",
                "minLength": 1,
                "description": "Customer/manager ID (CustomerId). Required when accessing accounts under a manager hierarchy."
              },
              "date_range": {
                "type": "object",
                "properties": {
                  "start": {
                    "type": "string",
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                    "description": "Start date in YYYY-MM-DD format"
                  },
                  "end": {
                    "type": "string",
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                    "description": "End date in YYYY-MM-DD format"
                  }
                },
                "required": [
                  "start",
                  "end"
                ],
                "additionalProperties": false,
                "description": "Custom date range. Provide either date_range or date_preset, not both."
              },
              "date_preset": {
                "type": "string",
                "enum": [
                  "Today",
                  "Yesterday",
                  "LastSevenDays",
                  "ThisWeek",
                  "LastWeek",
                  "LastFourWeeks",
                  "ThisMonth",
                  "LastMonth",
                  "LastThreeMonths",
                  "LastSixMonths",
                  "ThisYear",
                  "LastYear"
                ],
                "description": "Predefined date range. One of: Today, Yesterday, LastSevenDays, ThisWeek, LastWeek, LastFourWeeks, ThisMonth, LastMonth, LastThreeMonths, LastSixMonths, ThisYear, LastYear."
              },
              "campaign_ids": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1
                },
                "minItems": 1,
                "maxItems": 100,
                "description": "Filter to specific campaign IDs (up to 100). Accepts JSON array string or actual array."
              },
              "ad_group_ids": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1
                },
                "minItems": 1,
                "maxItems": 200,
                "description": "Filter to specific ad group IDs (up to 200). Accepts JSON array string or actual array."
              },
              "keyword_match_type": {
                "type": "string",
                "enum": [
                  "Exact",
                  "Phrase",
                  "Broad"
                ],
                "description": "Filter to keywords bid on this match type (bid_match_type): Exact, Phrase, or Broad."
              },
              "include_quality_score": {
                "type": "boolean",
                "default": true,
                "description": "When true (default), includes QualityScore (1-10) plus three sub-component columns: ExpectedCtr, AdRelevance, and LandingPageExperience. Each sub-component is categorical: AboveAverage, Average, or BelowAverage."
              },
              "include_all_conversions": {
                "type": "boolean",
                "default": false,
                "description": "When true, includes an additional all_conversions block per row (all_conversions, all_revenue, all_cost_per_conversion, all_roas, view_through_conversions). This captures ALL conversion goals including those not marked \"Include in Conversions\" (e.g., view-through, non-bidding goals). Note: conversions is the bidding-set count only; all_conversions.all_conversions is every conversion goal — typically much larger for accounts with non-bidding goals."
              },
              "breakdown_by_goal": {
                "type": "boolean",
                "default": true,
                "description": "When true (default), runs a parallel GoalsAndFunnelsReport and returns goal_breakdown keyed by ad_group_id. Each entry is an array of per-goal rows with all_conversions, all_revenue, view_through_conversions, and assists. IMPORTANT: Because GoalsAndFunnelsReport only scopes down to ad-group level (Bing does not support keyword-level goal breakdown), the breakdown is at ad_group granularity — NOT per keyword. goal_breakdown_granularity will always be \"ad_group\" for this tool. Each keyword row can look up its parent ad-group's goal breakdown via goal_breakdown[ad_group_id]. Pass false to skip the parallel report when latency matters more than goal context."
              },
              "aggregation": {
                "type": "string",
                "enum": [
                  "Daily",
                  "Weekly",
                  "Monthly",
                  "Summary"
                ],
                "default": "Daily",
                "description": "Report aggregation period. Daily (default), Weekly, Monthly, or Summary (all dates collapsed)."
              },
              "limit": {
                "type": "integer",
                "minimum": 1,
                "maximum": 10000,
                "default": 15,
                "description": "Page size: rows per page (1–10000, default 15). count is the total across all pages. When more rows remain the response carries nextCursor; pass it back as cursor to get the next page. Large pages can exceed what an MCP client accepts in one response (roughly 60 rows, fewer with include_all_conversions, and breakdown_by_goal adds ~5K characters per ad group on the page); to cover every keyword, follow nextCursor rather than raising limit."
              },
              "cursor": {
                "type": "string",
                "minLength": 1,
                "description": "Opaque pagination cursor. Omit for the first page. To fetch the next page, pass the nextCursor value from the previous response unchanged and repeat every other parameter exactly (only limit may change); a cursor used with different parameters is rejected. Keep following nextCursor until it is absent to read every row. Later pages re-read the same report, so a cursor expires with it (about 24 hours)."
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "account_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "account_id",
              "type": "string",
              "required": true,
              "description": "Microsoft Advertising account ID (AccountId). Required.",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "customer_id",
              "type": "string",
              "required": false,
              "description": "Customer/manager ID (CustomerId). Required when accessing accounts under a manager hierarchy.",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "date_range",
              "type": "object",
              "required": false,
              "description": "Custom date range. Provide either date_range or date_preset, not both."
            },
            {
              "name": "date_preset",
              "type": "string",
              "required": false,
              "description": "Predefined date range. One of: Today, Yesterday, LastSevenDays, ThisWeek, LastWeek, LastFourWeeks, ThisMonth, LastMonth, LastThreeMonths, LastSixMonths, ThisYear, LastYear.",
              "enum_values": [
                "Today",
                "Yesterday",
                "LastSevenDays",
                "ThisWeek",
                "LastWeek",
                "LastFourWeeks",
                "ThisMonth",
                "LastMonth",
                "LastThreeMonths",
                "LastSixMonths",
                "ThisYear",
                "LastYear"
              ]
            },
            {
              "name": "campaign_ids",
              "type": "array",
              "required": false,
              "description": "Filter to specific campaign IDs (up to 100). Accepts JSON array string or actual array."
            },
            {
              "name": "ad_group_ids",
              "type": "array",
              "required": false,
              "description": "Filter to specific ad group IDs (up to 200). Accepts JSON array string or actual array."
            },
            {
              "name": "keyword_match_type",
              "type": "string",
              "required": false,
              "description": "Filter to keywords bid on this match type (bid_match_type): Exact, Phrase, or Broad.",
              "enum_values": [
                "Exact",
                "Phrase",
                "Broad"
              ]
            },
            {
              "name": "include_quality_score",
              "type": "boolean",
              "required": false,
              "description": "When true (default), includes QualityScore (1-10) plus three sub-component columns: ExpectedCtr, AdRelevance, and LandingPageExperience. Each sub-component is categorical: AboveAverage, Average, or BelowAverage.",
              "default": true
            },
            {
              "name": "include_all_conversions",
              "type": "boolean",
              "required": false,
              "description": "When true, includes an additional all_conversions block per row (all_conversions, all_revenue, all_cost_per_conversion, all_roas, view_through_conversions). This captures ALL conversion goals including those not marked \"Include in Conversions\" (e.g., view-through, non-bidding goals). Note: conversions is the bidding-set count only; all_conversions.all_conversions is every conversion goal — typically much larger for accounts with non-bidding goals.",
              "default": false
            },
            {
              "name": "breakdown_by_goal",
              "type": "boolean",
              "required": false,
              "description": "When true (default), runs a parallel GoalsAndFunnelsReport and returns goal_breakdown keyed by ad_group_id. Each entry is an array of per-goal rows with all_conversions, all_revenue, view_through_conversions, and assists. IMPORTANT: Because GoalsAndFunnelsReport only scopes down to ad-group level (Bing does not support keyword-level goal breakdown), the breakdown is at ad_group granularity — NOT per keyword. goal_breakdown_granularity will always be \"ad_group\" for this tool. Each keyword row can look up its parent ad-group's goal breakdown via goal_breakdown[ad_group_id]. Pass false to skip the parallel report when latency matters more than goal context.",
              "default": true
            },
            {
              "name": "aggregation",
              "type": "string",
              "required": false,
              "description": "Report aggregation period. Daily (default), Weekly, Monthly, or Summary (all dates collapsed).",
              "enum_values": [
                "Daily",
                "Weekly",
                "Monthly",
                "Summary"
              ],
              "default": "Daily"
            },
            {
              "name": "limit",
              "type": "integer",
              "required": false,
              "description": "Page size: rows per page (1–10000, default 15). count is the total across all pages. When more rows remain the response carries nextCursor; pass it back as cursor to get the next page. Large pages can exceed what an MCP client accepts in one response (roughly 60 rows, fewer with include_all_conversions, and breakdown_by_goal adds ~5K characters per ad group on the page); to cover every keyword, follow nextCursor rather than raising limit.",
              "default": 15,
              "constraints": {
                "min": 1,
                "max": 10000
              }
            },
            {
              "name": "cursor",
              "type": "string",
              "required": false,
              "description": "Opaque pagination cursor. Omit for the first page. To fetch the next page, pass the nextCursor value from the previous response unchanged and repeat every other parameter exactly (only limit may change); a cursor used with different parameters is rejected. Keep following nextCursor until it is absent to read every row. Later pages re-read the same report, so a cursor expires with it (about 24 hours).",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [],
          "response_format": "markdown",
          "related_tools": [],
          "tool_type": "standard"
        },
        {
          "name": "microsoft_ads_list_keywords",
          "title": "List Microsoft Ads Keywords",
          "description": "",
          "cli_command": "hopkin microsoft keywords list",
          "cli_flags": [
            {
              "flag": "--account",
              "description": "Microsoft Advertising account ID (AccountId)",
              "type": "string",
              "required": true
            },
            {
              "flag": "--customer-id",
              "description": "Customer/manager ID (CustomerId). Required for agency-managed accounts.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--ad-group-id",
              "description": "Ad group ID to list keywords for. Required — API is scoped per ad group.",
              "type": "string",
              "required": true
            },
            {
              "flag": "--status",
              "description": "Filter by keyword status: Active, Paused, Deleted",
              "type": "array",
              "required": false
            },
            {
              "flag": "--match-type",
              "description": "Filter by match type: Exact, Phrase, Broad",
              "type": "string",
              "required": false
            },
            {
              "flag": "--editorial-status",
              "description": "Filter by editorial (policy) review status: Disapproved (failed review), ActiveLimited (approved in some markets only), Inactive (under review), Active (approved). Always answered from a live API call, never from cache.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--include-policy-issues",
              "description": "Default false. When true, attaches the editorial reasons and appeal status for every returned keyword that is NOT editorially Active — what Microsoft objected to and whether it can be appealed. Costs one extra API call and always fetches live data.",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--limit",
              "description": "Maximum number of keywords to return (1-1000, default 50)",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--cursor",
              "description": "Opaque cursor from the previous response's nextCursor. Pass it with otherwise identical parameters to get the next page; a cursor reused with different filters is rejected. Omit for the first page.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--refresh",
              "description": "Force a live fetch from the Microsoft Ads API, bypassing the local cache. Defaults to false (cache-first — the normal, faster path). Set to true whenever the user asks for fresh / latest / real-time / up-to-date data, or explicitly says they do NOT want cached / stale data. If the user does not care about freshness, leave it false.",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "keywords",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": false,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "account_id": {
                "type": "string",
                "minLength": 1,
                "description": "Microsoft Advertising account ID (AccountId)"
              },
              "customer_id": {
                "type": "string",
                "minLength": 1,
                "description": "Customer/manager ID (CustomerId). Required for agency-managed accounts."
              },
              "ad_group_id": {
                "type": "string",
                "minLength": 1,
                "description": "Ad group ID to list keywords for. Required — API is scoped per ad group."
              },
              "status": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "Active",
                    "Paused",
                    "Deleted"
                  ]
                },
                "description": "Filter by keyword status: Active, Paused, Deleted"
              },
              "match_type": {
                "type": "string",
                "enum": [
                  "Exact",
                  "Phrase",
                  "Broad"
                ],
                "description": "Filter by match type: Exact, Phrase, Broad"
              },
              "editorial_status": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "Active",
                    "ActiveLimited",
                    "Disapproved",
                    "Inactive"
                  ]
                },
                "description": "Filter by editorial (policy) review status: Disapproved (failed review), ActiveLimited (approved in some markets only), Inactive (under review), Active (approved). Always answered from a live API call, never from cache."
              },
              "include_policy_issues": {
                "type": "boolean",
                "description": "Default false. When true, attaches the editorial reasons and appeal status for every returned keyword that is NOT editorially Active — what Microsoft objected to and whether it can be appealed. Costs one extra API call and always fetches live data."
              },
              "limit": {
                "type": "integer",
                "minimum": 1,
                "maximum": 1000,
                "description": "Maximum number of keywords to return (1-1000, default 50)"
              },
              "cursor": {
                "type": "string",
                "minLength": 1,
                "description": "Opaque cursor from the previous response's nextCursor. Pass it with otherwise identical parameters to get the next page; a cursor reused with different filters is rejected. Omit for the first page."
              },
              "refresh": {
                "type": "boolean",
                "default": false,
                "description": "Force a live fetch from the Microsoft Ads API, bypassing the local cache. Defaults to false (cache-first — the normal, faster path). Set to true whenever the user asks for fresh / latest / real-time / up-to-date data, or explicitly says they do NOT want cached / stale data. If the user does not care about freshness, leave it false."
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "account_id",
              "ad_group_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "account_id",
              "type": "string",
              "required": true,
              "description": "Microsoft Advertising account ID (AccountId)",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "customer_id",
              "type": "string",
              "required": false,
              "description": "Customer/manager ID (CustomerId). Required for agency-managed accounts.",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "ad_group_id",
              "type": "string",
              "required": true,
              "description": "Ad group ID to list keywords for. Required — API is scoped per ad group.",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "status",
              "type": "array",
              "required": false,
              "description": "Filter by keyword status: Active, Paused, Deleted"
            },
            {
              "name": "match_type",
              "type": "string",
              "required": false,
              "description": "Filter by match type: Exact, Phrase, Broad",
              "enum_values": [
                "Exact",
                "Phrase",
                "Broad"
              ]
            },
            {
              "name": "editorial_status",
              "type": "array",
              "required": false,
              "description": "Filter by editorial (policy) review status: Disapproved (failed review), ActiveLimited (approved in some markets only), Inactive (under review), Active (approved). Always answered from a live API call, never from cache."
            },
            {
              "name": "include_policy_issues",
              "type": "boolean",
              "required": false,
              "description": "Default false. When true, attaches the editorial reasons and appeal status for every returned keyword that is NOT editorially Active — what Microsoft objected to and whether it can be appealed. Costs one extra API call and always fetches live data."
            },
            {
              "name": "limit",
              "type": "integer",
              "required": false,
              "description": "Maximum number of keywords to return (1-1000, default 50)",
              "constraints": {
                "min": 1,
                "max": 1000
              }
            },
            {
              "name": "cursor",
              "type": "string",
              "required": false,
              "description": "Opaque cursor from the previous response's nextCursor. Pass it with otherwise identical parameters to get the next page; a cursor reused with different filters is rejected. Omit for the first page.",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "refresh",
              "type": "boolean",
              "required": false,
              "description": "Force a live fetch from the Microsoft Ads API, bypassing the local cache. Defaults to false (cache-first — the normal, faster path). Set to true whenever the user asks for fresh / latest / real-time / up-to-date data, or explicitly says they do NOT want cached / stale data. If the user does not care about freshness, leave it false.",
              "default": false
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "List all keywords in ad group",
              "mcp_params": {
                "account_id": "123456789",
                "ad_group_id": "987654321",
                "reason": "Review keywords and quality scores"
              },
              "cli_command": "hopkin microsoft keywords list --account 123456789 --ad-group-id 987654321",
              "natural_language": "List all keywords in ad group"
            },
            {
              "label": "Active keywords only",
              "mcp_params": {
                "account_id": "123456789",
                "ad_group_id": "987654321",
                "status": [
                  "Active"
                ],
                "reason": "List active keywords"
              },
              "cli_command": "hopkin microsoft keywords list --account 123456789 --ad-group-id 987654321 --status Active",
              "natural_language": "Active keywords only"
            },
            {
              "label": "Exact match only",
              "mcp_params": {
                "account_id": "123456789",
                "ad_group_id": "987654321",
                "match_type": "Exact",
                "reason": "Review exact match keywords"
              },
              "cli_command": "hopkin microsoft keywords list --account 123456789 --ad-group-id 987654321 --match-type Exact",
              "natural_language": "Exact match only"
            },
            {
              "label": "Large ad group paginated",
              "mcp_params": {
                "account_id": "123456789",
                "ad_group_id": "987654321",
                "limit": 50,
                "reason": "Get first 50 keywords"
              },
              "cli_command": "hopkin microsoft keywords list --account 123456789 --ad-group-id 987654321 --limit 50",
              "natural_language": "Large ad group paginated"
            },
            {
              "label": "Disapproved keywords in this ad group",
              "mcp_params": {
                "account_id": "123456789",
                "ad_group_id": "987654321",
                "editorial_status": [
                  "Disapproved"
                ],
                "reason": "Check which keywords are blocked by editorial review"
              },
              "cli_command": "hopkin microsoft keywords list --account 123456789 --ad-group-id 987654321 --editorial-status Disapproved",
              "natural_language": "Disapproved keywords in this ad group"
            },
            {
              "label": "Disapproved keywords with reasons",
              "mcp_params": {
                "account_id": "123456789",
                "ad_group_id": "987654321",
                "editorial_status": [
                  "Disapproved"
                ],
                "include_policy_issues": true,
                "reason": "Find out why these keywords were disapproved and whether we can appeal"
              },
              "cli_command": "hopkin microsoft keywords list --account 123456789 --ad-group-id 987654321 --editorial-status Disapproved --include-policy-issues true",
              "natural_language": "Disapproved keywords with reasons"
            },
            {
              "label": "Force refresh from the API",
              "mcp_params": {
                "account_id": "123456789",
                "ad_group_id": "987654321",
                "refresh": true,
                "reason": "Get the latest keyword state after bulk edits"
              },
              "cli_command": "hopkin microsoft keywords list --account 123456789 --ad-group-id 987654321 --refresh true",
              "natural_language": "Force refresh from the API"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "google_ads_list_keywords",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "microsoft_ads_list_negative_keyword_lists",
          "title": "List Microsoft Ads Negative Keyword Lists",
          "description": "",
          "cli_command": "hopkin microsoft negative-keyword-lists list",
          "cli_flags": [
            {
              "flag": "--account",
              "description": "Microsoft Advertising account ID (AccountId) whose shared library to read.",
              "type": "string",
              "required": true
            },
            {
              "flag": "--customer-id",
              "description": "Customer/manager ID (CustomerId). Required for agency-managed accounts.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--list-id",
              "description": "Return only this negative keyword list, with its keywords paged: each page holds as many as fit in a response an MCP client accepts (at most max_keywords_per_list), starting at keywordsOffset, and nextCursor continues them. The way to read every keyword of a list that came back with keywordsTruncated: true.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--include-keywords",
              "description": "Embed each list's negative keywords (text + match type). Defaults to true; set false for a names-and-counts overview.",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--include-campaign-associations",
              "description": "Embed the campaigns each list is applied to (id, name, status). Defaults to true.",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--max-keywords-per-list",
              "description": "Most keywords to embed per list (1-5000, default 50). With list_id it caps one page of that list's keywords instead, and by default a page takes as many as fit. A list cut short has keywordsTruncated: true; keywordCount is always the full size.",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--max-campaigns-per-list",
              "description": "Most campaigns to embed per shared list, first by name (1-10000, default 100). A list cut short has campaignsTruncated: true; associationCount is always the full count. With list_id the campaigns come on the first page only, cut to fit the response.",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--limit",
              "description": "Lists per page (1-20). Default: as many lists as fit in a response an MCP client accepts (about 45K characters, at most 20). Follow nextCursor for the rest.",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--cursor",
              "description": "Opaque cursor from the previous response's nextCursor. Pass it with otherwise identical parameters to get the next page; a cursor reused with different filters is rejected. Omit for the first page.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "negative-keyword-lists",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": false,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "account_id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 20,
                "pattern": "^\\d+$",
                "description": "Microsoft Advertising account ID (AccountId) whose shared library to read."
              },
              "customer_id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 20,
                "pattern": "^\\d+$",
                "description": "Customer/manager ID (CustomerId). Required for agency-managed accounts."
              },
              "list_id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 20,
                "pattern": "^\\d+$",
                "description": "Return only this negative keyword list, with its keywords paged: each page holds as many as fit in a response an MCP client accepts (at most max_keywords_per_list), starting at keywordsOffset, and nextCursor continues them. The way to read every keyword of a list that came back with keywordsTruncated: true."
              },
              "include_keywords": {
                "type": "boolean",
                "default": true,
                "description": "Embed each list's negative keywords (text + match type). Defaults to true; set false for a names-and-counts overview."
              },
              "include_campaign_associations": {
                "type": "boolean",
                "default": true,
                "description": "Embed the campaigns each list is applied to (id, name, status). Defaults to true."
              },
              "max_keywords_per_list": {
                "type": "integer",
                "minimum": 1,
                "maximum": 5000,
                "description": "Most keywords to embed per list (1-5000, default 50). With list_id it caps one page of that list's keywords instead, and by default a page takes as many as fit. A list cut short has keywordsTruncated: true; keywordCount is always the full size."
              },
              "max_campaigns_per_list": {
                "type": "integer",
                "minimum": 1,
                "maximum": 10000,
                "description": "Most campaigns to embed per shared list, first by name (1-10000, default 100). A list cut short has campaignsTruncated: true; associationCount is always the full count. With list_id the campaigns come on the first page only, cut to fit the response."
              },
              "limit": {
                "type": "integer",
                "minimum": 1,
                "maximum": 20,
                "description": "Lists per page (1-20). Default: as many lists as fit in a response an MCP client accepts (about 45K characters, at most 20). Follow nextCursor for the rest."
              },
              "cursor": {
                "type": "string",
                "minLength": 1,
                "description": "Opaque cursor from the previous response's nextCursor. Pass it with otherwise identical parameters to get the next page; a cursor reused with different filters is rejected. Omit for the first page."
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "account_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "account_id",
              "type": "string",
              "required": true,
              "description": "Microsoft Advertising account ID (AccountId) whose shared library to read.",
              "constraints": {
                "min_length": 1,
                "max_length": 20,
                "pattern": "^\\d+$"
              }
            },
            {
              "name": "customer_id",
              "type": "string",
              "required": false,
              "description": "Customer/manager ID (CustomerId). Required for agency-managed accounts.",
              "constraints": {
                "min_length": 1,
                "max_length": 20,
                "pattern": "^\\d+$"
              }
            },
            {
              "name": "list_id",
              "type": "string",
              "required": false,
              "description": "Return only this negative keyword list, with its keywords paged: each page holds as many as fit in a response an MCP client accepts (at most max_keywords_per_list), starting at keywordsOffset, and nextCursor continues them. The way to read every keyword of a list that came back with keywordsTruncated: true.",
              "constraints": {
                "min_length": 1,
                "max_length": 20,
                "pattern": "^\\d+$"
              }
            },
            {
              "name": "include_keywords",
              "type": "boolean",
              "required": false,
              "description": "Embed each list's negative keywords (text + match type). Defaults to true; set false for a names-and-counts overview.",
              "default": true
            },
            {
              "name": "include_campaign_associations",
              "type": "boolean",
              "required": false,
              "description": "Embed the campaigns each list is applied to (id, name, status). Defaults to true.",
              "default": true
            },
            {
              "name": "max_keywords_per_list",
              "type": "integer",
              "required": false,
              "description": "Most keywords to embed per list (1-5000, default 50). With list_id it caps one page of that list's keywords instead, and by default a page takes as many as fit. A list cut short has keywordsTruncated: true; keywordCount is always the full size.",
              "constraints": {
                "min": 1,
                "max": 5000
              }
            },
            {
              "name": "max_campaigns_per_list",
              "type": "integer",
              "required": false,
              "description": "Most campaigns to embed per shared list, first by name (1-10000, default 100). A list cut short has campaignsTruncated: true; associationCount is always the full count. With list_id the campaigns come on the first page only, cut to fit the response.",
              "constraints": {
                "min": 1,
                "max": 10000
              }
            },
            {
              "name": "limit",
              "type": "integer",
              "required": false,
              "description": "Lists per page (1-20). Default: as many lists as fit in a response an MCP client accepts (about 45K characters, at most 20). Follow nextCursor for the rest.",
              "constraints": {
                "min": 1,
                "max": 20
              }
            },
            {
              "name": "cursor",
              "type": "string",
              "required": false,
              "description": "Opaque cursor from the previous response's nextCursor. Pass it with otherwise identical parameters to get the next page; a cursor reused with different filters is rejected. Omit for the first page.",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "google_ads_list_negative_keyword_lists",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "microsoft_ads_list_negative_keywords",
          "title": "List Microsoft Ads Negative Keywords",
          "description": "",
          "cli_command": "hopkin microsoft negative-keywords list",
          "cli_flags": [
            {
              "flag": "--account",
              "description": "Microsoft Advertising account ID (AccountId).",
              "type": "string",
              "required": true
            },
            {
              "flag": "--customer-id",
              "description": "Customer/manager ID (CustomerId). Required for agency-managed accounts.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--campaign-ids",
              "description": "Only these campaigns (1-100): their own negatives and, unless level is Campaign, their ad groups'. Omit for the whole account. An id the account does not have is rejected.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--ad-group-ids",
              "description": "Only these ad groups (1-100); implies level AdGroup (level Campaign is rejected). Each ad group's campaign is looked up; pass campaign_ids too when an ad group has not been listed before.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--level",
              "description": "Campaign = negatives added to campaigns, AdGroup = to ad groups, All (default) = both.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--match-type",
              "description": "Only these match types. Microsoft negatives are Exact or Phrase.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--limit",
              "description": "Negative keywords per page (1-100). Default: as many as fit in a response an MCP client accepts (about 45K characters). Follow nextCursor for the rest.",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--cursor",
              "description": "Opaque cursor from the previous response's nextCursor. Pass it with otherwise identical parameters to get the next page; a cursor reused with different filters is rejected. Omit for the first page.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "negative-keywords",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": false,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "account_id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 20,
                "pattern": "^\\d+$",
                "description": "Microsoft Advertising account ID (AccountId)."
              },
              "customer_id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 20,
                "pattern": "^\\d+$",
                "description": "Customer/manager ID (CustomerId). Required for agency-managed accounts."
              },
              "campaign_ids": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 20,
                  "pattern": "^\\d+$"
                },
                "minItems": 1,
                "maxItems": 100,
                "description": "Only these campaigns (1-100): their own negatives and, unless level is Campaign, their ad groups'. Omit for the whole account. An id the account does not have is rejected."
              },
              "ad_group_ids": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 20,
                  "pattern": "^\\d+$"
                },
                "minItems": 1,
                "maxItems": 100,
                "description": "Only these ad groups (1-100); implies level AdGroup (level Campaign is rejected). Each ad group's campaign is looked up; pass campaign_ids too when an ad group has not been listed before."
              },
              "level": {
                "type": "string",
                "enum": [
                  "Campaign",
                  "AdGroup",
                  "All"
                ],
                "default": "All",
                "description": "Campaign = negatives added to campaigns, AdGroup = to ad groups, All (default) = both."
              },
              "match_type": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "Exact",
                    "Phrase",
                    "Broad"
                  ]
                },
                "minItems": 1,
                "description": "Only these match types. Microsoft negatives are Exact or Phrase."
              },
              "limit": {
                "type": "integer",
                "minimum": 1,
                "maximum": 100,
                "description": "Negative keywords per page (1-100). Default: as many as fit in a response an MCP client accepts (about 45K characters). Follow nextCursor for the rest."
              },
              "cursor": {
                "type": "string",
                "minLength": 1,
                "description": "Opaque cursor from the previous response's nextCursor. Pass it with otherwise identical parameters to get the next page; a cursor reused with different filters is rejected. Omit for the first page."
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "account_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "account_id",
              "type": "string",
              "required": true,
              "description": "Microsoft Advertising account ID (AccountId).",
              "constraints": {
                "min_length": 1,
                "max_length": 20,
                "pattern": "^\\d+$"
              }
            },
            {
              "name": "customer_id",
              "type": "string",
              "required": false,
              "description": "Customer/manager ID (CustomerId). Required for agency-managed accounts.",
              "constraints": {
                "min_length": 1,
                "max_length": 20,
                "pattern": "^\\d+$"
              }
            },
            {
              "name": "campaign_ids",
              "type": "array",
              "required": false,
              "description": "Only these campaigns (1-100): their own negatives and, unless level is Campaign, their ad groups'. Omit for the whole account. An id the account does not have is rejected."
            },
            {
              "name": "ad_group_ids",
              "type": "array",
              "required": false,
              "description": "Only these ad groups (1-100); implies level AdGroup (level Campaign is rejected). Each ad group's campaign is looked up; pass campaign_ids too when an ad group has not been listed before."
            },
            {
              "name": "level",
              "type": "string",
              "required": false,
              "description": "Campaign = negatives added to campaigns, AdGroup = to ad groups, All (default) = both.",
              "enum_values": [
                "Campaign",
                "AdGroup",
                "All"
              ],
              "default": "All"
            },
            {
              "name": "match_type",
              "type": "array",
              "required": false,
              "description": "Only these match types. Microsoft negatives are Exact or Phrase."
            },
            {
              "name": "limit",
              "type": "integer",
              "required": false,
              "description": "Negative keywords per page (1-100). Default: as many as fit in a response an MCP client accepts (about 45K characters). Follow nextCursor for the rest.",
              "constraints": {
                "min": 1,
                "max": 100
              }
            },
            {
              "name": "cursor",
              "type": "string",
              "required": false,
              "description": "Opaque cursor from the previous response's nextCursor. Pass it with otherwise identical parameters to get the next page; a cursor reused with different filters is rejected. Omit for the first page.",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "google_ads_list_negative_keywords",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "microsoft_ads_get_performance_report",
          "title": "Get Microsoft Ads Performance Report",
          "description": "Comprehensive Microsoft Advertising performance report broken down by ENTITY —\none row per campaign, ad group, ad, or keyword — with pre-selected columns.\nCovers the full funnel: Impressions → Clicks → Spend → Conversions → Revenue.\n\nWHEN NOT TO USE THIS: if the user wants a single account-wide total, a \"performance summary /\noverview\" for a whole account, or an account-level conversion-goal breakdown (\"which goals drove\nthe most activity\") that does NOT need to be split per campaign, use microsoft_ads_get_account_summary\ninstead — it is the purpose-built account-level rollup (it also supports breakdown_by_goal) and is\nsimpler and faster for that job. This holds REGARDLESS of the date shape: a custom start/end date\nrange (e.g. \"performance for January 2026\", \"how did my account do from 2026-01-01 to 2026-01-31\")\ndoes NOT make this the right tool — get_account_summary accepts the same date_preset and custom\ndate_range inputs, so an account-level total over a custom range still belongs there. Only the need\nfor per-entity rows (per campaign, ad group, ad, or keyword) justifies reaching for this report.\n\nLevels:\n  • Campaign (default): CampaignId, CampaignName, CampaignStatus, CampaignType + metrics\n  • AdGroup: + AdGroupId, AdGroupName, Status (the ad group's status)\n  • Ad: + AdId, AdType, AdTitle, AdGroupStatus, AdStatus\n  • Keyword: + AdGroupId, AdGroupName, AdGroupStatus, KeywordId, Keyword, BidMatchType,\n             QualityScore, ExpectedCtr, AdRelevance, LandingPageExperience. No CampaignType\n             column, so campaign_type is rejected at this level; use campaign_ids.\n\nAll levels include: TimePeriod, Impressions, Clicks, Spend, AverageCpc, Ctr,\nConversionsQualified (surfaced as conversions), Revenue, derived\ncost_per_conversion.\n\nCONVERSION SURFACE (HOP-50):\n  • conversions is bidding-set only (reads the ConversionsQualified column).\n    The deprecated Conversions, ConversionRate, CostPerConversion, and\n    ReturnOnAdSpend columns are REJECTED at the schema layer — Bing returns\n    0 for them on modern accounts. Derive the rate / per-conversion metrics\n    client-side from spend + conversions.\n  • include_all_conversions: boolean (default false). When true, the tool\n    auto-adds AllConversionsQualified / AllRevenue / ViewThroughConversionsQualified\n    to the column set and attaches an 'all_conversions' sub-object to every row\n    capturing every conversion goal — not just the bidding-set. Mirrors\n    google_ads_get_performance_report's enhanced-conversions flag.\n  • breakdown_by_goal: boolean (default true). Runs a parallel\n    GoalsAndFunnelsReport for the same scope and joins per-goal totals onto\n    the response as 'goal_breakdown' keyed by campaign_id (or account_id\n    when no campaign filter). Set to false to skip the parallel SOAP call\n    when latency matters more than per-goal context.\n\nKEY DIFFERENCES FROM GOOGLE:\n  • Single query (no dual-query needed — Microsoft has no conversion segment restriction)\n  • Spend is in the account's currency (USD, GBP, etc.) — not micros\n  • Conversion split surfaces via include_all_conversions + breakdown_by_goal flags\n\nFor custom column selection, use microsoft_ads_get_insights.\nFor search term analysis, use microsoft_ads_get_search_terms.\nFor impression share metrics, use microsoft_ads_get_impression_share.\n\nPAGING: rows come back one page at a time, sorted Spend highest first. Leave limit unset: each\npage is then sized so the whole response fits what MCP clients accept (up to ${DEFAULT_REPORT_PAGE_ROWS} rows, ending\nearly at about ${RESPONSE_CHAR_BUDGET.toLocaleString('en-US')} characters, so wide Keyword-level rows give fewer rows per page). To get\nmore rows, follow the cursor rather than raising limit; an explicit limit (max ${MAX_REPORT_PAGE_ROWS}) is exact.\ncount is the total across all pages. When\nthe response has a nextCursor, call again with exactly the same parameters plus\ncursor = nextCursor; repeat until nextCursor is absent to collect every row. Later pages re-read\nthe same report rather than running a new one (no queue wait, each row exactly once), and omit\ngoal_breakdown, which only the first page carries.\n\nNote: Microsoft's async report pipeline typically takes 5–30 seconds per call.",
          "cli_command": "hopkin microsoft performance-report get",
          "cli_flags": [
            {
              "flag": "--account",
              "description": "Microsoft Advertising Account ID (numeric string)",
              "type": "string",
              "required": true
            },
            {
              "flag": "--customer-id",
              "description": "Customer/manager ID. Required when accessing accounts through an agency manager.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--level",
              "description": "Report granularity. Campaign (default): one row per campaign. AdGroup: one row per ad group. Ad: one row per ad. Keyword: one row per keyword with BidMatchType and Quality Score components (QualityScore, ExpectedCtr, AdRelevance, LandingPageExperience); campaign_type is not supported at Keyword level.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--date-range",
              "description": "Custom date range { start, end } in YYYY-MM-DD. Use either this or date_preset.",
              "type": "object",
              "required": false
            },
            {
              "flag": "--date-preset",
              "description": "Predefined date range. Options: Today, Yesterday, LastSevenDays, ThisWeek, LastWeek, LastFourWeeks, ThisMonth, LastMonth, LastThreeMonths, LastSixMonths, ThisYear, LastYear.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--aggregation",
              "description": "Time aggregation. Daily (default): row per day. Weekly: row per week. Monthly: row per month. Summary: single totals row for the full date range.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--campaign-ids",
              "description": "Filter to specific campaign IDs (up to 50).",
              "type": "array",
              "required": false
            },
            {
              "flag": "--campaign-type",
              "description": "Return only rows from campaigns of these types. Allowed: Search, Shopping, PerformanceMax, Audience. Applied to the report rows (Microsoft reports cannot filter by type), so count and goal_breakdown cover only the matching campaigns. If not provided, all campaign types are included. Not supported at level Keyword (Microsoft's keyword report has no campaign type column); use campaign_ids there.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--include-all-conversions",
              "description": "When true, adds AllConversionsQualified, AllRevenue, and ViewThroughConversionsQualified to the column request (mirrors google-ads-mcp enhanced-conversions opt-in). These columns capture ALL conversion goals including non-bidding goals. The response added_columns field lists which columns were automatically included.",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--breakdown-by-goal",
              "description": "When true (default), runs a parallel GoalsAndFunnelsReport and returns goal_breakdown keyed by account_id (account-scope) or campaign_id (campaign-scope when campaign_ids filter is set). Each entry is an array of per-goal rows with all_conversions, all_revenue, view_through_conversions, assists. Set goal_breakdown_granularity to \"account\" or \"campaign\" accordingly. Pass false to skip the parallel report when latency matters more than goal context.",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--limit",
              "description": "Rows per page (1-10000). Usually omit it: the page is then sized so the whole response fits what MCP clients accept, up to 500 rows and ending early at about 45,000 characters, so wide rows (Keyword level) give fewer rows per page. To get more rows, follow nextCursor rather than raising limit; set limit only if your client takes large responses. The whole report is sorted by Spend (highest first), then by the row's column values, and returned one page at a time. count is the total across all pages; while more rows remain, the response has a top-level nextCursor.",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--cursor",
              "description": "Opaque cursor from nextCursor of the previous response; never construct one. To get the next page, repeat the call with exactly the same parameters (only limit may change) plus this cursor. Later pages re-read the same Microsoft report instead of generating a new one, so every row appears exactly once. Cursors expire with the report (about 24 hours). goal_breakdown is returned on the first page only.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "reporting",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": false,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "account_id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 20,
                "pattern": "^\\d+$",
                "description": "Microsoft Advertising Account ID (numeric string)"
              },
              "customer_id": {
                "type": "string",
                "minLength": 1,
                "description": "Customer/manager ID. Required when accessing accounts through an agency manager."
              },
              "level": {
                "type": "string",
                "enum": [
                  "Campaign",
                  "AdGroup",
                  "Ad",
                  "Keyword"
                ],
                "default": "Campaign",
                "description": "Report granularity. Campaign (default): one row per campaign. AdGroup: one row per ad group. Ad: one row per ad. Keyword: one row per keyword with BidMatchType and Quality Score components (QualityScore, ExpectedCtr, AdRelevance, LandingPageExperience); campaign_type is not supported at Keyword level."
              },
              "date_range": {
                "type": "object",
                "properties": {
                  "start": {
                    "type": "string",
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                    "description": "Start date (YYYY-MM-DD)"
                  },
                  "end": {
                    "type": "string",
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                    "description": "End date (YYYY-MM-DD)"
                  }
                },
                "required": [
                  "start",
                  "end"
                ],
                "additionalProperties": false,
                "description": "Custom date range { start, end } in YYYY-MM-DD. Use either this or date_preset."
              },
              "date_preset": {
                "type": "string",
                "enum": [
                  "Today",
                  "Yesterday",
                  "LastSevenDays",
                  "ThisWeek",
                  "LastWeek",
                  "LastFourWeeks",
                  "ThisMonth",
                  "LastMonth",
                  "LastThreeMonths",
                  "LastSixMonths",
                  "ThisYear",
                  "LastYear"
                ],
                "description": "Predefined date range. Options: Today, Yesterday, LastSevenDays, ThisWeek, LastWeek, LastFourWeeks, ThisMonth, LastMonth, LastThreeMonths, LastSixMonths, ThisYear, LastYear."
              },
              "aggregation": {
                "type": "string",
                "enum": [
                  "Daily",
                  "Weekly",
                  "Monthly",
                  "Summary"
                ],
                "default": "Daily",
                "description": "Time aggregation. Daily (default): row per day. Weekly: row per week. Monthly: row per month. Summary: single totals row for the full date range."
              },
              "campaign_ids": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1
                },
                "minItems": 1,
                "maxItems": 50,
                "description": "Filter to specific campaign IDs (up to 50)."
              },
              "campaign_type": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "Search",
                    "Shopping",
                    "PerformanceMax",
                    "Audience"
                  ]
                },
                "description": "Return only rows from campaigns of these types. Allowed: Search, Shopping, PerformanceMax, Audience. Applied to the report rows (Microsoft reports cannot filter by type), so count and goal_breakdown cover only the matching campaigns. If not provided, all campaign types are included. Not supported at level Keyword (Microsoft's keyword report has no campaign type column); use campaign_ids there."
              },
              "include_all_conversions": {
                "type": "boolean",
                "default": false,
                "description": "When true, adds AllConversionsQualified, AllRevenue, and ViewThroughConversionsQualified to the column request (mirrors google-ads-mcp enhanced-conversions opt-in). These columns capture ALL conversion goals including non-bidding goals. The response added_columns field lists which columns were automatically included."
              },
              "breakdown_by_goal": {
                "type": "boolean",
                "default": true,
                "description": "When true (default), runs a parallel GoalsAndFunnelsReport and returns goal_breakdown keyed by account_id (account-scope) or campaign_id (campaign-scope when campaign_ids filter is set). Each entry is an array of per-goal rows with all_conversions, all_revenue, view_through_conversions, assists. Set goal_breakdown_granularity to \"account\" or \"campaign\" accordingly. Pass false to skip the parallel report when latency matters more than goal context."
              },
              "limit": {
                "type": "integer",
                "minimum": 1,
                "maximum": 10000,
                "description": "Rows per page (1-10000). Usually omit it: the page is then sized so the whole response fits what MCP clients accept, up to 500 rows and ending early at about 45,000 characters, so wide rows (Keyword level) give fewer rows per page. To get more rows, follow nextCursor rather than raising limit; set limit only if your client takes large responses. The whole report is sorted by Spend (highest first), then by the row's column values, and returned one page at a time. count is the total across all pages; while more rows remain, the response has a top-level nextCursor."
              },
              "cursor": {
                "type": "string",
                "minLength": 1,
                "description": "Opaque cursor from nextCursor of the previous response; never construct one. To get the next page, repeat the call with exactly the same parameters (only limit may change) plus this cursor. Later pages re-read the same Microsoft report instead of generating a new one, so every row appears exactly once. Cursors expire with the report (about 24 hours). goal_breakdown is returned on the first page only."
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "account_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "account_id",
              "type": "string",
              "required": true,
              "description": "Microsoft Advertising Account ID (numeric string)",
              "constraints": {
                "min_length": 1,
                "max_length": 20,
                "pattern": "^\\d+$"
              }
            },
            {
              "name": "customer_id",
              "type": "string",
              "required": false,
              "description": "Customer/manager ID. Required when accessing accounts through an agency manager.",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "level",
              "type": "string",
              "required": false,
              "description": "Report granularity. Campaign (default): one row per campaign. AdGroup: one row per ad group. Ad: one row per ad. Keyword: one row per keyword with BidMatchType and Quality Score components (QualityScore, ExpectedCtr, AdRelevance, LandingPageExperience); campaign_type is not supported at Keyword level.",
              "enum_values": [
                "Campaign",
                "AdGroup",
                "Ad",
                "Keyword"
              ],
              "default": "Campaign"
            },
            {
              "name": "date_range",
              "type": "object",
              "required": false,
              "description": "Custom date range { start, end } in YYYY-MM-DD. Use either this or date_preset."
            },
            {
              "name": "date_preset",
              "type": "string",
              "required": false,
              "description": "Predefined date range. Options: Today, Yesterday, LastSevenDays, ThisWeek, LastWeek, LastFourWeeks, ThisMonth, LastMonth, LastThreeMonths, LastSixMonths, ThisYear, LastYear.",
              "enum_values": [
                "Today",
                "Yesterday",
                "LastSevenDays",
                "ThisWeek",
                "LastWeek",
                "LastFourWeeks",
                "ThisMonth",
                "LastMonth",
                "LastThreeMonths",
                "LastSixMonths",
                "ThisYear",
                "LastYear"
              ]
            },
            {
              "name": "aggregation",
              "type": "string",
              "required": false,
              "description": "Time aggregation. Daily (default): row per day. Weekly: row per week. Monthly: row per month. Summary: single totals row for the full date range.",
              "enum_values": [
                "Daily",
                "Weekly",
                "Monthly",
                "Summary"
              ],
              "default": "Daily"
            },
            {
              "name": "campaign_ids",
              "type": "array",
              "required": false,
              "description": "Filter to specific campaign IDs (up to 50)."
            },
            {
              "name": "campaign_type",
              "type": "array",
              "required": false,
              "description": "Return only rows from campaigns of these types. Allowed: Search, Shopping, PerformanceMax, Audience. Applied to the report rows (Microsoft reports cannot filter by type), so count and goal_breakdown cover only the matching campaigns. If not provided, all campaign types are included. Not supported at level Keyword (Microsoft's keyword report has no campaign type column); use campaign_ids there."
            },
            {
              "name": "include_all_conversions",
              "type": "boolean",
              "required": false,
              "description": "When true, adds AllConversionsQualified, AllRevenue, and ViewThroughConversionsQualified to the column request (mirrors google-ads-mcp enhanced-conversions opt-in). These columns capture ALL conversion goals including non-bidding goals. The response added_columns field lists which columns were automatically included.",
              "default": false
            },
            {
              "name": "breakdown_by_goal",
              "type": "boolean",
              "required": false,
              "description": "When true (default), runs a parallel GoalsAndFunnelsReport and returns goal_breakdown keyed by account_id (account-scope) or campaign_id (campaign-scope when campaign_ids filter is set). Each entry is an array of per-goal rows with all_conversions, all_revenue, view_through_conversions, assists. Set goal_breakdown_granularity to \"account\" or \"campaign\" accordingly. Pass false to skip the parallel report when latency matters more than goal context.",
              "default": true
            },
            {
              "name": "limit",
              "type": "integer",
              "required": false,
              "description": "Rows per page (1-10000). Usually omit it: the page is then sized so the whole response fits what MCP clients accept, up to 500 rows and ending early at about 45,000 characters, so wide rows (Keyword level) give fewer rows per page. To get more rows, follow nextCursor rather than raising limit; set limit only if your client takes large responses. The whole report is sorted by Spend (highest first), then by the row's column values, and returned one page at a time. count is the total across all pages; while more rows remain, the response has a top-level nextCursor.",
              "constraints": {
                "min": 1,
                "max": 10000
              }
            },
            {
              "name": "cursor",
              "type": "string",
              "required": false,
              "description": "Opaque cursor from nextCursor of the previous response; never construct one. To get the next page, repeat the call with exactly the same parameters (only limit may change) plus this cursor. Later pages re-read the same Microsoft report instead of generating a new one, so every row appears exactly once. Cursors expire with the report (about 24 hours). goal_breakdown is returned on the first page only.",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "Monthly campaign overview",
              "mcp_params": {
                "account_id": "1234567890",
                "level": "Campaign",
                "date_preset": "LastMonth",
                "aggregation": "Daily",
                "reason": "Monthly performance review — show daily trends for all campaigns"
              },
              "cli_command": "hopkin microsoft performance-report get --account 1234567890 --level Campaign --date-preset LastMonth --aggregation Daily",
              "natural_language": "Monthly campaign overview"
            },
            {
              "label": "Ad group drilldown for Q1",
              "mcp_params": {
                "account_id": "1234567890",
                "level": "AdGroup",
                "date_range": {
                  "start": "2026-01-01",
                  "end": "2026-03-31"
                },
                "aggregation": "Weekly",
                "reason": "Q1 ad group performance with weekly trend for budget reallocation decisions"
              },
              "cli_command": "hopkin microsoft performance-report get --account 1234567890 --level AdGroup --date-range [object Object] --aggregation Weekly",
              "natural_language": "Ad group drilldown for Q1"
            },
            {
              "label": "Keyword Quality Score and ROI summary",
              "mcp_params": {
                "account_id": "1234567890",
                "level": "Keyword",
                "date_preset": "LastMonth",
                "aggregation": "Summary",
                "reason": "Identify low-QS keywords with high spend for optimization"
              },
              "cli_command": "hopkin microsoft performance-report get --account 1234567890 --level Keyword --date-preset LastMonth --aggregation Summary",
              "natural_language": "Keyword Quality Score and ROI summary"
            },
            {
              "label": "Ad performance for specific Search campaigns",
              "mcp_params": {
                "account_id": "1234567890",
                "level": "Ad",
                "date_preset": "LastSevenDays",
                "aggregation": "Daily",
                "campaign_type": [
                  "Search"
                ],
                "reason": "A/B test RSA ad copy — compare conversion rates across ad variants"
              },
              "cli_command": "hopkin microsoft performance-report get --account 1234567890 --level Ad --date-preset LastSevenDays --aggregation Daily --campaign-type Search",
              "natural_language": "Ad performance for specific Search campaigns"
            },
            {
              "label": "Managed account (agency) campaign report",
              "mcp_params": {
                "account_id": "9876543210",
                "customer_id": "5555555555",
                "level": "Campaign",
                "date_preset": "ThisMonth",
                "aggregation": "Daily",
                "reason": "Client campaign performance for monthly report"
              },
              "cli_command": "hopkin microsoft performance-report get --account 9876543210 --customer-id 5555555555 --level Campaign --date-preset ThisMonth --aggregation Daily",
              "natural_language": "Managed account (agency) campaign report"
            }
          ],
          "response_format": "json",
          "related_tools": [
            {
              "name": "meta_ads_get_performance_report",
              "relationship": "cross-platform"
            },
            {
              "name": "google_ads_get_performance_report",
              "relationship": "cross-platform"
            },
            {
              "name": "linkedin_ads_get_performance_report",
              "relationship": "cross-platform"
            },
            {
              "name": "reddit_ads_get_performance_report",
              "relationship": "cross-platform"
            },
            {
              "name": "tiktok_ads_get_performance_report",
              "relationship": "cross-platform"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "microsoft_ads_ping",
          "title": "Ping Microsoft Ads MCP Server",
          "description": "Health check for the Microsoft Ads MCP server. Returns server status and version. No authentication required. Use to verify the server is reachable before calling other tools.",
          "cli_command": "hopkin microsoft ping",
          "cli_flags": [
            {
              "flag": "--message",
              "description": "Optional message to echo back",
              "type": "string",
              "required": false
            }
          ],
          "category": "auth",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": true,
            "openWorld": false
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "message": {
                "type": "string",
                "maxLength": 100,
                "description": "Optional message to echo back"
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "message",
              "type": "string",
              "required": false,
              "description": "Optional message to echo back",
              "constraints": {
                "max_length": 100
              }
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "Health check",
              "mcp_params": {
                "reason": "Verify the Microsoft Ads MCP server is running"
              },
              "cli_command": "hopkin microsoft ping",
              "natural_language": "Health check"
            },
            {
              "label": "With echo message",
              "mcp_params": {
                "message": "hello",
                "reason": "Test connectivity before calling data tools"
              },
              "cli_command": "hopkin microsoft ping --message hello",
              "natural_language": "With echo message"
            }
          ],
          "response_format": "markdown",
          "related_tools": [
            {
              "name": "meta_ads_ping",
              "relationship": "cross-platform"
            },
            {
              "name": "google_ads_ping",
              "relationship": "cross-platform"
            },
            {
              "name": "linkedin_ads_ping",
              "relationship": "cross-platform"
            },
            {
              "name": "reddit_ads_ping",
              "relationship": "cross-platform"
            },
            {
              "name": "tiktok_ads_ping",
              "relationship": "cross-platform"
            },
            {
              "name": "chatgpt_ads_ping",
              "relationship": "cross-platform"
            },
            {
              "name": "microsoft_ads_check_auth_status",
              "relationship": "sibling"
            }
          ],
          "tool_type": "standard"
        },
        {
          "name": "microsoft_ads_get_search_terms",
          "title": "Get Microsoft Ads Search Terms",
          "description": "",
          "cli_command": "hopkin microsoft search-terms get",
          "cli_flags": [
            {
              "flag": "--account",
              "description": "Microsoft Advertising account ID (AccountId)",
              "type": "string",
              "required": true
            },
            {
              "flag": "--customer-id",
              "description": "Customer/manager ID (CustomerId). Required for agency-managed accounts.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--date-range",
              "description": "Date range for the report. Required.",
              "type": "object",
              "required": true
            },
            {
              "flag": "--campaign-ids",
              "description": "Filter to specific campaign IDs (max 100). Omit to include all campaigns.",
              "type": "array",
              "required": false
            },
            {
              "flag": "--limit",
              "description": "Page size: search terms per response (1-10000, default 50). Rows are sorted by Impressions descending, so the first page is the top N. `count` in the response is the total across all pages; when `nextCursor` is present, more rows remain. Large pages can exceed what an MCP client accepts in one response (roughly 100 rows, fewer with include_all_conversions); to cover every term, follow nextCursor rather than raising limit.",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--cursor",
              "description": "Opaque cursor for the next page: pass the `nextCursor` value from the previous response unchanged, together with the same parameters as that call (only limit may change). Omit for the first page. Cursors expire after about 24 hours.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--include-all-conversions",
              "description": "When true, adds the AllConversionsQualified and AllRevenue columns to the report and surfaces them as an all_conversions sub-object on each row. This captures ALL conversion goals including those not marked \"Include in Conversions\" (e.g. cross-device, non-bidding goals). Microsoft's search term report has no view-through conversion column, so there is no view-through count here. The base Conversions field always reflects ConversionsQualified (bidding-set only). Note: breakdown_by_goal is not available on this tool because Bing's search-term report cannot join GoalsAndFunnelsReport at the search-term level (spec §9.3).",
              "type": "boolean",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "search-terms",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": false,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "account_id": {
                "type": "string",
                "minLength": 1,
                "description": "Microsoft Advertising account ID (AccountId)"
              },
              "customer_id": {
                "type": "string",
                "minLength": 1,
                "description": "Customer/manager ID (CustomerId). Required for agency-managed accounts."
              },
              "date_range": {
                "type": "object",
                "properties": {
                  "start": {
                    "type": "string",
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                    "description": "Start date in YYYY-MM-DD format"
                  },
                  "end": {
                    "type": "string",
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                    "description": "End date in YYYY-MM-DD format"
                  }
                },
                "required": [
                  "start",
                  "end"
                ],
                "additionalProperties": false,
                "description": "Date range for the report. Required."
              },
              "campaign_ids": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1
                },
                "minItems": 1,
                "maxItems": 100,
                "description": "Filter to specific campaign IDs (max 100). Omit to include all campaigns."
              },
              "limit": {
                "type": "integer",
                "minimum": 1,
                "maximum": 10000,
                "description": "Page size: search terms per response (1-10000, default 50). Rows are sorted by Impressions descending, so the first page is the top N. `count` in the response is the total across all pages; when `nextCursor` is present, more rows remain. Large pages can exceed what an MCP client accepts in one response (roughly 100 rows, fewer with include_all_conversions); to cover every term, follow nextCursor rather than raising limit."
              },
              "cursor": {
                "type": "string",
                "minLength": 1,
                "description": "Opaque cursor for the next page: pass the `nextCursor` value from the previous response unchanged, together with the same parameters as that call (only limit may change). Omit for the first page. Cursors expire after about 24 hours."
              },
              "include_all_conversions": {
                "type": "boolean",
                "default": false,
                "description": "When true, adds the AllConversionsQualified and AllRevenue columns to the report and surfaces them as an all_conversions sub-object on each row. This captures ALL conversion goals including those not marked \"Include in Conversions\" (e.g. cross-device, non-bidding goals). Microsoft's search term report has no view-through conversion column, so there is no view-through count here. The base Conversions field always reflects ConversionsQualified (bidding-set only). Note: breakdown_by_goal is not available on this tool because Bing's search-term report cannot join GoalsAndFunnelsReport at the search-term level (spec §9.3)."
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "account_id",
              "date_range",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "account_id",
              "type": "string",
              "required": true,
              "description": "Microsoft Advertising account ID (AccountId)",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "customer_id",
              "type": "string",
              "required": false,
              "description": "Customer/manager ID (CustomerId). Required for agency-managed accounts.",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "date_range",
              "type": "object",
              "required": true,
              "description": "Date range for the report. Required."
            },
            {
              "name": "campaign_ids",
              "type": "array",
              "required": false,
              "description": "Filter to specific campaign IDs (max 100). Omit to include all campaigns."
            },
            {
              "name": "limit",
              "type": "integer",
              "required": false,
              "description": "Page size: search terms per response (1-10000, default 50). Rows are sorted by Impressions descending, so the first page is the top N. `count` in the response is the total across all pages; when `nextCursor` is present, more rows remain. Large pages can exceed what an MCP client accepts in one response (roughly 100 rows, fewer with include_all_conversions); to cover every term, follow nextCursor rather than raising limit.",
              "constraints": {
                "min": 1,
                "max": 10000
              }
            },
            {
              "name": "cursor",
              "type": "string",
              "required": false,
              "description": "Opaque cursor for the next page: pass the `nextCursor` value from the previous response unchanged, together with the same parameters as that call (only limit may change). Omit for the first page. Cursors expire after about 24 hours.",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "include_all_conversions",
              "type": "boolean",
              "required": false,
              "description": "When true, adds the AllConversionsQualified and AllRevenue columns to the report and surfaces them as an all_conversions sub-object on each row. This captures ALL conversion goals including those not marked \"Include in Conversions\" (e.g. cross-device, non-bidding goals). Microsoft's search term report has no view-through conversion column, so there is no view-through count here. The base Conversions field always reflects ConversionsQualified (bidding-set only). Note: breakdown_by_goal is not available on this tool because Bing's search-term report cannot join GoalsAndFunnelsReport at the search-term level (spec §9.3).",
              "default": false
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [
            {
              "label": "Last 30 days, all campaigns",
              "mcp_params": {
                "account_id": "123456789",
                "date_range": {
                  "start": "2026-03-18",
                  "end": "2026-04-17"
                },
                "reason": "Analyze search query performance"
              },
              "cli_command": "hopkin microsoft search-terms get --account 123456789 --date-range [object Object]",
              "natural_language": "Last 30 days, all campaigns"
            },
            {
              "label": "Next page of the same report",
              "mcp_params": {
                "account_id": "123456789",
                "date_range": {
                  "start": "2026-03-18",
                  "end": "2026-04-17"
                },
                "cursor": "<nextCursor from the previous response>",
                "reason": "Continue through every search term for the wasted-spend review"
              },
              "cli_command": "hopkin microsoft search-terms get --account 123456789 --date-range [object Object] --cursor <nextCursor from the previous response>",
              "natural_language": "Next page of the same report"
            },
            {
              "label": "Specific campaign, top 100",
              "mcp_params": {
                "account_id": "123456789",
                "date_range": {
                  "start": "2026-04-01",
                  "end": "2026-04-17"
                },
                "campaign_ids": [
                  "987654321"
                ],
                "limit": 100,
                "reason": "Top 100 search terms for brand campaign this month"
              },
              "cli_command": "hopkin microsoft search-terms get --account 123456789 --date-range [object Object] --campaign-ids 987654321 --limit 100",
              "natural_language": "Specific campaign, top 100"
            },
            {
              "label": "Multi-campaign filter",
              "mcp_params": {
                "account_id": "123456789",
                "date_range": {
                  "start": "2026-04-01",
                  "end": "2026-04-17"
                },
                "campaign_ids": [
                  "111111",
                  "222222",
                  "333333"
                ],
                "reason": "Search terms across three key campaigns"
              },
              "cli_command": "hopkin microsoft search-terms get --account 123456789 --date-range [object Object] --campaign-ids 111111,222222,333333",
              "natural_language": "Multi-campaign filter"
            },
            {
              "label": "Top 50 for quick overview",
              "mcp_params": {
                "account_id": "123456789",
                "date_range": {
                  "start": "2026-04-10",
                  "end": "2026-04-17"
                },
                "limit": 50,
                "reason": "Quick top 50 search terms overview for the last week"
              },
              "cli_command": "hopkin microsoft search-terms get --account 123456789 --date-range [object Object] --limit 50",
              "natural_language": "Top 50 for quick overview"
            },
            {
              "label": "Full month with managed account",
              "mcp_params": {
                "account_id": "123456789",
                "customer_id": "555666777",
                "date_range": {
                  "start": "2026-03-01",
                  "end": "2026-03-31"
                },
                "reason": "March search term performance for agency client"
              },
              "cli_command": "hopkin microsoft search-terms get --account 123456789 --customer-id 555666777 --date-range [object Object]",
              "natural_language": "Full month with managed account"
            },
            {
              "label": "Include all-conversions data (non-bidding goals)",
              "mcp_params": {
                "account_id": "123456789",
                "date_range": {
                  "start": "2026-04-01",
                  "end": "2026-04-30"
                },
                "include_all_conversions": true,
                "reason": "Get full conversion picture including non-bidding goals for search terms"
              },
              "cli_command": "hopkin microsoft search-terms get --account 123456789 --date-range [object Object] --include-all-conversions true",
              "natural_language": "Include all-conversions data (non-bidding goals)"
            }
          ],
          "response_format": "markdown",
          "related_tools": [],
          "tool_type": "standard"
        },
        {
          "name": "microsoft_ads_get_uet_tag_health",
          "title": "Get Microsoft Ads UET Tag Health",
          "description": "",
          "cli_command": "hopkin microsoft uet-tag-health get",
          "cli_flags": [
            {
              "flag": "--account",
              "description": "Microsoft Advertising account ID (AccountId). Conversion goals scoped to this account are included alongside the customer-level ones.",
              "type": "string",
              "required": true
            },
            {
              "flag": "--customer-id",
              "description": "Customer ID that owns the account. UET tags belong to the customer; when omitted it is looked up from the account.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--limit",
              "description": "Maximum number of UET tags per page (1-100, default 50). Each tag carries all of its conversion goals.",
              "type": "integer",
              "required": false
            },
            {
              "flag": "--cursor",
              "description": "Opaque cursor from the previous response's nextCursor. Pass it with otherwise identical parameters to get the next page; a cursor reused with different filters is rejected. Omit for the first page.",
              "type": "string",
              "required": false
            },
            {
              "flag": "--connection-id",
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.",
              "type": "string",
              "required": false
            }
          ],
          "category": "uet-tag-health",
          "annotations": {
            "readOnly": true,
            "destructive": false,
            "idempotent": false,
            "openWorld": true
          },
          "inputSchema": {
            "type": "object",
            "properties": {
              "account_id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 20,
                "pattern": "^\\d+$",
                "description": "Microsoft Advertising account ID (AccountId). Conversion goals scoped to this account are included alongside the customer-level ones."
              },
              "customer_id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 20,
                "pattern": "^\\d+$",
                "description": "Customer ID that owns the account. UET tags belong to the customer; when omitted it is looked up from the account."
              },
              "limit": {
                "type": "integer",
                "minimum": 1,
                "maximum": 100,
                "description": "Maximum number of UET tags per page (1-100, default 50). Each tag carries all of its conversion goals."
              },
              "cursor": {
                "type": "string",
                "minLength": 1,
                "description": "Opaque cursor from the previous response's nextCursor. Pass it with otherwise identical parameters to get the next page; a cursor reused with different filters is rejected. Omit for the first page."
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500,
                "description": "Why this tool call is needed"
              }
            },
            "required": [
              "account_id",
              "reason"
            ],
            "additionalProperties": false,
            "$schema": "http://json-schema.org/draft-07/schema#"
          },
          "parameters": [
            {
              "name": "account_id",
              "type": "string",
              "required": true,
              "description": "Microsoft Advertising account ID (AccountId). Conversion goals scoped to this account are included alongside the customer-level ones.",
              "constraints": {
                "min_length": 1,
                "max_length": 20,
                "pattern": "^\\d+$"
              }
            },
            {
              "name": "customer_id",
              "type": "string",
              "required": false,
              "description": "Customer ID that owns the account. UET tags belong to the customer; when omitted it is looked up from the account.",
              "constraints": {
                "min_length": 1,
                "max_length": 20,
                "pattern": "^\\d+$"
              }
            },
            {
              "name": "limit",
              "type": "integer",
              "required": false,
              "description": "Maximum number of UET tags per page (1-100, default 50). Each tag carries all of its conversion goals.",
              "constraints": {
                "min": 1,
                "max": 100
              }
            },
            {
              "name": "cursor",
              "type": "string",
              "required": false,
              "description": "Opaque cursor from the previous response's nextCursor. Pass it with otherwise identical parameters to get the next page; a cursor reused with different filters is rejected. Omit for the first page.",
              "constraints": {
                "min_length": 1
              }
            },
            {
              "name": "connection_id",
              "type": "string",
              "required": false,
              "description": "Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs."
            },
            {
              "name": "reason",
              "type": "string",
              "required": true,
              "description": "Why this tool call is needed",
              "constraints": {
                "min_length": 1,
                "max_length": 500
              }
            }
          ],
          "examples": [],
          "response_format": "markdown",
          "related_tools": [],
          "tool_type": "standard"
        }
      ]
    }
  ]
}