get_services
Retrieve services catalog from Simplicate business data to access service offerings and project-related services for business operations.
Instructions
Retrieve services catalog
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_services"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| offset | No |
Implementation Reference
- src/mcp/server-full.ts:220-230 (registration)Registration of the 'get_services' tool including name, description, and input schema in the tools array passed to server.setTools()
{ name: 'get_services', description: 'Retrieve services catalog', inputSchema: { type: 'object', properties: { limit: { type: 'number' }, offset: { type: 'number' }, }, }, }, - src/mcp/server-full.ts:223-229 (schema)Input schema for the get_services tool: optional limit and offset parameters
inputSchema: { type: 'object', properties: { limit: { type: 'number' }, offset: { type: 'number' }, }, }, - src/mcp/server-full.ts:478-483 (handler)Handler for get_services tool call: extracts params, calls simplicateService.getServices(), returns JSON stringified response
case 'get_services': { const data = await this.simplicateService.getServices({ limit: (toolArgs.limit as number) || 10, offset: (toolArgs.offset as number) || 0, }); return { content: [{ type: 'text', text: JSON.stringify(data, null, 2) }] }; - Core implementation of getServices: HTTP GET to Simplicate API /services/service endpoint with optional pagination params
async getServices(params?: { limit?: number; offset?: number }): Promise<SimplicateService[]> { const response = await this.client.get('/services/service', params); return response.data || []; }