Skip to main content
Glama

siigo_get_cost_centers

Retrieve the complete catalog of cost centers from Siigo accounting software to organize and track business expenses by department or project.

Instructions

Get cost centers catalog

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Core handler implementation: sends authenticated GET request to Siigo API endpoint '/v1/cost-centers'.
    async getCostCenters(): Promise<SiigoApiResponse<any>> { return this.makeRequest<any>('GET', '/v1/cost-centers'); }
  • MCP tool handler: calls SiigoClient.getCostCenters() and formats the response as JSON text content.
    private async handleGetCostCenters(args: any) { const result = await this.siigoClient.getCostCenters(); return { content: [{ type: 'text', text: JSON.stringify(result, null, 2) }] }; }
  • src/index.ts:692-696 (registration)
    Tool registration entry in getTools(): defines name, description, and empty input schema.
    { name: 'siigo_get_cost_centers', description: 'Get cost centers catalog', inputSchema: { type: 'object', properties: {} }, },
  • src/index.ts:153-154 (registration)
    Dispatch case in switch statement for routing tool calls to the handler.
    case 'siigo_get_cost_centers': return await this.handleGetCostCenters(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