Skip to main content
Glama
modellers

ConsignCloud MCP Server

by modellers

get_item

Retrieve inventory item details by ID to manage consignment and retail operations through the ConsignCloud API.

Instructions

Get details of a specific inventory item by ID

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesItem ID (UUID)

Implementation Reference

  • src/server.ts:28-38 (registration)
    Tool registration defining the name, description, and input schema (requires 'id' string) for the 'get_item' MCP tool.
    { name: 'get_item', description: 'Get details of a specific inventory item by ID', inputSchema: { type: 'object', properties: { id: { type: 'string', description: 'Item ID (UUID)' }, }, required: ['id'], }, },
  • MCP server tool handler: extracts 'id' from arguments, calls client.getItem(id), stringifies result as JSON, and returns as text content response.
    case 'get_item': return { content: [{ type: 'text', text: JSON.stringify(await client.getItem((args as any).id), null, 2) }] };
  • Core implementation of getItem: performs HTTP GET to `/items/${id}` API endpoint and converts the raw API response to Item type using currency conversion.
    async getItem(id: string): Promise<Item> { const response = await this.client.get(`/items/${id}`); return this.convertItemResponse(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