Skip to main content
Glama

siigo_get_account_groups

Retrieve the account groups catalog from Siigo accounting software to organize and categorize financial accounts for reporting and analysis.

Instructions

Get account groups catalog

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • MCP tool handler that executes the tool logic by calling SiigoClient.getAccountGroups() and returning the result as formatted JSON text content.
    private async handleGetAccountGroups(args: any) { const result = await this.siigoClient.getAccountGroups(); return { content: [{ type: 'text', text: JSON.stringify(result, null, 2) }] }; }
  • Core implementation in SiigoClient that performs the authenticated GET request to the Siigo API endpoint /v1/account-groups.
    async getAccountGroups(): Promise<SiigoApiResponse<any>> { return this.makeRequest<any>('GET', '/v1/account-groups'); }
  • src/index.ts:712-716 (registration)
    Tool registration in the getTools() method, defining the tool name, description, and input schema (no required parameters).
    { name: 'siigo_get_account_groups', description: 'Get account groups catalog', inputSchema: { type: 'object', properties: {} }, },
  • Input schema definition for the tool, specifying an empty object (no input parameters needed).
    inputSchema: { type: 'object', properties: {} },
  • Dispatch case in the CallToolRequest handler switch statement that routes to the specific tool handler.
    case 'siigo_get_account_groups': return await this.handleGetAccountGroups(args);

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