Skip to main content
Glama
jdlar1

Siigo MCP Server

by jdlar1

siigo_get_journal

Retrieve a specific journal entry by its ID from the Siigo accounting system to access detailed transaction records and financial data.

Instructions

Get a specific journal by ID

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesJournal ID

Implementation Reference

  • MCP server handler for 'siigo_get_journal' tool. Extracts ID from args, calls SiigoClient.getJournal, and returns the result as JSON text content.
    private async handleGetJournal(args: any) {
      const result = await this.siigoClient.getJournal(args.id);
      return { content: [{ type: 'text', text: JSON.stringify(result, null, 2) }] };
    }
  • Core implementation of journal retrieval. Makes an authenticated GET request to Siigo API /v1/journals/{id} using the shared makeRequest method.
    async getJournal(id: string): Promise<SiigoApiResponse<any>> {
      return this.makeRequest<any>('GET', `/v1/journals/${id}`);
    }
  • src/index.ts:643-653 (registration)
    Tool registration in getTools() array, including name, description, and input schema for validation.
    {
      name: 'siigo_get_journal',
      description: 'Get a specific journal by ID',
      inputSchema: {
        type: 'object',
        properties: {
          id: { type: 'string', description: 'Journal ID' },
        },
        required: ['id'],
      },
    },
  • Input schema definition requiring a 'id' string parameter for the tool.
    inputSchema: {
      type: 'object',
      properties: {
        id: { type: 'string', description: 'Journal ID' },
      },
      required: ['id'],
    },
  • Switch case routing in CallToolRequestSchema handler that dispatches to handleGetJournal.
    case 'siigo_get_journal':
      return await this.handleGetJournal(args);
Behavior2/5

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

No annotations are provided, so the description carries full burden. It states 'get' which implies a read operation, but doesn't disclose behavioral traits like authentication needs, rate limits, error handling, or what data is returned. This is a significant gap for a tool with no annotation coverage.

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 no wasted words. It's front-loaded with the core action and resource, making it highly efficient and easy to parse.

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 no annotations, no output schema, and a simple parameter, the description is incomplete. It doesn't explain what 'get' returns (e.g., journal details), potential errors, or usage context. For a tool in a system with many siblings, more guidance is needed to be fully helpful.

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 description mentions 'by ID', which aligns with the single parameter 'id' in the input schema. Schema description coverage is 100%, so the schema already documents the parameter fully. The description adds minimal value beyond what the schema provides, meeting the baseline for high coverage.

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

Purpose3/5

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

The description 'Get a specific journal by ID' clearly states the action (get) and resource (journal), but it's vague about what 'get' entails (e.g., retrieve details) and doesn't distinguish it from sibling tools like 'siigo_get_journals' (plural) beyond the singular vs. plural naming. It's functional but lacks specificity.

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. For example, it doesn't clarify if this is for fetching a single journal's details after listing with 'siigo_get_journals' or for direct access by known ID. The description implies usage by ID but offers no context on prerequisites or alternatives.

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