get_default_services
Retrieve default services configuration from the Simplicate business platform to access predefined service settings for CRM, projects, timesheets, and invoice management.
Instructions
Get default services configuration
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Input Schema (JSON Schema)
{
"properties": {},
"type": "object"
}
Implementation Reference
- src/mcp/server-full.ts:494-497 (handler)MCP tool handler case for 'get_default_services' that delegates to SimplicateServiceExtended.getDefaultServices() and formats response as MCP content.case 'get_default_services': { const data = await this.simplicateService.getDefaultServices(); return { content: [{ type: 'text', text: JSON.stringify(data, null, 2) }] }; }
- src/mcp/server-full.ts:252-256 (registration)Tool registration in ListToolsRequestSchema handler, defining name, description, and empty input schema.{ name: 'get_default_services', description: 'Get default services configuration', inputSchema: { type: 'object', properties: {} }, },
- Core helper method implementation that performs API call to Simplicate's /services/defaultservice endpoint.async getDefaultServices(): Promise<SimplicateDefaultService[]> { const response = await this.client.get('/services/defaultservice'); return response.data || []; }
- TypeScript interface defining the structure of default services returned by the tool.export interface SimplicateDefaultService { id: string; default_service_id: string; hours_type_id: string; }