{
  "server": {
    "command": "node",
    "args": [
      "/Users/jakeshore/.clawdbot/workspace/mcp-diagrams/mcp-servers/close/dist/index.js"
    ],
    "env": {
      "CLOSE_API_KEY": "factory_discovery_dummy"
    }
  },
  "tests": {
    "tools": {
      "list_leads": {
        "args": {
          "query": "test query",
          "_limit": 50,
          "_skip": 50,
          "_fields": "test_value"
        },
        "expect": "content && content.length > 0"
      },
      "list_leads:empty-query": {
        "args": {
          "query": "",
          "_limit": 50,
          "_skip": 50,
          "_fields": "test_value"
        },
        "expect": "exists"
      },
      "list_leads:empty-_fields": {
        "args": {
          "query": "test query",
          "_limit": 50,
          "_skip": 50,
          "_fields": ""
        },
        "expect": "exists"
      },
      "get_lead": {
        "args": {
          "lead_id": "test-id-123"
        },
        "expect": "content && content.length > 0"
      },
      "create_lead": {
        "args": {
          "name": "Test Name",
          "url": "https://example.com",
          "description": "test_value",
          "status_id": "test-id-123",
          "contacts": [],
          "addresses": [],
          "custom": {}
        },
        "expect": "content && content.length > 0"
      },
      "create_lead:empty-url": {
        "args": {
          "name": "Test Name",
          "url": "",
          "description": "test_value",
          "status_id": "test-id-123",
          "contacts": [],
          "addresses": [],
          "custom": {}
        },
        "expect": "exists"
      },
      "create_lead:empty-description": {
        "args": {
          "name": "Test Name",
          "url": "https://example.com",
          "description": "",
          "status_id": "test-id-123",
          "contacts": [],
          "addresses": [],
          "custom": {}
        },
        "expect": "exists"
      },
      "create_lead:empty-status_id": {
        "args": {
          "name": "Test Name",
          "url": "https://example.com",
          "description": "test_value",
          "status_id": "",
          "contacts": [],
          "addresses": [],
          "custom": {}
        },
        "expect": "exists"
      },
      "update_lead": {
        "args": {
          "lead_id": "test-id-123",
          "name": "Test Name",
          "url": "https://example.com",
          "description": "test_value",
          "status_id": "test-id-123",
          "custom": {}
        },
        "expect": "content && content.length > 0"
      },
      "update_lead:empty-name": {
        "args": {
          "lead_id": "test-id-123",
          "name": "",
          "url": "https://example.com",
          "description": "test_value",
          "status_id": "test-id-123",
          "custom": {}
        },
        "expect": "exists"
      },
      "update_lead:empty-url": {
        "args": {
          "lead_id": "test-id-123",
          "name": "Test Name",
          "url": "",
          "description": "test_value",
          "status_id": "test-id-123",
          "custom": {}
        },
        "expect": "exists"
      },
      "update_lead:empty-description": {
        "args": {
          "lead_id": "test-id-123",
          "name": "Test Name",
          "url": "https://example.com",
          "description": "",
          "status_id": "test-id-123",
          "custom": {}
        },
        "expect": "exists"
      },
      "update_lead:empty-status_id": {
        "args": {
          "lead_id": "test-id-123",
          "name": "Test Name",
          "url": "https://example.com",
          "description": "test_value",
          "status_id": "",
          "custom": {}
        },
        "expect": "exists"
      },
      "list_opportunities": {
        "args": {
          "lead_id": "test-id-123",
          "status_id": "test-id-123",
          "user_id": "test-id-123",
          "_limit": 50,
          "_skip": 50
        },
        "expect": "content && content.length > 0"
      },
      "list_opportunities:empty-lead_id": {
        "args": {
          "lead_id": "",
          "status_id": "test-id-123",
          "user_id": "test-id-123",
          "_limit": 50,
          "_skip": 50
        },
        "expect": "exists"
      },
      "list_opportunities:empty-status_id": {
        "args": {
          "lead_id": "test-id-123",
          "status_id": "",
          "user_id": "test-id-123",
          "_limit": 50,
          "_skip": 50
        },
        "expect": "exists"
      },
      "list_opportunities:empty-user_id": {
        "args": {
          "lead_id": "test-id-123",
          "status_id": "test-id-123",
          "user_id": "",
          "_limit": 50,
          "_skip": 50
        },
        "expect": "exists"
      },
      "create_opportunity": {
        "args": {
          "lead_id": "test-id-123",
          "status_id": "test-id-123",
          "value": 50,
          "value_period": "test_value",
          "confidence": 50,
          "note": "test_value",
          "date_won": "test_value"
        },
        "expect": "content && content.length > 0"
      },
      "create_opportunity:empty-status_id": {
        "args": {
          "lead_id": "test-id-123",
          "status_id": "",
          "value": 50,
          "value_period": "test_value",
          "confidence": 50,
          "note": "test_value",
          "date_won": "test_value"
        },
        "expect": "exists"
      },
      "create_opportunity:empty-value_period": {
        "args": {
          "lead_id": "test-id-123",
          "status_id": "test-id-123",
          "value": 50,
          "value_period": "",
          "confidence": 50,
          "note": "test_value",
          "date_won": "test_value"
        },
        "expect": "exists"
      },
      "create_opportunity:empty-note": {
        "args": {
          "lead_id": "test-id-123",
          "status_id": "test-id-123",
          "value": 50,
          "value_period": "test_value",
          "confidence": 50,
          "note": "",
          "date_won": "test_value"
        },
        "expect": "exists"
      },
      "create_opportunity:empty-date_won": {
        "args": {
          "lead_id": "test-id-123",
          "status_id": "test-id-123",
          "value": 50,
          "value_period": "test_value",
          "confidence": 50,
          "note": "test_value",
          "date_won": ""
        },
        "expect": "exists"
      },
      "create_activity": {
        "args": {
          "activity_type": "test_value",
          "lead_id": "test-id-123",
          "contact_id": "test-id-123",
          "user_id": "test-id-123",
          "note": "test_value",
          "subject": "test_value",
          "status": "test_value",
          "direction": "test_value",
          "duration": 50,
          "date_created": "test_value"
        },
        "expect": "content && content.length > 0"
      },
      "create_activity:empty-contact_id": {
        "args": {
          "activity_type": "test_value",
          "lead_id": "test-id-123",
          "contact_id": "",
          "user_id": "test-id-123",
          "note": "test_value",
          "subject": "test_value",
          "status": "test_value",
          "direction": "test_value",
          "duration": 50,
          "date_created": "test_value"
        },
        "expect": "exists"
      },
      "create_activity:empty-user_id": {
        "args": {
          "activity_type": "test_value",
          "lead_id": "test-id-123",
          "contact_id": "test-id-123",
          "user_id": "",
          "note": "test_value",
          "subject": "test_value",
          "status": "test_value",
          "direction": "test_value",
          "duration": 50,
          "date_created": "test_value"
        },
        "expect": "exists"
      },
      "create_activity:empty-note": {
        "args": {
          "activity_type": "test_value",
          "lead_id": "test-id-123",
          "contact_id": "test-id-123",
          "user_id": "test-id-123",
          "note": "",
          "subject": "test_value",
          "status": "test_value",
          "direction": "test_value",
          "duration": 50,
          "date_created": "test_value"
        },
        "expect": "exists"
      },
      "create_activity:empty-subject": {
        "args": {
          "activity_type": "test_value",
          "lead_id": "test-id-123",
          "contact_id": "test-id-123",
          "user_id": "test-id-123",
          "note": "test_value",
          "subject": "",
          "status": "test_value",
          "direction": "test_value",
          "duration": 50,
          "date_created": "test_value"
        },
        "expect": "exists"
      },
      "create_activity:empty-status": {
        "args": {
          "activity_type": "test_value",
          "lead_id": "test-id-123",
          "contact_id": "test-id-123",
          "user_id": "test-id-123",
          "note": "test_value",
          "subject": "test_value",
          "status": "",
          "direction": "test_value",
          "duration": 50,
          "date_created": "test_value"
        },
        "expect": "exists"
      },
      "create_activity:empty-direction": {
        "args": {
          "activity_type": "test_value",
          "lead_id": "test-id-123",
          "contact_id": "test-id-123",
          "user_id": "test-id-123",
          "note": "test_value",
          "subject": "test_value",
          "status": "test_value",
          "direction": "",
          "duration": 50,
          "date_created": "test_value"
        },
        "expect": "exists"
      },
      "create_activity:empty-date_created": {
        "args": {
          "activity_type": "test_value",
          "lead_id": "test-id-123",
          "contact_id": "test-id-123",
          "user_id": "test-id-123",
          "note": "test_value",
          "subject": "test_value",
          "status": "test_value",
          "direction": "test_value",
          "duration": 50,
          "date_created": ""
        },
        "expect": "exists"
      },
      "list_tasks": {
        "args": {
          "lead_id": "test-id-123",
          "assigned_to": "test_value",
          "is_complete": true,
          "_type": "test_value",
          "_limit": 50,
          "_skip": 50
        },
        "expect": "content && content.length > 0"
      },
      "list_tasks:empty-lead_id": {
        "args": {
          "lead_id": "",
          "assigned_to": "test_value",
          "is_complete": true,
          "_type": "test_value",
          "_limit": 50,
          "_skip": 50
        },
        "expect": "exists"
      },
      "list_tasks:empty-assigned_to": {
        "args": {
          "lead_id": "test-id-123",
          "assigned_to": "",
          "is_complete": true,
          "_type": "test_value",
          "_limit": 50,
          "_skip": 50
        },
        "expect": "exists"
      },
      "list_tasks:empty-_type": {
        "args": {
          "lead_id": "test-id-123",
          "assigned_to": "test_value",
          "is_complete": true,
          "_type": "",
          "_limit": 50,
          "_skip": 50
        },
        "expect": "exists"
      },
      "create_task": {
        "args": {
          "lead_id": "test-id-123",
          "assigned_to": "test_value",
          "text": "Sample content for testing",
          "date": "test_value",
          "is_complete": true
        },
        "expect": "content && content.length > 0"
      },
      "create_task:empty-assigned_to": {
        "args": {
          "lead_id": "test-id-123",
          "assigned_to": "",
          "text": "Sample content for testing",
          "date": "test_value",
          "is_complete": true
        },
        "expect": "exists"
      },
      "create_task:empty-date": {
        "args": {
          "lead_id": "test-id-123",
          "assigned_to": "test_value",
          "text": "Sample content for testing",
          "date": "",
          "is_complete": true
        },
        "expect": "exists"
      },
      "send_email": {
        "args": {
          "lead_id": "test-id-123",
          "contact_id": "test-id-123",
          "to": [],
          "cc": [],
          "bcc": [],
          "subject": "test_value",
          "body_text": "Sample content for testing",
          "body_html": "test_value",
          "status": "test_value",
          "template_id": "test-id-123"
        },
        "expect": "content && content.length > 0"
      },
      "send_email:empty-contact_id": {
        "args": {
          "lead_id": "test-id-123",
          "contact_id": "",
          "to": [],
          "cc": [],
          "bcc": [],
          "subject": "test_value",
          "body_text": "Sample content for testing",
          "body_html": "test_value",
          "status": "test_value",
          "template_id": "test-id-123"
        },
        "expect": "exists"
      },
      "send_email:empty-body_text": {
        "args": {
          "lead_id": "test-id-123",
          "contact_id": "test-id-123",
          "to": [],
          "cc": [],
          "bcc": [],
          "subject": "test_value",
          "body_text": "",
          "body_html": "test_value",
          "status": "test_value",
          "template_id": "test-id-123"
        },
        "expect": "exists"
      },
      "send_email:empty-body_html": {
        "args": {
          "lead_id": "test-id-123",
          "contact_id": "test-id-123",
          "to": [],
          "cc": [],
          "bcc": [],
          "subject": "test_value",
          "body_text": "Sample content for testing",
          "body_html": "",
          "status": "test_value",
          "template_id": "test-id-123"
        },
        "expect": "exists"
      },
      "send_email:empty-status": {
        "args": {
          "lead_id": "test-id-123",
          "contact_id": "test-id-123",
          "to": [],
          "cc": [],
          "bcc": [],
          "subject": "test_value",
          "body_text": "Sample content for testing",
          "body_html": "test_value",
          "status": "",
          "template_id": "test-id-123"
        },
        "expect": "exists"
      },
      "send_email:empty-template_id": {
        "args": {
          "lead_id": "test-id-123",
          "contact_id": "test-id-123",
          "to": [],
          "cc": [],
          "bcc": [],
          "subject": "test_value",
          "body_text": "Sample content for testing",
          "body_html": "test_value",
          "status": "test_value",
          "template_id": ""
        },
        "expect": "exists"
      },
      "list_statuses": {
        "args": {
          "type": "test_value"
        },
        "expect": "content && content.length > 0"
      },
      "list_statuses:empty-type": {
        "args": {
          "type": ""
        },
        "expect": "exists"
      },
      "list_users": {
        "args": {},
        "expect": "content && content.length > 0"
      }
    },
    "resources": {},
    "prompts": {},
    "timeout": 30000
  }
}