Skip to main content
Glama
modellers

ConsignCloud MCP Server

by modellers

list_accounts

Retrieve vendor and consignor accounts from ConsignCloud with optional filters for vendor status, limits, and pagination to manage business operations.

Instructions

List vendor/consignor accounts with optional filters

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoNumber of results (default: 1000)
cursorNo
is_vendorNoFilter by vendor status

Implementation Reference

  • Defines the tool metadata including name, description, and input schema for 'list_accounts'.
    {
      name: 'list_accounts',
      description: 'List vendor/consignor accounts with optional filters',
      inputSchema: {
        type: 'object',
        properties: {
          limit: { type: 'number', description: 'Number of results (default: 1000)' },
          cursor: { type: 'string' },
          is_vendor: { type: 'boolean', description: 'Filter by vendor status' },
        },
      },
    },
  • MCP server handler for 'list_accounts' tool: prepares params, calls client.listAccounts(), formats response as JSON text.
    case 'list_accounts':
      const accountsParams = { limit: 1000, ...(args as any) };
      return { content: [{ type: 'text', text: JSON.stringify(await client.listAccounts(accountsParams), null, 2) }] };
  • Client-side implementation: API GET /accounts with params, maps accounts via convertAccountResponse, returns paginated response.
    async listAccounts(params?: Record<string, any>): Promise<PaginatedResponse<Account>> {
      const response = await this.client.get('/accounts', { params });
      return {
        data: response.data.data.map((account: any) => this.convertAccountResponse(account)),
        next_cursor: response.data.next_cursor,
      };
  • Helper to convert API account response, adjusting balance from cents to store currency.
    private convertAccountResponse(account: any): Account {
      return {
        ...account,
        balance: this.convertFromApiCents(account.balance),
      };
    }
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. While 'List' implies a read operation, it doesn't address important behavioral aspects like pagination behavior (cursor parameter suggests pagination but not explained), rate limits, authentication requirements, or what happens when no filters are applied. The description is too sparse for a tool with 3 parameters and 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 extremely concise at just 7 words, front-loading the core purpose immediately. Every word earns its place - 'List' (action), 'vendor/consignor accounts' (resource), 'with optional filters' (key capability). No wasted words or 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 list tool with 3 parameters, no annotations, and no output schema, the description is insufficiently complete. It doesn't explain the return format, pagination behavior (implied by cursor but not explained), default behavior when no filters are applied, or how results are ordered. The description should provide more context given the lack of structured metadata.

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 67% (2 of 3 parameters have descriptions). The description mentions 'optional filters' which aligns with the 'is_vendor' parameter, but doesn't add meaningful semantic context beyond what the schema already provides. The cursor parameter lacks description in both schema and tool description, creating a gap. Baseline 3 is appropriate given moderate 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 verb ('List') and resource ('vendor/consignor accounts'), making the purpose immediately understandable. However, it doesn't explicitly differentiate this tool from other list tools on the server like 'list_batches', 'list_categories', 'list_items', 'list_locations', or 'list_sales', which all share similar list functionality for different resources.

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 minimal guidance with 'with optional filters' but doesn't specify when to use this tool versus alternatives like 'get_account' (for single account retrieval) or 'search_suggest' (for search functionality). No explicit when/when-not instructions or comparison to sibling tools are provided.

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