Skip to main content
Glama

update_person

Modify person records in Simplicate CRM by providing person ID and updated data fields to maintain accurate contact information.

Instructions

Update a person

Input Schema

NameRequiredDescriptionDefault
dataYes
person_idYes

Input Schema (JSON Schema)

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

Implementation Reference

  • MCP tool handler for 'update_person': validates person_id and data, calls SimplicateServiceExtended.updatePerson, and returns JSON response.
    case 'update_person': { if (!toolArgs.person_id || !toolArgs.data) throw new Error('person_id and data required'); const data = await this.simplicateService.updatePerson(toolArgs.person_id, toolArgs.data); return { content: [{ type: 'text', text: JSON.stringify(data, null, 2) }] }; }
  • Tool registration in ListTools handler: defines name, description, and input schema for 'update_person'.
    { name: 'update_person', description: 'Update a person', inputSchema: { type: 'object', properties: { person_id: { type: 'string' }, data: { type: 'object' }, }, required: ['person_id', 'data'], }, },
  • TypeScript interface defining the structure of a SimplicatePerson used for update_person data.
    export interface SimplicatePerson { id: string; first_name: string; family_name: string; email?: string; phone?: string; organization?: { id: string; name: string }; }
  • Core implementation: makes PUT request to Simplicate CRM API endpoint `/crm/person/{personId}` to update person data.
    async updatePerson(personId: string, data: Partial<SimplicatePerson>): Promise<SimplicatePerson> { const response = await this.client.put(`/crm/person/${personId}`, 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