get_credits
Get credits with Wavegrain's MCP server: the get_credits tool needs the read permission. Inputs, outputs and an example call.
Get credits. Permission: read. Read-only: changes nothing.
The plan, credit balance, this month's slideshow count, and this key's daily cap with what it used in the last 24 hours.
Inputs
No inputs.
The fields inside an object or a list are in the JSON Schema at /developers/mcp-tools.json.
Returns
| Field | Type | Notes |
|---|---|---|
plan | string | The user's plan key; free when there is no paid plan. |
credits | number | Credits left now. |
creditsMax | number | Credits the plan gives each month. |
carouselsThisMonth | number | Slideshows made this calendar month. |
carouselsMax | number | Slideshows the plan allows each month; -1 means no limit. |
trial | object | The user's trial, if any. |
token | object | The spend limit of the key or connection that called. |
Example call
Send it to POST https://wavegrain.com/api/mcp with an access key that has the read permission; Authentication shows how to make one.
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "get_credits",
"arguments": {}
}
}
Related tools
list_calendar: List the calendarlist_collections: List image collectionslist_collection_images: List a collection's imageslist_creators: List AI creatorslist_styles: List tailored stylesget_style: Get a style- All 79 tools
Something wrong or missing? Write to support@wavegrain.com.