Skip to main content
Glama
modellers

ConsignCloud MCP Server

by modellers

get_item_stats

Retrieve comprehensive inventory statistics for consignment and retail business operations, including stock levels, sales data, and vendor analytics.

Instructions

Get overall inventory statistics

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Core handler implementation in ConsignCloudClient that fetches item statistics from the '/items/stats' API endpoint and returns the data.
    async getItemStats(): Promise<any> { const response = await this.client.get('/items/stats'); return response.data; }
  • MCP server tool execution handler that dispatches to client.getItemStats() and formats the response as MCP content.
    case 'get_item_stats': return { content: [{ type: 'text', text: JSON.stringify(await client.getItemStats(), null, 2) }] };
  • src/server.ts:90-97 (registration)
    Tool registration definition including name, description, and empty input schema in the createTools() array.
    { name: 'get_item_stats', description: 'Get overall inventory statistics', inputSchema: { type: 'object', properties: {}, }, },
  • Input schema definition for the get_item_stats tool (empty object, no parameters required).
    { name: 'get_item_stats', description: 'Get overall inventory statistics', inputSchema: { type: 'object', properties: {}, }, },

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