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

NameTypeDescription
pid requiredstringLoyalty Program ID
cpid requiredstringCode 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:

call_tool arguments
{
  "name": "brevo_api__get_code_count",
  "arguments": {
    "pid": "…",
    "cpid": "…"
  }
}

Or connect the Brevo API server directly, which lists 291 tools including this one:

Run in your terminal
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 ….

More from Brevo API