Skip to main content
Glama
modellers

ConsignCloud MCP Server

by modellers

list_locations

Retrieve store location data from the ConsignCloud system to manage retail operations and inventory across multiple sites.

Instructions

List store locations

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoNumber of results (default: 1000)
cursorNo

Implementation Reference

  • MCP tool handler case for 'list_locations' that prepares parameters and calls client.listLocations, returning JSON stringified result.
    case 'list_locations': const locationsParams = { limit: 1000, ...(args as any) }; return { content: [{ type: 'text', text: JSON.stringify(await client.listLocations(locationsParams), null, 2) }] };
  • Tool schema definition including name, description, and inputSchema for 'list_locations'.
    { name: 'list_locations', description: 'List store locations', inputSchema: { type: 'object', properties: { limit: { type: 'number', description: 'Number of results (default: 1000)' }, cursor: { type: 'string' }, }, }, },
  • Client method implementing listLocations by making a GET request to the ConsignCloud API '/locations' endpoint with optional parameters.
    async listLocations(params?: Record<string, any>): Promise<PaginatedResponse<Location>> { const response = await this.client.get('/locations', { params }); return response.data; }

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