settings-usage-summary
View API usage and credit consumption summary for LLM Conveyors platform monitoring.
Instructions
Get a summary of the user's API usage and credit consumption.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/settings.ts:55-68 (handler)The MCP tool registration and handler implementation for "settings-usage-summary" within the registerSettingsTools function.
server.tool( "settings-usage-summary", "Get a summary of the user's API usage and credit consumption.", {}, async () => { try { const result = await client.settings.getUsageSummary(); return { content: [{ type: "text", text: JSON.stringify(result, null, 2) }] }; } catch (err) { const message = err instanceof Error ? err.message : String(err); return { content: [{ type: "text", text: `Error: ${message}` }], isError: true }; } }, );