Skip to main content
Glama

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
NameRequiredDescriptionDefault
paramsYes

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")
  • TOOL_ANNOTATIONS dictionary entry registering the get_account tool with readOnlyHint metadata.
    "list_accounts": {"readOnlyHint": True}, "get_account": {"readOnlyHint": True},
  • 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, ]

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/bcharleson/instantly-mcp-python'

If you have feedback or need assistance with the MCP directory API, please join our Discord server