mailosaur_usage_limits
Retrieve current account usage limits to monitor remaining quota and prevent service interruptions.
Instructions
Retrieve account usage limits. Requires an account-level API key.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/index.ts:482-490 (registration)Registration of the 'mailosaur_usage_limits' tool via server.tool(), with handler logic inline calling mailosaur.usage.limits().
server.tool( "mailosaur_usage_limits", "Retrieve account usage limits. Requires an account-level API key.", {}, async () => { const result = await mailosaur.usage.limits(); return response(result); } ); - src/index.ts:486-489 (handler)Handler function for the tool - calls mailosaur.usage.limits() and wraps the result in a text response.
async () => { const result = await mailosaur.usage.limits(); return response(result); } - src/index.ts:485-485 (schema)Empty schema - the tool has no input parameters.
{}, - src/index.ts:79-88 (helper)Helper function that wraps a value into the MCP text response format (JSON.stringify'd).
function response(value: unknown) { return { content: [ { type: "text" as const, text: JSON.stringify(value, null, 2) } ] }; }