Skip to main content
Glama

create_service

Add new services to your Simplicate business system by specifying service name and pricing information for accurate billing and service tracking.

Instructions

Create a new service

Input Schema

NameRequiredDescriptionDefault
nameYes
priceYes

Input Schema (JSON Schema)

{ "properties": { "name": { "type": "string" }, "price": { "type": "number" } }, "required": [ "name", "price" ], "type": "object" }

Implementation Reference

  • Core implementation of create_service: performs POST request to Simplicate API /services/service endpoint to create a new service.
    async createService(data: Partial<SimplicateService>): Promise<SimplicateService> { const response = await this.client.post('/services/service', data); return response.data; }
  • Registers the 'create_service' tool with MCP server, providing name, description, and input schema.
    name: 'create_service', description: 'Create a new service', inputSchema: { type: 'object', properties: { name: { type: 'string' }, price: { type: 'number' }, }, required: ['name', 'price'], }, },
  • TypeScript interface defining the SimplicateService type, used for input/output of createService.
    export interface SimplicateService { id: string; name: string; price: number; cost_price?: number; invoice_method?: string; }
  • MCP CallToolRequestSchema handler case that invokes the underlying createService method and formats response.
    case 'create_service': { const data = await this.simplicateService.createService(toolArgs); return { content: [{ type: 'text', text: JSON.stringify(data, null, 2) }] };
  • Lists 'create_service' in HTTP MCP server's tool list for /tools endpoint.
    'get_services','get_service','create_service','get_default_services','get_tasks','get_task','create_task','update_task',

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/daanno/simplicate-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server