Skip to main content
Glama
jdlar1

Siigo MCP Server

by jdlar1

siigo_delete_product

Remove products from the Siigo accounting system by specifying the product ID to maintain accurate inventory and financial records.

Instructions

Delete a product

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesProduct ID

Implementation Reference

  • Core handler function that performs the DELETE API request to Siigo's /v1/products/{id} endpoint to delete the product.
    async deleteProduct(id: string): Promise<SiigoApiResponse<any>> {
      return this.makeRequest<any>('DELETE', `/v1/products/${id}`);
    }
  • MCP tool handler wrapper that extracts the product ID from arguments, calls SiigoClient.deleteProduct, and returns the JSON-formatted result.
    private async handleDeleteProduct(args: any) {
      const result = await this.siigoClient.deleteProduct(args.id);
      return {
        content: [
          {
            type: 'text',
            text: JSON.stringify(result, null, 2),
          },
        ],
      };
    }
  • Input schema definition for the siigo_delete_product tool, requiring a string 'id' for the product to delete.
    inputSchema: {
      type: 'object',
      properties: {
        id: { type: 'string', description: 'Product ID' },
      },
      required: ['id'],
    },
  • src/index.ts:261-271 (registration)
    Tool registration in the list of tools returned by listTools, including name, description, and input schema.
    {
      name: 'siigo_delete_product',
      description: 'Delete a product',
      inputSchema: {
        type: 'object',
        properties: {
          id: { type: 'string', description: 'Product ID' },
        },
        required: ['id'],
      },
    },
  • src/index.ts:69-70 (registration)
    Dispatch case in the CallToolRequest handler switch statement that routes to the specific handler.
    case 'siigo_delete_product':
      return await this.handleDeleteProduct(args);
Behavior1/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden of behavioral disclosure but fails completely. 'Delete a product' implies a destructive mutation, but the description doesn't disclose whether deletion is permanent or reversible, what permissions are required, whether there are rate limits, what happens to associated data, or what the response looks like. For a destructive operation with zero annotation coverage, this is dangerously inadequate.

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 maximally concise at just three words. While this represents severe under-specification in terms of content, from a structural perspective it's perfectly front-loaded with zero wasted words. Every word ('Delete', 'a', 'product') contributes directly to the core purpose statement.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive mutation tool with no annotations and no output schema, the description is completely inadequate. It doesn't explain what constitutes successful deletion, what errors might occur, what permissions are needed, or any behavioral nuances. The agent cannot safely or effectively use this tool based on the provided description alone.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has 100% description coverage (the 'id' parameter is fully documented as 'Product ID'), and there's only one parameter. The description adds no parameter information beyond what the schema provides, but with complete schema coverage and minimal parameters, the baseline is appropriately high. The description doesn't need to compensate for any gaps.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description 'Delete a product' is a tautology that merely restates the tool name 'siigo_delete_product'. While it identifies the action (delete) and resource (product), it provides no additional specificity about what constitutes a product in this context or how deletion works. It doesn't distinguish this tool from sibling deletion tools like 'siigo_delete_invoice' or 'siigo_delete_purchase' beyond the resource name.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines1/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides absolutely no guidance about when to use this tool versus alternatives. There's no mention of prerequisites (e.g., product must exist), consequences, or when to choose this over other product-related tools like 'siigo_update_product' or 'siigo_get_product'. The agent receives zero contextual direction about appropriate usage scenarios.

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/jdlar1/siigo-mcp'

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