Skip to main content
Glama
prismism-dev

Prismism MCP Server

by prismism-dev

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
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • 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 }) }],
        };
      }
    );

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/prismism-dev/mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server