Skip to main content
Glama

get_member

Retrieve subscriber details by email address from a Mailchimp audience list to access member information and status.

Instructions

Get details for a specific subscriber by email address.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
list_idYes
emailYes

Implementation Reference

  • The get_member tool implementation, which retrieves details for a subscriber by email address. It is registered via the @mcp.tool() decorator at line 487.
    @mcp.tool()
    async def get_member(list_id: str, email: str) -> str:
        """Get details for a specific subscriber by email address."""
        mc = get_client()
        h = mc.subscriber_hash(email)
        m = await mc.get(f"/lists/{list_id}/members/{h}")
        merge = m.get("merge_fields", {})
        return _fmt({
            "email": m.get("email_address", ""),
            "status": m.get("status", ""),
            "full_name": m.get("full_name", ""),
            "first_name": merge.get("FNAME", ""),
            "last_name": merge.get("LNAME", ""),
            "rating": m.get("member_rating", 0),
            "tags_count": m.get("tags_count", 0),
            "vip": m.get("vip", False),
            "source": m.get("source", ""),
            "ip_signup": m.get("ip_signup", ""),
            "language": m.get("language", ""),
            "location": m.get("location", {}),
            "subscribed_at": m.get("timestamp_opt", ""),
            "last_changed": m.get("last_changed", ""),
            "id": m.get("id", ""),
        })

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/AlexlaGuardia/mcp-mailchimp'

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