Skip to main content
Glama
daanno

Simplicate MCP Server

by daanno

get_services

Retrieve services catalog from Simplicate business data to access service offerings and project-related services for business operations.

Instructions

Retrieve services catalog

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
offsetNo

Implementation Reference

  • 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' },
        },
      },
    },
  • Input schema for the get_services tool: optional limit and offset parameters
    inputSchema: {
      type: 'object',
      properties: {
        limit: { type: 'number' },
        offset: { type: 'number' },
      },
    },
  • 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 || [];
    }

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