Skip to main content
Glama

create_person

Add new contact persons to your CRM system by providing first name, family name, email, and organization details for better contact management.

Instructions

Create a new contact person

Input Schema

NameRequiredDescriptionDefault
emailNo
family_nameYes
first_nameYes
organization_idNo

Input Schema (JSON Schema)

{ "properties": { "email": { "type": "string" }, "family_name": { "type": "string" }, "first_name": { "type": "string" }, "organization_id": { "type": "string" } }, "required": [ "first_name", "family_name" ], "type": "object" }

Implementation Reference

  • MCP tool handler for 'create_person': delegates to simplicateService.createPerson with tool arguments and returns JSON stringified result.
    case 'create_person': { const data = await this.simplicateService.createPerson(toolArgs); return { content: [{ type: 'text', text: JSON.stringify(data, null, 2) }] }; }
  • Type definition for SimplicatePerson used in createPerson method.
    export interface SimplicatePerson { id: string; first_name: string; family_name: string; email?: string; phone?: string; organization?: { id: string; name: string }; }
  • Registers the 'create_person' tool in ListToolsRequestHandler with description and input schema.
    { name: 'create_person', description: 'Create a new contact person', inputSchema: { type: 'object', properties: { first_name: { type: 'string' }, family_name: { type: 'string' }, email: { type: 'string' }, organization_id: { type: 'string' }, }, required: ['first_name', 'family_name'], }, },
  • Core implementation of createPerson: sends POST request to Simplicate CRM /person endpoint.
    async createPerson(data: Partial<SimplicatePerson>): Promise<SimplicatePerson> { const response = await this.client.post('/crm/person', data); 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