Skip to main content
Glama

siigo_get_journals

Retrieve accounting journal entries from Siigo's accounting system to access financial transaction records, with options to paginate results for efficient data management.

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 siigo_get_journals: makes authenticated GET request to Siigo API endpoint /v1/journals with pagination params.
    async getJournals(params?: { page?: number; page_size?: number }): Promise<SiigoApiResponse<any>> { return this.makeRequest<any>('GET', '/v1/journals', undefined, params); }
  • MCP server handler for siigo_get_journals tool: calls SiigoClient.getJournals and formats response.
    private async handleGetJournals(args: any) { const result = await this.siigoClient.getJournals(args); return { content: [{ type: 'text', text: JSON.stringify(result, null, 2) }] };
  • 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' }, }, }, },
  • src/index.ts:139-140 (registration)
    Dispatch registration: switch case that routes siigo_get_journals calls to handleGetJournals.
    case 'siigo_get_journals': return await this.handleGetJournals(args);
  • Input schema definition for siigo_get_journals tool parameters (pagination).
    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