Skip to main content
Glama
modellers

ConsignCloud MCP Server

by modellers

create_account

Create a new vendor or consignor account in ConsignCloud to manage inventory, sales, and business operations through the MCP server.

Instructions

Create a new vendor/consignor account

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
first_nameNo
last_nameNo
companyNo
emailNo
phone_numberNo
default_splitNoDefault split (0-1)
default_inventory_typeNo

Implementation Reference

  • MCP tool handler for 'create_account' that executes client.createAccount with tool arguments and returns JSON-stringified result.
    case 'create_account':
      return { content: [{ type: 'text', text: JSON.stringify(await client.createAccount(args as any), null, 2) }] };
  • src/server.ts:159-177 (registration)
    Registration of the 'create_account' tool in createTools() array, including description and input schema definition.
    {
      name: 'create_account',
      description: 'Create a new vendor/consignor account',
      inputSchema: {
        type: 'object',
        properties: {
          first_name: { type: 'string' },
          last_name: { type: 'string' },
          company: { type: 'string' },
          email: { type: 'string' },
          phone_number: { type: 'string' },
          default_split: { type: 'number', description: 'Default split (0-1)' },
          default_inventory_type: {
            type: 'string',
            enum: ['consignment', 'buy_outright', 'retail']
          },
        },
      },
    },
  • TypeScript interface for Account used in createAccount parameters and response.
    export interface Account {
      id: string;
      number: string;
      first_name: string | null;
      last_name: string | null;
      company: string | null;
      email: string | null;
      phone_number: string | null;
      balance: number; // converted to store currency
      default_split: number;
      default_inventory_type: 'consignment' | 'buy_outright' | 'retail';
      is_vendor: boolean;
      created: string;
    }
  • Core helper function in ConsignCloudClient that handles the API POST to create a new account, including currency conversion and response processing.
    async createAccount(data: Partial<Account>): Promise<Account> {
      // Convert user input to API cents
      const apiData = {
        ...data,
        balance: data.balance ? this.convertToApiCents(data.balance) : undefined,
      };
      const response = await this.client.post('/accounts', apiData);
      return this.convertAccountResponse(response.data);
    }
Behavior2/5

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

With no annotations provided, the description carries full burden for behavioral disclosure. It states this is a creation operation but doesn't mention permissions required, whether this is a mutating/destructive action, what happens on success/failure, or any side effects. For a creation tool with zero annotation coverage, this leaves critical behavioral context unspecified.

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 that gets straight to the point with zero wasted words. It's appropriately sized for a tool with a straightforward purpose and is perfectly front-loaded with the essential information.

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 tool with 7 parameters, no annotations, and no output schema, the description is insufficient. It doesn't explain what constitutes a 'vendor/consignor account', what happens after creation, or how parameters relate to the account type. The combination of missing behavioral context and poor parameter documentation makes this incomplete for effective tool use.

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

Parameters2/5

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

Schema description coverage is only 14% (only 'default_split' has a description), and the description provides no additional parameter information. It doesn't explain what 'vendor/consignor' means in relation to the parameters, nor does it clarify the purpose of fields like 'default_inventory_type' or 'company'. The description fails to compensate for the low schema coverage.

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 the resource ('new vendor/consignor account'), making the purpose immediately understandable. However, it doesn't explicitly differentiate this from sibling tools like 'update_account' or 'get_account' beyond the verb difference, which prevents a perfect score.

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 like 'update_account' or 'get_account', nor does it mention prerequisites or context for account creation. It simply states what the tool does without indicating appropriate scenarios or exclusions.

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