[
  {
    "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": "--entity-type",
        "description": "Type of ad entity: ad_account, campaign, ad_set, or ad",
        "type": "string",
        "required": true
      },
      {
        "flag": "--entity-id",
        "description": "The platform entity ID",
        "type": "string",
        "required": true
      },
      {
        "flag": "--key",
        "description": "The preference key to delete",
        "type": "string",
        "required": true
      }
    ],
    "category": "",
    "annotations": {
      "readOnly": true,
      "destructive": false,
      "idempotent": true,
      "openWorld": false
    },
    "inputSchema": {
      "type": "object",
      "properties": {
        "entity_type": {
          "type": "string",
          "enum": [
            "ad_account",
            "campaign",
            "ad_set",
            "ad"
          ],
          "description": "Type of ad entity: ad_account, campaign, ad_set, or ad"
        },
        "entity_id": {
          "type": "string",
          "minLength": 1,
          "description": "The platform entity ID"
        },
        "key": {
          "type": "string",
          "minLength": 1,
          "description": "The preference key to delete"
        },
        "reason": {
          "type": "string",
          "minLength": 1,
          "maxLength": 500,
          "description": "Why this tool call is needed"
        }
      },
      "required": [
        "entity_type",
        "entity_id",
        "key",
        "reason"
      ],
      "additionalProperties": false,
      "$schema": "http://json-schema.org/draft-07/schema#"
    },
    "parameters": [
      {
        "name": "entity_type",
        "type": "string",
        "required": true,
        "description": "Type of ad entity: ad_account, campaign, ad_set, or ad",
        "enum_values": [
          "ad_account",
          "campaign",
          "ad_set",
          "ad"
        ]
      },
      {
        "name": "entity_id",
        "type": "string",
        "required": true,
        "description": "The platform entity ID",
        "constraints": {
          "min_length": 1
        }
      },
      {
        "name": "key",
        "type": "string",
        "required": true,
        "description": "The preference key to delete",
        "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": "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": [],
    "tool_type": "standard"
  },
  {
    "name": "mailchimp_get_preferences",
    "title": "Get Mailchimp Preferences",
    "description": "Get all stored preferences for a Mailchimp entity. Preferences are also automatically attached to entity-listing responses, so you often don't need to call this explicitly.",
    "cli_command": "hopkin mailchimp preferences",
    "cli_flags": [
      {
        "flag": "--entity-type",
        "description": "Type of ad entity: ad_account, campaign, ad_set, or ad",
        "type": "string",
        "required": true
      },
      {
        "flag": "--entity-id",
        "description": "The platform entity ID",
        "type": "string",
        "required": true
      },
      {
        "flag": "--key",
        "description": "The preference key to delete",
        "type": "string",
        "required": true
      }
    ],
    "category": "preferences",
    "annotations": {
      "readOnly": true,
      "destructive": false,
      "idempotent": true,
      "openWorld": false
    },
    "inputSchema": {
      "type": "object",
      "properties": {
        "entity_type": {
          "type": "string",
          "enum": [
            "ad_account",
            "campaign",
            "ad_set",
            "ad"
          ],
          "description": "Type of ad entity: ad_account, campaign, ad_set, or ad"
        },
        "entity_id": {
          "type": "string",
          "minLength": 1,
          "description": "The platform entity ID"
        },
        "key": {
          "type": "string",
          "minLength": 1,
          "description": "The preference key to delete"
        },
        "reason": {
          "type": "string",
          "minLength": 1,
          "maxLength": 500,
          "description": "Why this tool call is needed"
        }
      },
      "required": [
        "entity_type",
        "entity_id",
        "key",
        "reason"
      ],
      "additionalProperties": false,
      "$schema": "http://json-schema.org/draft-07/schema#"
    },
    "parameters": [
      {
        "name": "entity_type",
        "type": "string",
        "required": true,
        "description": "Type of ad entity: ad_account, campaign, ad_set, or ad",
        "enum_values": [
          "ad_account",
          "campaign",
          "ad_set",
          "ad"
        ]
      },
      {
        "name": "entity_id",
        "type": "string",
        "required": true,
        "description": "The platform entity ID",
        "constraints": {
          "min_length": 1
        }
      },
      {
        "name": "key",
        "type": "string",
        "required": true,
        "description": "The preference key to delete",
        "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": "Get prefs",
        "mcp_params": {
          "entity_type": "audience",
          "entity_id": "abc123",
          "reason": "Check stored preferences before running report"
        },
        "cli_command": "hopkin mailchimp preferences --entity-type audience --entity-id abc123",
        "natural_language": "Get prefs"
      }
    ],
    "response_format": "markdown",
    "related_tools": [],
    "tool_type": "standard"
  }
]