Skip to main content
Glama
jdlar1

Siigo MCP Server

by jdlar1

siigo_create_payment_receipt

Create payment receipts in Siigo accounting software to record customer payments and update financial records.

Instructions

Create a new payment receipt

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paymentReceiptYesPayment receipt data

Implementation Reference

  • Core implementation in SiigoClient: makes POST request to Siigo API /v1/payment-receipts endpoint.
    async createPaymentReceipt(paymentReceipt: any): Promise<SiigoApiResponse<any>> {
      return this.makeRequest<any>('POST', '/v1/payment-receipts', paymentReceipt);
    }
  • MCP tool handler: delegates to SiigoClient and returns JSON-formatted response.
    private async handleCreatePaymentReceipt(args: any) {
      const result = await this.siigoClient.createPaymentReceipt(args.paymentReceipt);
      return { content: [{ type: 'text', text: JSON.stringify(result, null, 2) }] };
    }
  • Tool registration with input schema defining paymentReceipt object.
    {
      name: 'siigo_create_payment_receipt',
      description: 'Create a new payment receipt',
      inputSchema: {
        type: 'object',
        properties: {
          paymentReceipt: { type: 'object', description: 'Payment receipt data' },
        },
        required: ['paymentReceipt'],
      },
    },
  • src/index.ts:131-132 (registration)
    Dispatch in switch statement for tool invocation.
    case 'siigo_create_payment_receipt':
      return await this.handleCreatePaymentReceipt(args);
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. While 'Create' implies a write operation, it doesn't specify permissions required, whether the action is idempotent, error handling, or what happens on success (e.g., returns an ID). For a mutation tool with zero annotation coverage, this leaves critical behavioral traits undocumented.

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, direct sentence with no wasted words, making it easy to parse. It front-loads the key action and resource, though its brevity contributes to gaps in other dimensions like guidelines and transparency.

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 tool's complexity (a creation operation with nested objects), lack of annotations, and no output schema, the description is insufficient. It doesn't explain what data 'paymentReceipt' should contain, what the tool returns, or error conditions. For a mutation tool in a system with many siblings, more context is needed to ensure correct usage.

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 the single parameter 'paymentReceipt' documented as 'Payment receipt data'. The description adds no additional meaning beyond this, such as required fields or data structure examples. With high schema coverage, the baseline score of 3 is appropriate, as the schema does the heavy lifting.

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 the resource ('a new payment receipt'), making the purpose immediately understandable. It distinguishes this tool from read-only siblings like 'siigo_get_payment_receipts' by emphasizing creation. However, it doesn't specify what a 'payment receipt' entails in this context, leaving some ambiguity about the resource's nature.

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 needing existing invoice or customer data, or differentiate it from similar creation tools like 'siigo_create_invoice'. Without this context, users must infer usage from the tool name alone.

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