{
  "server": {
    "command": "node",
    "args": [
      "/Users/jakeshore/.clawdbot/workspace/mcp-diagrams/mcp-servers/freshdesk/dist/index.js"
    ],
    "env": {
      "FRESHDESK_API_KEY": "factory_discovery_dummy",
      "FRESHDESK_DOMAIN": "factory_discovery_dummy"
    }
  },
  "tests": {
    "tools": {
      "list_tickets": {
        "args": {
          "filter": "new_and_my_open",
          "page": 50,
          "per_page": 50,
          "order_by": "test_value",
          "order_type": "asc"
        },
        "expect": "content && content.length > 0"
      },
      "list_tickets:empty-filter": {
        "args": {
          "filter": "",
          "page": 50,
          "per_page": 50,
          "order_by": "test_value",
          "order_type": "asc"
        },
        "expect": "exists"
      },
      "list_tickets:empty-order_by": {
        "args": {
          "filter": "new_and_my_open",
          "page": 50,
          "per_page": 50,
          "order_by": "",
          "order_type": "asc"
        },
        "expect": "exists"
      },
      "list_tickets:empty-order_type": {
        "args": {
          "filter": "new_and_my_open",
          "page": 50,
          "per_page": 50,
          "order_by": "test_value",
          "order_type": ""
        },
        "expect": "exists"
      },
      "get_ticket": {
        "args": {
          "id": 50,
          "include": "test_value"
        },
        "expect": "content && content.length > 0"
      },
      "get_ticket:empty-include": {
        "args": {
          "id": 50,
          "include": ""
        },
        "expect": "exists"
      },
      "create_ticket": {
        "args": {
          "subject": "test_value",
          "description": "test_value",
          "email": "test@example.com",
          "requester_id": 50,
          "priority": 1,
          "status": 2,
          "type": "test_value",
          "source": 50,
          "group_id": 50,
          "responder_id": 50,
          "tags": [],
          "custom_fields": {}
        },
        "expect": "content && content.length > 0"
      },
      "create_ticket:empty-email": {
        "args": {
          "subject": "test_value",
          "description": "test_value",
          "email": "",
          "requester_id": 50,
          "priority": 1,
          "status": 2,
          "type": "test_value",
          "source": 50,
          "group_id": 50,
          "responder_id": 50,
          "tags": [],
          "custom_fields": {}
        },
        "expect": "exists"
      },
      "create_ticket:empty-type": {
        "args": {
          "subject": "test_value",
          "description": "test_value",
          "email": "test@example.com",
          "requester_id": 50,
          "priority": 1,
          "status": 2,
          "type": "",
          "source": 50,
          "group_id": 50,
          "responder_id": 50,
          "tags": [],
          "custom_fields": {}
        },
        "expect": "exists"
      },
      "update_ticket": {
        "args": {
          "id": 50,
          "subject": "test_value",
          "description": "test_value",
          "priority": 50,
          "status": 50,
          "type": "test_value",
          "group_id": 50,
          "responder_id": 50,
          "tags": [],
          "custom_fields": {}
        },
        "expect": "content && content.length > 0"
      },
      "update_ticket:empty-subject": {
        "args": {
          "id": 50,
          "subject": "",
          "description": "test_value",
          "priority": 50,
          "status": 50,
          "type": "test_value",
          "group_id": 50,
          "responder_id": 50,
          "tags": [],
          "custom_fields": {}
        },
        "expect": "exists"
      },
      "update_ticket:empty-description": {
        "args": {
          "id": 50,
          "subject": "test_value",
          "description": "",
          "priority": 50,
          "status": 50,
          "type": "test_value",
          "group_id": 50,
          "responder_id": 50,
          "tags": [],
          "custom_fields": {}
        },
        "expect": "exists"
      },
      "update_ticket:empty-type": {
        "args": {
          "id": 50,
          "subject": "test_value",
          "description": "test_value",
          "priority": 50,
          "status": 50,
          "type": "",
          "group_id": 50,
          "responder_id": 50,
          "tags": [],
          "custom_fields": {}
        },
        "expect": "exists"
      },
      "reply_ticket": {
        "args": {
          "id": 50,
          "body": "test_value",
          "from_email": "test@example.com",
          "user_id": 50,
          "cc_emails": [],
          "bcc_emails": [],
          "private": true
        },
        "expect": "content && content.length > 0"
      },
      "reply_ticket:empty-from_email": {
        "args": {
          "id": 50,
          "body": "test_value",
          "from_email": "",
          "user_id": 50,
          "cc_emails": [],
          "bcc_emails": [],
          "private": true
        },
        "expect": "exists"
      },
      "list_contacts": {
        "args": {
          "email": "test@example.com",
          "phone": "test_value",
          "mobile": "test_value",
          "company_id": 50,
          "state": "blocked",
          "page": 50,
          "per_page": 50
        },
        "expect": "content && content.length > 0"
      },
      "list_contacts:empty-email": {
        "args": {
          "email": "",
          "phone": "test_value",
          "mobile": "test_value",
          "company_id": 50,
          "state": "blocked",
          "page": 50,
          "per_page": 50
        },
        "expect": "exists"
      },
      "list_contacts:empty-phone": {
        "args": {
          "email": "test@example.com",
          "phone": "",
          "mobile": "test_value",
          "company_id": 50,
          "state": "blocked",
          "page": 50,
          "per_page": 50
        },
        "expect": "exists"
      },
      "list_contacts:empty-mobile": {
        "args": {
          "email": "test@example.com",
          "phone": "test_value",
          "mobile": "",
          "company_id": 50,
          "state": "blocked",
          "page": 50,
          "per_page": 50
        },
        "expect": "exists"
      },
      "list_contacts:empty-state": {
        "args": {
          "email": "test@example.com",
          "phone": "test_value",
          "mobile": "test_value",
          "company_id": 50,
          "state": "",
          "page": 50,
          "per_page": 50
        },
        "expect": "exists"
      },
      "list_agents": {
        "args": {
          "email": "test@example.com",
          "phone": "test_value",
          "state": "fulltime",
          "page": 50,
          "per_page": 50
        },
        "expect": "content && content.length > 0"
      },
      "list_agents:empty-email": {
        "args": {
          "email": "",
          "phone": "test_value",
          "state": "fulltime",
          "page": 50,
          "per_page": 50
        },
        "expect": "exists"
      },
      "list_agents:empty-phone": {
        "args": {
          "email": "test@example.com",
          "phone": "",
          "state": "fulltime",
          "page": 50,
          "per_page": 50
        },
        "expect": "exists"
      },
      "list_agents:empty-state": {
        "args": {
          "email": "test@example.com",
          "phone": "test_value",
          "state": "",
          "page": 50,
          "per_page": 50
        },
        "expect": "exists"
      },
      "search_tickets": {
        "args": {
          "query": "test query",
          "page": 50
        },
        "expect": "content && content.length > 0"
      }
    },
    "resources": {},
    "prompts": {},
    "timeout": 30000
  }
}