get_account
Retrieve account details, warmup status, and campaign eligibility by email to check connection status, daily limits, and sending configuration.
Instructions
Get account details, warmup status, and campaign eligibility by email.
Returns comprehensive account information including:
Connection status and provider info
Warmup configuration and progress
Daily limits and sending gaps
Tracking domain settings
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Implementation Reference
- The core handler function that executes the get_account tool logic: fetches account details via API using the provided email.async def get_account(params: GetAccountInput) -> str: """ Get account details, warmup status, and campaign eligibility by email. Returns comprehensive account information including: - Connection status and provider info - Warmup configuration and progress - Daily limits and sending gaps - Tracking domain settings """ client = get_client() email_encoded = quote(params.email, safe="") result = await client.get(f"/accounts/{email_encoded}") return json.dumps(result, indent=2)
- Pydantic input schema defining the required 'email' parameter for the get_account tool.class GetAccountInput(BaseModel): """Input for getting account details.""" model_config = ConfigDict(str_strip_whitespace=True, extra="ignore") email: str = Field(..., description="Account email address")
- src/instantly_mcp/server.py:69-70 (registration)TOOL_ANNOTATIONS dictionary entry registering the get_account tool with readOnlyHint metadata."list_accounts": {"readOnlyHint": True}, "get_account": {"readOnlyHint": True},
- src/instantly_mcp/tools/accounts.py:223-230 (registration)ACCOUNT_TOOLS list that includes get_account for dynamic loading and registration in the MCP server.ACCOUNT_TOOLS = [ list_accounts, get_account, create_account, update_account, manage_account_state, delete_account, ]