Skip to main content
Glama
jdlar1

Siigo MCP Server

by jdlar1

siigo_get_voucher

Retrieve a specific accounting voucher by ID from Siigo's Colombian accounting software. Use this tool to access detailed voucher information for financial tracking and reporting.

Instructions

Get a specific voucher by ID

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesVoucher ID

Implementation Reference

  • Core handler implementation that performs the authenticated GET request to the Siigo API endpoint `/v1/vouchers/${id}` to retrieve a specific voucher.
    async getVoucher(id: string): Promise<SiigoApiResponse<any>> {
      return this.makeRequest<any>('GET', `/v1/vouchers/${id}`);
    }
  • MCP server handler that extracts the voucher ID from arguments, calls SiigoClient.getVoucher, and formats the result as a JSON text response.
    private async handleGetVoucher(args: any) {
      const result = await this.siigoClient.getVoucher(args.id);
      return { content: [{ type: 'text', text: JSON.stringify(result, null, 2) }] };
    }
  • Input schema definition requiring a string 'id' parameter for the voucher ID.
    inputSchema: {
      type: 'object',
      properties: {
        id: { type: 'string', description: 'Voucher ID' },
      },
      required: ['id'],
    },
  • src/index.ts:492-502 (registration)
    Tool registration in the MCP server's tool list, including name, description, and input schema.
    {
      name: 'siigo_get_voucher',
      description: 'Get a specific voucher by ID',
      inputSchema: {
        type: 'object',
        properties: {
          id: { type: 'string', description: 'Voucher ID' },
        },
        required: ['id'],
      },
    },
  • src/index.ts:109-110 (registration)
    Dispatch in the CallToolRequest handler switch statement that routes 'siigo_get_voucher' calls to the specific handler.
    case 'siigo_get_voucher':
      return await this.handleGetVoucher(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 for behavioral disclosure. While 'Get' implies a read operation, it doesn't specify authentication requirements, rate limits, error conditions, or what happens if the ID doesn't exist. For a retrieval tool with zero annotation coverage, this leaves significant behavioral gaps.

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 unnecessary words. It's appropriately sized for a simple retrieval operation and front-loads the essential information.

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

Completeness3/5

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

For a simple read operation with one well-documented parameter and no output schema, the description is minimally adequate. However, without annotations or output schema, it doesn't address what the tool returns (voucher details, format, structure) or error handling, leaving some contextual gaps for the 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 schema has 100% description coverage, with the single parameter 'id' clearly documented as 'Voucher ID.' The description adds no additional parameter information beyond what's in the schema. According to scoring rules, when schema_description_coverage is high (>80%), the baseline is 3 even with no param info in the description.

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 ('Get') and resource ('a specific voucher by ID'), making the purpose immediately understandable. However, it doesn't differentiate from sibling tools like 'siigo_get_vouchers' (plural) which likely retrieves multiple vouchers, leaving some ambiguity about when to use this specific retrieval method.

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. With siblings like 'siigo_get_vouchers' (likely for listing multiple vouchers) and 'siigo_get_invoice' (for similar single-resource retrieval), there's no indication of context, prerequisites, or exclusion criteria for this specific voucher retrieval.

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