Skip to main content
Glama

get_person

Retrieve detailed contact information from Simplicate CRM using a person ID to access specific individual records and business data.

Instructions

Get specific person by ID

Input Schema

NameRequiredDescriptionDefault
person_idYes

Input Schema (JSON Schema)

{ "properties": { "person_id": { "type": "string" } }, "required": [ "person_id" ], "type": "object" }

Implementation Reference

  • Registration of the 'get_person' tool in ListToolsRequestHandler, including name, description, and input schema requiring 'person_id'.
    { name: 'get_person', description: 'Get details of a specific person by ID', inputSchema: { type: 'object', properties: { person_id: { type: 'string', description: 'The ID of the person to retrieve', }, }, required: ['person_id'], }, },
  • MCP tool handler for 'get_person': validates input, calls SimplicateService.getPersonById, returns JSON response.
    case 'get_person': { if (!toolArgs.person_id) { throw new Error('person_id is required'); } const person = await this.simplicateService.getPersonById( toolArgs.person_id as string ); return { content: [ { type: 'text', text: JSON.stringify(person, null, 2), }, ], }; }
  • Core helper function getPersonById that performs API GET request to Simplicate /crm/person/{personId}.
    async getPersonById(personId: string): Promise<SimplicatePerson> { const response = await this.client.get(`/crm/person/${personId}`); return response.data; }
  • TypeScript interface defining the structure of a SimplicatePerson object returned by the tool.
    export interface SimplicatePerson { id: string; first_name: string; family_name: string; email?: string; phone?: string; organization?: { id: string; name: string; }; }

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