Skip to main content
Glama

persons.create

Create a person record for a business account by providing personal details, contact information, address, and business roles.

Instructions

Create a Ryft person for a business account.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
accountIdYes
firstNameYes
middleNamesNo
lastNameYes
emailYes
dateOfBirthYes
countryOfBirthNo
genderYes
nationalitiesYes
addressYes
phoneNumberYes
businessRolesYes
documentsNo
metadataNo

Implementation Reference

  • The handler and registration for 'persons.create' tool.
    registerTool(
      'persons.create',
      'Create a Ryft person for a business account.',
      createPersonSchema.shape,
      async (args) => {
        const parsed = createPersonSchema.parse(args);
        const { accountId, ...body } = parsed;
        return client.post(`/accounts/${accountId}/persons`, body);
      },
    );
  • Schema for 'persons.create' input validation.
    const createPersonSchema = z.object({
      accountId: z.string().min(1),
      ...personBaseSchema.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