Skip to main content
Glama
jdlar1

Siigo MCP Server

by jdlar1

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' },
        },
      },
    },
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 it 'Get list' but doesn't clarify if this is a read-only operation, whether it requires specific permissions, if there are rate limits, or what the return format looks like (e.g., pagination details beyond the parameters). This leaves significant gaps for a tool with parameters.

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, efficient sentence that directly states the tool's purpose without any wasted words. It is appropriately sized and front-loaded, making it easy to parse quickly.

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 lack of annotations and output schema, the description is incomplete. It doesn't address behavioral aspects like safety, permissions, or response format, which are crucial for a tool with parameters. While concise, it fails to provide sufficient context for effective use by an AI agent.

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, with clear documentation for 'page' and 'page_size'. The description adds no additional parameter semantics beyond implying a list retrieval, which is already evident from the tool name and schema. This meets the baseline of 3 for high schema coverage.

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 verb ('Get') and resource ('list of accounting journals from Siigo'), making the purpose immediately understandable. It distinguishes from sibling tools like 'siigo_get_journal' (singular) by specifying it retrieves a list, though it doesn't explicitly contrast with other list tools like 'siigo_get_customers' or 'siigo_get_products'.

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?

The description provides no guidance on when to use this tool versus alternatives. It doesn't mention prerequisites, such as authentication or access rights, or differentiate it from similar list-retrieval tools in the sibling set, like 'siigo_get_journal' for a single journal or other 'get_' tools for different resources.

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