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

# Check WhatsApp plan usage with MCP

> Read GreenTick plan limits and current usage from an assistant before you send, publish, or enroll.

`get_plan`, `get_usage`, `get_billing_info`, and `list_invoices` are reads. They do not buy, change, pause, cancel, or pay. Call them before a large broadcast, a new Flow, or a template, so the assistant can tell you when a field or a feature will be rejected.

## Ask this

```text theme={null}
Check my plan, usage, and latest invoices. Do not send, publish, create, or change the plan. If the plan is expired, say so and stop.
```

## What the assistant calls

**1. Read the plan**

`get_plan` returns the plan name, status, renewal date, formatted price, and included messages, AI tokens, automations, Flows, bots, seats, and phone numbers, with how many are used. Seats count invited teammates and do not include the account owner. `usageHistory` includes the current period. `get_usage` returns message and AI token usage. `get_billing_info` reads the billing name and address. `list_invoices` lists invoices, including `amountPaid`, `subtotal`, `discount`, `total`, and `receiptUrl` when Stripe has a charge receipt. A paid total of 0 means a coupon covered the subtotal. `get_limits` returns the field limits the assistant must respect before it writes template, workflow, Flow, bot, catalog, or message text.

**2. Stop on plan errors**

`PLAN_EXPIRED` means the plan is expired. `FEATURE_NOT_INCLUDED` means this plan does not include that tool. The assistant does not retry `PLAN_EXPIRED` until you renew on **Manage Plan**. It does not buy or change the plan from a tool.

Write calls are also capped at 60 a minute per API key. That limit, and the error codes, are on [Rules](https://docs.greentick.ai/mcp-server/rules.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.