Skip to main content
Glama

search

Find projects, organizations, and people in Simplicate business data using natural language queries to access CRM, projects, and contact information.

Instructions

Search across Simplicate resources

Input Schema

NameRequiredDescriptionDefault
queryYes
typeNo

Input Schema (JSON Schema)

{ "properties": { "query": { "type": "string" }, "type": { "enum": [ "project", "organization", "person" ], "type": "string" } }, "required": [ "query" ], "type": "object" }

Implementation Reference

  • Registration of the 'search' MCP tool including its input schema definition.
    { name: 'search', description: 'Search across Simplicate resources', inputSchema: { type: 'object', properties: { query: { type: 'string', description: 'The search query', }, type: { type: 'string', description: 'The type of resource to search (project, organization, person)', enum: ['project', 'organization', 'person'], }, }, required: ['query'], }, },
  • MCP tool handler for 'search' that validates input, calls SimplicateService.search, and returns JSON-formatted results.
    case 'search': { if (!toolArgs.query) { throw new Error('query is required'); } const results = await this.simplicateService.search( toolArgs.query as string, toolArgs.type as 'project' | 'organization' | 'person' | undefined ); return { content: [ { type: 'text', text: JSON.stringify(results, null, 2), }, ], }; }
  • Core search implementation in SimplicateService that constructs the search endpoint and queries the Simplicate API.
    // Search across resources async search(query: string, type?: 'project' | 'organization' | 'person'): Promise<any[]> { const endpoint = type ? `/search/${type}` : '/search'; const response = await this.client.get(endpoint, { q: query }); 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