Skip to main content
Glama

siigo_get_product

Retrieve product details from Siigo accounting software using a product ID to access specific item information.

Instructions

Get a specific product by ID

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesProduct ID

Implementation Reference

  • MCP tool handler that calls SiigoClient.getProduct with the product id from arguments and returns the JSON-formatted result as text content.
    private async handleGetProduct(args: any) { const result = await this.siigoClient.getProduct(args.id); return { content: [ { type: 'text', text: JSON.stringify(result, null, 2), }, ], }; }
  • Core logic for retrieving a specific product by ID, making an authenticated GET request to the Siigo API /v1/products/{id} endpoint.
    async getProduct(id: string): Promise<SiigoApiResponse<SiigoProduct>> { return this.makeRequest<SiigoProduct>('GET', `/v1/products/${id}`); }
  • Input schema validating the required 'id' parameter as a string for the siigo_get_product tool.
    inputSchema: { type: 'object', properties: { id: { type: 'string', description: 'Product ID' }, }, required: ['id'], },
  • src/index.ts:209-219 (registration)
    Tool registration entry in the listTools response, defining name, description, and input schema for siigo_get_product.
    { name: 'siigo_get_product', description: 'Get a specific product by ID', inputSchema: { type: 'object', properties: { id: { type: 'string', description: 'Product ID' }, }, required: ['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/jdlar1/siigo-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server