Home / Servers / Brevo API / get_code_count
Get code count
An MCP tool from the Brevo API server, hosted on mcp.hjlabs.in.
Get code count [GET /loyalty/offer/programs/{pid}/code-pools/{cpid}/codes-count]
Name on the gateway: brevo_api__get_code_count · read-only.
Parameters
| Name | Type | Description |
|---|---|---|
pid required | string | Loyalty Program ID |
cpid required | string | Code Pool ID |
How to call it
Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:
{
"name": "brevo_api__get_code_count",
"arguments": {
"pid": "…",
"cpid": "…"
}
}Or connect the Brevo API server directly, which lists 291 tools including this one:
claude mcp add --transport http hj-brevo-api https://mcp.hjlabs.in/mcp/brevo-api \
--header "Authorization: Bearer YOUR_API_KEY"Try asking
Use the get code count tool with pid set to ….