Skip to main content
Glama

siigo_get_journals

Retrieve accounting journal entries from Siigo software to track financial transactions and maintain accurate records.

Instructions

Get list of accounting journals from Siigo

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNoPage number
page_sizeNoNumber of items per page

Implementation Reference

  • Core implementation of the siigo_get_journals tool: performs a GET request to Siigo API endpoint '/v1/journals' with optional pagination parameters.
    async getJournals(params?: { page?: number; page_size?: number }): Promise<SiigoApiResponse<any>> { return this.makeRequest<any>('GET', '/v1/journals', undefined, params); }
  • MCP tool handler that invokes SiigoClient.getJournals and returns the JSON-formatted result as MCP content.
    private async handleGetJournals(args: any) { const result = await this.siigoClient.getJournals(args); return { content: [{ type: 'text', text: JSON.stringify(result, null, 2) }] };
  • Switch case in the CallToolRequestSchema handler that dispatches to handleGetJournals for siigo_get_journals.
    case 'siigo_get_journals': return await this.handleGetJournals(args);
  • src/index.ts:632-642 (registration)
    Tool registration in getTools(): defines name, description, and input schema for siigo_get_journals.
    { name: 'siigo_get_journals', description: 'Get list of accounting journals from Siigo', inputSchema: { type: 'object', properties: { page: { type: 'number', description: 'Page number' }, page_size: { type: 'number', description: 'Number of items per page' }, }, }, },

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