prismism_account
Retrieve account information including name, email, subscription plan, and storage usage details from the Prismism MCP Server.
Instructions
Get your account details — name, email, plan, and storage usage.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/account.ts:5-41 (registration)Registration and handler implementation of the 'prismism_account' tool using MCP SDK.
server.registerTool( 'prismism_account', { title: 'Prismism Account Info', description: 'Get your account details — name, email, plan, and storage usage.', }, async () => { if (!hasApiKey()) { return { content: [ { type: 'text', text: JSON.stringify({ ok: false, error: { code: 'NO_API_KEY', message: 'API key required' }, _hints: ['Set PRISMISM_API_KEY in your MCP config.'], }), }, ], isError: true, }; } const result = await get('/v1/account'); if (!result.ok) { return { content: [{ type: 'text', text: JSON.stringify(result) }], isError: true, }; } return { content: [{ type: 'text', text: JSON.stringify({ ok: true, data: result.data }) }], }; } );