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

  • src/server.ts:194-204 (registration)
    Tool registration including name, description, and input schema (requires 'id' parameter). Used by MCP server for listing available tools.
    { 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'], }, },
  • MCP server dispatch handler for 'get_account_stats': extracts 'id' argument and delegates to client.getAccountStats(), formats result as JSON text content.
    case 'get_account_stats': return { content: [{ type: 'text', text: JSON.stringify(await client.getAccountStats((args as any).id), null, 2) }] };
  • Primary tool implementation: performs HTTP GET to ConsignCloud API endpoint `/accounts/${id}/stats` and returns the raw stats data.
    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