Skip to main content
Glama

siigo_get_fiscal_responsibilities

Retrieve the catalog of fiscal responsibilities from Siigo accounting software to ensure compliance with Colombian tax regulations.

Instructions

Get fiscal responsibilities catalog

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Executes the core tool logic by making a GET request to the Siigo API endpoint '/v1/fiscal-responsibilities'.
    async getFiscalResponsibilities(): Promise<SiigoApiResponse<any>> { return this.makeRequest<any>('GET', '/v1/fiscal-responsibilities'); }
  • MCP server handler that invokes the SiigoClient method and returns the JSON-formatted result as tool response.
    private async handleGetFiscalResponsibilities(args: any) { const result = await this.siigoClient.getFiscalResponsibilities(); return { content: [{ type: 'text', text: JSON.stringify(result, null, 2) }] }; }
  • src/index.ts:727-731 (registration)
    Registers the tool with MCP server, including name, description, and empty input schema (no parameters required).
    { name: 'siigo_get_fiscal_responsibilities', description: 'Get fiscal responsibilities catalog', inputSchema: { type: 'object', properties: {} }, },
  • Defines the input schema for the tool: an empty object, indicating no input parameters are needed.
    inputSchema: { type: 'object', properties: {} }, },
  • Switch case in the central CallToolRequest handler that routes to the specific tool handler.
    case 'siigo_get_fiscal_responsibilities': return await this.handleGetFiscalResponsibilities(args);

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