> ## Documentation Index
> Fetch the complete documentation index at: https://docs.hamla.io/llms.txt
> Use this file to discover all available pages before exploring further.

# MCP tools

> Every tool the Hamla MCP server exposes, with what it does and whether it writes.

<Info>This page is generated from the MCP server's tool manifest. Edits here are overwritten — change `apps/mcp-server/src/tools/manifest.ts` instead.</Info>

Connect at `https://mcp.hamla.io/mcp`. See [Connect Hamla to Claude](/guides/mcp) for setup.

## Tools (14)

| Tool                     | Name                   | What it does                                                                                                                                                                                                                                            | Access            |
| ------------------------ | ---------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------- |
| `control-campaign`       | Control Campaign       | Control campaign lifecycle: launch, pause, resume, schedule, or cancel schedule                                                                                                                                                                         | Write · lifecycle |
| `create-campaign`        | Create Campaign        | Create a new marketing campaign (created as DRAFT). Specify goal, journey stage, and optionally use a template.                                                                                                                                         | Write             |
| `get-analytics-overview` | Get Analytics Overview | Get high-level analytics: revenue, ROI, impressions, conversions, top campaigns, trends                                                                                                                                                                 | Read              |
| `get-business-info`      | Get Business Info      | Get information about a Hamla business (name, platform, plan, etc.)                                                                                                                                                                                     | Read              |
| `get-campaign`           | Get Campaign Details   | Get full details of a specific campaign including channels and configuration                                                                                                                                                                            | Read              |
| `get-campaign-analytics` | Get Campaign Analytics | Get performance analytics for a specific campaign (impressions, clicks, conversions, revenue, delivery stats)                                                                                                                                           | Read              |
| `get-contact`            | Get Contact Profile    | Get full profile of a specific contact including orders, subscriptions, and journey stage                                                                                                                                                               | Read              |
| `get-revenue-analytics`  | Get Revenue Analytics  | Get daily revenue trend data for charts (revenue per day over a period)                                                                                                                                                                                 | Read              |
| `list-campaigns`         | List Campaigns         | List marketing campaigns with optional filters (status, goal, search)                                                                                                                                                                                   | Read              |
| `list-contacts`          | List Contacts          | List contacts/customers with filters (search, journey stage, status, email)                                                                                                                                                                             | Read              |
| `list-segments`          | List Segments          | List all customer segments (system segments like VIP, At-Risk + custom segments)                                                                                                                                                                        | Read              |
| `list-templates`         | List Templates         | List available campaign templates (pre-built campaign blueprints)                                                                                                                                                                                       | Read              |
| `search-hamla-docs`      | Search Hamla Docs      | Search Hamla product documentation for facts about Hamla itself: channels, triggers, plans and pricing, integrations, and how features behave. Call this before saying Hamla cannot do something — an empty result means undocumented, not unsupported. | Read              |
| `update-campaign`        | Update Campaign        | Update an existing campaign (name, description, goal, journey stage)                                                                                                                                                                                    | Write             |
