check_subscription
Check your ElevenLabs API subscription status to monitor usage and manage your account's current plan details.
Instructions
Check the current subscription status. Could be used to measure the usage of the API.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- elevenlabs_mcp/server.py:497-502 (handler)The check_subscription tool is implemented as a handler function decorated with @mcp.tool, which also serves as its registration in the MCP server. It fetches the user's subscription details from the ElevenLabs API and returns them as formatted JSON text content.@mcp.tool( description="Check the current subscription status. Could be used to measure the usage of the API." ) def check_subscription() -> TextContent: subscription = client.user.subscription.get() return TextContent(type="text", text=f"{subscription.model_dump_json(indent=2)}")