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: {},
    },
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full burden of behavioral disclosure. It states 'Get' implies a read operation, but doesn't specify whether it requires authentication, has rate limits, returns aggregated data, or what format the statistics might be in. This is a significant gap for a tool with no annotation coverage.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence with no wasted words. It's front-loaded and directly states the tool's purpose, making it easy to parse quickly.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the complexity (a statistics tool with no parameters) and lack of annotations or output schema, the description is incomplete. It doesn't explain what 'overall inventory statistics' includes, how data is aggregated, or what the return values might be, leaving the agent with insufficient context for effective use.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool has 0 parameters, and the input schema has 100% description coverage (though empty). The description adds no parameter information, which is appropriate here. A baseline of 4 is applied since no parameters exist, and the description doesn't need to compensate for any gaps.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description 'Get overall inventory statistics' clearly states the verb ('Get') and resource ('inventory statistics'), making the purpose understandable. However, it's somewhat vague about what 'overall' entails and doesn't differentiate from sibling tools like 'get_account_stats' or 'calculate_inventory_value', which could provide related metrics.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives. It doesn't mention prerequisites, context, or exclusions, leaving the agent to infer usage from the name alone among many sibling tools that handle inventory, accounts, and calculations.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

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