Skip to main content
Glama
jdlar1

Siigo MCP Server

by jdlar1

siigo_create_journal

Create accounting journals in Siigo to record financial transactions and maintain accurate bookkeeping records.

Instructions

Create a new accounting journal

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
journalYesJournal data

Implementation Reference

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

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden of behavioral disclosure. It states 'Create a new accounting journal' which implies a write/mutation operation, but doesn't disclose any behavioral traits such as required authentication, potential side effects, error handling, or what happens on success (e.g., returns the created journal ID). This leaves significant gaps for an agent to understand how to use it safely and effectively.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, clear sentence with zero wasted words. It's appropriately sized for a simple creation tool and front-loads the essential information ('Create a new accounting journal').

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the complexity (a creation/mutation tool with no annotations and no output schema), the description is incomplete. It doesn't address what the tool returns, error conditions, or behavioral context needed for safe use. While concise, it lacks the depth required for an agent to confidently invoke this tool without additional context.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has 100% description coverage (the single parameter 'journal' is described as 'Journal data'), so the baseline is 3. The tool description adds no additional parameter information beyond what's in the schema—it doesn't explain what 'Journal data' should contain, required fields, or format examples.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action ('Create') and resource ('accounting journal'), making the purpose immediately understandable. It distinguishes from siblings like 'siigo_get_journal' (read) and 'siigo_get_journals' (list), but doesn't explicitly differentiate from other creation tools like 'siigo_create_invoice' or 'siigo_create_customer' beyond the resource type.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance is provided on when to use this tool versus alternatives. The description doesn't mention prerequisites (e.g., required permissions, existing data dependencies), appropriate contexts, or when other tools might be more suitable (e.g., 'siigo_update_customer' for modifications).

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

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