Skip to main content
Glama
modellers

ConsignCloud MCP Server

by modellers

delete_item

Remove inventory items from active listings while preserving records for tracking and analytics in consignment business management.

Instructions

Delete (soft delete) an inventory item

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesItem ID

Implementation Reference

  • MCP tool handler for 'delete_item': extracts item ID from tool arguments, delegates deletion to ConsignCloudClient, and returns a success response.
    case 'delete_item': await client.deleteItem((args as any).id); return { content: [{ type: 'text', text: 'Item deleted successfully' }] };
  • Tool definition including name, description, and input schema requiring a string 'id' for the item to delete.
    { name: 'delete_item', description: 'Delete (soft delete) an inventory item', inputSchema: { type: 'object', properties: { id: { type: 'string', description: 'Item ID' }, }, required: ['id'], }, },
  • ConsignCloudClient helper method that sends HTTP DELETE request to the API endpoint `/items/${id}` to perform the soft delete.
    async deleteItem(id: string): Promise<void> { await this.client.delete(`/items/${id}`); }

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