Skip to main content
Glama
modellers

ConsignCloud MCP Server

by modellers

create_category

Create new product categories to organize inventory in consignment and retail operations. This tool helps manage item classification for better inventory tracking and sales management.

Instructions

Create a new item category

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesCategory name

Implementation Reference

  • MCP tool handler for 'create_category' that calls client.createCategory with arguments and returns JSON-stringified result.
    case 'create_category':
      return { content: [{ type: 'text', text: JSON.stringify(await client.createCategory(args as any), null, 2) }] };
  • src/server.ts:216-226 (registration)
    Registration of the 'create_category' tool in the tools list for MCP ListToolsRequest, including description and input schema.
    {
      name: 'create_category',
      description: 'Create a new item category',
      inputSchema: {
        type: 'object',
        properties: {
          name: { type: 'string', description: 'Category name' },
        },
        required: ['name'],
      },
    },
  • Input schema definition for the create_category tool, specifying required 'name' field.
    inputSchema: {
      type: 'object',
      properties: {
        name: { type: 'string', description: 'Category name' },
      },
      required: ['name'],
  • Implementation of createCategory method in ConsignCloudClient that performs the actual POST request to the API endpoint '/item-categories'.
    async createCategory(data: Partial<ItemCategory>): Promise<ItemCategory> {
      const response = await this.client.post('/item-categories', data);
      return response.data;
    }
Behavior2/5

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

No annotations are provided, so the description carries full burden for behavioral disclosure. 'Create a new item category' implies a write/mutation operation, but there's no information about permissions required, whether duplicates are allowed, what happens on success/failure, or any side effects. The description is minimal and lacks important behavioral context.

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 maximally concise - a single sentence with no wasted words. It's front-loaded with the essential information and doesn't include any unnecessary elaboration.

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?

For a creation/mutation tool with no annotations and no output schema, the description is insufficient. It doesn't explain what happens after creation, what the return value might be, or any constraints on category creation. Given the complexity of a write operation, more context is needed for the agent to use this tool effectively.

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

Parameters3/5

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

Schema description coverage is 100% with the single 'name' parameter fully documented in the schema. The description doesn't add any parameter information beyond what's in the schema, but with complete schema coverage, the baseline score of 3 is appropriate.

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

Purpose4/5

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

The description clearly states the action ('Create') and resource ('item category'), making the purpose immediately understandable. It doesn't distinguish from sibling tools like 'create_item' or 'create_account', but it's specific enough to understand what this tool does.

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. With sibling tools like 'create_item' and 'list_categories' available, there's no indication of when category creation is appropriate versus item creation or when to check existing categories first.

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