Skip to main content
Glama
modellers

ConsignCloud MCP Server

by modellers

get_item_stats

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

Instructions

Get overall inventory statistics

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The core implementation of the getItemStats function in the ConsignCloudClient class, which fetches item statistics via an API call to '/items/stats'.
    async getItemStats(): Promise<any> { const response = await this.client.get('/items/stats'); return response.data; }
  • The MCP server dispatch handler for the 'get_item_stats' tool, which calls client.getItemStats() and returns the JSON-formatted result.
    case 'get_item_stats': return { content: [{ type: 'text', text: JSON.stringify(await client.getItemStats(), null, 2) }] };
  • src/server.ts:90-97 (registration)
    The tool registration entry in createTools(), defining the name, description, and empty input schema for 'get_item_stats'.
    { name: 'get_item_stats', description: 'Get overall inventory statistics', inputSchema: { type: 'object', properties: {}, }, },
  • The input schema definition for the get_item_stats tool (no required parameters).
    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