Skip to main content
Glama
modellers

ConsignCloud MCP Server

by modellers

get_account_stats

Retrieve account statistics including balance, items, and sales data for consignment business management and analytics.

Instructions

Get statistics for a specific account (balance, items, sales)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesAccount ID

Implementation Reference

  • Input schema for get_account_stats tool requiring account ID
    { name: 'get_account_stats', description: 'Get statistics for a specific account (balance, items, sales)', inputSchema: { type: 'object', properties: { id: { type: 'string', description: 'Account ID' }, }, required: ['id'], }, },
  • src/server.ts:418-420 (registration)
    Registration of all tools including get_account_stats via listTools handler using createTools()
    server.setRequestHandler(ListToolsRequestSchema, async () => ({ tools, }));
  • MCP tool handler for get_account_stats that delegates to client.getAccountStats(id)
    case 'get_account_stats': return { content: [{ type: 'text', text: JSON.stringify(await client.getAccountStats((args as any).id), null, 2) }] };
  • Client method implementation that calls the ConsignCloud API endpoint /accounts/{id}/stats to fetch account statistics
    async getAccountStats(id: string): Promise<any> { const response = await this.client.get(`/accounts/${id}/stats`); return response.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/modellers/mcp-consigncloud'

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