Skip to main content
Glama

siigo_get_users

Retrieve the users catalog from Siigo accounting software to access and manage user information within the system.

Instructions

Get users catalog

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • MCP tool handler that invokes SiigoClient.getUsers() and returns JSON-formatted response.
    private async handleGetUsers(args: any) { const result = await this.siigoClient.getUsers(); return { content: [{ type: 'text', text: JSON.stringify(result, null, 2) }] }; }
  • src/index.ts:155-156 (registration)
    Dispatch registration in the tool switch statement.
    case 'siigo_get_users': return await this.handleGetUsers(args);
  • Tool registration including schema (empty input schema).
    { name: 'siigo_get_users', description: 'Get users catalog', inputSchema: { type: 'object', properties: {} }, },
  • SiigoClient method that performs the GET request to /v1/users endpoint.
    async getUsers(): Promise<SiigoApiResponse<any>> { return this.makeRequest<any>('GET', '/v1/users'); }
  • Generic HTTP request helper used by getUsers, handles auth and API calls.
    private async makeRequest<T>(method: string, endpoint: string, data?: any, params?: any): Promise<SiigoApiResponse<T>> { await this.authenticate(); try { const response: AxiosResponse<SiigoApiResponse<T>> = await this.httpClient.request({ method, url: endpoint, data, params, }); return response.data; } catch (error: any) { if (error.response?.data) { return error.response.data; } throw new Error(`API request failed: ${error.message}`); }

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