Skip to main content
Glama

siigo_create_journal

Create accounting journals in Siigo software to record financial transactions and maintain accurate bookkeeping records for Colombian businesses.

Instructions

Create a new accounting journal

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
journalYesJournal data

Implementation Reference

  • Core implementation of the siigo_create_journal tool: sends POST request to Siigo API /v1/journals endpoint.
    async createJournal(journal: any): Promise<SiigoApiResponse<any>> { return this.makeRequest<any>('POST', '/v1/journals', journal); }
  • MCP server handler method that calls SiigoClient.createJournal and returns JSON-formatted response.
    private async handleCreateJournal(args: any) { const result = await this.siigoClient.createJournal(args.journal); return { content: [{ type: 'text', text: JSON.stringify(result, null, 2) }] }; }
  • Tool registration including name, description, and input schema requiring a 'journal' object.
    { name: 'siigo_create_journal', description: 'Create a new accounting journal', inputSchema: { type: 'object', properties: { journal: { type: 'object', description: 'Journal data' }, }, required: ['journal'], }, },
  • src/index.ts:143-144 (registration)
    Switch case registration dispatching 'siigo_create_journal' tool calls to the handler.
    case 'siigo_create_journal': return await this.handleCreateJournal(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