Skip to main content
Glama

persons.update

Modify personal information for individuals in the Ryft system, including contact details, identification data, and address records to maintain accurate customer profiles.

Instructions

Update a Ryft person.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
accountIdYes
personIdYes
firstNameNo
middleNamesNo
lastNameNo
emailNo
dateOfBirthNo
countryOfBirthNo
genderNo
nationalitiesNo
addressNo
phoneNumberNo
businessRolesNo
documentsNo
metadataNo

Implementation Reference

  • The handler implementation for the 'persons.update' tool, which takes the validated arguments and calls the API to update a person.
    registerTool(
      'persons.update',
      'Update a Ryft person.',
      updatePersonSchema.shape,
      async (args) => {
        const parsed = updatePersonSchema.parse(args);
        const { accountId, personId, ...body } = parsed;
        return client.patch(`/accounts/${accountId}/persons/${personId}`, body);
      },
    );
  • The Zod schema validation for the 'persons.update' tool input.
    const updatePersonSchema = z.object({
      accountId: z.string().min(1),
      personId: z.string().min(1),
      ...personBaseSchema.partial().shape,
    });

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/bkawk/ryft-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server